@ckeditor/ckeditor5-revision-history 45.1.0-alpha.7 → 45.1.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 +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>z,RevisionHistory:()=>Go,RevisionHistoryUI:()=>Pt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ct,RevisionViewer:()=>te,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(E=t)||"object"!=typeof E&&"function"!=typeof E)return t;var E;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const E=/^(?:0|[1-9]\d*)$/;function D(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}function M(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function V(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?V(e)?F(t,M(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function P(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function j(){const t=["25GPqfGe","diffData","517281sFjHmO","attributes","setAttribute","toVersion","name","657lFPLxQ","447522XdLGvP","creator","setName","105567VTvpoi","44424OXeeFy","3280wZAPdu","authors","2ezYggm","15747fyumkR","fire","toJSON","removeAttribute","380lArcEF","_update","24529050GSRFCp","createdAt","fromVersion","set","authorsIds","creatorId","1701BlhUbY","model","map","12iDQIir"];return(j=function(){return t})()}const L=W;function W(t,e){const i=j();return(W=function(t,e){return i[t-=466]})(t,e)}!function(t){const e=W,i=t();for(;;)try{if(817859===parseInt(e(485))/1*(parseInt(e(466))/2)+parseInt(e(467))/3*(parseInt(e(471))/4)+parseInt(e(483))/5*(parseInt(e(491))/6)+-parseInt(e(479))/7*(-parseInt(e(495))/8)+parseInt(e(490))/9*(-parseInt(e(496))/10)+parseInt(e(494))/11*(-parseInt(e(482))/12)+-parseInt(e(473))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(j);class z extends((0,t.ObservableMixin)()){id;[L(492)];[L(497)];[L(484)];[L(488)];[L(475)];[L(480)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(492)]=e[i(492)]||null,this[i(497)]=e[i(497)]||[],this[i(484)]=e[i(484)]||null,this[i(488)]=e[i(488)]||0,this[i(475)]=e[i(475)]||0,this[i(476)](i(489),e[i(489)]||""),this[i(476)](i(474),e[i(474)]||new Date),this[i(476)](i(486),e[i(486)]||{})}[L(493)](t){this[L(472)]({name:t})}[L(487)](t,e){const i=L,s=A(this[i(486)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?M(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=D(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(472)]({attributes:s})}[L(470)](t){const e=L,i=A(this[e(486)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return P(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&V(e))return P(t,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(472)]({attributes:i})}[L(472)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(489),i(474),i(484),i(497),i(486),i(488),i(475),i(478)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(497)]&&(n[i(477)]=n[i(497)][i(481)]((t=>t.id)),delete n[i(497)]),this[i(468)](i(472),n,e))}[L(469)](){const t=L;return{id:this.id,name:this[t(489)],creatorId:this[t(492)]?this[t(492)].id:null,authorsIds:this[t(497)][t(481)]((t=>t.id)),diffData:this[t(484)],createdAt:this[t(474)],attributes:this[t(486)],fromVersion:this[t(475)],toVersion:this[t(488)]}}}var U=i(782),H=i(211),Z=i(783);function q(t,e){const i=B();return(q=function(t,e){return i[t-=258]})(t,e)}const $=q;function B(){const t=["36ocZZLh","getRevisionsIterator","addRevision","108663SRbAHg","add","href","getEarlierVisibleRevision","earlier","769736BEPrpy","getLaterVisibleRevision","createdAt","isPremiumPlugin","1648682CWVzgS","createRevision","pluginName","12RQTNIR","push","newRevisionId","_revisions","60xDNMFt","length","52ZjCpII","attributes","from","reverse","authorsIds","fromVersion","get","editor","diffData","448225UhRGhI","getIndex","toVersion","isOfficialPlugin","28FUTZpX","39019ztnYPp","creatorId","plugins","oldRevisionId","1075096ukDsTa","getUser","toJSON","12247937JcmEsx","isNaN","getRevisionsInDiff","later","name","join","getRevision","fromCharCode","map","Users","data","getRevisions","afterInit","12iCoQOV","RevisionsRepository","requires"];return(B=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(367657===-parseInt(e(298))/1*(parseInt(e(297))/2)+parseInt(e(266))/3*(parseInt(e(284))/4)+parseInt(e(293))/5+parseInt(e(260))/6*(-parseInt(e(275))/7)+parseInt(e(302))/8*(-parseInt(e(263))/9)+parseInt(e(282))/10*(parseInt(e(271))/11)+parseInt(e(278))/12*(parseInt(e(305))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[$(281)];static get[$(262)](){return[H.Users]}static get[$(277)](){return $(261)}static get[$(296)](){return!0}static get[$(274)](){return!0}get[$(283)](){const t=$;return this[t(281)][t(283)]}constructor(e){const i=$;super(e),this[i(281)]=new t.Collection}[$(259)](){!async function(e){const i=k([122,79,67,55,102,115,78,80,49,88,105,84,119,54,118,48,116,100,103,83,85,89,111,120,57,107,65,50,53,66,99,68,106,114,77,117,70,56,101,121,112,51,86,98,73,72,87,110,113,75,74,71,76,90,82,69,81,108,97,104,109,52]),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(306)](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([122]);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(313)]((t=>String[e(312)](t)))[e(310)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1747180800;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(268)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[$(276)](t){const e=$,i=this[e(291)][e(300)][e(290)](e(314));return new z({id:t.id,name:t[e(309)],creator:t[e(299)]?i[e(303)](t[e(299)]):null,diffData:t[e(292)]||t[e(315)],authors:t[e(288)][e(313)]((t=>i[e(303)](t))),createdAt:new Date(t[e(273)]),attributes:t[e(285)],fromVersion:t[e(289)],toVersion:t[e(295)]})}[$(265)](t,e=0){const i=$;this[i(281)][i(267)](t,e)}[$(311)](t){const e=$;return this[e(281)][e(290)](t)}[$(258)](t={toJSON:!1}){const e=$,i=Array[e(286)](this[e(281)]);return i[e(287)](),t[e(304)]?i[e(313)]((t=>t[e(304)]())):i}[$(294)](t){const e=$;return this[e(281)][e(294)](t)}[$(269)](t){const e=$,[,i]=this[e(264)](t,{direction:e(270)});return i}[$(272)](t){const e=$,[,i]=this[e(264)](t,{direction:e(308)});return i}[$(307)](t){const e=$,i=[];for(const s of this[e(264)](t[e(280)]))if(i[e(279)](s),s.id===t[e(301)])break;return i}*[$(264)](t,{direction:e=$(270),filter:i=()=>!0}={}){const s=$,n=s(270)===e?1:-1;let r=this[s(281)][s(290)](t),o=this[s(294)](r);for(yield r;r;){if(o+=n,r=this[s(311)](o),!r)return;i(r)&&(yield r)}}}const G=J;function J(t,e){const i=K();return(J=function(t,e){return i[t-=172]})(t,e)}!function(t){const e=J,i=t();for(;;)try{if(828223===parseInt(e(219))/1+parseInt(e(177))/2+parseInt(e(189))/3*(-parseInt(e(183))/4)+parseInt(e(208))/5*(parseInt(e(194))/6)+-parseInt(e(173))/7*(-parseInt(e(186))/8)+parseInt(e(206))/9*(parseInt(e(190))/10)+-parseInt(e(213))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class X extends U.Plugin{static get[G(211)](){return G(192)}static get[G(218)](){return!0}static get[G(216)](){return!0}[G(221)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[G(209)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[G(181)](t,e){const i=G;if(t[i(230)]||!e)return;const s=this[i(229)][i(187)][i(223)](i(222)),n=await e[i(195)]({channelId:s,revisionId:t.id});t[i(230)]=n[i(230)]}[G(245)](t){const e=G,i={};for(const s in t[e(230)]){if(t[e(230)][s][e(228)]&&!t[e(230)][s][e(228)][e(236)])continue;const n=this[e(225)](JSON[e(176)](t[e(230)][s][e(224)])),r=this[e(229)][e(188)][e(174)][e(226)],o=new Z.ViewDocumentFragment(r,n[e(227)]((t=>this[e(246)](t,!1))));this[e(229)][e(232)][e(197)][e(231)](e(243)),i[s]=this[e(229)][e(232)][e(197)][e(199)](o),this[e(229)][e(232)][e(197)][e(231)](e(242))}return i}[G(202)](t){const e=G,i={};for(const s in t[e(230)])t[e(230)][s][e(228)]&&!t[e(230)][s][e(228)][e(236)]||(i[s]=t[e(230)][s][e(220)]||{});return i}[G(175)](t){const e=G;return this[e(221)][e(223)](t[e(203)])}[G(246)](t,e){const i=G,s=this[i(229)][i(188)][i(174)][i(226)];if(i(240)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(238)]||"r"==t[i(238)]?[]:t[i(235)][i(227)]((t=>this[i(246)](t,e)));const o=this[i(209)][i(223)](t[i(238)])||Z.ViewElement,a=this[i(229)][i(232)][i(191)][i(198)];if(n=new o(s,t[i(196)],t[i(210)],r),"u"==t[i(238)]&&t[i(235)][0]){const r=t[i(235)][0];if(n[i(193)]=function(t){const e=i,s=t[e(212)](e(207));return s[e(182)]=r,s[e(185)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(214)](n);const e=Array[i(244)](a[i(180)](t,{bind:!1})),r=a[i(234)][i(212)](i(207));r[i(215)](...e),n=Array[i(244)](a[i(204)](r))[0]}}else if("r"==t[i(238)]&&t[i(235)][0]){const r=t[i(235)][0];if(n[i(193)]=function(t){t[i(182)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(214)](n);const e=Array[i(244)](a[i(180)](t,{bind:!1})),r=a[i(234)][i(212)](i(207));r[i(215)](...e);const o=Array[i(244)](a[i(204)](r));o[i(200)]>1?n[i(214)](o):n=o[0]}}if(t[i(217)])for(const[e,s]of t[i(217)])n[i(205)](e,s);const c=void 0===t[i(172)]?null:t[i(172)];return null!==c&&(n[i(178)]=()=>c),n}}[G(184)](t){const e=G,i=JSON[e(176)](t),s=this[e(229)][e(188)][e(174)][e(226)],n=new Z.ViewDocumentFragment(s,i[e(227)]((t=>this[e(246)](t,!0))));return this[e(229)][e(232)][e(201)](n)}[G(225)](t){const e=G;return(t=t[e(247)]((t=>!t[e(196)]||e(179)!==t[e(196)]&&e(241)!==t[e(196)])))[e(239)]((t=>{const i=e;i(240)!=typeof t&&(t[i(235)]=this[i(225)](t[i(235)]),t[i(210)]=t[i(210)][i(247)]((t=>!t[0][i(237)](i(233)))))})),t}}function K(){const t=["517484boafSE","_appendChild","append","isPremiumPlugin","customProperties","isOfficialPlugin","302337DxWrqp","attributesAfter","_viewClassToTypeChar","collaboration.channelId","get","insertions","_removeRevisionMarkers","document","map","attachChange","editor","diffData","useFillerType","data","data-revision-","domDocument","children","isAttached","startsWith","type","forEach","string","revision-end","default","marked","from","getRevisionDocumentData","_getViewFromDiffObj","filter","fillerOffset","7FFsDiU","view","_getTypeCharForViewElement","parse","1821140YhGyHt","getFillerOffset","revision-start","viewChildrenToDom","loadRevisionData","innerHTML","672496xqHVvD","_makeModelFromViewString","childNodes","1022968VwnNrc","config","editing","27hSFscH","2359510EQlMKG","htmlProcessor","RevisionHistoryUtils","render","4869924qLMkgN","getRevision","name","processor","domConverter","toData","length","toModel","getRevisionRootsAttributes","constructor","domChildrenToView","_setCustomProperty","9YBDIVf","div","5uDHydZ","_typeCharToViewClass","attributes","pluginName","createElement"];return(K=function(){return t})()}function Q(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(E=s)||Number.isNaN(A)&&Number.isNaN(E)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,E;const D=(s=s??new Map).get(t),M=s.get(i);if(null!=D&&null!=M)return D===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ot;function ot(t,e){const i=at();return(ot=function(t,e){return i[t-=140]})(t,e)}function at(){const t=["invalid","createPositionBefore","_makeIdsRoot","editor-initial-data-replaced-with-revision-data","_diffRootsAttributes","_fixOperation","getChild","createdAt","_idsRoots","getRootNames","size","requires","getMovedRangeStart","getChildren","saveRevision","getTransformedByOperation","Initial revision","_handleRootAttributeOperation","_fixPosition","_clone","loadRevisionData","_operations","deletions","domDocument","slice","_baseRootsAttributes","roots","_setConversion","getLatestVersion","usageLimit","_showLicenseError","vid_end","revisionHistoryLicenseKeyNotAllowed","featureNotAllowed","_getViewJson","getAttributes","startsWith","addRoot","fromVersion","nodes","getOperations","offset","RevisionHistory","revisionHistory.resumeUnsavedRevision","attachChange","isEnabled","createPositionFromPath","_startingVersion","baseVersion","rootName","outerHTML","domainLimit","ready","insert","createPositionAt","toVersion","render","202008UlMxnu","Empty document","collaboration.channelId","getOperation","1735111urSnuh","shift","previousPosition","resolve","_makeModelFromViewString","_removePendingAction","creator","destroy","_loadedStateData","_initialRevisionId","revision","_savedMetaData","_isInit","innerHTML","createRange","getNodeByPath","_getFromVersion","getAncestors","authors","_makeRevision","uiElement","4080QkEkrw","text","getWalker","trialLimit","sort","isAdd","repository","_licenseKeyCheckInterval","init","elementEnd","_insertChild","getData","RevisionTracker","adapter","RealTimeCollaborationClient","vid","move","_revisionId","_handleMergeOperation","reinsert","tableCell","_appendChild","_reset","type","_applyOperations","root","find","_getVidAttributeName","fillerOffset","revisionHistoryLicenseKeyValid","_isAttached","_addPendingAction","expired","affectsData","getRevisionRootsAttributes","push","_pendingAction","diffData","graveyardPosition","currentRevision","stickiness","15675384DxYSaj","_markers","revisionHistoryLicenseKeyInvalid","length","_createFromRanges","_removeMetaData","item","_revisionDataBuilder","insertion","for","documentFragment","getCurrentRevisionId","dataToMarker","5743160bYOyqq","newRange","_createCurrentRevision","bind","insertionPosition","_replaceEditorDataWithRevisionData","addRevision","_calculateMetaData","key","start","_touchedMarkers","string","_continueCurrentRevision","targetPosition","define","then","PendingActions","insertions","addRootAttribute","editor","data","merge","hasContent","values","_handleInsertOperation","5XmZxzk","version","revisionHistoryLicenseKeyDomainLimit","locale","_generateTape","_bufferUpdate","getRoot","trim","deletion","revision:","attributesBefore","stringify","Users","_touched","removeRootAttribute","_copyMarkers","position","name","parent","createPositionAfter","userId","initial","element","revisionHistoryLicenseKeyTrialLimit","end","map","clear","11cbxCSC","keys","reverse","_getTypeCharForViewElement","path","addRevisionData","updateRevisions","getAttribute","$graveyard","62357MmogEs","_authorId","_update","htmlProcessor","offsetSize","_handleMarkerOperation","isEqual","$text","children","isAttached","reInit","get","licenseKey","toView","markers","filter","_execute","_touchedRoots","range","includes","isPremiumPlugin","_baseIdsRoots","upcast","finally","nodeAfter","18cNXRqh","getRevision","_prepareViewToSave","_findInsertionIndex","changeRootAttribute","$comment","_getPreviousFrom","_isPendingUpdate","source","buildRevisionData","setRevisionData","has","isOfficialPlugin","getCustomProperties","_handleRootOperation","_startingRevisionId","sourcePosition","_lastTo","dataDowncast","marker","creatorId","detachRoot","getFillerOffset","document","revisionHistoryLicenseKeyEvaluationLimit","PENDING_ACTION_REVISION_HISTORY","_handleMoveOperation","_fixRange","max","conversion","_diffRoots","getRange","fromEntries","rawElement","elementStart","createRangeIn","_lastFrom","pluginName","setSource","8370HPDnVR","isReady","rootsAttributes","afterInit","_source","revisionHistoryLicenseKeyExpired","_handleOperation","_setAttribute","revisionHistoryLicenseKeyUsageLimit","_getBaseVids","authorsIds","delete","update","newValue","oldRange","clone","history","_markChanges","split","RevisionsRepository","_createInitialRevision","createRevision","24kXqhEo","plugins","getTime","vid_start","remove","_handleSplitOperation","childCount","NEGATIVE_INFINITY","howMany","splitPosition","keepParagraph","loadState","RevisionHistoryUtils","_cloneOperation","_getState","some","getRevisionDocumentData","paragraph","_transformMarkers","attributesAfter","getIndex","sendBufferedUpdates","getUser","domConverter","_bufferedUpdates","_loadState","createElement","initialData","evaluationLimit","model","getRevisions","_saveMetaData","markerToData","429076IzAUtT","from","add","_processRootBeforeSave","set","_baseRoots","config","customProperties","_utils"];return(at=function(){return t})()}!function(t){const e=ot,i=t();for(;;)try{if(858292===-parseInt(e(416))/1*(-parseInt(e(177))/2)+-parseInt(e(441))/3*(parseInt(e(210))/4)+parseInt(e(380))/5*(parseInt(e(276))/6)+-parseInt(e(280))/7+-parseInt(e(355))/8+parseInt(e(155))/9*(parseInt(e(301))/10)+parseInt(e(407))/11*(parseInt(e(342))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ct extends U.Plugin{[rt(428)];[rt(308)];[rt(340)]=null;[rt(307)];[rt(314)]=null;[rt(349)];[rt(159)];[rt(289)];[rt(201)];[rt(218)];[rt(337)];[rt(367)];[rt(266)];[rt(288)];static get[rt(153)](){return rt(313)}static get[rt(453)](){return!0}static get[rt(436)](){return!0}static get[rt(230)](){return[H.Users,Y,X,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(307)]=this[i(374)][i(178)][i(427)](i(174)),this[i(218)]=this[i(374)][i(178)][i(427)](i(189)),this[i(349)]=new ut(this[i(374)]),this[i(289)]=this[i(374)][i(216)][i(427)](i(278))||i(401),this[i(201)]=new Map,this[i(288)]=null;const s=(0,t.uid)();this[i(159)]={history:this[i(374)][i(206)][i(464)][i(171)],getLatestVersion:()=>Promise[i(283)](this[i(374)][i(206)][i(464)][i(381)]),getCurrentRevisionId:()=>s},this[i(214)](i(156),!1),this[i(214)](i(264),!0),this[i(214)](i(448),!1),this[i(374)][i(216)][i(369)](i(262),!0),this[i(374)][i(145)][i(351)](i(438))[i(354)]({view:i(290)})}[rt(309)](){const t=rt;this[t(246)](),this[t(374)][t(375)].on(t(271),(()=>{const e=t,i=this[e(307)][e(442)](0),s=i&&null===i[e(286)]?i:null;if(this[e(367)]=!!s&&this[e(374)][e(216)][e(427)](e(262)),this[e(374)][e(178)][e(452)](e(315))){const t=this[e(159)][e(353)](),n=this[e(307)][e(442)](t);if(n)this[e(266)]=n[e(257)],this[e(367)]=!1;else{const t=this[e(159)][e(171)][e(240)][e(327)]((t=>!t[e(292)])),n=t?t[e(267)]:this[e(159)][e(171)][e(381)];i?(i[e(274)]<n&&i[e(418)]({toVersion:n}),this[e(367)]?(this[e(159)][e(353)]=()=>s.id,this[e(266)]=s[e(257)]):(this[e(266)]=i[e(274)],this[e(367)]=!1)):(this[e(266)]=n,this[e(367)]=!1)}}else s&&(this[e(374)][e(206)][e(464)][e(171)][e(381)]=Math[e(144)](s[e(274)],this[e(374)][e(206)][e(464)][e(171)][e(381)]),s[e(257)]===s[e(274)]?(0!==s[e(257)]&&(this[e(159)][e(353)]=()=>s.id),this[e(367)]=!1):this[e(367)]&&(this[e(159)][e(353)]=()=>s.id,this[e(266)]=s[e(257)])),this[e(367)]||(this[e(266)]=this[e(374)][e(206)][e(464)][e(381)]);this[e(349)][e(309)](this[e(159)][e(171)]),this[e(175)](this[e(266)]),this[e(357)](this[e(266)]),this[e(314)]&&this[e(198)]()})),this[t(358)](t(156)).to(this,t(448),(t=>!t)),this[t(428)]=this[t(374)][t(216)][t(427)](t(428));const e=this[t(374)];this[t(308)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(330)==r||i(344)==r||i(160)==r||i(382)==r||i(251)==r||i(140)==r||i(403)==r||i(163)==r){delete e[n],s=r,clearInterval(this[i(308)]),this[i(308)]=void 0;break}}i(344)==s&&e[i(249)](i(219)),i(160)==s&&e[i(249)](i(333)),i(382)==s&&e[i(249)](i(270)),i(251)==s&&e[i(249)](i(252),i(261)),i(140)==s&&e[i(249)](i(205)),i(403)==s&&e[i(249)](i(304)),i(163)==s&&e[i(249)](i(248))}),1e3)}async[rt(158)](){const t=rt;if(this[t(307)][t(345)]>0){const e=this[t(307)][t(442)](0),i=await this[t(193)](e),s=await this[t(335)](e);this[t(360)](i,s)}}[rt(287)](){const t=rt;super[t(287)](),this[t(308)]&&clearInterval(this[t(308)])}[rt(154)](t){this[rt(159)]=t}async[rt(167)](){const t=rt,e=await this[t(159)][t(247)]();if(e>this[t(340)][t(274)]){await this[t(202)]();const i=this[t(450)]({revision:this[t(340)],to:e});i[t(298)]=i[t(165)][t(405)]((e=>this[t(374)][t(178)][t(427)](t(392))[t(199)](e))),this[t(340)][t(418)](i)}}async[rt(233)](e={},i=null){const s=rt,n=[];await this[s(202)](),this[s(367)]=!1,i>this[s(340)][s(274)]&&(i=null),null===i&&(i=await this[s(159)][s(247)]());const r=this[s(296)](i),o=this[s(450)]({from:r,to:i});if(this[s(340)][s(274)]<i){const t=this[s(450)]({revision:this[s(340)],from:i,to:i});t[s(298)]=[],t[s(165)]=[],t.id=this[s(340)].id,this[s(340)][s(418)](t,!0),delete t[s(298)],n[s(336)](t)}e[s(461)]=this[s(374)][s(178)][s(427)](s(392)).me.id,e[s(397)]=e[s(397)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(412)](e);n[s(336)](e);const c=this[s(307)][s(197)](a);if(0!==c){const t=this[s(307)][s(442)](c-1);if(t[s(257)]!==i){const r=this[s(349)][s(312)](i,t[s(274)]),o={id:t.id,diffData:r[s(338)],authorsIds:r[s(165)],authors:r[s(165)][s(405)]((t=>this[s(374)][s(178)][s(427)](s(392))[s(199)](t))),fromVersion:i};t===this[s(340)]&&(o[s(226)]=new Date(e[s(226)][s(179)]()+10)),t[s(418)](o,!0),delete o[s(298)],n[s(336)](o)}}if(this[s(314)]){for(const t of n)this[s(385)](t.id,t,!0);this[s(198)]()}return a}[rt(412)](t){const e=rt,i=this[e(307)][e(176)](t);return this[e(314)]&&i.on(e(418),((t,i,s)=>{const n=e;s||(this[n(385)](i.id,i,!0),this[n(198)]())})),this[e(307)][e(361)](i,this[e(444)](i)),i}async[rt(193)](t){const e=rt;return await this[e(218)][e(239)](t,this[e(314)]),this[e(218)][e(193)](t)}async[rt(335)](t){const e=rt;return await this[e(218)][e(239)](t,this[e(314)]),this[e(218)][e(335)](t)}[rt(198)](){const t=rt;if(0===this[t(201)][t(229)])return;if(this[t(448)])return;let e=Array[t(211)](this[t(201)][t(378)]());this[t(201)][t(406)]();for(let i=0;i<e[t(345)];i++){const s=e[i];let n=!1;for(const e of Object[t(408)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(431)]((t=>null!==t)),!e[t(345)])return;for(let i=0;i<e[t(345)];i++){const s=e[i];void 0!==s[t(257)]&&void 0===s[t(274)]&&(s[t(274)]=this[t(307)][t(442)](s.id)[t(274)]),void 0!==s[t(274)]&&void 0===s[t(257)]&&(s[t(257)]=this[t(307)][t(442)](s.id)[t(257)])}const i=this[t(374)][t(216)][t(427)](t(278));this[t(448)]=!0,this[t(332)](),this[t(314)][t(413)](e,i)[t(439)]((()=>{this[t(448)]=!1}))[t(370)]((e=>{const i=t;if(e)for(const t of e)this[i(451)]({id:t.id,createdAt:t[i(226)]});this[i(285)](),this[i(198)]()}))}[rt(450)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(257)],i=null!==i?i:t[s(274)];const n=this[s(349)][s(312)](e,i),r={diffData:n[s(338)],authorsIds:n[s(165)],fromVersion:e,toVersion:i};if(!t||i!==t[s(274)]){const t=i-1,e=this[s(159)][s(171)][s(279)](t);r[s(226)]=e&&e[s(226)]||new Date}if(this[s(288)]&&e===this[s(288)][s(257)])for(const t of this[s(288)][s(298)])r[s(165)][s(435)](t.id)||r[s(165)][s(336)](t.id);return r}[rt(385)](t,e,i){const s=rt;if(this[s(201)][s(452)](t)){const n=this[s(201)][s(427)](t);e=i?{...n,...e}:{...e,...n}}this[s(201)][s(214)](t,e)}[rt(451)](t){const e=rt,i=this[e(307)][e(442)](t.id);if(t[e(226)]&&(t[e(226)]=new Date(t[e(226)])),t[e(165)]){const i=this[e(374)][e(178)][e(427)](e(392));t[e(298)]=t[e(165)][e(405)]((t=>i[e(199)](t)))}i[e(418)](t,!0)}[rt(175)](t){const e=rt,i=this[e(307)][e(442)](this[e(307)][e(345)]-1);if(i)this[e(289)]=i.id;else{const i=!this[e(374)][e(206)][e(464)][e(245)][e(327)]((t=>this[e(374)][e(206)][e(377)](t))),s=this[e(374)][e(178)][e(427)](e(392)).me.id,n=Q(this[e(374)][e(383)],e(i?277:235));this[e(299)]({from:t,to:t,id:this[e(289)],name:n,creatorId:s})}}[rt(357)](t){const e=rt,i=this[e(159)][e(353)]();this[e(340)]=this[e(307)][e(442)](i),this[e(340)]||(this[e(340)]=this[e(299)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(202)](){const t=rt;this[t(367)]&&!this[t(288)]&&(await this[t(218)][t(239)](this[t(340)],this[t(314)]),this[t(349)][t(188)](this[t(340)]),this[t(288)]={fromVersion:this[t(340)][t(257)],authors:this[t(340)][t(298)][t(243)]()})}[rt(360)](e,i){const s=rt;let n=this[s(374)][s(216)][s(427)](s(204)),r=this[s(374)][s(216)][s(427)](s(157));if(void 0===n){n={};for(const t of this[s(374)][s(206)][s(464)][s(228)]())n[t]=""}if(s(366)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(374)][s(206)][s(464)][s(228)]())r[t]={}}let o=!1;const a=Object[s(408)](n),c=Object[s(408)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(387)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(408)](r[t])[s(345)]>0){o=!0;break}}o||(o=c[s(192)]((t=>!this[s(374)][s(206)][s(464)][s(386)](t)))),o&&(0,t.logWarning)(s(222),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(374)][s(216)][s(214)](s(204),e),this[s(374)][s(216)][s(214)](s(157),i)}[rt(332)](){const t=rt;if(!this[t(337)]){const e=this[t(374)][t(178)][t(427)](t(371));this[t(337)]=e[t(212)](Q(this[t(374)][t(383)],t(141)))}}[rt(285)](){const t=rt;this[t(337)]&&(this[t(374)][t(178)][t(427)](t(371))[t(181)](this[t(337)]),this[t(337)]=null)}[rt(444)](t){const e=rt,i=this[e(307)][e(207)]();i[e(409)]();let s=0;for(;s<i[e(345)];){const n=i[s];if(n===this[e(340)]){s++;continue}if(n.id===this[e(289)])break;const r=t[e(274)]-n[e(274)]||t[e(257)]-n[e(257)];if(r>0)break;if(r<0)s++;else{if(!t[e(286)]&&n[e(286)])break;if(n[e(286)]||!t[e(286)]){if(t[e(226)]>n[e(226)])break;s++}else s++}}return s}[rt(296)](t){const e=rt,i=this[e(307)][e(207)]();i[e(409)](),i[e(281)]();const s=i[e(327)]((i=>i[e(274)]<=t))[e(274)];return s<this[e(266)]?this[e(266)]:s}[rt(299)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(450)]({from:e,to:i});o[r(397)]=t,o[r(461)]=s,o.id=n;const a=this[r(412)](o);return this[r(314)]&&this[r(385)](o.id,o,!0),a}[rt(246)](){const t=rt;this[t(374)][t(145)][t(351)](t(459))[t(209)]({model:t(290)})}}class ut{[rt(374)];[rt(449)];[rt(291)];[rt(152)];[rt(458)];[rt(343)];[rt(146)];[rt(223)];[rt(215)];[rt(244)];[rt(227)];[rt(437)];[rt(393)];[rt(365)];[rt(433)];[rt(318)];[rt(456)];constructor(t){const e=rt;this[e(374)]=t,this[e(291)]=new Map,this[e(152)]=-1,this[e(458)]=-1,this[e(343)]=new Map,this[e(146)]=new Map,this[e(223)]=new Map,this[e(215)]=new Map,this[e(244)]=new Map,this[e(227)]=new Map,this[e(437)]=new Map,this[e(393)]=new Map,this[e(365)]=new Map,this[e(433)]=new Map,this[e(318)]=1}[rt(309)](t){const e=rt;this[e(449)]=t;const i=new Map,s=new Map,n=this[e(374)][e(206)][e(464)][e(245)][e(405)]((t=>t[e(268)]));for(const t of n){const n=this[e(374)][e(206)][e(464)][e(386)](t),r=lt(n);i[e(214)](t,r),s[e(214)](t,Object[e(148)](n[e(254)]()))}const r=Array[e(211)](this[e(374)][e(206)][e(430)])[e(405)]((t=>[t[e(397)],t[e(147)]()])),o=this[e(449)][e(381)];this[e(208)](o,i,r,s),this[e(456)]=this[e(318)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(214)](t,i),c[e(214)](t,{})}this[e(208)](Number[e(184)],a,[],c)}[rt(312)](t,e){const i=rt;if(this[i(152)]===t&&this[i(458)]<=e)this[i(291)][i(229)]>1&&this[i(347)](this[i(458)]),this[i(325)](this[i(458)],e,!0);else{if(!this[i(291)][i(452)](t)){const e=this[i(447)](t);this[i(362)](e,t,!1)}this[i(362)](t,e,!0)}return this[i(152)]=t,this[i(458)]=e,this[i(191)]()}[rt(188)](t){const e=rt,i=this[e(374)][e(178)][e(427)](e(189));this[e(323)](),this[e(152)]=t[e(257)],this[e(458)]=t[e(274)];for(const s in t[e(338)]){const n=t[e(338)][s][e(263)],r=A(t[e(338)][s][e(390)])||{},o=i[e(284)](t[e(338)][s][e(241)]);o[e(268)]=s,o[e(331)]=!n||!n[e(425)],o[e(425)]=()=>o[e(331)],this[e(215)][e(214)](s,o),this[e(244)][e(214)](s,r),n&&this[e(433)][e(214)](s,n);const a=this[e(221)](o);this[e(437)][e(214)](s,a);for(const[t,i]of o[e(430)]){if(!t[e(255)](e(389)))continue;const s=t[e(173)](":")[2];for(const t of i[e(303)]({singleCharacters:!0})){const i=this[e(328)](t),n=e(310)==t[e(324)]?t[e(282)][e(411)][e(243)](0,-1):t[e(282)][e(411)],r=a[e(295)](n)[e(414)](i);this[e(393)][e(214)](r,{userId:s})}}}this[e(456)]=this[e(318)];const s=[...Array(this[e(318)])[e(408)]()][e(243)](1)[e(431)]((t=>!this[e(393)][e(452)](t)));let n=0;const r=new Map;for(const o in t[e(338)]){const a=t[e(338)][o][e(263)],c=A(t[e(338)][o][e(196)])||{},u=i[e(284)](t[e(338)][o][e(372)]);u[e(268)]=o,u[e(331)]=!a||a[e(425)],u[e(425)]=()=>u[e(331)],this[e(146)][e(214)](o,u),this[e(223)][e(214)](o,c);const l=this[e(221)](u,Number[e(184)]);this[e(227)][e(214)](o,l),r[e(214)](o,u[e(425)]()?c:{});for(const[t,i]of u[e(430)]){if(!t[e(255)](e(389)))continue;const s=t[e(173)](":")[2];for(const t of i[e(303)]({singleCharacters:!0})){const i=this[e(328)](t),n=this[e(318)]++,r=e(310)==t[e(324)]?t[e(282)][e(411)][e(243)](0,-1):t[e(282)][e(411)];l[e(295)](r)[e(162)](i,n),this[e(393)][e(214)](n,{userId:s})}}for(const t of this[e(374)][e(206)][e(151)](u)[e(303)]({singleCharacters:!0})){const i=this[e(328)](t),r=e(310)==t[e(324)]?t[e(282)][e(411)][e(243)](0,-1):t[e(282)][e(411)],o=l[e(295)](r);o[e(414)](i)>0||o[e(162)](i,s[n++])}for(const[t,i]of u[e(430)])t[e(255)](e(389))||this[e(343)][e(214)](t,i)}const o=ht(e(415));this[e(215)][e(214)](e(415),o),this[e(437)][e(214)](e(415),this[e(221)](o,1));const a=ht(e(415));this[e(146)][e(214)](e(415),a),this[e(227)][e(214)](e(415),this[e(221)](a,1));const c=Array[e(211)](this[e(146)])[e(405)]((([t,e])=>[t,lt(e)]));this[e(208)](this[e(458)],c,this[e(343)],r)}[rt(426)](){const t=rt;this[t(323)](),this[t(152)]=-1,this[t(458)]=-1,this[t(291)][t(406)](),this[t(309)](this[t(449)])}[rt(208)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(214)](t,{start:e[n(364)][n(170)](),end:e[n(404)][n(170)](),rootName:e[n(326)][n(268)]});this[n(291)][n(214)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(347)](t){const e=rt;this[e(291)][e(166)](t)}[rt(323)](){const t=rt;this[t(393)][t(406)](),this[t(365)][t(406)](),this[t(433)][t(406)](),this[t(146)][t(406)](),this[t(223)][t(406)](),this[t(215)][t(406)](),this[t(244)][t(406)](),this[t(227)][t(406)](),this[t(437)][t(406)](),this[t(343)][t(406)](),this[t(318)]=1,this[t(456)]=this[t(318)]}[rt(221)](t,e=null){const i=rt;let s=null;t.is(i(352))||(s=new Z.Element(t[i(397)],{vid_start:null===e?this[i(318)]++:e++}));const n=[];for(const s of t[i(232)]())if(s.is(i(402))){n[i(336)](this[i(221)](s,e));const t=n[n[i(345)]-1];null!==e&&(e=t.is(i(402),i(423))?t[i(414)](i(316))+1:t[i(414)](i(250))+1)}else for(let t=0;t<s[i(420)];t++)n[i(336)](new Z.Element(i(423),{vid:null===e?this[i(318)]++:e++}));if(t.is(i(352))){const e=ht(t[i(268)]);return e[i(311)](0,n),e}return s[i(162)](i(250),null===e?this[i(318)]++:e++),s[i(311)](0,n),s}[rt(362)](t,e,i){const s=rt;this[s(323)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(291)][s(427)](t);this[s(215)]=new Map(n),this[s(244)]=new Map(A(o));for(const[t,e]of this[s(215)])if(s(415)!==t&&(this[s(146)][s(214)](t,lt(e)),this[s(223)]=new Map(A(o)),i)){const i=this[s(318)];this[s(227)][s(214)](t,this[s(221)](e)),this[s(437)][s(214)](t,this[s(221)](e,i))}this[s(456)]=this[s(318)],this[s(146)][s(214)](s(415),lt(this[s(215)][s(427)](s(415)))),i&&this[s(227)][s(214)](s(415),this[s(221)](this[s(215)][s(427)](s(415))));for(const[t,e]of r){const i=this[s(215)][s(427)](e[s(268)]),n=this[s(146)][s(427)](e[s(268)]),r=new Z.Range(this[s(237)](e[s(364)],i),this[s(237)](e[s(404)],i)),o=this[s(143)](r,n);i[s(430)][s(214)](t,r),this[s(343)][s(214)](t,o)}this[s(325)](t,e,i)}[rt(325)](t,e,i){const s=rt;for(const n of this[s(449)][s(259)](t,e))this[s(161)](n,i);for(const t of this[s(146)][s(378)]())t[s(430)][s(406)]();for(const[t,e]of this[s(343)])this[s(146)][s(427)](e[s(326)][s(268)])[s(430)][s(214)](t,e[s(170)]());const n=new Map,r=new Map;for(const[t,e]of this[s(146)])n[s(214)](t,lt(e)),r[s(214)](t,this[s(223)][s(427)](t));this[s(208)](e,n,this[s(343)],r)}[rt(447)](t){const e=rt,i=Array[e(211)](this[e(291)][e(408)]());i[e(305)](((t,e)=>t-e)),i[e(409)]();for(const e of i)if(e<t)return e;return Number[e(184)]}[rt(395)](t,e){const i=rt,s=Array[i(211)](e[i(430)])[i(405)]((([e,s])=>[e,this[i(143)](s,t)]));t[i(430)]=new Map(s)}[rt(195)](t){const e=rt;for(const i of this[e(343)][e(378)]()){const s=i[e(234)](t),n=Z.Range[e(346)](s);i[e(364)]=n[e(364)],i[e(404)]=n[e(404)]}}[rt(161)](t,e){const i=rt;if(i(256)!=t[i(324)]&&i(462)!=t[i(324)]){if(i(272)==t[i(324)]){const s=t[i(396)][i(326)][i(268)];this[i(146)][i(452)](s)||(this[i(146)][i(214)](s,ht(s,!0)),this[i(223)][i(214)](s,{}),e&&this[i(227)][i(214)](s,ht(s,!0)))}else{if(i(373)==t[i(324)]||i(394)==t[i(324)]||i(445)==t[i(324)])return void this[i(236)](t);i(460)==t[i(324)]&&this[i(421)](t)}if(i(460)!==t[i(324)]){const e=this[i(190)](t,this[i(146)]);e[i(432)](),this[i(195)](e)}if(e)switch(t[i(324)]){case i(272):this[i(379)](t);break;case i(317):case i(181):case i(320):this[i(142)](t);break;case i(376):this[i(319)](t);break;case i(173):this[i(182)](t)}}else this[i(455)](t,e)}[rt(190)](t,e){const i=rt,s=t[i(170)]();return s[i(417)]=t[i(417)],this[i(224)](s,e),s}[rt(164)](t){const e=rt;return t[e(405)]((t=>{const i=e,s=this[i(328)](t);return Number(t[i(348)][i(414)](s))}))}[rt(384)](t,e){const i=rt;if(t.is(i(402),i(423)))e[i(336)]({item:t,type:i(302)});else{t.is(i(402))&&e[i(336)]({item:t,type:i(150)});for(const s of t[i(232)]())this[i(384)](s,e);t.is(i(402))&&e[i(336)]({item:t,type:i(310)})}return e}[rt(191)](){const t=rt,e=new Map(this[t(393)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(215)][t(408)](),...this[t(146)][t(408)]()]);a[t(166)](t(415));for(const e of a){const i=this[t(146)][t(427)](e)||ht(e,!1),s=this[t(215)][t(427)](e)||ht(e,!1);i[t(425)]()||s[t(425)]()?(n[t(372)][e]=lt(i),n[t(241)][e]=lt(s),this[t(395)](n[t(241)][e],s),this[t(395)](n[t(372)][e],i),r[t(372)][e]=this[t(384)](this[t(227)][t(427)](e),[]),r[t(241)][e]=this[t(384)](this[t(437)][t(427)](e)||ht(e,!1),[])):a[t(166)](e)}for(const n of a){const o=r[t(372)][n];for(const n of o){const r=this[t(328)](n),o=n[t(348)][t(414)](r);i[t(166)](o),o>=this[t(456)]&&s[t(214)](o,e[t(427)](o))}}for(const n of a){const a=r[t(372)][n],c=this[t(164)](r[t(241)][n]);let u=0;for(const n of a){const r=this[t(328)](n),a=n[t(348)][t(414)](r);if(!s[t(452)](a)&&!o[t(452)](a))if(i[t(452)](a))u++;else{if(a!=c[u]){const s=e[t(427)](a)||e[t(427)](c[u]);for(;a!=c[u];)i[t(452)](c[u])||(o[t(214)](c[u],s),e[t(214)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(372)][e];for(const e of n){const n=this[t(328)](e),r=e[t(348)][t(414)](n);if(o[t(452)](r)){const e=o[t(427)](r);i[t(452)](r)||i[t(214)](r,{...e}),s[t(214)](r,{...e})}}}for(const e of i[t(408)]())e>=this[t(456)]&&i[t(166)](e);const c=new Map;for(const e of a){let n=r[t(372)][e];for(const e of n)if(e[t(348)].is(t(402),t(321))){const i=this[t(328)](e),n=e[t(348)][t(414)](i);if(s[t(452)](n)){const i=e[t(348)][t(398)][t(398)][t(414)](t(180)),r=c[t(427)](i)||new Set;r[t(212)](s[t(427)](n)[t(400)]),c[t(214)](i,r)}}n=r[t(241)][e];for(const e of n)if(e[t(348)].is(t(402),t(321))){const s=this[t(328)](e),n=e[t(348)][t(414)](s);if(i[t(452)](n)){const s=e[t(348)][t(398)][t(398)][t(414)](t(180)),r=c[t(427)](s)||new Set;r[t(212)](i[t(427)](n)[t(400)]),c[t(214)](s,r)}}for(const e of c[t(408)]())(s[t(452)](e)||i[t(452)](e))&&c[t(166)](e)}for(const e of a){const n=r[t(372)][e];let o=null,a=null;for(const e of n){const n=this[t(328)](e),r=e[t(348)][t(414)](n),u=c[t(427)](r);u&&t(150)==e[t(324)]&&(o=Array[t(211)](u)[0],a=e[t(348)][t(414)](t(250))),o&&(i[t(214)](r,{userId:o}),s[t(214)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(241)][e],a=n[t(372)][e];for(const{userId:e}of this[t(365)][t(378)]())null!==e&&l[t(212)](e);for(const{userId:e}of this[t(433)][t(378)]())null!==e&&l[t(212)](e);this[t(172)](a,r[t(372)][e],s,t(350),l),this[t(172)](o,r[t(241)][e],i,t(388),l),u[e]={insertions:this[t(443)](a),deletions:this[t(443)](o),attachChange:this[t(433)][t(427)](e)||null,attributesBefore:A(this[t(244)][t(427)](e))||{},attributesAfter:A(this[t(223)][t(427)](e))}}return{diffData:u,authorsIds:Array[t(211)](l)}}[rt(213)](t){const e=rt;for(const[,i]of t[e(430)]){const t=i[e(364)][e(297)]()[e(431)]((t=>e(321)==t[e(397)]));for(const i of t)1==i[e(183)]&&i[e(225)](0).is(e(402),e(194))&&i[e(225)](0)[e(162)](e(187),!0)}}[rt(443)](t){const e=rt;this[e(213)](t);const i=this[e(374)][e(375)][e(429)](t,{}),s=Array[e(211)](i[e(232)]())[e(405)]((t=>this[e(253)](t)));return JSON[e(391)](s)}[rt(253)](t){const e=rt;if(t.is(e(423)))return t[e(375)];{const i=this[e(374)][e(178)][e(427)](e(189)),s=t,n=this[e(374)][e(375)][e(419)][e(200)],r={type:i[e(410)](s),name:s[e(397)],attributes:Array[e(211)](s[e(254)]()),children:Array[e(211)](s[e(232)]())[e(405)]((t=>this[e(253)](t)))};if(t.is(e(300))&&e(446)!=t[e(397)]){const i=t[e(275)](n[e(242)],n);r[e(424)][e(336)](i[e(269)])}else if(t.is(e(149))){const i=n[e(242)][e(203)](s[e(397)]);t[e(275)](i,n),r[e(424)][e(336)](i[e(293)])}const o=Array[e(211)](s[e(454)]());o[e(345)]>0&&(r[e(217)]=o);const a=s[e(463)]();return null!==a&&(r[e(329)]=a),r}}[rt(172)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(374)][r(206)];for(let s=0;s<e[r(345)];s++){const n=this[r(328)](e[s]),c=e[s][r(348)][r(414)](n),h=i[r(427)](c),d=s==e[r(345)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(400)]!=o[r(400)])&&(l(h,dt(a,t,u),dt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,dt(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(400)],d=l(389)+s+":"+h+":"+c++,f=u[l(294)](i,a);t[l(430)][l(214)](d,f),null!==h&&n[l(212)](h)}}[rt(328)](t){const e=rt;switch(t[e(324)]){case e(150):return e(180);case e(310):return e(250);default:return e(316)}}[rt(224)](t,e){const i=rt;t[i(267)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(427)](n[i(326)][i(268)]);t[s]=this[i(237)](n,r)}if(n instanceof Z.Range){const r=e[i(427)](n[i(326)][i(268)]);t[s]=this[i(143)](n,r)}i(326)===s&&(t[i(326)]=e[i(427)](t[i(326)][i(268)]))}}[rt(143)](t,e){const i=rt;return this[i(374)][i(206)][i(294)](this[i(237)](t[i(364)],e),this[i(237)](t[i(404)],e))}[rt(237)](t,e){const i=rt;return this[i(374)][i(206)][i(265)](e,t[i(411)],t[i(341)])}[rt(379)](t){const e=rt,i=this[e(227)][e(427)](t[e(396)][e(326)][e(268)]),s=this[e(237)](t[e(396)],i),n=null===t[e(417)]?null:t[e(417)]||this[e(374)][e(178)][e(427)](e(392)).me.id,r=s[e(398)],o=this[e(318)],a=[];for(const i of t[e(258)])if(i.is(e(402)))a[e(336)](this[e(221)](i));else for(let t=0;t<i[e(420)];t++)a[e(336)](new Z.Element(e(423),{vid:this[e(318)]++}));const c=this[e(318)];for(let t=o;t<c;t++)this[e(393)][e(214)](t,{userId:n});r[e(311)](s[e(260)],a)}[rt(142)](t){const e=rt;(t=this[e(190)](t,this[e(227)]))[e(432)]();const i=null===t[e(417)]?null:t[e(417)]||this[e(374)][e(178)][e(427)](e(392)).me.id,s=t[e(231)](),n=s[e(398)],r=s[e(260)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(225)](e);r.is(a(402),a(423))?s[a(214)](r[a(414)](a(316)),{userId:i}):(s[a(214)](r[a(414)](a(180)),{userId:i}),t(s,r,0,r[a(183)]),s[a(214)](r[a(414)](a(250)),{userId:i}))}}(this[e(393)],n,r,r+t[e(185)])}[rt(319)](t){const e=rt,i=null===(t=this[e(190)](t,this[e(227)]))[e(417)]?null:t[e(417)]||this[e(374)][e(178)][e(427)](e(392)).me.id,s=t[e(368)][e(398)],n=t[e(457)][e(398)],r=s[e(414)](e(250)),o=n[e(414)](e(180));s[e(162)](e(250),n[e(414)](e(250))),n[e(162)](e(250),r),this[e(393)][e(214)](o,{userId:i}),this[e(393)][e(214)](r,{userId:i}),t[e(432)]()}[rt(182)](t){const e=rt,i=null===(t=this[e(190)](t,this[e(227)]))[e(417)]?null:t[e(417)]||this[e(374)][e(178)][e(427)](e(392)).me.id,s=t[e(339)],n=t[e(186)][e(398)];t[e(432)]();const r=n[e(414)](e(250)),o=t[e(359)][e(440)];if(s){const t=o[e(414)](e(250)),s=n[e(414)](e(250));n[e(162)](e(250),t),o[e(162)](e(250),s),this[e(393)][e(214)](n[e(414)](e(250)),{userId:i}),this[e(393)][e(214)](o[e(414)](e(180)),{userId:i})}else{const t=this[e(318)]++,s=this[e(318)]++;n[e(162)](e(250),t),o[e(162)](e(180),s),o[e(162)](e(250),r),this[e(393)][e(214)](t,{userId:i}),this[e(393)][e(214)](s,{userId:i})}}[rt(421)](t){const e=rt;if(!t[e(334)])return;const i=(t=this[e(190)](t,this[e(146)]))[e(169)]?t[e(169)][e(326)]:null,s=t[e(356)]?t[e(356)][e(326)]:null;i&&this[e(343)][e(166)](t[e(397)]),s&&this[e(343)][e(214)](t[e(397)],t[e(356)][e(170)]());const n=null===t[e(417)]?null:t[e(417)]||this[e(374)][e(178)][e(427)](e(392)).me.id,r=t[e(397)];if(!this[e(365)][e(452)](r))return void this[e(365)][e(214)](r,{range:t[e(169)],userId:n});const o=this[e(365)][e(427)](r),a=o[e(434)],c=t[e(356)];null==a&&null==c||a&&c&&a[e(422)](c)?this[e(365)][e(166)](t[e(397)]):o[e(400)]=n}[rt(455)](t,e){const i=rt;this[i(146)][i(452)](t[i(268)])?this[i(146)][i(427)](t[i(268)])[i(331)]=t[i(306)]:(this[i(146)][i(214)](t[i(268)],ht(t[i(268)],!0)),this[i(223)][i(214)](t[i(268)],{}),e&&this[i(227)][i(214)](t[i(268)],ht(t[i(268)],!0)));const s=null===t[i(417)]?null:t[i(417)]||this[i(374)][i(178)][i(427)](i(392)).me.id,n=this[i(433)][i(427)](t[i(268)]);n&&n[i(400)]===s?this[i(433)][i(166)](t[i(268)]):this[i(433)][i(214)](t[i(268)],{userId:s,isAttached:t[i(306)]})}[rt(236)](t){const e=rt,i=this[e(223)][e(427)](t[e(326)][e(268)]);null===t[e(168)]?delete i[t[e(363)]]:i[t[e(363)]]=t[e(168)]}}function lt(t){const e=rt,i=ht(t[e(268)],t[e(425)]());for(const s of t[e(232)]()){const t=s[e(238)](!0);i[e(322)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(268)]=t,s[i(331)]=e,s[i(425)]=()=>s[i(331)],s}function dt(t,e,i){const s=rt,n=s(310)==t[s(324)]?i[s(273)](t[s(348)],s(404)):i[s(220)](t[s(348)]);return i[s(265)](e,n[s(411)],n[s(341)])}function ft(t,e,i){const s=rt,n=s(150)==t[s(324)]?i[s(273)](t[s(348)],0):i[s(399)](t[s(348)]);return i[s(265)](e,n[s(411)],n[s(341)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Et;function Et(t,e){const i=Dt();return(Et=function(t,e){return i[t-=245]})(t,e)}function Dt(){const t=["219204HCefRS","focus","arrowdown","reset","element","2EBxXMm","render","add","arrowup","220","125622hGSGEW","ck-revision-history-save-revision-form","revisionNameInputValue","errorText","arrowleft","fieldView","Name of the revision","stopPropagation","form","focusTracker","775PSIcaB","revisionNameInputView","revisionName","set","13011EDCsum","optional","label","360XgcUai","277920sDLFQu","10NnRIsq","listenTo","extendTemplate","arrowright","ck-responsive-form","7404PITKHa","trim","2245488CrGIVW","803PsvXVE","_createRevisionNameInput","value","input","973536KDBBvW","keystrokes","setTemplate","locale"];return(Dt=function(){return t})()}!function(t){const e=Et,i=t();for(;;)try{if(214673===-parseInt(e(284))/1*(parseInt(e(279))/2)+-parseInt(e(253))/3*(parseInt(e(256))/4)+parseInt(e(249))/5*(-parseInt(e(263))/6)+-parseInt(e(265))/7+-parseInt(e(270))/8+parseInt(e(257))/9*(parseInt(e(258))/10)+-parseInt(e(266))/11*(-parseInt(e(274))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Mt extends pt.View{[At(248)];[At(271)];[At(250)];constructor(e,i){const s=At;super(e),this[s(248)]=new t.FocusTracker,this[s(271)]=new t.KeystrokeHandler,this[s(252)](s(286),""),this[s(250)]=this[s(267)](i),this[s(272)]({tag:s(247),attributes:{class:["ck",s(285),s(262)],tabindex:"-1"},children:[this[s(250)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(280)](){const t=At;super[t(280)](),(0,pt.submitHandler)({view:this}),this[t(248)][t(281)](this[t(250)][t(278)]),this[t(271)][t(259)](this[t(278)]);const e=e=>e[t(246)]();this[t(271)][t(252)](t(261),e),this[t(271)][t(252)](t(288),e),this[t(271)][t(252)](t(282),e),this[t(271)][t(252)](t(276),e)}[At(275)](){const t=At;this[t(250)][t(275)]()}get[At(251)](){const t=At;return this[t(250)][t(289)][t(278)][t(268)][t(264)]()}set[At(251)](t){const e=At;this[e(250)][e(289)][e(278)][e(268)]=t[e(264)]()}[At(277)](){const t=At;this[t(250)][t(289)][t(278)][t(268)]="",this[t(250)][t(287)]=null}[At(267)](t){const e=At,i=new pt.LabeledFieldView(this[e(273)],pt.createLabeledInputText),s=i[e(289)];s[e(260)]({attributes:{maxlength:e(283)}});let n=Q(this[e(273)],e(245));return!t&&(n+=" ("+Q(this[e(273)],e(254))+")"),i[e(255)]=n,s.on(e(269),(()=>{const t=e;this[t(286)]=s[t(278)][t(268)][t(264)]()})),i}}const Vt=Ft;function Ct(){const t=["view","isPremiumPlugin","RevisionTracker","menu","errorText","Revision history","submit","_showDialog","saveRevision","hide","add","ck-button-action","role","3318990xWDEda","2398284FCavJM","6862LdbRZj","componentFactory","The revision name cannot be empty.","_registerMenuComponent","config","_saveRevisionFormView","isOpen","get","menuitem","plugins","Cancel","298tTicSd","execute","revisionHistory","isOfficialPlugin","Save current revision","delegate","init","760pOOJnu","isReady","Accept","bind","22700SBiaez","RevisionHistoryUI","Dialog","panelView","focus","menuBar:revisionHistory","revisionSave","children","addMany","revisionNameInputView","locale","requires","editing","buttonView","7776981gzarcr","isReadOnly","isEnabled","reset","21962870ERZTng","set","_createSaveRevisionFormView","3787IyYesm","render","show","Open revision history","pluginName","16776entrtB","showRevisionViewerCallback","editor","revisionHistory.requireRevisionName","revisionName","items"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=398]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(576695===parseInt(e(440))/1*(parseInt(e(429))/2)+-parseInt(e(427))/3+parseInt(e(447))/4*(parseInt(e(451))/5)+-parseInt(e(428))/6+-parseInt(e(403))/7*(parseInt(e(408))/8)+-parseInt(e(465))/9+parseInt(e(400))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class Pt extends U.Plugin{static get[Vt(407)](){return Vt(452)}static get[Vt(443)](){return!0}static get[Vt(415)](){return!0}static get[Vt(462)](){return[ct]}[Vt(434)];[Vt(446)](){const t=Vt,e=this[t(410)],i=e[t(438)][t(436)](t(416));e.ui[t(430)][t(424)](t(442),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(454)][n(458)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(450)](n(398)).to(i,n(448),i,n(398),e,n(466),((t,e,i)=>t&&e&&!i)),r[n(464)][n(401)]({icon:mt.IconHistory,label:Q(s,n(419)),tooltip:!0}),u[n(401)]({label:Q(s,n(444)),withText:!0,role:n(437)}),u[n(450)](n(398)).to(i,n(448),i,n(398),e,n(466),((t,e,i)=>t&&e&&!i)),u.on(n(441),(()=>this[n(421)]())),h[n(401)]({label:Q(s,n(406)),withText:!0,role:n(437)}),h[n(450)](n(398)).to(i,n(448),e,n(466),((t,e)=>t&&!e)),h.on(n(441),(()=>{const t=n;e[t(433)][t(436)](t(442))[t(409)](),r[t(435)]=!1,e[t(463)][t(414)][t(455)]()})),c[n(458)][n(424)](u),l[n(458)][n(424)](h),a[n(426)]=n(417),a[n(413)][n(459)]([c,l]),o[n(424)](a),r})),e.ui[t(430)][t(424)](t(456),(()=>this[t(432)]()))}[Vt(432)](){const t=Vt,e=this[t(410)],i=e[t(461)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(464)][t(401)]({icon:mt.IconHistory,label:Q(i,t(419))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(401)]({label:Q(i,t(444))}),o[t(445)](t(441)).to(s),o.on(t(441),(()=>{this[t(421)]()})),r[t(458)][t(424)](o),n[t(413)][t(424)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(401)]({label:Q(i,t(406))}),c[t(445)](t(441)).to(s),c.on(t(441),(()=>{const i=t;e[i(433)][i(436)](i(442))[i(409)]()})),a[t(458)][t(424)](c),n[t(413)][t(424)](a),s[t(454)][t(458)][t(424)](n),s}[Vt(421)](){const t=Vt,e=this[t(410)],i=e[t(461)],s=e[t(438)][t(436)](t(453)),n=e[t(438)][t(436)](t(416));function r(n){const r=t;e[r(433)][r(436)](r(411))&&""===n[r(412)]?n[r(460)][r(418)]=Q(i,r(431)):(e[r(438)][r(436)](ct)[r(422)]({name:n[r(412)]}),s[r(423)]())}this[t(434)]||(this[t(402)](),this[t(434)].on(t(420),(()=>r(this[t(434)])))),this[t(434)][t(399)](),s[t(405)]({id:t(457),title:Q(i,t(444)),isModal:!0,content:this[t(434)],actionButtons:[{label:Q(e[t(461)],t(439)),withText:!0,onExecute:()=>s[t(423)]()},{label:Q(e[t(461)],t(449)),class:t(425),withText:!0,onCreate(i){const s=t;i[s(450)](s(398)).to(n,s(448),n,s(398),e,s(466),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(434)])}]})}[Vt(402)](){const t=Vt,e=this[t(410)],i=e[t(461)];this[t(434)]=new Mt(i,e[t(433)][t(436)](t(411))),this[t(434)][t(404)]()}}function jt(){const t=["2012yEgwMc","changeId","101852QTPvTe","1219100aHrqiF","isSuggestion","ck-revision-change","1003544kqmMWN","focus","type","ck-revision-change__","1646127hiJlkq","Added by","249kKcJGK","element","14682hcAloR","author","setTemplate","bindTemplate","span","ck-annotation","Suggested by","Removed by","483ovRpIY","add","_model","528280CRknfj","div","name","set","data","ck-revision-change__label"];return(jt=function(){return t})()}const Lt=Wt;function Wt(t,e){const i=jt();return(Wt=function(t,e){return i[t-=496]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(138056===-parseInt(e(502))/1+parseInt(e(525))/2+parseInt(e(512))/3*(-parseInt(e(500))/4)+parseInt(e(503))/5+parseInt(e(514))/6*(-parseInt(e(522))/7)+parseInt(e(506))/8+-parseInt(e(510))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class zt extends pt.View{[Lt(501)];[Lt(524)];constructor(t,e){const i=Lt;super(t),this[i(524)]=e,this[i(501)]=e.id;const s=this[i(517)],n=Q(t,e[i(498)][i(504)]?i(520):i(523)==e[i(508)]?i(511):i(521));this[i(497)](i(508),e[i(508)]),this[i(516)]({tag:i(526),attributes:{class:[i(519),i(505),s.to(i(508),(t=>i(509)+t))],tabindex:-1},children:[{tag:i(518),children:[{tag:i(518),attributes:{class:[i(499)]},children:[{text:n}]},{text:" "+e[i(515)][i(496)]}]}]})}[Lt(507)](){const t=Lt;this[t(513)][t(507)]()}}var Ut=Ht;function Ht(t,e){var i=Zt();return(Ht=function(t,e){return i[t-=441]})(t,e)}function Zt(){var t=["createdAt","5786088pOVGMB","655205yxaZnl","8lcGFrJ","set","rootName","toJSON","author","type","71646fMydBr","data","390CzPGox","6bPDSBI","112sOGsYi","1063022nspVET","168949bqifyH","7894881BxWfBF","125785GaGgzP"];return(Zt=function(){return t})()}!function(t){for(var e=Ht,i=t();;)try{if(517697===-parseInt(e(457))/1+parseInt(e(454))/2+parseInt(e(449))/3*(-parseInt(e(453))/4)+parseInt(e(442))/5*(parseInt(e(452))/6)+-parseInt(e(441))/7+-parseInt(e(443))/8*(-parseInt(e(456))/9)+parseInt(e(451))/10*(parseInt(e(455))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends((0,t.ObservableMixin)()){id;[Ut(447)];[Ut(448)];[Ut(450)];[Ut(445)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(447)]=e[i(447)],this[i(448)]=e[i(448)],this[i(450)]=e[i(450)]||{},this[i(445)]=e[i(445)],this[i(444)](i(458),e[i(458)])}[Ut(446)](){var t=Ut;return{id:this.id,authorId:this[t(447)].id,type:this[t(448)],data:this[t(450)],createdAt:this[t(458)]}}}const $t=Yt;!function(t){const e=Yt,i=t();for(;;)try{if(833246===-parseInt(e(259))/1+-parseInt(e(265))/2*(-parseInt(e(253))/3)+-parseInt(e(266))/4+parseInt(e(264))/5*(-parseInt(e(262))/6)+parseInt(e(260))/7+-parseInt(e(256))/8+parseInt(e(255))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Bt{[$t(263)];[$t(257)];[$t(258)];constructor(e,i){const s=$t;this[s(263)]=e,this[s(257)]=i,this[s(258)]=new t.Collection}[$t(254)](t){const e=$t;for(const i of t)this[e(258)][e(261)](i)}}function Yt(t,e){const i=Gt();return(Yt=function(t,e){return i[t-=253]})(t,e)}function Gt(){const t=["oldRevisionId","changes","6209aKbNAx","1776922bcbtkO","add","60ykhHqT","newRevisionId","320830gSjZFi","403226YvutQj","3187676dxzCRP","15xsGmeb","_setChanges","21149802wAgxJN","10670840UMozws"];return(Gt=function(){return t})()}var Jt=i(536),Xt={attributes:{"data-cke":!0}};Xt.setAttributes=It(),Xt.insert=wt().bind(null,"head"),Xt.domAPI=kt(),Xt.insertStyleElement=Ot();gt()(Jt.A,Xt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Kt=ee;function Qt(){const t=["_cleanMarkers","markersEnd","_initInteractions","addRevision","RevisionsRepository","removeClass","isAtStart","wrap","affectsData","RevisionViewer","concat","userId","enableReadOnlyMode","isNavigationMode","item","markerRange","return","WidgetToolbarRepository","suggestion:","refresh","removeMarker:revision","findIndex","pluginName","nodeAfter","markerName","changeId","destroy","change:numberOfChanges","downcastDispatcher","getChild","createRevision","addRevisionData","reconvertMarker","add","mapper","deletions","currentChangeNumber","startIndex","bindElementToMarker","nextPosition","rootName","-new","markers","activeChange","commands","_processTape","observeMarkers","getRootNames","change:isEnabled","next","getDomRoot","isBlock","insertions","updatePosition","authors","level","revision-comment:","isInline","oldRevisionId","unshift","error","unbindElementFromMarkerName","getRevisionRootsAttributes","target","removeMarker:revision-suggestion","revisionHistoryLabel","isRemoveSuggestion","getLaterVisibleRevision","hasAttribute","_refreshStartEndIndex","getCustomProperty","compare","revisionHistoryAttachChange","type","merge","done","conversion","uiElement","isEqual","240DjbOvQ","left","_data","distance","addClass","consume","end","offsetSize","element","133445cYSKVU","ck-revision-history-root-add","restoreRevision","listenTo","getWalker","range","locale","from","changes","POSITIVE_INFINITY","getAttribute","_activeViewTarget","pairId","startsWith","attribute:vid","bind","execute","keys","_getChangeFromId","parent","dataToMarker","bottom","_markInsertions","mousedown","isEnabled","showStack","addMarker:revision-suggestion:deletion","checkAttribute","getItems","change:isReady","right","739503FQGOrb","values","_getDiff","split","isAdded","sort","adapter","ck-suggestion-marker","insert","remove","mouseover","isCollapsed","showNextChange","_markMarkers","isOfficialPlugin","_balloon","previousPosition","isAtEnd","data","hasClass","length","upcast","revision","14072067WxYZqw","change:activeChange","view","resolve","_removeUnsupportedChanges","removeMarker","ck-suggestion-marker-merge","has","push","11694770MdQUId","domConverter","elementEnd","ck-suggestion-preview-marker","_getRevisionsRange","ck-suggestion-marker--active","for","splice","repository","indexOf","getAttributes","activeView","_makeModelFromViewString","ck-editor__editable__overlay","attributes","_sortAndFilterDiffChanges","_setConversion","addHighlight","get","attributesBefore","numberOfChanges","_markSuggestions","filter","_changeIdToChange","attachChange","model","elementStart","consumable","forward","delete","name","revision-suggestion","ck-revision-history-root--active","abs","addMarker:revision","_findChangeIdFromDomTarget","side","viewItem","isIncorrect","enqueueChange","ck-suggestion-preview-marker-","ck-suggestion-marker-","schema","catch","newRevisionId","toViewRange","3984036WcWYkE","change","softBreak","plugins","_threeWayMerge","attributesAfter","mapViewToDom","toViewElement","then","loadRevisionData","text","createPositionBefore","forceDisabled","stop","set","_makeModelFromTape","isRemoved","addMarker:revision-suggestion:insertion","isBefore","top","showPreviousChange","2FxGPqY","change:activeView","elementToAttribute","forEach","_utils","diffData","ck-revision-history-root-","_setChanges","1261768sMfvKO","slice","span","shift","editor","isAttached","start","isOnRoot","revision:","_joinTapes","vid_end","restoreRevisionCallback","markerNameToElements","all","isAddSuggestion","nextSibling","vid","1981041prMpQF","ck-suggestion-marker-split","roots","toViewPosition","isPremiumPlugin","comment","isLimit","element:pre","test","requires","domEvent","getClientRects","_makeTape","getIndex","revision-suggestion:","writer","highest","detachRoot","low","revision-viewer","_revisions","map","insertion","_setDistance","createUIElement","RevisionHistoryUtils","_step","_removeMissingPairs","index","maxOffset","isSuggestion","backward","addRoot","code","revisionHistory","markerToData","_fixObsoleteTags","_cleanUp","_changeView","find","7nufRZH","ck-revision-history-root-remove","getRevisionDocumentData","markerToHighlight","config","vid_start","deletion","createRangeIn","flat","createAttributeElement","removeAttribute","_getViewForChange","editing","endIndex","createRange","high","modelRange","diff","first","isObject","markersStart","_update","editingDowncast","string","_appendChild","clear","data-change-id","object","pop","isReady","document","dataDowncast","createPositionFromPath","getRoot","getRevision","suggestion","includes","selection","setAttribute","isContent","init","isAfter","_markMismatchedRemovedTags"];return(Qt=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(888100===parseInt(e(628))/1+parseInt(e(401))/2*(parseInt(e(426))/3)+parseInt(e(380))/4+parseInt(e(597))/5*(parseInt(e(588))/6)+-parseInt(e(466))/7*(-parseInt(e(409))/8)+-parseInt(e(651))/9+-parseInt(e(660))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class te extends U.Plugin{[Kt(342)];[Kt(634)]=null;[Kt(405)];[Kt(608)];[Kt(464)];[Kt(357)];[Kt(643)];static get[Kt(531)](){return Kt(518)}static get[Kt(642)](){return!0}static get[Kt(430)](){return!0}static get[Kt(435)](){return[H.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Kt;super(t),this[e(342)]=this[e(413)][e(383)][e(352)](e(513)),this[e(405)]=this[e(413)][e(383)][e(352)](e(451)),this[e(394)](e(552),null),this[e(394)](e(345),null),this[e(608)]=null,this[e(394)](e(483),null),this[e(394)](e(495),!1),this[e(394)](e(621),!0),this.on(e(557),((t,i,s)=>{const n=e;this[n(552)]=null,this[n(345)]=null,this[n(413)][n(478)][n(653)][n(381)]((t=>{const e=n;for(const i of this[e(413)][e(478)][e(653)][e(496)][e(428)])s?t[e(514)](e(347),i):t[e(592)](e(347),i)}))})),this[e(612)](e(522)).to(this,e(552),(t=>null!==t)),this[e(612)](e(545)).to(this,e(495),this,e(483),this,e(552),((t,i,s)=>t&&s?i[e(605)][e(439)](s):0)),this[e(612)](e(354)).to(this,e(495),this,e(483),((t,i)=>t?i[e(605)][e(648)]:0)),this[e(464)]=null,this[e(357)]=new Map,this[e(643)]=this[e(413)][e(383)][e(352)](pt.ContextualBalloon)}[Kt(506)](){const t=Kt,e=this[t(413)],i=new ne(e,{direction:t(457)}),s=new ne(e,{direction:t(362)});e[t(553)][t(542)](t(400),i),e[t(553)][t(542)](t(640),s),e[t(553)][t(542)](t(599),new se(e)),this.on(t(536),(()=>{const e=t;i[e(528)](),s[e(528)]()})),this[t(350)](),this[t(511)](),e[t(521)](t(445)),e[t(383)][t(658)](t(526))&&e[t(383)][t(352)](t(526))[t(392)](t(445))}async[Kt(468)](t){const e=Kt;return await this[e(405)][e(389)](t,this[e(634)]),this[e(405)][e(468)](t)}async[Kt(571)](t){const e=Kt;return await this[e(405)][e(389)](t,this[e(634)]),this[e(405)][e(571)](t)}async[Kt(580)](t,e,i=!1){const s=Kt;if(!this[s(621)])return;const n=this[s(483)],r=this[s(342)],o=s(489)==typeof t?r[s(500)](t):t,a=s(489)==typeof e?r[s(500)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(483)]&&this[s(483)][s(378)]===c&&this[s(483)][s(567)]===u)return Promise[s(654)]();this[s(495)]=!1,this[s(345)]=null,this[s(552)]=null,this[s(483)]=new Bt(c,u);const l=this[s(664)](o,a,!0)[s(447)]((t=>this[s(405)][s(389)](t,this[s(634)])));return l[s(659)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(422)](l)[s(388)]((()=>{const t=s;if(!this[t(621)])return;this[t(463)]();const e=this[t(630)](c,u);for(const i of e[t(605)])this[t(357)][t(394)](i.id,i);this[t(413)][t(359)][t(373)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(413)][s(359)][s(496)][s(556)]())i[s(443)](t);for(const t of Object[s(614)](e[s(359)])){const n=i[s(458)](t);for(const r of Object[s(614)](e[s(348)][t]))i[s(504)](r,e[s(348)][t][r],n);i[s(636)](e[s(359)][t],n,0)}})),this[t(483)][t(408)](this[t(349)](e[t(605)])),this[t(495)]=!0}))[s(377)]((t=>{const e=s;console[e(569)](t),this[e(463)](),n&&(this[e(483)]=n),this[e(495)]=!0}))}[Kt(540)](t,e){const i=Kt,s=this[i(342)][i(539)](t);return s.on(i(487),((t,i,n)=>e(i,n,s))),this[i(342)][i(512)](s),s}[Kt(463)](){const t=Kt;this[t(552)]=null,this[t(509)](),this[t(464)]&&this[t(464)][t(535)](),this[t(464)]=null,this[t(357)][t(491)](),this[t(413)][t(359)][t(373)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(413)][i(359)][i(496)][i(556)]())e[i(443)](t)}))}[Kt(349)](t){const e=Kt,i=[],s=new Map;for(const t of this[e(413)][e(359)][e(496)][e(556)]()){const n=this[e(413)][e(478)][e(653)][e(559)](t);if(!n)continue;const r=n[e(437)]()[e(523)](0);r&&(i[e(659)](t),s[e(394)](t,r))}return i[e(633)](((t,i)=>{const n=e,r=s[n(352)](t),o=s[n(352)](i);return r.y-o.y||r.x-o.x})),(t=t[e(356)]((t=>i[e(502)](t[e(549)]))))[e(633)](((t,s)=>i[e(343)](t[e(549)])-i[e(343)](s[e(549)]))),t}[Kt(438)](t){const e=Kt,i=Array[e(604)](t[e(551)])[e(356)]((([t,i])=>t[e(610)](e(417))&&!i[e(639)])),s=Array[e(604)](this[e(413)][e(359)][e(473)](t)[e(601)]({singleCharacters:!0}));if(0!=i[e(648)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(631)](":");if(n[e(594)][e(587)](t[e(548)])&&i[e(412)](),(t[e(644)][e(587)](n[e(415)])||t[e(644)][e(507)](n[e(415)]))&&(e(448)==r?t[e(632)]={userId:o}:e(472)==r&&(t[e(396)]={userId:o})),0==i[e(648)])break}return s}[Kt(578)](t){const e=Kt,i=new Map;for(let s=0;s<t[e(648)];s++)e(390)===t[s][e(582)]?(t[s][e(523)][e(546)]=s,t[s][e(523)][e(479)]=s):(e(360)===t[s][e(582)]?t[s][e(523)][e(546)]=s:e(662)===t[s][e(582)]&&(t[s][e(523)][e(479)]=s),i[e(394)](t[s].id,s));for(const s of i[e(629)]())e(360)===t[s][e(582)]?t[s][e(523)][e(479)]=i[e(352)](t[s][e(609)]):e(662)===t[s][e(582)]&&(t[s][e(523)][e(546)]=i[e(352)](t[s][e(609)]))}[Kt(554)](t){const e=Kt;for(let i=0;i<t[e(648)];i++){if(e(360)===t[i][e(582)])t[i][e(523)][e(546)]=i;else if(e(662)===t[i][e(582)]){t[i][e(523)][e(479)]=i;const s=t[i][e(523)][e(546)];t[s][e(609)]=t[i].id,t[i][e(609)]=t[s].id}else t[i][e(523)][e(546)]=i,t[i][e(523)][e(479)]=i,t[i][e(609)]=null;t[i][e(486)]||(t[i][e(486)]=[],t[i][e(510)]=[])}}[Kt(619)](t,e){const i=Kt,s=t[i(356)]((t=>!t[i(632)]));for(let t=0;t<e[i(648)];t++)e[t][i(632)]&&(s[t][i(632)]=e[t][i(632)])}[Kt(630)](t,e=null){const i=Kt,s=this[i(342)][i(500)](t),n=e?this[i(342)][i(500)](e):null,r=this[i(664)](s,n),o=r[r[i(648)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(648)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(614)](e[i(406)]))if(e[i(406)][t][i(358)]){const s=e[i(406)][t][i(358)];s[i(414)]?(u[i(542)](t),l[i(658)](t)&&l[i(352)](t)[i(520)]==s[i(520)]?l[i(363)](t):l[i(394)](t,s)):l[i(658)](t)?(u[i(363)](t),l[i(363)](t)):(u[i(542)](t),l[i(394)](t,s))}else u[i(542)](t)}for(const t of u){const e=l[i(658)](t)&&!l[i(352)](t)[i(414)];let s=e?r[i(648)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(406)][t]){const s=e?o[i(406)][t][i(353)]:o[i(406)][t][i(385)];c[i(348)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(359)]={};for(const e of t[i(563)])a[i(394)](e.id,e);for(const e of u){const s=t[i(406)][e]?t[i(406)][e][i(561)]:"[]",n=t[i(406)][e]?t[i(406)][e][i(544)]:"[]";t[i(359)][e]={insertions:this[i(405)][i(346)](s),deletions:this[i(405)][i(346)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(604)](s[i(359)][t][i(561)][i(551)])[i(356)]((([t])=>!t[i(610)](i(417)))));let h=0;for(const o of r){const r=this[i(438)](o[i(359)][t][i(561)]);o==s?(e=r,n=e[i(648)],e[i(404)]((t=>{t.id=h++})),this[i(554)](e)):this[i(619)](e,r);const a=e[i(356)]((t=>!t[i(632)]))[i(447)]((t=>t.id));let c=0;const l=this[i(438)](o[i(359)][t][i(544)]);l[i(404)]((t=>{t[i(396)]?t.id=n++:t.id=a[c++]})),this[i(554)](l),this[i(449)](e,i(632)),this[i(449)](l,i(396)),o==s&&this[i(641)](e,u),e=this[i(418)](e,l),this[i(578)](e),this[i(449)](e,i(396))}e=e[i(356)]((t=>!(t[i(632)]&&t[i(396)])));const d=new Map(o[i(359)][t][i(544)][i(551)]),f=new Set(u[i(614)]());for(const t of d[i(614)]())f[i(363)](t);this[i(355)](e,f),this[i(462)](e),e=this[i(453)](e),e=this[i(508)](e),e=this[i(655)](e);const{root:m,changes:p}=this[i(395)](e,a,t);c[i(359)][t]=m;const v=l[i(352)](t);if(v){const e=a[i(352)](v[i(520)]),s=new qt({author:e,type:v[i(414)]?i(542):i(637),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(568)](s),c[i(348)][t][i(581)]=s.id}c[i(605)]=c[i(605)][i(519)](p)}return c}[Kt(641)](t,e){const i=Kt;for(let s=0;s<t[i(648)];s++)for(const[n,r]of e)!r[i(639)]&&r[i(415)][i(587)](t[s][i(644)])&&t[s][i(486)][i(659)](n),r[i(594)][i(587)](t[s][i(548)])&&t[s][i(510)][i(659)](n)}[Kt(418)](t,e){const i=Kt;let s=[],n=0,r=0;for(;n<t[i(648)]||r<e[i(648)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(659)](o);else if(a[i(396)]&&o[i(632)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(384)](t,n,e,r);s=s[i(519)](o),n=a,r=c}else a[i(396)]?(r++,s[i(659)](a)):(n++,s[i(659)](o))}return s}[Kt(355)](t,e){const i=Kt,s=[];for(let o=0;o<t[i(648)];o++){for(let r=0;r<t[o][i(486)][i(648)];r++){const a=t[o][i(486)][r];if(!e[i(658)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(365)!=c||i(448)!=u&&i(472)!=u||(s[i(568)]({type:u,name:a,userId:l}),t[o][i(486)][i(667)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(510)][i(648)];r++){const a=t[o][i(510)][r];if(!e[i(658)](a))continue;const{group:c,type:u}=n(a);if(i(365)!=c||i(448)!=u&&i(472)!=u)continue;t[o][i(510)][i(667)](r,1),r--;const l=s[i(530)]((t=>t[i(364)]==a));l>-1&&s[i(667)](l,1)}}function n(t){const e=i,s=t[e(631)](":");return{group:s[0],type:s[1],subType:s[e(648)]>=5?s[2]:null,id:s[e(648)]<5?s[2]:s[3],authorId:s[e(648)]<5?s[3]:s[4],markerCount:6==s[e(648)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(648)];i++){if(t[e(632)]&&e(448)==s[i][e(582)])return t[e(423)]=s[i],void delete t[e(632)];if(!t[e(632)]&&!t[e(396)]&&e(472)==s[i][e(582)])return void(t[e(575)]=s[i])}}}[Kt(449)](t,e){const i=Kt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(394)](o.id,s);for(let s=0;s<t[i(648)];s++){if(i(396)==e&&t[s][i(632)]||i(632)==e&&t[s][i(396)])continue;if(i(390)==t[s][i(582)]){t[s][i(591)]=0;continue}const n=r[i(352)](t[s][i(609)]),o=r[i(352)](t[s].id);t[s][i(591)]=n-o}}[Kt(664)](t,e,i=!1){const s=Kt,n=[];let r=this[s(342)][s(439)](t),o=this[s(342)][s(439)](e);for(-1==o&&(o=this[s(342)][s(446)][s(648)],i=!1);r<o;)n[s(659)](this[s(342)][s(500)](r)),r++;return i&&n[s(659)](this[s(342)][s(500)](r)),n}[Kt(384)](t,e,i,s){const n=Kt,r=this[n(413)][n(359)][n(376)];let o=e;for(;t[o]&&t[o][n(632)];)o++;let a=s;for(;i[a]&&i[a][n(396)];)a++;u(t,e,o),u(i,s,a);const c=i[n(410)](s,a)[n(519)](t[n(410)](e,o));return c[n(633)](((t,e)=>t[n(370)]!=e[n(370)]?t[n(370)]-e[n(370)]:t[n(564)]!=e[n(564)]?t[n(564)]-e[n(564)]:t[n(591)]!=e[n(591)]?e[n(591)]-t[n(591)]:!!t[n(632)]!=!!e[n(632)]?-1==t[n(370)]||0==t[n(370)]?t[n(632)]?-1:1:t[n(632)]?1:-1:t[n(454)]-e[n(454)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(606)],c=!0;for(let n=e;n<i;n++)if(r[s(566)](t[n][s(523)])||(c=!1),t[n][s(523)][s(546)]<e&&(o=n),t[n][s(523)][s(479)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(370)]=n<=o?-1:n<a?0:1,t[n][s(454)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(591)]?t[i][s(564)]=u:(u++,t[i][s(564)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(370)]&&(t[n][s(564)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(591)]?t[e][s(564)]=u:(u--,t[e][s(564)]=u,u--)}}[Kt(462)](t){const e=Kt,i=new Map,s=this[e(413)][e(359)][e(376)];for(let n=1;n<t[e(648)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(390)==c[e(582)])continue;if(c[e(582)]!=u[e(582)])continue;if(!s[e(560)](u[e(523)])||s[e(432)](u[e(523)]))continue;if(!s[e(560)](c[e(523)])||s[e(432)](c[e(523)]))continue;if((t[n][e(632)]||t[n][e(423)])&&t[n-1][e(396)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(396)]||!t[n-1][e(632)]&&!t[n-1][e(423)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(564)]==o[e(564)],h=Math[e(367)](r[e(564)])<Math[e(367)](o[e(564)])&&0==o[e(591)];(l||h)&&(i[e(394)](o.id,r.id),t[e(667)](a,1),n--,r[e(632)]=!1)}for(let s=0;s<t[e(648)];s++)i[e(658)](t[s][e(609)])&&(t[s][e(609)]=i[e(352)](t[s][e(609)]))}[Kt(453)](t){const e=Kt,i=new Set(t[e(447)]((t=>t.id)));for(let s=0;s<t[e(648)];s++)i[e(658)](t[s][e(609)])||0==t[s][e(591)]||(t[s][e(372)]=!0);return t[e(356)]((t=>!t[e(372)]))}[Kt(508)](t){const e=Kt,i=new Set;for(let s=0;s<t[e(648)];s++){if(i[e(658)](t[s].id)&&t[s][e(396)]&&(t[s][e(372)]=!0),t[s][e(372)])continue;if(0==t[s][e(591)])continue;if(e(360)!=t[s][e(582)])continue;if(null==t[s][e(609)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(609)];)e(360)==t[n][e(582)]?r++:e(662)==t[n][e(582)]&&r--,n++;if(0!=r)if(t[s][e(396)])t[s][e(372)]=!0;else for(;n!=s;)t[n][e(396)]&&0!=t[n][e(591)]&&(t[n][e(372)]=!0,i[e(542)](t[n][e(609)])),n--}return t[e(356)]((t=>!t[e(372)]))}[Kt(655)](t){const e=Kt,i=this[e(413)][e(359)][e(376)];for(let s=0;s<t[e(648)];s++){if(!(t[s][e(632)]||t[s][e(423)]||t[s][e(396)]||t[s][e(575)]))continue;if(0==t[s][e(591)])continue;const n=t[s][e(523)];i[e(560)](n)||i[e(432)](n)||(t[s][e(632)]&&delete t[s][e(632)],t[s][e(423)]&&delete t[s][e(423)],t[s][e(575)]&&delete t[s][e(575)],t[s][e(396)]&&(t[s][e(372)]=!0))}return t[e(356)]((t=>!t[e(372)]))}[Kt(395)](t,e,i){const s=Kt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(413)][s(359)],c=a[s(376)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(648)];e++)if(s(360)===t[e][s(582)]){t[e][s(644)]=a[s(498)](n,f);const i=new Z.Element(t[e][s(523)][s(364)],t[e][s(523)][s(344)]());u[0][s(490)](i),f[s(659)](0),u[s(568)](i),t[e][s(548)]=a[s(498)](n,f)}else s(662)===t[e][s(582)]?(u[s(412)](),t[e][s(644)]=a[s(498)](n,f),f[s(494)](),f[f[s(648)]-1]++,t[e][s(548)]=a[s(498)](n,f)):(t[e][s(644)]=a[s(498)](n,f),d?d[s(590)]+=t[e][s(523)][s(646)]:d=new Z.Text(t[e][s(523)][s(646)],t[e][s(523)][s(344)]()),t[e+1]&&s(390)===t[e+1][s(582)]&&v(d,t[e+1][s(523)])||(u[0][s(490)](d),d=null),f[f[s(648)]-1]+=t[e][s(523)][s(595)],t[e][s(548)]=a[s(498)](n,f));for(let e=0;e<t[s(648)];e++){const i=t[e][s(644)],n=t[e][s(548)];for(const n of t[e][s(486)])o[s(394)](n,{start:i,end:null});m(s(575),e,i,n),m(s(423),e,i,n),m(s(396),e,i,n),m(s(632),e,i,n);for(const i of t[e][s(510)]){const t=o[s(352)](i);t?t[s(594)]=n:o[s(394)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(413)][s(359)][s(480)](e[s(415)],e[s(594)]);n[s(551)][s(394)](t,i)}return r[s(633)](((t,e)=>{const i=s,r=n[i(551)][i(352)](i(417)+t.id),o=n[i(551)][i(352)](i(417)+e.id);return r[i(415)][i(398)](o[i(415)])?-1:r[i(415)][i(507)](o[i(415)])?1:r[i(594)][i(398)](o[i(594)])?-1:r[i(594)][i(507)](o[i(594)])?1:i(542)===t[i(582)]?-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(520)]:null,d=i===t[o(648)]-1,f=h[e][0],m=c[o(485)](t[i][o(523)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(594)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(520)]!==u&&(l[e][o(594)]=n,f&&f[o(520)]===l[e][o(520)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(360)!==t[i][o(582)]||f&&f[o(520)]===u||h[e][o(568)]({userId:u,object:t[i][o(523)],change:l[e]}),o(662)===t[i][o(582)]&&f&&f[o(493)]===t[i][o(523)]&&(h[e][o(412)](),l[e]=f[o(381)])),l[e]&&d&&(l[e][o(594)]=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(523)],f=a[h(376)][h(560)](d)&&!a[h(376)][h(432)](d),m=t[h(532)]==o[h(616)]&&o[h(515)];if(f&&m)return;const p=a[h(480)](t,o),v=e[h(352)](u),g=new qt({author:v,type:h(632)==l||h(423)==l?h(542):h(637),data:{isSuggestion:h(423)==l||h(575)==l},createdAt:new Date,rootName:i});r[h(659)](g),n[h(551)][h(394)](h(417)+g.id,p)}function v(t,e){const i=s,n=t[i(344)](),r=e[i(344)]();for(const t of n){if(t[1]!==e[i(607)](t[0]))return!1;r[i(558)]()}return r[i(558)]()[i(584)]}}[Kt(350)](){const t=Kt;this[t(413)][t(585)][t(666)](t(649))[t(617)]({view:t(650)}),this[t(413)][t(585)][t(666)](t(488))[t(469)]({model:t(650),view:e=>{const i=t,s=e[i(533)][i(631)](":")[1],n=this[i(615)](s);if(!n)return null;const r=i(542)==n[i(582)]?i(448):i(472),o=[i(635),i(375)+r];return n[i(646)][i(456)]&&o[i(659)](i(375)+r+i(550)),this[i(552)]==n&&o[i(659)](i(665)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(413)][t(585)][t(666)](t(649))[t(542)]((e=>{const i=t;e.on(i(433),((t,e,s)=>{const n=i,r=e[n(371)][n(538)](0);if(!r||!r.is(n(596),n(459)))return;if(!s[n(361)][n(593)](r,{attributes:[n(471),n(419)]}))return;const o=e[n(482)][n(415)][n(532)];s[n(441)][n(504)](n(471),r[n(607)](n(471)),o),s[n(441)][n(504)](n(419),r[n(607)](n(419)),o)}),{priority:i(444)})})),this[t(413)][t(585)][t(666)](t(649))[t(542)]((e=>{const i=t;e.on(i(596),((t,e,s)=>{const n=i;if(!s[n(361)][n(593)](e[n(371)],{attributes:[n(471),n(419)]}))return;if(e[n(482)][n(639)])return;const r=e[n(482)][n(415)][n(532)];r[n(577)](n(471))||r[n(577)](n(425))||(s[n(441)][n(504)](n(471),e[n(371)][n(607)](n(471)),r),s[n(441)][n(504)](n(419),e[n(371)][n(607)](n(419)),r))}),{priority:i(444)})})),this[t(413)][t(585)][t(666)](t(649))[t(403)]({view:{name:t(411),attributes:{vid:!0}},model:{key:t(425),value:e=>e[t(607)](t(425))}}),this[t(413)][t(359)][t(376)].on(t(624),((e,[,i])=>{const s=t;[s(471),s(419),s(425)][s(502)](i)&&(e[s(525)]=!0,e[s(393)]())}),{priority:t(442)}),this[t(413)][t(585)][t(666)](t(497))[t(542)]((e=>{const i=t;e.on(i(611),((t,e,s)=>{const n=i;if(" "!=e[n(523)][n(646)]||e[n(523)][n(616)][n(455)]>1)return;if(!s[n(361)][n(593)](e[n(523)],t[n(364)]))return;const r=s[n(441)],o=s[n(543)][n(379)](e[n(602)]);r[n(516)](o,r[n(475)](n(411)))}))})),this[t(413)][t(585)][t(666)](t(497))[t(461)]({model:t(650)}),this[t(413)][t(478)][t(537)].on(t(368),function(e){const i=t,s=e[i(383)][i(352)](i(518));return(t,n,r)=>{const o=i,a=n[o(533)][o(631)](":")[1],c=s[o(615)](a);if(!c)return null;const u=o(542)==c[o(582)]?o(631):o(583);if(!r[o(361)][o(434)](n[o(524)],t[o(364)]))return;const l=n[o(524)][o(601)](),h=n[o(524)][o(415)],d=e[o(359)][o(376)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(523)];p=p||d[o(505)](e);const i=r[o(543)][o(387)](e);if(i&&i[o(579)](o(351)))return;o(662)==t[o(582)]&&d[o(560)](e)&&!d[o(432)](e)&&(e[o(424)]||h[o(645)]?f&&f[o(616)]==e||(f=e,g(t[o(644)]),v=!0):m=m||t[o(644)])}function g(t){const e=o,i=r[e(441)][e(450)](e(411),{class:e(375)+u}),a=r[e(543)][e(429)](t);c[e(646)][e(456)]&&r[e(441)][e(592)](e(375)+u+e(550),i),s[e(552)]==c&&r[e(441)][e(592)](e(665),i),r[e(441)][e(636)](a,i),r[e(543)][e(547)](i,n[e(533)])}p||v||!m||g(m)}}(this[t(413)]),{priority:t(481)}),this[t(413)][t(478)][t(537)].on(t(529),((e,i,s)=>{const n=t,r=s[n(543)][n(421)](i[n(533)]);if(r)for(const t of r)(t[n(647)](n(427))||t[n(647)](n(657)))&&(s[n(543)][n(570)](t,i[n(533)]),s[n(441)][n(637)](t))}),{priority:t(481)}),this[t(413)][t(478)][t(537)].on(t(368),((e,i,s)=>{const n=t,r=i[n(533)][n(631)](":")[1],o=this[n(615)](r);if(!o)return null;const a=n(542)==o[n(582)]?n(631):n(583);if(s[n(361)][n(434)](i[n(524)],e[n(364)]))for(const t of i[n(524)][n(625)]()){if(!t.is(n(596),n(382)))continue;const e=s[n(441)][n(450)](n(411),{class:n(375)+a}),r=s[n(543)][n(429)](this[n(413)][n(359)][n(391)](t));o[n(646)][n(456)]&&s[n(441)][n(592)](n(375)+a+n(550),e),this[n(552)]==o&&s[n(441)][n(592)](n(665),e),s[n(441)][n(636)](r,e),s[n(543)][n(547)](e,i[n(533)])}}),{priority:t(481)}),this[t(413)][t(359)][t(496)].on(t(381),(()=>{const e=t;this[e(413)][e(478)][e(653)][e(381)]((t=>{const i=e;for(const e of this[i(413)][i(359)][i(496)][i(556)]()){const s=this[i(413)][i(359)][i(496)][i(499)](e),n=this[i(413)][i(478)][i(653)][i(496)][i(499)](e);if(n){const e=s[i(607)](i(581));if(t[i(476)](i(492),n),t[i(514)](i(598),n),t[i(514)](i(467),n),t[i(514)](i(366),n),e){const s=this[i(615)](e);if(!s)return null;t[i(504)](i(492),e,n),t[i(592)](i(407)+s[i(582)],n),this[i(552)]==s&&t[i(592)](i(366),n)}}}}))})),this[t(413)][t(585)][t(666)](t(649))[t(617)]({view:t(431),model:e=>t(565)+e,converterPriority:t(442)}),this[t(413)][t(585)][t(666)](t(649))[t(617)]({view:t(501),model:e=>t(440)+e,converterPriority:t(442)}),this[t(413)][t(585)][t(666)](t(497))[t(461)]({model:t(365),view:e=>({name:t(527)+e,group:t(365)}),converterPriority:t(442)}),this[t(413)][t(585)][t(666)](t(488))[t(469)]({model:t(365),view:e=>{const i=t,s=e[i(533)][i(631)](":")[1];return i(448)!=s&&i(472)!=s?null:{classes:[i(663),i(374)+s]}}}),this[t(413)][t(478)][t(537)].on(t(623),ie(this[t(413)],t(583)),{priority:t(481)}),this[t(413)][t(478)][t(537)].on(t(397),ie(this[t(413)],t(631)),{priority:t(481)}),this[t(413)][t(478)][t(537)].on(t(573),((e,i,s)=>{const n=t,r=s[n(543)][n(421)](i[n(533)]);if(r)for(const t of r)t.is(n(586))&&(s[n(543)][n(570)](t,i[n(533)]),s[n(441)][n(637)](t))}),{priority:t(481)})}[Kt(615)](t){const e=Kt;return this[e(357)][e(352)](t)}[Kt(477)](t){const e=Kt;return this[e(464)]&&this[e(464)][e(535)](),this[e(464)]=new zt(this[e(413)][e(603)],t),this[e(464)]}[Kt(511)](){const t=Kt;this[t(413)][t(359)][t(496)][t(503)][t(555)](t(650)),this.on(t(402),((e,i,s,n)=>{const r=t;n&&this[r(643)][r(637)](n),s&&(this[r(643)][r(542)]({view:s,stackId:r(574),position:{target:()=>{const t=r,e=this[t(413)][t(478)],i=this[t(615)](s[t(534)]);let n;if(i[t(646)][t(416)]){const s=e[t(653)][t(559)](i[t(549)]);n=Array[t(604)](s[t(437)]())}else{const i=this[t(413)][t(359)][t(551)][t(352)](t(417)+s[t(534)]);n=Array[t(604)](e[t(543)][t(421)](i[t(364)]))[t(447)]((i=>e[t(653)][t(661)][t(386)](i)))[t(447)]((e=>Array[t(604)](e[t(437)]())))[t(474)]()}return this[t(608)]&&n[t(465)]((e=>e[t(399)]-3<=this[t(608)].y&&e[t(618)]+3>=this[t(608)].y&&e[t(589)]-3<=this[t(608)].x&&e[t(627)]+3>=this[t(608)].x))||n[0]}}}),this[r(643)][r(622)](r(574)))})),this.on(t(652),((e,i,s,n)=>{const r=t;this[r(345)]=s?this[r(477)](s):null,this[r(413)][r(359)][r(381)]((()=>{const t=r,e=this[t(413)][t(478)];n&&(n[t(646)][t(416)]?e[t(653)][t(381)]((i=>{const s=t;i[s(514)](s(366),e[s(653)][s(496)][s(499)](n[s(549)]))})):e[t(541)](t(417)+n.id)),s&&(s[t(646)][t(416)]?e[t(653)][t(381)]((i=>{const n=t;i[n(592)](n(366),e[n(653)][n(496)][n(499)](s[n(549)]))})):e[t(541)](t(417)+s.id))}))})),this[t(600)](this[t(413)][t(478)][t(653)][t(496)],t(638),((e,i)=>{const s=t;if(this[s(552)])return;const n=this[s(369)](i[s(572)]),r=this[s(357)][s(352)](n);r?(this[s(608)]={x:i[s(436)].x,y:i[s(436)].y},this[s(345)]=this[s(477)](r)):(this[s(608)]=null,this[s(345)]=null)})),this[t(600)](this[t(413)][t(478)][t(653)][t(496)],t(620),((e,i)=>{const s=t,n=this[s(369)](i[s(572)]),r=this[s(357)][s(352)](n);r?(this[s(608)]={x:i[s(436)].x,y:i[s(436)].y},r===this[s(552)]?this[s(643)][s(562)]():this[s(552)]=r):(this[s(608)]=null,this[s(552)]=null)}))}[Kt(369)](t){const e=Kt;do{const i=t[e(607)](e(492));if(i)return i;t=t[e(616)]}while(t);return null}[Kt(509)](){const t=Kt;this[t(413)][t(359)][t(381)]((e=>{const i=t;for(const t of this[i(413)][i(359)][i(551)])e[i(656)](t)}))}}function ee(t,e){const i=Qt();return(ee=function(t,e){return i[t-=342]})(t,e)}function ie(t,e){return(i,s,n)=>{const r=ee;if(!n[r(361)][r(434)](s[r(524)],i[r(364)]))return;const o=s[r(524)][r(601)](),a=s[r(524)][r(415)],c=t[r(359)][r(376)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(523)];h=h||c[r(505)](e);const i=n[r(543)][r(387)](e);if(i&&i[r(579)](r(351)))return;r(662)==t[r(582)]&&c[r(560)](e)&&!c[r(432)](e)&&(e[r(424)]||a[r(645)]?u&&u[r(616)]==e||(u=e,f(t[r(644)]),d=!0):l=l||t[r(644)])}function f(t){const i=r,o=n[i(543)][i(429)](t),a=n[i(441)][i(450)](i(411),{class:i(374)+e});n[i(441)][i(636)](o,a),n[i(543)][i(547)](a,s[i(533)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Kt;super(t);const i=t[e(383)][e(352)](te);this[e(517)]=!1,this[e(600)](i,e(626),(()=>this[e(528)]())),this[e(600)](i,e(557),(()=>this[e(528)]()))}[Kt(613)](){const t=Kt,e=this[t(413)],i=e[t(383)][t(352)](te),s=i[t(495)]?i[t(483)][t(378)]:null;e[t(470)][t(352)](t(460))[t(420)](s)}[Kt(528)](){const t=Kt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(413)][t(383)][t(352)](te),r=n&&s[t(576)](n[t(378)]);this[t(621)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Kt(452)];constructor(t,{direction:e}){const i=Kt;super(t);const s=t[i(383)][i(352)](te);this[i(517)]=!1,this[i(452)]=i(362)===e?1:-1,this[i(600)](s,i(626),(()=>this[i(528)]())),this[i(600)](s,i(557),(()=>this[i(528)]())),this[i(600)](s,i(652),(()=>this[i(528)]()))}[Kt(613)](){const e=Kt,i=this[e(413)],s=i[e(383)][e(352)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(552)]=n?s[e(483)][e(605)][e(352)](r+this[e(452)]):s[e(483)][e(605)][e(484)],s[e(552)][e(646)][e(416)])o=i[e(478)][e(653)][e(559)](s[e(552)][e(549)]);else{const t=i[e(359)][e(551)][e(352)](e(417)+s[e(552)].id);o=(0,H.getMarkerDomElement)(i[e(478)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Kt(528)](){const t=Kt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(413)][t(383)][t(352)](te);this[t(621)]=!!(r&&n&&s)&&(!e||(1===this[t(452)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["10JCILKb","set","isEnabled","X_OF_Y_CHANGES","isForwardNavigationEnabled","span","ck-revision-history-ui__changes-navigation__wrapper","ck-hidden","18MQaiRc","165757IEDXvc","58472brkvDq","forward","isReady","EDIT_X_OF_Y_REVISIONS","Show next change","103558RDqCDd","setTemplate","Loading...","Total","781032cDgDpK","3596877YaUqCW","633388EsXscr","isBackwardNavigationEnabled","isNavigationMode","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation","currentChangeNumber","Show previous change","_statusText","numberOfChanges","No changes","1541965fLxkXO","execute","div","backward","ck-revision-history-ui__changes-navigation__navigation","bindTemplate","_isStatusLabelVisible","ck-revision-history-ui__changes-navigation__label","bind","fire","ck-revision-history-ui","57rshjlA"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=472]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(156313===parseInt(e(481))/1+parseInt(e(487))/2+parseInt(e(514))/3*(parseInt(e(482))/4)+-parseInt(e(503))/5+-parseInt(e(480))/6*(-parseInt(e(493))/7)+parseInt(e(491))/8+parseInt(e(492))/9*(-parseInt(e(472))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends pt.View{constructor(t){const e=ce;super(t);const i=this[e(508)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(473)](e(495),!1),this[e(473)](e(484),!1),this[e(473)](e(498),0),this[e(473)](e(501),0),this[e(473)](e(476),!1),this[e(473)](e(494),!1),this[e(511)](e(509)).to(this,e(484),this,e(501),((t,e)=>t&&e>0)),this[e(511)](e(500)).to(this,e(484),this,e(498),this,e(501),this,e(495),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(489));if(!n)return Q(t,o(502));const a=Q(t,o(496),n);return r?Q(t,o(475),[s+1,n]):a})),s[e(473)]({label:Q(t,e(499)),tooltip:!0,icon:mt.IconChevronUp}),n[e(473)]({label:Q(t,e(486)),tooltip:!0,icon:mt.IconChevronDown}),s[e(511)](e(474)).to(this,e(494)),n[e(511)](e(474)).to(this,e(476)),s.on(e(504),(()=>this[e(512)](e(504),e(506)))),n.on(e(504),(()=>this[e(512)](e(504),e(483)))),this[e(488)]({tag:e(505),attributes:{class:["ck",e(513),e(497)]},children:[{tag:e(477),attributes:{class:[e(478)]},children:[{tag:e(477),attributes:{class:[e(510),i.if(e(509),e(479),(t=>!t))]},children:[{text:i.to(e(495),(i=>i?Q(t,e(485))+": ":Q(t,e(490))+": "))}]},{text:i.to(e(500))}]},new pt.ToolbarSeparatorView,{tag:e(505),attributes:{class:[e(507)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;function de(t,e){const i=pe();return(de=function(t,e){return i[t-=387]})(t,e)}const fe=de;!function(t){const e=de,i=t();for(;;)try{if(393219===parseInt(e(401))/1+-parseInt(e(396))/2*(parseInt(e(407))/3)+-parseInt(e(405))/4+parseInt(e(397))/5*(-parseInt(e(411))/6)+-parseInt(e(408))/7+parseInt(e(406))/8*(-parseInt(e(409))/9)+parseInt(e(404))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const me=fe(388);function pe(){const t=["RevisionViewerLoadingOverlay","addClass","20991020qWuDoD","1408656ViDEes","5652368ecrIMM","130689ItsWEl","1624140fTkuPQ","9ITfZyA","view","10062aXUPBI","pluginName","ck-editor__editable__loading-overlay","editor","isPremiumPlugin","change","isOfficialPlugin","removeClass","document","hide","18eYIsbn","1085kgngOF","editing","show","roots","340823JOXYbL"];return(pe=function(){return t})()}class ve extends U.Plugin{static get[fe(387)](){return fe(402)}static get[fe(392)](){return!0}static get[fe(390)](){return!0}[fe(399)](){const t=fe,e=this[t(389)][t(398)][t(410)];e[t(391)]((i=>{const s=t;for(const t of e[s(394)][s(400)])i[s(403)](me,t)}))}[fe(395)](){const t=fe,e=this[t(389)][t(398)][t(410)];e[t(391)]((i=>{const s=t;for(const t of e[s(394)][s(400)])i[s(393)](me,t)}))}}function ge(){const t=["exitToEditing","execute","restoreRevision","4012902XaUZyN","isEnabled","componentFactory","isBackwardNavigationEnabled","requires","editor","revisionHistory","show","set","87928FuGkFQ","config","1035010AITmEp","3168234DLhJea","closeRevisionViewerCallback","isReady","forward","isNavigationMode","841456Buagvo","showNextChange","currentChangeNumber","RevisionViewerUI","change:isReady","showPreviousChange","plugins","init","Restore this revision","get","4tpahdP","isOfficialPlugin","commands","changesNavigation","isPremiumPlugin","hide","1737854agJSan","bind","listenTo","42KkcxWp","2119407ZFhmUc","numberOfChanges","isForwardNavigationEnabled","ck-revision-history-ui__back-to-editing","pluginName","add","Back to editing"];return(ge=function(){return t})()}const ye=ke;function ke(t,e){const i=ge();return(ke=function(t,e){return i[t-=142]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(559851===parseInt(e(167))/1+-parseInt(e(183))/2+-parseInt(e(187))/3+parseInt(e(177))/4*(parseInt(e(161))/5)+parseInt(e(150))/6+-parseInt(e(186))/7*(-parseInt(e(159))/8)+parseInt(e(162))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class be extends U.Plugin{static get[ye(144)](){return ye(170)}static get[ye(178)](){return!0}static get[ye(181)](){return!0}static get[ye(154)](){return[te,ve]}[ye(174)](){const t=ye,e=this[t(155)],i=e[t(173)][t(176)](te),s=e[t(173)][t(176)](ve);e.ui[t(152)][t(145)](t(147),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(158)]({label:Q(i,s(146)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(143)}),this[s(185)](n,s(148),(()=>{const t=s;e[t(160)][t(176)](t(156))[t(163)]()})),n})),e.ui[t(152)][t(145)](t(149),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(158)]({label:Q(i,s(175)),withText:!0,tooltip:!0}),n[s(184)](s(151)).to(e[s(179)][s(176)](s(149))),this[s(185)](n,s(148),(()=>e[s(148)](s(149)))),n})),e.ui[t(152)][t(145)](t(180),(s=>{const n=t,r=new ue(s),o=e[n(179)][n(176)](n(172)),a=e[n(179)][n(176)](n(168));return r[n(184)](n(153)).to(o,n(151)),r[n(184)](n(142)).to(a,n(151)),r[n(184)](n(164),n(169),n(188),n(166)).to(i),this[n(185)](r,n(148),((t,i)=>{const s=n;e[s(148)](s(165)===i?s(168):s(172))})),r})),s[t(157)](),i.on(t(171),((e,i,n)=>{const r=t;n?s[r(182)]():s[r(157)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Se;function Se(t,e){const i=Te();return(Se=function(t,e){return i[t-=386]})(t,e)}!function(t){const e=Se,i=t();for(;;)try{if(284540===parseInt(e(414))/1*(-parseInt(e(394))/2)+parseInt(e(396))/3+-parseInt(e(409))/4+parseInt(e(402))/5*(parseInt(e(395))/6)+parseInt(e(412))/7+-parseInt(e(388))/8+parseInt(e(398))/9*(parseInt(e(407))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Oe extends pt.LabeledFieldView{[Ie(392)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(387)];this[i(403)]({label:Q(t,i(386)),_tooltipString:""}),this[i(411)][i(401)]=Q(t,i(413)),this[i(391)]({tag:i(393),attributes:{class:[i(399)],"data-cke-tooltip-text":s.to(i(416)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(406)}})}[Ie(415)](){const e=Ie;super[e(415)](),this[e(392)]=new t.ResizeObserver(this[e(411)][e(389)],(()=>this[e(400)]())),this[e(408)](this[e(411)],e(390),(()=>this[e(400)]()))}[Ie(404)](){const t=Ie;super[t(404)](),this[t(392)]&&this[t(392)][t(404)]()}[Ie(400)](){const t=Ie,e=this[t(411)][t(389)];this[t(416)]=e[t(397)]>e[t(405)]&&e[t(410)]||""}}function Te(){const t=["input","extendTemplate","_resizeObserver","span","483622riCtVW","26940dLGVCb","1257750tSNREP","scrollWidth","9yGEfhF","ck-revision-history-sidebar__revision-name","_updateTooltipText","placeholder","25CPhbiB","set","destroy","clientWidth","ck-tooltip_multi-line","8212970cXlshe","listenTo","1673244RUXSwi","value","fieldView","1308335qjMxRr","Enter the revision name","1jnkZku","render","_tooltipString","Revision name","bindTemplate","4041920PLAwwe","element"];return(Te=function(){return t})()}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=461]})(t,e)}function Ae(){const t=["743480cixuvf","ck-revision-history-sidebar__revision-author__name","2072312hhyDCv","795640tKvpeH","0 0 11 10","762XrGjqv","Revision author","8OcQPdo","set","setTemplate","span","Revision creator","20981nddmkE","1950282DqDiTA","name","1082622vspFHJ","ck-revision-history-sidebar__revision-author","11lzKXvf","14203yzsQhD","ck-revision-history-sidebar__revision-author_creator","6ogJTeO","push"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(205351===-parseInt(e(468))/1*(parseInt(e(476))/2)+parseInt(e(471))/3+parseInt(e(463))/4*(-parseInt(e(481))/5)+parseInt(e(461))/6*(parseInt(e(474))/7)+parseInt(e(480))/8+-parseInt(e(469))/9+-parseInt(e(478))/10*(parseInt(e(473))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ee extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(464)]({content:mt.IconUser,viewBox:s(482)});const r=["ck",s(472)];i&&r[s(477)](s(475));const o=[{tag:s(466),attributes:{class:["ck",s(479)],title:Q(t,s(i?467:462))},children:[n,e[s(470)]]}];this[s(465)]({tag:"li",attributes:{class:r},children:o})}}function De(t,e){var i=Me();return(De=function(t,e){return i[t-=183]})(t,e)}function Me(){var t=["445576CdJvSx","653844ijAlNG","953545llDUnb","40408jUXfQi","54jEFAwY","2760678aHtpBQ","30yMRMOR","toLocaleTimeString","414438EeWGKL","long","4YnkPFd","toLocaleDateString","4512kyTyGw","numeric","42yGQfBT","1793rcArrv"];return(Me=function(){return t})()}!function(t){for(var e=De,i=t();;)try{if(502266===-parseInt(e(187))/1+-parseInt(e(189))/2*(parseInt(e(190))/3)+-parseInt(e(196))/4*(-parseInt(e(188))/5)+-parseInt(e(194))/6*(-parseInt(e(184))/7)+parseInt(e(186))/8+parseInt(e(191))/9*(parseInt(e(192))/10)+-parseInt(e(185))/11*(parseInt(e(198))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);var Ve=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ve.A,Ce);Ve.A&&Ve.A.locals&&Ve.A.locals;function Fe(t,e){const i=Pe();return(Fe=function(t,e){return i[t-=322]})(t,e)}function Pe(){const t=["bindTemplate","8158212hrEsYP","set","bind","stopPropagation","1519uvhDLx","16FdkVLP","menuitem","ck-revision-history-sidebar__revision__actions","map","class","isVisible","2941ZAQgOC","listView","source","Compare against selected","locale","16312bFAQwZ","button","model","22vTBYpA","listenTo","execute","Name this revision","action","1611030bWxQSC","panelPosition","find","isEnabled","items","1294962TpumQq","isActionsDropdownOpen","function","isOpen","menu","add","Restore this revision","children","buttonView","27tumqPn","name","1364442BgGllR","change:isActionsDropdownOpen","ck-on","Show more items","_action","extendTemplate","isReady","1562130ofNYAA","first","4FoTsKH"];return(Pe=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(328731===-parseInt(e(348))/1*(parseInt(e(342))/2)+-parseInt(e(366))/3*(parseInt(e(335))/4)+-parseInt(e(361))/5+-parseInt(e(326))/6+parseInt(e(341))/7*(parseInt(e(353))/8)+-parseInt(e(324))/9*(parseInt(e(333))/10)+parseInt(e(356))/11*(parseInt(e(337))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);var je=i(216),Le={attributes:{"data-cke":!0}};Le.setAttributes=It(),Le.insert=wt().bind(null,"head"),Le.domAPI=kt(),Le.insertStyleElement=Ot();gt()(je.A,Le);je.A&&je.A.locals&&je.A.locals;const We=Ue;function ze(){const t=["313242JXvzKF","710680tGvlAy","fieldView","set","change","select","render","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision-wrapper","createdAt","16951OWwCEN",".ck-thread__remove-confirm","6863591JZDiwi","element","3438BcpTYR","bindTemplate","_createdAtFormatted","90uRzBYH","220","bind","isActionsDropdownOpen","extendTemplate","setTemplate","span","value","filter","setName","isEnabled","deselect","unshift","length","creator","ck-disabled","fire","div","ck-revision-history-sidebar__revision_highlighted","_revision","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision","ck-reset","ck-revision-history-sidebar__actions_dropdown_open","listenTo","isReady","unhighlight","5412150VXDhnW","srcElement","highlight","_requireRevisionName","2029954DsRzmg","8KRAcbU","from","ck-revision-history-sidebar__revision_selected","name","isHighlighted","map","uiLanguage","revisionNameView","992BBqhXI","isConfirm","isSelected","revisionActionsView","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","authors","ck-revision-history-sidebar__revision-authors","3210jDdtvz","closest"];return(ze=function(){return t})()}function Ue(t,e){const i=ze();return(Ue=function(t,e){return i[t-=198]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(548293===parseInt(e(219))/1+-parseInt(e(200))/2+-parseInt(e(232))/3*(parseInt(e(209))/4)+-parseInt(e(235))/5*(parseInt(e(218))/6)+parseInt(e(230))/7+parseInt(e(201))/8*(parseInt(e(262))/9)+parseInt(e(216))/10*(parseInt(e(228))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);class He extends((0,H.ConfirmMixin)(pt.View)){id;[We(208)];[We(212)];[We(254)];[We(199)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(233)],a=function(t,e){const i=r,s=Array[i(202)](e[i(214)])[i(243)]((t=>t!=e[i(249)]));return e[i(249)]&&s[i(247)](e[i(249)]),s[i(206)]((s=>new Ee(t,s,s==e[i(249)])))}(e,i);this.id=i.id,this[r(254)]=i,this[r(199)]=n,this[r(237)](r(204),r(227)).to(i),this[r(237)](r(234)).to(this,r(227),(t=>{return i=e[r(207)],(s=t)[(n=De)(197)](i,{month:n(195),day:n(183)})+", "+s[n(193)](i,{hour:n(183),minute:n(183)});var i,s,n})),this[r(221)](r(211),!1),this[r(221)](r(205),!1),this[r(221)](r(238),!1),this[r(221)](r(260),!1),this[r(221)](r(245),!1),this[r(208)]=new Oe(e,pt.createLabeledInputText),this[r(208)][r(220)][r(239)]({attributes:{maxlength:r(236)}}),this[r(208)][r(220)][r(237)](r(242)).to(this,r(204),(t=>t||this[r(234)])),this[r(208)][r(237)](r(245)).to(this,r(211),this,r(245),((t,e)=>t&&e)),this[r(212)]=s&&s[r(248)]?function(e,i){const s=Fe,n=e[s(336)],r=e[s(352)],o=(0,pt.createDropdown)(r);o[s(362)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(352)],n={"Compare against selected":Q(s,i(351)),"Name this revision":Q(s,i(359)),"Restore this revision":Q(s,i(372))};return e[i(345)]((t=>{const e=i,s=n[t[e(325)]];return s&&s!==t[e(325)]&&(t[e(325)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(354),model:new pt.ViewModel({label:t[n(325)],class:t[n(346)],withText:!0,role:n(343),_action:t[n(360)]})};i[n(355)][n(339)](n(364)).to(e,n(367),(i=>n(368)!=typeof t[n(364)]||!i||t[n(364)](e))),o[n(371)](i)}return o}(e,i);return e[s(339)](s(367)).to(o,s(369)),o[s(323)][s(338)]({label:Q(r,s(329)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(331)]({attributes:{class:[s(344),n.if(s(367),s(328))]},on:{click:n.to((t=>t[s(340)]()))}}),o.on(s(358),(t=>{const i=s;e[i(332)]&&i(368)==typeof t[i(350)][i(330)]&&t[i(350)][i(330)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(370)}),o[s(357)](e,s(327),((t,n,r)=>{const a=s;if(r)for(const t of o[a(349)][a(365)]){const s=t[a(322)][a(334)],n=i[a(363)]((t=>t[a(360)]===s[a(330)]))[a(347)];t[a(347)]=void 0===n||n(e)}})),o}(this,s):"",this[r(212)]&&this[r(212)][r(237)](r(245)).to(this),this[r(240)]({tag:r(252),attributes:{class:["ck",r(257),r(226),o.if(r(210),r(213))]},children:[{tag:r(252),attributes:{class:["ck",r(257),r(256),o.if(r(245),r(250),(t=>!t)),o.if(r(211),r(203)),o.if(r(205),r(253)),o.if(r(238),r(258))]},children:[this[r(208)],{tag:r(241),attributes:{class:["ck",r(255)]},children:[{text:o.to(r(234))}]},{tag:r(252),attributes:{class:["ck",r(225)]},children:[{tag:"ul",attributes:{class:["ck",r(215)]},children:a}]},this[r(212)]],on:{click:o.to((t=>{const e=r;t[e(263)][e(217)](e(229))||this[e(260)]&&this[e(245)]&&this[e(251)](e(223),{id:this.id})}))}}]})}[We(224)](){const t=We;super[t(224)]();const e=this[t(208)][t(220)][t(231)];this[t(259)](e,t(222),(()=>{const i=t;this[i(199)]&&!e[i(242)]||this[i(251)](i(244),{id:this.id,name:e[i(242)]}),e[i(242)]||(e[i(242)]=this[i(204)]?this[i(204)]:this[i(234)])}))}[We(223)](){this[We(211)]=!0}[We(246)](){this[We(211)]=!1}[We(198)](){this[We(205)]=!0}[We(261)](){this[We(205)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Ge extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Je extends Ze{}class Xe extends Ze{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Qe="short",ti="long",ei={year:Ke,month:Ke,day:Ke},ii={year:Ke,month:Qe,day:Ke},si={year:Ke,month:Qe,day:Ke,weekday:Qe},ni={year:Ke,month:ti,day:Ke},ri={year:Ke,month:ti,day:Ke,weekday:ti},oi={hour:Ke,minute:Ke},ai={hour:Ke,minute:Ke,second:Ke},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ui={hour:Ke,minute:Ke,second:Ke,timeZoneName:ti},li={hour:Ke,minute:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},fi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:ti},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},pi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},vi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke},gi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke},yi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke},ki={year:Ke,month:ti,day:Ke,hour:Ke,minute:Ke,timeZoneName:Qe},bi={year:Ke,month:ti,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},wi={year:Ke,month:ti,day:Ke,weekday:ti,hour:Ke,minute:Ke,timeZoneName:ti},_i={year:Ke,month:ti,day:Ke,weekday:ti,hour:Ke,minute:Ke,second:Ke,timeZoneName:ti};class Ii{get type(){throw new Xe}get name(){throw new Xe}get ianaName(){return this.name}get isUniversal(){throw new Xe}offsetName(t,e){throw new Xe}formatOffset(t,e){throw new Xe}offset(t){throw new Xe}equals(t){throw new Xe}get isValid(){throw new Xe}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},Ti={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ls({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Ei={};function Di(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.DateTimeFormat(t,e),Ei[i]=s),s}let Mi={};let Vi={};let Ci=null;let Fi={};function Pi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Es(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Li{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Di(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Wi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Vi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Vi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Ei={},Mi={},Vi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Di(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Di(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Pi(this,t,Ks,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Pi(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Pi(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Pi(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Li(t,this.intl,e)}relFormatter(t={}){return new Wi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Gi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Xi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Bi[i]}${e}`)),Ji[i][e]}let Ki,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Ji={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ps(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ps(c)):u>a?(c=s+1,u-=Ps(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,js(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Je("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Es(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ds(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Vs(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ps(t){return Fs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ls(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 Ws(t,e,i){return-ms(hs(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ws(t,e,i),n=Ws(t+1,e,i);return(Ps(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Es(i,2)}:${Es(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Es(i,2)}${Es(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Xs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Xs];case"short":return[...Js];case"long":return[...Gs];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Es(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ds(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Ds(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Vs(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function En(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(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Vs(u),h)}]}const Dn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Ds(e)):Ds(e),month:Js.indexOf(i)+1,day:Ds(s),hour:Ds(n),minute:Ds(r)};return o&&(a.second=Ds(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Vn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Mn(e,n,s,i,r,o,a);let f;return f=c?Dn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Pn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ln(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,n,s,i,r,o,a),Zi.utcInstance]}function Wn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Gn=mn(Tn);const Jn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Xn=fn(In),Kn=mn(Tn,xn,Nn);const Qn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,En])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Gn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ge(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Gi.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Xi(e),s=Xi(e,"{2}"),n=Xi(e,"{3}"),r=Xi(e,"{4}"),o=Xi(e,"{6}"),a=Xi(e,"{1,2}"),c=Xi(e,"{1,3}"),u=Xi(e,"{1,6}"),l=Xi(e,"{1,9}"),h=Xi(e,"{2,4}"),d=Xi(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Vs(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Er=864e13;function Dr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Vr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Pr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Fr(Ls(t),e,i)}function Lr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ls(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Wr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function zr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Es(t.c.year,i?6:4),e?(s+="-",s+=Es(t.c.month),s+="-",s+=Es(t.c.day)):(s+=Es(t.c.month),s+=Es(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Es(t.c.hour);return e?(o+=":",o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Es(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Es(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Es(Math.trunc(-t.o/60)),o+=":",o+=Es(Math.trunc(-t.o%60))):(o+="+",o+=Es(Math.trunc(t.o/60)),o+=":",o+=Es(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Gr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ge(t);return e}(t)}}function Xr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Dr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Dr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Pr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Xr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Xr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Dr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Er||t>Er?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Dr(i));const s=Ui.fromObject(e),n=$s(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Pr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Gr,v=$r,g=gs(g)):(p=Br,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,zs(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,Ps(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=jr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[zn,qn],[Un,$n],[Hn,Bn],[Zn,Yn])}(t);return Wr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Vn,Cn])}(t);return Wr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Ln],[Pn,Ln],[jn,Wn])}(t);return Wr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):Wr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Jn,qn],[Xn,Kn])}(t);return Wr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Vr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Vr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ls(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=Pr(a,r),l=Pr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Ps(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Dr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Lr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Lr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Je("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Je("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):Wr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=oo();return(no=function(t,e){return i[t-=454]})(t,e)}function ro(t,e){const i=no,s=io[i(460)](t)[i(464)](e),n=io[i(463)](),r=n[i(466)]({days:1})[i(472)](i(461));let o,a;return s[i(474)](n,i(461))?(o=s[i(472)](i(461))[i(457)](),a=s[i(469)]()):s[i(474)](r,i(461))?(o=r[i(457)](),a=s[i(469)]()):s[i(474)](n,i(459))?(o=s[i(472)](i(459))[i(457)](),a=s[i(458)]||""):s[i(474)](n,i(455))?(o=s[i(472)](i(465))[i(457)](),a=s[i(462)]||""):(o=s[i(472)](i(455))[i(457)](),a=String(s[i(455)])),{startDate:o,localizedPeriodName:a}}function oo(){const t=["3134400rOJtPo","startOf","50sqUxwj","hasSame","150dEWMMq","124075dYtmkd","1892553aqefGT","3763ZYMVnc","year","5876808qgfNXG","toJSDate","weekdayLong","week","fromJSDate","day","monthLong","local","setLocale","month","minus","6362919PdIUcx","2814763gQeVLI","toRelativeCalendar","34wanVkN"];return(oo=function(){return t})()}!function(t){const e=no,i=t();for(;;)try{if(740247===-parseInt(e(454))/1*(parseInt(e(470))/2)+-parseInt(e(477))/3+-parseInt(e(456))/4+-parseInt(e(476))/5*(parseInt(e(475))/6)+-parseInt(e(468))/7+parseInt(e(471))/8+-parseInt(e(467))/9*(-parseInt(e(473))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oo);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["find","startDate","238936AXKUXS","10lpQERN","3282410JHBYuX","_requireRevisionName","localizedPeriodName","uiLanguage","176JbmIPb","9tbpzrn","removeRevision","delegate","10910730VMWlio","span","locale","425211FbXRhx","div","setTemplate","remove","ck-revision-history-sidebar__time-period__revisions","ck-revision-history-sidebar__time-period__label","3116gcDBNs","713544QWArWP","5592DjPQSE","_revisionActions","add","7045OeCuNg","select","875ySGbpO","revisionViews","addRevision","createCollection","setName","ck-revision-history-sidebar__time-period"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=407]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(957939===parseInt(e(427))/1+parseInt(e(428))/2*(parseInt(e(440))/3)+parseInt(e(412))/4*(-parseInt(e(417))/5)+parseInt(e(437))/6+-parseInt(e(419))/7*(parseInt(e(414))/8)+-parseInt(e(434))/9*(-parseInt(e(429))/10)+parseInt(e(433))/11*(-parseInt(e(413))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(426)];[uo(420)];[uo(415)];[uo(430)];constructor(t,e,i,s){const n=uo;super(t);const r=ro(e,this[n(439)][n(432)])[n(431)];this[n(426)]=e,this[n(420)]=this[n(422)](),this[n(415)]=i,this[n(430)]=s,this[n(420)][n(436)](n(418)).to(this),this[n(420)][n(436)](n(423)).to(this),this[n(408)]({tag:n(407),attributes:{class:["ck",n(424)]},children:[{tag:n(438),attributes:{class:["ck",n(411)]},children:[{text:r}]},{tag:n(407),attributes:{class:["ck",n(410)]},children:this[n(420)]}]})}[uo(421)](t){const e=uo,i=new He(this[e(439)],t,this[e(415)],this[e(430)]);this[e(420)][e(416)](i)}[uo(435)](t){const e=uo,i=this[e(420)][e(425)]((e=>e.id===t.id));this[e(420)][e(409)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["614ixEJgB","216YvwUsO","3238224YVNGnk","ck-reset_all","Revision history","content","ck-revision-history-sidebar__header","483MoBzfp","span","div","8247222IVjOSu","4281110HqaoCU","66366xKKvpo","447rFJLby","4082fHDmvf","6492280GvTyCw","setTemplate","ck-revision-history-sidebar__header__label"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=246]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(682325===-parseInt(e(246))/1*(-parseInt(e(250))/2)+parseInt(e(263))/3*(parseInt(e(251))/4)+parseInt(e(261))/5+-parseInt(e(262))/6*(parseInt(e(257))/7)+-parseInt(e(252))/8+-parseInt(e(260))/9+parseInt(e(247))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(255)]=mt.IconHistory,this[e(248)]({tag:e(259),attributes:{class:["ck",e(253),e(256)]},children:[i,{tag:e(258),attributes:{class:["ck",e(249)]},children:[Q(t,e(254))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=478]})(t,e)}function Io(){const t=["revisionSetName","unhighlight","_addRevision","set","_removeRevision","find","_revisions","ck-rounded-corners","1233FaXNnN","map","highlightRevisions","delegate","6VGZFGQ","createCollection","createdAt","447465ioTWgE","3442308XEkjau","revisionSelected","selectRevision","locale","revisionViews","uiLanguage","2NbwttX","fire","remove","flat","22WkNeAC","12fHTBAY","ck-revision-history-sidebar","941717VWbWKZ","highlight","render","select","1919533vtOkfT","385048ZQGcHH","isEnabled","ck-reset","setName","div","ck-disabled","addRevision","add","getTime","_revisionActions","some","startDate","deselect","removeRevision","bindTemplate","74330UKzzGB","100836ftQdoj","timePeriodViews","ck-revision-history-sidebar__timeline","_getTimePeriodViewByStartDate","setTemplate","get","_requireRevisionName"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(808121===parseInt(e(498))/1*(parseInt(e(491))/2)+parseInt(e(519))/3*(-parseInt(e(496))/4)+parseInt(e(484))/5+-parseInt(e(481))/6*(-parseInt(e(502))/7)+parseInt(e(503))/8+-parseInt(e(534))/9*(parseInt(e(518))/10)+-parseInt(e(495))/11*(-parseInt(e(485))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(520)];[wo(532)];[wo(512)];[wo(525)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(517)];this[n(520)]=this[n(482)](),this[n(520)][n(480)](n(501)).to(this),this[n(520)][n(480)](n(506)).to(this),this[n(532)]=e,this[n(512)]=i,this[n(525)]=s,this.on(n(501),((t,e)=>{const i=n;this[i(492)](i(486),e)})),this.on(n(506),((t,e)=>{const i=n;this[i(492)](i(526),e)})),this[n(529)](n(504),!1),this[n(523)]({tag:n(507),attributes:{class:["ck",n(505),n(533),n(497)]},children:[new yo(t),{tag:n(507),attributes:{class:["ck",n(521),r.if(n(504),n(508),(t=>!t))]},children:this[n(520)]}]})}[wo(500)](){const t=wo;super[t(500)]();for(const e of this[t(532)])this[t(528)](e);this[t(532)].on(t(510),((e,i)=>{this[t(528)](i)})),this[t(532)].on(t(493),((e,i)=>{this[t(530)](i)}))}get[wo(489)](){const t=wo;return this[t(520)][t(478)]((e=>e[t(489)][t(478)]((t=>t))))[t(494)]()}[wo(487)](t){const e=wo;for(const i of this[e(489)])t&&t.id===i.id?i[e(501)]():i[e(515)]()}[wo(479)](t){const e=wo;for(const i of this[e(489)])t[e(513)]((({id:t})=>t===i.id))?i[e(499)]():i[e(527)]()}[wo(528)](t){const e=wo,i=ro(t[e(483)],this[e(488)][e(490)])[e(514)];let s=this[e(520)][e(524)](0);s&&s[e(514)][e(511)]()===i[e(511)]()||(s=new fo(this[e(488)],i,this[e(512)],this[e(525)]),this[e(520)][e(510)](s)),s[e(509)](t)}[wo(530)](t){const e=wo,i=ro(t[e(483)],this[e(488)][e(490)])[e(514)];this[e(522)](i)[e(516)](t)}[wo(522)](t){const e=wo;return this[e(520)][e(531)]((i=>i[e(514)][e(511)]()===t[e(511)]()))}}const Oo=To;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=335]})(t,e)}function xo(){const t=["compareAgainstSelected","fieldView","remove","config","isEnabled","Restore this revision","13685076sNggCd","316535xCyHdP","get","_handleDiffChange","revisionSetName","8tLztOf","restoreRevision","revisionViews","appendChild","_handleRevisionSelected","42WpXhwG","listenTo","8206250XGjQlq","10VKcauj","isReady","_revisions","_sidebarView","element","Compare against selected","diff","select","getRevision","RevisionsSidebar","113160RWEWvG","bind","4056YIxjvx","revisionHistory.viewerSidebarContainer","isPremiumPlugin","revisionSelected","isOfficialPlugin","getEarlierVisibleRevision","16343484XGwvLP","defaultRevisionActions","availableRevisionActions","_handleRevisionSetName","string","change:diff","destroy","assign","Name this revision","map","editor","_revisionViewer","10wRacIW","add","repository","_handleEditorDataReady","setName","getIndex","action","revisionHistory","pluginName","ready","init","requires","timePeriodViews","revisionHistory.requireRevisionName","selectRevision","getLaterVisibleRevision","645asUkBE","length","isSelected","locale","getRevisionsInDiff","plugins","newRevisionId","data","isVisible","restoreRevisionCallback","revisionHistory.revisionActions","_createRevisionActions","compare","highlightRevisions","13472734CwXmdq","nameRevision","focus","_revisionsRepository","render","39xGriCJ","name"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(826546===-parseInt(e(409))/1*(parseInt(e(335))/2)+-parseInt(e(381))/3*(parseInt(e(347))/4)+-parseInt(e(420))/5+parseInt(e(345))/6*(-parseInt(e(418))/7)+parseInt(e(413))/8*(parseInt(e(408))/9)+parseInt(e(365))/10*(-parseInt(e(395))/11)+parseInt(e(353))/12*(parseInt(e(400))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends U.Plugin{[Oo(364)];[Oo(398)];[Oo(338)];static[Oo(354)]=[Oo(402),Oo(414),Oo(396)];static[Oo(355)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(340),action:({plugins:e},i)=>{const s=t,n=e[s(410)](te),r=n[s(367)];let o=n[s(341)][s(387)],a=i.id;r[s(370)](o)>r[s(370)](a)&&([o,a]=[a,o]),n[s(393)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(410)](te);return!(n[s(367)][s(385)](n[s(341)])[s(382)]>2||i[s(383)])}},restoreRevision:{name:t(407),action:(e,{id:i})=>{const s=t;e[s(405)][s(410)](s(372))[s(390)](i)},isVisible:({plugins:e},i)=>!!e[t(410)](te)[t(367)][t(380)](i.id)},nameRevision:{name:t(361),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(410)](te),o=r[n(367)][n(352)](i);r[n(393)](i,o),s[n(397)](),s[n(403)][n(342)]()}}}}();static get[Oo(373)](){return Oo(344)}static get[Oo(351)](){return!0}static get[Oo(349)](){return!0}static get[Oo(376)](){return[te]}constructor(t){const e=Oo;super(t),this[e(364)]=t[e(386)][e(410)](te),this[e(398)]=this[e(364)][e(367)],this[e(338)]=null}[Oo(375)](){const t=Oo,e=this[t(398)][t(337)],i=this[t(392)](),s=this[t(363)][t(405)][t(410)](t(348));this[t(338)]=new So(this[t(363)][t(384)],e,i,this[t(363)][t(405)][t(410)](t(378))),this[t(338)].on(t(350),this[t(417)][t(346)](this)),this[t(338)].on(t(412),this[t(356)][t(346)](this)),this[t(338)][t(346)](t(406)).to(this[t(364)]),this[t(338)][t(377)].on(t(366),((e,i)=>{const s=t;i[s(415)].on(s(366),((t,e)=>{const i=s;e[i(346)](i(406),i(336)).to(this[i(364)])}))})),this[t(338)][t(399)](),this[t(419)](this[t(363)][t(388)],t(374),this[t(368)][t(346)](this)),this[t(419)](this[t(364)],t(358),this[t(411)][t(346)](this)),s[t(416)](this[t(338)][t(339)])}[Oo(359)](){const t=Oo;this[t(338)][t(339)][t(404)](),this[t(338)][t(359)]()}[Oo(368)](){const t=Oo,e=this[t(398)][t(343)](0);if(e){const i=this[t(398)][t(352)](e.id);this[t(364)][t(393)](e,i)}}[Oo(417)](t,e){const i=Oo,s=this[i(398)][i(343)](e.id),n=this[i(398)][i(352)](s.id);this[i(364)][i(393)](s,n)}[Oo(356)](t,e){const i=Oo;this[i(398)][i(343)](e.id)[i(369)](e[i(401)])}[Oo(411)](t,e,i){const s=Oo,n=this[s(398)][s(385)](i);n[s(382)]>2?(this[s(338)][s(394)](n),this[s(338)][s(379)](null)):(this[s(338)][s(394)]([]),this[s(338)][s(379)](n[0]))}[Oo(392)](){const t=Oo,e=this[t(363)],i=No[t(355)],s=e[t(405)][t(410)](t(391))||No[t(354)];if(s[t(382)])return s[t(362)]((s=>{const n=t,r=n(357)==typeof s?Object[n(360)]({},i[s]):s;return r[n(371)]=r[n(371)][n(346)](this,e),r[n(389)]&&(r[n(389)]=r[n(389)][n(346)](this,e)),r}))}}const Ro=No;function Ao(t,e){const i=Do();return(Ao=function(t,e){return i[t-=358]})(t,e)}const Eo=Ao;function Do(){const t=["fire","setEditableElement","element","limiterElement","fillFromConfig","1740401EqXmyW","_view","view","viewportOffset","_toolbarConfig","isActive","destroy","addToolbar","ready","config","4912310BQkhrd","detachDomRoot","252PQTLSq","276HHNvEq","editing","focusTracker","attachDomRoot","12966HOIBzV","get","getRoot","isFocused","4509hGlTjM","_initToolbar","22gGdZmp","name","editor","stickyPanel","bind","97RvUIcj","toolbar","_elementReplacer","rootName","componentFactory","render","2740297WSqXhQ","57148TGRsbi","30oOubYP","document","restore","replace","editable","viewportTopOffset","794274UwQBQW","12392TUpxkZ","init"];return(Do=function(){return t})()}!function(t){const e=Ao,i=t();for(;;)try{if(677446===-parseInt(e(406))/1*(parseInt(e(395))/2)+parseInt(e(390))/3*(-parseInt(e(363))/4)+parseInt(e(364))/5*(parseInt(e(370))/6)+parseInt(e(362))/7+-parseInt(e(371))/8*(parseInt(e(399))/9)+-parseInt(e(388))/10*(parseInt(e(401))/11)+-parseInt(e(391))/12*(-parseInt(e(378))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Mo extends pt.EditorUI{[Eo(379)];[Eo(382)];[Eo(358)];get[Eo(380)](){return this[Eo(379)]}constructor(e,i){const s=Eo;super(e),this[s(379)]=i,this[s(382)]=(0,pt.normalizeToolbarConfig)(e[s(387)][s(396)](s(407))),this[s(358)]=new t.ElementReplacer}get[Eo(375)](){const t=Eo;return this[t(380)][t(375)]}[Eo(372)](t){const e=Eo,i=this[e(403)],s=this[e(380)],n=i[e(392)][e(380)],r=s[e(368)],o=n[e(365)][e(397)]();r[e(402)]=o[e(359)],s[e(361)]();const a=r[e(375)];this[e(374)](r[e(402)],a),s[e(368)][e(405)](e(398)).to(this[e(393)]),n[e(394)](a),this[e(358)][e(367)](t,this[e(375)]),this[e(400)](),this[e(373)](e(386))}[Eo(384)](){const t=Eo;super[t(384)]();const e=this[t(380)],i=this[t(403)][t(392)][t(380)];this[t(358)][t(366)](),i[t(389)](e[t(368)][t(402)]),e[t(384)]()}[Eo(400)](){const t=Eo,e=this[t(380)];e[t(404)][t(405)](t(383)).to(this[t(393)],t(398)),e[t(404)][t(376)]=e[t(375)],e[t(404)][t(405)](t(369)).to(this,t(381),(({top:t})=>t)),e[t(407)][t(377)](this[t(382)],this[t(360)]),this[t(385)](e[t(407)])}}var Vo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Vo.A,Co);Vo.A&&Vo.A.locals&&Vo.A.locals;function Fo(t,e){var i=Lo();return(Fo=function(t,e){return i[t-=279]})(t,e)}var Po=Fo;!function(t){for(var e=Fo,i=t();;)try{if(205882===-parseInt(e(293))/1+parseInt(e(294))/2+parseInt(e(283))/3+parseInt(e(295))/4*(parseInt(e(284))/5)+-parseInt(e(285))/6+parseInt(e(282))/7+parseInt(e(291))/8*(-parseInt(e(288))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends pt.BoxedEditorUIView{[Po(292)];[Po(287)];[Po(279)];get[Po(281)](){return this[Po(292)]}constructor(t,e,i={}){var s=Po;super(t),this[s(287)]=new pt.StickyPanelView(t),this[s(279)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(286)]}),this[s(292)]=new pt.InlineEditableUIView(t,e)}[Po(297)](){var t=Po;super[t(297)](),this[t(287)][t(290)][t(289)](this[t(279)]),this[t(296)][t(289)](this[t(287)]),this[t(280)][t(289)](this[t(281)])}}function Lo(){var t=["top","render","toolbar","main","editable","335678hAGpMH","922752rgFIXM","6095DiLBAn","1429542AAErsD","shouldToolbarGroupWhenFull","stickyPanel","93141Erwodn","add","content","80RYfgIt","_editable","295921yanYPd","578630meWCMJ","652rUZksO"];return(Lo=function(){return t})()}const Wo=Uo;function zo(){const t=["locale","260428aNUQOJ","get","6CczugB","11MlKLGc","1464416vmJTrj","6743dshjRZ","data","ready","fire","create","221428yEzoWO","model","1348030SPuPkR","updateSourceElement","destroy","1844442qKBhpt","1136105IQwZyn","_ui","document","initPlugins","sourceElement","initialData","6OYKgnz","view","config","editing","7ueUvpK","init","createRoot"];return(zo=function(){return t})()}function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=235]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(123612===-parseInt(e(256))/1+-parseInt(e(261))/2*(-parseInt(e(253))/3)+-parseInt(e(251))/4+parseInt(e(237))/5*(parseInt(e(243))/6)+-parseInt(e(247))/7*(parseInt(e(255))/8)+-parseInt(e(236))/9+-parseInt(e(263))/10*(-parseInt(e(254))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[Wo(238)];get ui(){return this[Wo(238)]}constructor(t,e){const i=Wo;super(e),this[i(241)]=t,this[i(262)][i(239)][i(249)]();const s=new jo(this[i(250)],this[i(246)][i(244)],{shouldToolbarGroupWhenFull:!0});this[i(238)]=new Mo(this,s)}[Wo(235)](){const t=Wo;return this[t(264)](),this.ui[t(235)](),super[t(235)]()}static async[Wo(260)](t,e){const i=Wo,s=new this(t,e);return await s[i(240)](),await s.ui[i(248)](t),await s[i(257)][i(248)](s[i(245)][i(252)](i(242))||""),s[i(259)](i(258)),s}}const Zo=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=435]})(t,e)}function $o(){const t=["1404voOVuS","refreshPositioning","toolbar","RestrictedEditingMode","_recalculatePageBreaks","revisionHistory.editorContainer","RevisionViewerIntegration","locale","_viewerEditor","DocumentOutline","revisionHistory.closeRevisionViewerCallback","isReadOnly","style","addRoot","revision-history-viewer-opened","disableReadOnlyMode","PaginationLookup","RevisionHistoryUI","rootName","_restoreRevision","includes","error","RevisionViewer","bind","selection","destroy","revision-history-missing-configuration","addUser","requires","600906uQYtxV","then","end","getAttributeKeys","creator","name","model","refreshVisibility","parse","8EWosau","createdAt","toLocaleDateString","toJSON","create","numeric","Annotations","markers","init","addRevisionData","save","uiLanguage","isAnonymous","setSelection","pluginName","getRevisions","enqueueChange","4844791EUMwwX","display","insert","3662432uBzWtZ","lazyRoots","6ZQlPxq","plugins","getRoot","createRangeIn","Users","from","long","RevisionsRepository","commands","50550ogaEhH","isAttached","config","_closeRevisionViewer","Dialog","enableReadOnlyMode","data","removeAttribute","fromVersion","getUser","hide","revisionHistory.showRevisionViewerCallback","block","_showRevisionViewer","isEnabled","map","isReady","isOpen","none","revisionHistory.requireRevisionName","change","define","_getRevisionViewerEditorConfig","revisionHistory.viewerContainer","setAttribute","revisionHistory","showRevisionViewerCallback","result","push","RevisionHistoryUtils","set","join","fromCharCode","getRevisionRootsAttributes","2599326gfmJwM","removeMarker","has","_enhanceShowRevisionViewerCallback","remove","RevisionTracker","_enhanceCloseRevisionViewerCallback","editor","1QUxWJe","getMarkersGroup","loadRevisionData","isOfficialPlugin","revisionHistory.viewerEditorElement","1008rufTrU","roots","Restored","catch","element","changesNavigation","users","exitToEditing","125485VRufVF","indexOf","get","RevisionHistory","getRevision","toLocaleTimeString","revisionHistory.restoreRevisionCallback","getRevisionDocumentData","closeRevisionViewerCallback","update","_update","restoreRevision","translations","toVersion","removeSelectionAttribute","adapter","$graveyard","document","isRevisionViewerOpen","view","restrictedEditingException","keys","41371ftodEN","_cleanUp","isPremiumPlugin","saveRevision","Autosave","detachRoot","repository","DocumentOutlineUI"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(706343===parseInt(e(435))/1*(-parseInt(e(581))/2)+-parseInt(e(507))/3+parseInt(e(516))/4*(parseInt(e(448))/5)+parseInt(e(538))/6*(parseInt(e(533))/7)+parseInt(e(536))/8+-parseInt(e(440))/9*(-parseInt(e(547))/10)+parseInt(e(470))/11*(parseInt(e(478))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Zo(495),Zo(481)];class Yo extends U.Plugin{[Zo(574)];static get[Zo(530)](){return Zo(484)}static get[Zo(438)](){return!0}static get[Zo(472)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(562)]((t=>String[e(579)](t)))[e(578)]("")}super(t),this[e(574)]=e(509),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Go extends U.Plugin{[Zo(486)];static get[Zo(530)](){return Zo(451)}static get[Zo(438)](){return!0}static get[Zo(472)](){return!0}static get[Zo(506)](){return[ct,Pt]}constructor(e){const i=Zo;if(super(e),!this[i(588)][i(549)][i(450)](i(572)))throw new t.CKEditorError(i(504),this);this[i(486)]=null,this[i(577)](i(466),!1),this[i(588)][i(549)][i(568)](i(558),(t=>this[i(560)]({...t,translations:this[i(588)][i(485)][i(460)]}))),this[i(588)][i(549)][i(568)](i(488),(t=>this[i(550)](t))),this[i(588)][i(549)][i(568)](i(454),(t=>this[i(497)](t))),this[i(588)][i(549)][i(568)](i(566),!1),this[i(584)](),this[i(587)]()}set[Zo(463)](t){const e=Zo;this[e(588)][e(539)][e(450)](e(586))[e(463)]=t}get[Zo(463)](){const t=Zo;return this[t(588)][t(539)][t(450)](t(586))[t(463)]}[Zo(525)](t){const e=Zo;return this[e(588)][e(539)][e(450)](e(586))[e(525)](t)}[Zo(452)](t){const e=Zo;return this[e(588)][e(539)][e(450)](e(545))[e(452)](t)}[Zo(531)](t){const e=Zo;return this[e(588)][e(539)][e(450)](e(545))[e(531)](t||{toJSON:!1})}[Zo(569)](){const e=Zo,i=this[e(588)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(539)][e(450)](e(586)),r=i[e(539)][e(450)](e(542))[e(446)];return s[e(480)]=[e(447),e(459),e(445)],delete s[e(537)],s[e(539)][e(575)](Yo,te,be,class extends U.Plugin{static get[e(506)](){return[te,e(542)]}[e(524)](){const s=e,o=this[s(588)][s(539)][s(450)](s(542));for(const t of r)t[s(528)]||o[s(556)](t.id)||o[s(505)](t);const a=n[s(476)][s(531)]();let c=null;const u=this[s(588)][s(539)][s(450)](s(500));u[s(463)]=n[s(463)],u[s(501)](s(561)).to(n),this[s(588)][s(546)][s(450)](s(459))[s(501)](s(561)).to(i,s(489),(t=>!t));for(const e of a){const i=null===e[s(511)];if(i&&e[s(461)]===e[s(555)])continue;const r=e[s(519)]();u[s(525)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(458)](r,o);else if(!o){const e=a[u(519)]();e.id=(0,t.uid)(),n[u(473)](e,a[u(461)])[u(508)]((t=>{c=t}))}}else e[u(458)](r,o)}))}}},Ro),s}[Zo(584)](){const t=Zo,e=this[t(588)][t(549)][t(450)](t(572))[t(573)];this[t(588)][t(549)][t(577)](t(558),(async()=>{const i=t;this[i(588)][i(552)](i(492));const s=this[i(588)][i(539)][i(450)](i(586));if(this[i(588)][i(539)][i(583)](i(474))){const t=this[i(588)][i(539)][i(450)](i(474));await t[i(526)]()}else await s[i(457)]();if(this[i(588)][i(539)][i(583)](i(494))&&this[i(588)][i(539)][i(450)](i(494))[i(482)](),this[i(588)][i(539)][i(583)](i(551))){const t=this[i(588)][i(539)][i(450)](i(551));t[i(564)]&&t[i(557)]()}const n=this[i(569)]();return e(n)[i(508)]((t=>{const e=i;return this[e(486)]=t,this[e(588)][e(539)][e(583)](e(522))&&this[e(588)][e(539)][e(450)](e(522))[e(514)](),this[e(588)][e(539)][e(583)](e(487))&&(this[e(588)][e(539)][e(450)](e(477))[e(467)][e(444)][e(490)][e(534)]=e(565)),t}))[i(443)]((t=>(console[i(499)](t),this[i(588)][i(493)](i(492)),null)))}))}[Zo(587)](){const t=Zo,e=this[t(588)][t(549)][t(450)](t(572))[t(456)];this[t(588)][t(549)][t(577)](t(488),(()=>(this[t(588)][t(539)][t(583)](t(494))&&this[t(588)][t(539)][t(450)](t(494))[t(482)](),this[t(588)][t(539)][t(583)](t(487))&&(this[t(588)][t(539)][t(450)](t(477))[t(467)][t(444)][t(490)][t(534)]=""),this[t(486)][t(539)][t(450)](t(500))[t(471)](),e(this[t(486)])[t(508)]((()=>{const e=t;if(this[e(588)][e(493)](e(492)),this[e(486)]=null,this[e(588)][e(539)][e(583)](e(522))){const t=this[e(588)][e(539)][e(450)](e(522));t[e(514)](),t[e(479)]()}})))))}[Zo(560)](t){const e=Zo,i=this[e(588)][e(549)][e(450)](e(483)),s=this[e(588)][e(549)][e(450)](e(570)),n=this[e(588)][e(549)][e(450)](e(439));return Ho[e(520)](n,t)[e(508)]((t=>(s[e(490)][e(534)]=e(559),i[e(490)][e(534)]=e(565),this[e(466)]=!0,t)))}[Zo(550)](t){const e=Zo,i=this[e(588)][e(549)][e(450)](e(483));return this[e(588)][e(549)][e(450)](e(570))[e(490)][e(534)]=e(565),i[e(490)][e(534)]="",this[e(466)]=!1,t[e(503)]()}async[Zo(497)](t){const e=Zo,i=this[e(588)],s=this[e(486)][e(539)][e(450)](e(500)),n=i[e(539)][e(450)](e(586)),r=i[e(539)][e(450)](e(576)),o=s[e(476)][e(452)](t);let a,c,u;try{await r[e(437)](o,this[e(463)]),a=r[e(455)](o),c=r[e(580)](o)}catch(t){return void console[e(499)](t)}i[e(513)][e(567)]((t=>{const s=e;for(const e of Array[s(543)](i[s(513)][s(523)][s(436)](s(468))))t[s(582)](e)})),s[e(563)]=!1,i[e(513)][e(532)]((t=>{const s=e;t[s(529)](null),t[s(462)](i[s(513)][s(465)][s(502)][s(510)]());const n=Object[s(469)](a);for(const e of i[s(513)][s(465)][s(441)])s(464)!=e[s(496)]&&e[s(548)]()&&!n[s(498)](e[s(496)])&&t[s(475)](e);for(const e of n){let n=i[s(513)][s(465)][s(540)](e);n&&n[s(548)]()||(n=t[s(491)](e));const r=c[e],o=Object[s(469)](r),u=a[e];for(const e of n[s(510)]())o[s(498)](e)||t[s(554)](e,n);for(const i of o)t[s(571)](i,c[e][i],n);t[s(585)](t[s(541)](n)),t[s(535)](i[s(553)][s(515)](u,n),n,0)}}));const l=Q(i[e(485)],e(442));return u=o[e(512)]?-1==o[e(512)][e(449)](l)?l+": "+o[e(512)]:o[e(512)]:l+": "+o[e(517)][e(518)](i[e(485)][e(527)],{month:e(544),day:e(521)})+", "+o[e(517)][e(453)](i[e(485)][e(527)],{hour:e(521),minute:e(521)}),await n[e(473)]({name:u}),s[e(563)]=!0,i[e(549)][e(450)](e(572))[e(456)]()}}function Jo(){var t=["914505PjdPGe","5569074CdIrwH","196776miBuDS","28OhSXqO","5yicJYq","4194820SMiOpv","762806MuEIfS","347108SWBxvK","2320662ZrKMuM"];return(Jo=function(){return t})()}function Xo(t,e){var i=Jo();return(Xo=function(t,e){return i[t-=473]})(t,e)}!function(t){for(var e=Xo,i=t();;)try{if(565206===parseInt(e(475))/1+parseInt(e(474))/2+-parseInt(e(477))/3+parseInt(e(473))/4+-parseInt(e(481))/5*(parseInt(e(476))/6)+parseInt(e(480))/7*(parseInt(e(479))/8)+-parseInt(e(478))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Go,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ot,RevisionViewer:()=>te,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(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,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const M=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function D(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function E(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?E(e)?F(t,D(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function j(t,e){const i=z();return(j=function(t,e){return i[t-=496]})(t,e)}const P=j;function z(){const t=["creator","authors","45529MlwEKS","3041035PvsSFW","diffData","553937juaAlj","420903DtacGe","toVersion","fromVersion","8BXPFQb","creatorId","2cLwrTk","setName","model","2740011iSbrxL","removeAttribute","280rUvfzA","set","attributes","createdAt","5777718iYAgoE","fire","setAttribute","8429281CGEiLk","8KfaoVV","toJSON","_update","authorsIds","name","14496zFlGFR","map"];return(z=function(){return t})()}!function(t){const e=j,i=t();for(;;)try{if(666286===parseInt(e(521))/1*(-parseInt(e(496))/2)+parseInt(e(499))/3+-parseInt(e(525))/4*(parseInt(e(519))/5)+-parseInt(e(505))/6+-parseInt(e(508))/7*(parseInt(e(509))/8)+parseInt(e(522))/9*(-parseInt(e(501))/10)+parseInt(e(518))/11*(parseInt(e(514))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[P(516)];[P(517)];[P(520)];[P(523)];[P(524)];[P(498)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(516)]=e[i(516)]||null,this[i(517)]=e[i(517)]||[],this[i(520)]=e[i(520)]||null,this[i(523)]=e[i(523)]||0,this[i(524)]=e[i(524)]||0,this[i(502)](i(513),e[i(513)]||""),this[i(502)](i(504),e[i(504)]||new Date),this[i(502)](i(503),e[i(503)]||{})}[P(497)](t){this[P(511)]({name:t})}[P(507)](t,e){const i=P,s=A(this[i(503)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?D(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(511)]({attributes:s})}[P(500)](t){const e=P,i=A(this[e(503)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&E(e))return L(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(511)]({attributes:i})}[P(511)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(513),i(504),i(520),i(517),i(503),i(523),i(524),i(526)];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(517)]&&(n[i(512)]=n[i(517)][i(515)]((t=>t.id)),delete n[i(517)]),this[i(506)](i(511),n,e))}[P(510)](){const t=P;return{id:this.id,name:this[t(513)],creatorId:this[t(516)]?this[t(516)].id:null,authorsIds:this[t(517)][t(515)]((t=>t.id)),diffData:this[t(520)],createdAt:this[t(504)],attributes:this[t(503)],fromVersion:this[t(524)],toVersion:this[t(523)]}}}var U=i(782),H=i(211),Z=i(783);const q=$;function B(){const t=["8bDGZIp","getLaterVisibleRevision","afterInit","getEarlierVisibleRevision","getIndex","newRevisionId","add","fromVersion","join","isNaN","1760160ZghZfB","createdAt","toJSON","isPremiumPlugin","push","authorsIds","getRevision","1288455MRCnUx","toVersion","later","_revisions","plugins","2257191vATMZx","getUser","8qmdfqJ","reverse","requires","Users","href","oldRevisionId","77834CWYsoY","RevisionsRepository","map","attributes","18872fISDOF","11BIrxTM","editor","pluginName","diffData","getRevisionsInDiff","get","name","getRevisions","getRevisionsIterator","fromCharCode","439875milKWu","2JyOmbK","4308730AmouBe","creatorId","data","length","createRevision","isOfficialPlugin","addRevision","from","earlier"];return(B=function(){return t})()}function $(t,e){const i=B();return($=function(t,e){return i[t-=105]})(t,e)}!function(t){const e=$,i=t();for(;;)try{if(152645===-parseInt(e(147))/1*(-parseInt(e(107))/2)+parseInt(e(106))/3*(parseInt(e(117))/4)+parseInt(e(134))/5+-parseInt(e(127))/6+parseInt(e(151))/7*(-parseInt(e(141))/8)+parseInt(e(139))/9+-parseInt(e(108))/10*(parseInt(e(152))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[q(137)];static get[q(143)](){return[H.Users]}static get[q(154)](){return q(148)}static get[q(113)](){return!0}static get[q(130)](){return!0}get[q(111)](){const t=q;return this[t(137)][t(111)]}constructor(e){const i=q;super(e),this[i(137)]=new t.Collection}[q(119)](){!async function(e){const i=k([57,50,52,82,119,103,108,98,76,73,105,101,48,81,113,117,51,114,85,122,54,106,74,80,70,110,120,88,109,89,104,84,86,75,68,111,116,71,49,97,99,107,87,102,78,115,90,79,112,100,67,66,77,72,69,121,56,53,118,83,55,65]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(126)](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([82]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=$;return t[e(149)]((t=>String[e(105)](t)))[e(125)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1747180800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(145)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(112)](t){const e=q,i=this[e(153)][e(138)][e(157)](e(144));return new W({id:t.id,name:t[e(158)],creator:t[e(109)]?i[e(140)](t[e(109)]):null,diffData:t[e(155)]||t[e(110)],authors:t[e(132)][e(149)]((t=>i[e(140)](t))),createdAt:new Date(t[e(128)]),attributes:t[e(150)],fromVersion:t[e(124)],toVersion:t[e(135)]})}[q(114)](t,e=0){const i=q;this[i(137)][i(123)](t,e)}[q(133)](t){const e=q;return this[e(137)][e(157)](t)}[q(159)](t={toJSON:!1}){const e=q,i=Array[e(115)](this[e(137)]);return i[e(142)](),t[e(129)]?i[e(149)]((t=>t[e(129)]())):i}[q(121)](t){const e=q;return this[e(137)][e(121)](t)}[q(120)](t){const e=q,[,i]=this[e(160)](t,{direction:e(116)});return i}[q(118)](t){const e=q,[,i]=this[e(160)](t,{direction:e(136)});return i}[q(156)](t){const e=q,i=[];for(const s of this[e(160)](t[e(122)]))if(i[e(131)](s),s.id===t[e(146)])break;return i}*[q(160)](t,{direction:e=q(116),filter:i=()=>!0}={}){const s=q,n=s(116)===e?1:-1;let r=this[s(137)][s(157)](t),o=this[s(121)](r);for(yield r;r;){if(o+=n,r=this[s(133)](o),!r)return;i(r)&&(yield r)}}}function G(){const t=["constructor","1caVhFR","length","getRevision","get","4upsHDv","processor","toData","insertions","getFillerOffset","_makeModelFromViewString","data","parse","collaboration.channelId","childNodes","toModel","createElement","isPremiumPlugin","children","useFillerType","diffData","marked","_getTypeCharForViewElement","90jgSKbR","_removeRevisionMarkers","2677496HBTFQP","232998wLBmqP","htmlProcessor","editor","88tgPffL","_typeCharToViewClass","domConverter","_viewClassToTypeChar","config","domChildrenToView","from","revision-start","1568388oqtakF","domDocument","getRevisionRootsAttributes","8155062jVbSew","startsWith","attributes","view","getRevisionDocumentData","isAttached","_appendChild","editing","308483RqSBTr","attributesAfter","_setCustomProperty","customProperties","RevisionHistoryUtils","data-revision-","render","map","254050aDHUnv","name","innerHTML","viewChildrenToDom","isOfficialPlugin","type","document","pluginName","forEach","string","264lvIATv","filter","_getViewFromDiffObj","default","revision-end","append","fillerOffset","div","20180100doiitZ","attachChange","loadRevisionData"];return(G=function(){return t})()}function J(t,e){const i=G();return(J=function(t,e){return i[t-=129]})(t,e)}const K=J;!function(t){const e=J,i=t();for(;;)try{if(783560===parseInt(e(191))/1*(-parseInt(e(138))/2)+-parseInt(e(150))/3*(-parseInt(e(195))/4)+parseInt(e(136))/5*(parseInt(e(139))/6)+parseInt(e(161))/7*(-parseInt(e(142))/8)+-parseInt(e(153))/9+-parseInt(e(169))/10*(-parseInt(e(179))/11)+parseInt(e(187))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class X extends U.Plugin{static get[K(176)](){return K(165)}static get[K(173)](){return!0}static get[K(130)](){return!0}[K(145)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[K(143)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[K(189)](t,e){const i=K;if(t[i(133)]||!e)return;const s=this[i(141)][i(146)][i(194)](i(203)),n=await e[i(193)]({channelId:s,revisionId:t.id});t[i(133)]=n[i(133)]}[K(157)](t){const e=K,i={};for(const s in t[e(133)]){if(t[e(133)][s][e(188)]&&!t[e(133)][s][e(188)][e(158)])continue;const n=this[e(137)](JSON[e(202)](t[e(133)][s][e(198)])),r=this[e(141)][e(160)][e(156)][e(175)],o=new Z.ViewDocumentFragment(r,n[e(168)]((t=>this[e(181)](t,!1))));this[e(141)][e(201)][e(196)][e(132)](e(134)),i[s]=this[e(141)][e(201)][e(196)][e(197)](o),this[e(141)][e(201)][e(196)][e(132)](e(182))}return i}[K(152)](t){const e=K,i={};for(const s in t[e(133)])t[e(133)][s][e(188)]&&!t[e(133)][s][e(188)][e(158)]||(i[s]=t[e(133)][s][e(162)]||{});return i}[K(135)](t){const e=K;return this[e(145)][e(194)](t[e(190)])}[K(181)](t,e){const i=K,s=this[i(141)][i(160)][i(156)][i(175)];if(i(178)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(174)]||"r"==t[i(174)]?[]:t[i(131)][i(168)]((t=>this[i(181)](t,e)));const o=this[i(143)][i(194)](t[i(174)])||Z.ViewElement,a=this[i(141)][i(201)][i(140)][i(144)];if(n=new o(s,t[i(170)],t[i(155)],r),"u"==t[i(174)]&&t[i(131)][0]){const r=t[i(131)][0];if(n[i(167)]=function(t){const e=i,s=t[e(129)](e(186));return s[e(171)]=r,s[e(204)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(159)](n);const e=Array[i(148)](a[i(172)](t,{bind:!1})),r=a[i(151)][i(129)](i(186));r[i(184)](...e),n=Array[i(148)](a[i(147)](r))[0]}}else if("r"==t[i(174)]&&t[i(131)][0]){const r=t[i(131)][0];if(n[i(167)]=function(t){t[i(171)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(159)](n);const e=Array[i(148)](a[i(172)](t,{bind:!1})),r=a[i(151)][i(129)](i(186));r[i(184)](...e);const o=Array[i(148)](a[i(147)](r));o[i(192)]>1?n[i(159)](o):n=o[0]}}if(t[i(164)])for(const[e,s]of t[i(164)])n[i(163)](e,s);const c=void 0===t[i(185)]?null:t[i(185)];return null!==c&&(n[i(199)]=()=>c),n}}[K(200)](t){const e=K,i=JSON[e(202)](t),s=this[e(141)][e(160)][e(156)][e(175)],n=new Z.ViewDocumentFragment(s,i[e(168)]((t=>this[e(181)](t,!0))));return this[e(141)][e(201)][e(205)](n)}[K(137)](t){const e=K;return(t=t[e(180)]((t=>!t[e(170)]||e(149)!==t[e(170)]&&e(183)!==t[e(170)])))[e(177)]((t=>{const i=e;i(178)!=typeof t&&(t[i(131)]=this[i(137)](t[i(131)]),t[i(155)]=t[i(155)][i(180)]((t=>!t[0][i(154)](i(166)))))})),t}}function Q(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(M=s)||Number.isNaN(A)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,M;const V=(s=s??new Map).get(t),D=s.get(i);if(null!=V&&null!=D)return V===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ct;!function(t){const e=ct,i=t();for(;;)try{if(244504===parseInt(e(614))/1*(-parseInt(e(530))/2)+parseInt(e(661))/3+parseInt(e(398))/4*(-parseInt(e(458))/5)+-parseInt(e(569))/6*(-parseInt(e(620))/7)+-parseInt(e(644))/8*(-parseInt(e(656))/9)+parseInt(e(590))/10+-parseInt(e(658))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ut);class ot extends U.Plugin{[rt(402)];[rt(390)];[rt(481)]=null;[rt(421)];[rt(547)]=null;[rt(507)];[rt(545)];[rt(641)];[rt(400)];[rt(472)];[rt(671)];[rt(488)];[rt(611)];[rt(660)];static get[rt(396)](){return rt(366)}static get[rt(500)](){return!0}static get[rt(669)](){return!0}static get[rt(443)](){return[H.Users,Y,X,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(421)]=this[i(471)][i(368)][i(450)](i(647)),this[i(472)]=this[i(471)][i(368)][i(450)](i(678)),this[i(507)]=new at(this[i(471)]),this[i(641)]=this[i(471)][i(573)][i(450)](i(462))||i(387),this[i(400)]=new Map,this[i(660)]=null;const s=(0,t.uid)();this[i(545)]={history:this[i(471)][i(442)][i(525)][i(629)],getLatestVersion:()=>Promise[i(643)](this[i(471)][i(442)][i(525)][i(420)]),getCurrentRevisionId:()=>s},this[i(676)](i(376),!1),this[i(676)](i(511),!0),this[i(676)](i(391),!1),this[i(471)][i(573)][i(546)](i(425),!0),this[i(471)][i(681)][i(558)](i(609))[i(502)]({view:i(493)})}[rt(684)](){const t=rt;this[t(499)](),this[t(471)][t(555)].on(t(665),(()=>{const e=t,i=this[e(421)][e(393)](0),s=i&&null===i[e(419)]?i:null;if(this[e(488)]=!!s&&this[e(471)][e(573)][e(450)](e(425)),this[e(471)][e(368)][e(431)](e(404))){const t=this[e(545)][e(414)](),n=this[e(421)][e(393)](t);if(n)this[e(611)]=n[e(411)],this[e(488)]=!1;else{const t=this[e(545)][e(629)][e(528)][e(635)]((t=>!t[e(470)])),n=t?t[e(506)]:this[e(545)][e(629)][e(420)];i?(i[e(407)]<n&&i[e(522)]({toVersion:n}),this[e(488)]?(this[e(545)][e(414)]=()=>s.id,this[e(611)]=s[e(411)]):(this[e(611)]=i[e(407)],this[e(488)]=!1)):(this[e(611)]=n,this[e(488)]=!1)}}else s&&(this[e(471)][e(442)][e(525)][e(629)][e(420)]=Math[e(466)](s[e(407)],this[e(471)][e(442)][e(525)][e(629)][e(420)]),s[e(411)]===s[e(407)]?(0!==s[e(411)]&&(this[e(545)][e(414)]=()=>s.id),this[e(488)]=!1):this[e(488)]&&(this[e(545)][e(414)]=()=>s.id,this[e(611)]=s[e(411)])),this[e(488)]||(this[e(611)]=this[e(471)][e(442)][e(525)][e(420)]);this[e(507)][e(684)](this[e(545)][e(629)]),this[e(489)](this[e(611)]),this[e(601)](this[e(611)]),this[e(547)]&&this[e(435)]()})),this[t(606)](t(376)).to(this,t(391),(t=>!t)),this[t(402)]=this[t(471)][t(573)][t(450)](t(402));const e=this[t(471)];this[t(390)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(378)==r||i(454)==r||i(596)==r||i(538)==r||i(383)==r||i(618)==r||i(377)==r||i(556)==r){delete e[n],s=r,clearInterval(this[i(390)]),this[i(390)]=void 0;break}}i(454)==s&&e[i(519)](i(672)),i(596)==s&&e[i(519)](i(682)),i(538)==s&&e[i(519)](i(589)),i(383)==s&&e[i(519)](i(602),i(515)),i(618)==s&&e[i(519)](i(508)),i(377)==s&&e[i(519)](i(670)),i(556)==s&&e[i(519)](i(388))}),1e3)}async[rt(642)](){const t=rt;if(this[t(421)][t(579)]>0){const e=this[t(421)][t(393)](0),i=await this[t(473)](e),s=await this[t(374)](e);this[t(463)](i,s)}}[rt(514)](){const t=rt;super[t(514)](),this[t(390)]&&clearInterval(this[t(390)])}[rt(560)](t){this[rt(545)]=t}async[rt(418)](){const t=rt,e=await this[t(545)][t(621)]();if(e>this[t(481)][t(407)]){await this[t(689)]();const i=this[t(479)]({revision:this[t(481)],to:e});i[t(535)]=i[t(565)][t(403)]((e=>this[t(471)][t(368)][t(450)](t(551))[t(498)](e))),this[t(481)][t(522)](i)}}async[rt(645)](e={},i=null){const s=rt,n=[];await this[s(689)](),this[s(488)]=!1,i>this[s(481)][s(407)]&&(i=null),null===i&&(i=await this[s(545)][s(621)]());const r=this[s(667)](i),o=this[s(479)]({from:r,to:i});if(this[s(481)][s(407)]<i){const t=this[s(479)]({revision:this[s(481)],from:i,to:i});t[s(535)]=[],t[s(565)]=[],t.id=this[s(481)].id,this[s(481)][s(522)](t,!0),delete t[s(535)],n[s(496)](t)}e[s(495)]=this[s(471)][s(368)][s(450)](s(551)).me.id,e[s(459)]=e[s(459)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(662)](e);n[s(496)](e);const c=this[s(421)][s(683)](a);if(0!==c){const t=this[s(421)][s(393)](c-1);if(t[s(411)]!==i){const r=this[s(507)][s(518)](i,t[s(407)]),o={id:t.id,diffData:r[s(630)],authorsIds:r[s(565)],authors:r[s(565)][s(403)]((t=>this[s(471)][s(368)][s(450)](s(551))[s(498)](t))),fromVersion:i};t===this[s(481)]&&(o[s(469)]=new Date(e[s(469)][s(369)]()+10)),t[s(522)](o,!0),delete o[s(535)],n[s(496)](o)}}if(this[s(547)]){for(const t of n)this[s(550)](t.id,t,!0);this[s(435)]()}return a}[rt(662)](t){const e=rt,i=this[e(421)][e(395)](t);return this[e(547)]&&i.on(e(522),((t,i,s)=>{const n=e;s||(this[n(550)](i.id,i,!0),this[n(435)]())})),this[e(421)][e(622)](i,this[e(608)](i)),i}async[rt(473)](t){const e=rt;return await this[e(472)][e(485)](t,this[e(547)]),this[e(472)][e(473)](t)}async[rt(374)](t){const e=rt;return await this[e(472)][e(485)](t,this[e(547)]),this[e(472)][e(374)](t)}[rt(435)](){const t=rt;if(0===this[t(400)][t(603)])return;if(this[t(391)])return;let e=Array[t(605)](this[t(400)][t(371)]());this[t(400)][t(595)]();for(let i=0;i<e[t(579)];i++){const s=e[i];let n=!1;for(const e of Object[t(594)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(637)]((t=>null!==t)),!e[t(579)])return;for(let i=0;i<e[t(579)];i++){const s=e[i];void 0!==s[t(411)]&&void 0===s[t(407)]&&(s[t(407)]=this[t(421)][t(393)](s.id)[t(407)]),void 0!==s[t(407)]&&void 0===s[t(411)]&&(s[t(411)]=this[t(421)][t(393)](s.id)[t(411)])}const i=this[t(471)][t(573)][t(450)](t(462));this[t(391)]=!0,this[t(563)](),this[t(547)][t(557)](e,i)[t(624)]((()=>{this[t(391)]=!1}))[t(686)]((e=>{const i=t;if(e)for(const t of e)this[i(591)]({id:t.id,createdAt:t[i(469)]});this[i(523)](),this[i(435)]()}))}[rt(479)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(411)],i=null!==i?i:t[s(407)];const n=this[s(507)][s(518)](e,i),r={diffData:n[s(630)],authorsIds:n[s(565)],fromVersion:e,toVersion:i};if(!t||i!==t[s(407)]){const t=i-1,e=this[s(545)][s(629)][s(581)](t);r[s(469)]=e&&e[s(469)]||new Date}if(this[s(660)]&&e===this[s(660)][s(411)])for(const t of this[s(660)][s(535)])r[s(565)][s(626)](t.id)||r[s(565)][s(496)](t.id);return r}[rt(550)](t,e,i){const s=rt;if(this[s(400)][s(431)](t)){const n=this[s(400)][s(450)](t);e=i?{...n,...e}:{...e,...n}}this[s(400)][s(676)](t,e)}[rt(591)](t){const e=rt,i=this[e(421)][e(393)](t.id);if(t[e(469)]&&(t[e(469)]=new Date(t[e(469)])),t[e(565)]){const i=this[e(471)][e(368)][e(450)](e(551));t[e(535)]=t[e(565)][e(403)]((t=>i[e(498)](t)))}i[e(522)](t,!0)}[rt(489)](t){const e=rt,i=this[e(421)][e(393)](this[e(421)][e(579)]-1);if(i)this[e(641)]=i.id;else{const i=!this[e(471)][e(442)][e(525)][e(639)][e(635)]((t=>this[e(471)][e(442)][e(505)](t))),s=this[e(471)][e(368)][e(450)](e(551)).me.id,n=Q(this[e(471)][e(613)],e(i?379:619));this[e(433)]({from:t,to:t,id:this[e(641)],name:n,creatorId:s})}}[rt(601)](t){const e=rt,i=this[e(545)][e(414)]();this[e(481)]=this[e(421)][e(393)](i),this[e(481)]||(this[e(481)]=this[e(433)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(689)](){const t=rt;this[t(488)]&&!this[t(660)]&&(await this[t(472)][t(485)](this[t(481)],this[t(547)]),this[t(507)][t(577)](this[t(481)]),this[t(660)]={fromVersion:this[t(481)][t(411)],authors:this[t(481)][t(535)][t(405)]()})}[rt(463)](e,i){const s=rt;let n=this[s(471)][s(573)][s(450)](s(375)),r=this[s(471)][s(573)][s(450)](s(541));if(void 0===n){n={};for(const t of this[s(471)][s(442)][s(525)][s(685)]())n[t]=""}if(s(592)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(471)][s(442)][s(525)][s(685)]())r[t]={}}let o=!1;const a=Object[s(594)](n),c=Object[s(594)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(415)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(594)](r[t])[s(579)]>0){o=!0;break}}o||(o=c[s(490)]((t=>!this[s(471)][s(442)][s(525)][s(426)](t)))),o&&(0,t.logWarning)(s(549),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(471)][s(573)][s(676)](s(375),e),this[s(471)][s(573)][s(676)](s(541),i)}[rt(563)](){const t=rt;if(!this[t(671)]){const e=this[t(471)][t(368)][t(450)](t(468));this[t(671)]=e[t(587)](Q(this[t(471)][t(613)],t(464)))}}[rt(523)](){const t=rt;this[t(671)]&&(this[t(471)][t(368)][t(450)](t(468))[t(447)](this[t(671)]),this[t(671)]=null)}[rt(608)](t){const e=rt,i=this[e(421)][e(441)]();i[e(636)]();let s=0;for(;s<i[e(579)];){const n=i[s];if(n===this[e(481)]){s++;continue}if(n.id===this[e(641)])break;const r=t[e(407)]-n[e(407)]||t[e(411)]-n[e(411)];if(r>0)break;if(r<0)s++;else{if(!t[e(419)]&&n[e(419)])break;if(n[e(419)]||!t[e(419)]){if(t[e(469)]>n[e(469)])break;s++}else s++}}return s}[rt(667)](t){const e=rt,i=this[e(421)][e(441)]();i[e(636)](),i[e(386)]();const s=i[e(635)]((i=>i[e(407)]<=t))[e(407)];return s<this[e(611)]?this[e(611)]:s}[rt(433)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(479)]({from:e,to:i});o[r(459)]=t,o[r(495)]=s,o.id=n;const a=this[r(662)](o);return this[r(547)]&&this[r(550)](o.id,o,!0),a}[rt(499)](){const t=rt;this[t(471)][t(681)][t(558)](t(417))[t(650)]({model:t(493)})}}class at{[rt(471)];[rt(584)];[rt(531)];[rt(571)];[rt(600)];[rt(542)];[rt(534)];[rt(677)];[rt(439)];[rt(487)];[rt(638)];[rt(648)];[rt(568)];[rt(461)];[rt(651)];[rt(409)];[rt(516)];constructor(t){const e=rt;this[e(471)]=t,this[e(531)]=new Map,this[e(571)]=-1,this[e(600)]=-1,this[e(542)]=new Map,this[e(534)]=new Map,this[e(677)]=new Map,this[e(439)]=new Map,this[e(487)]=new Map,this[e(638)]=new Map,this[e(648)]=new Map,this[e(568)]=new Map,this[e(461)]=new Map,this[e(651)]=new Map,this[e(409)]=1}[rt(684)](t){const e=rt;this[e(584)]=t;const i=new Map,s=new Map,n=this[e(471)][e(442)][e(525)][e(639)][e(403)]((t=>t[e(567)]));for(const t of n){const n=this[e(471)][e(442)][e(525)][e(426)](t),r=lt(n);i[e(676)](t,r),s[e(676)](t,Object[e(465)](n[e(640)]()))}const r=Array[e(605)](this[e(471)][e(442)][e(553)])[e(403)]((t=>[t[e(459)],t[e(430)]()])),o=this[e(584)][e(420)];this[e(548)](o,i,r,s),this[e(516)]=this[e(409)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(676)](t,i),c[e(676)](t,{})}this[e(548)](Number[e(586)],a,[],c)}[rt(518)](t,e){const i=rt;if(this[i(571)]===t&&this[i(600)]<=e)this[i(531)][i(603)]>1&&this[i(615)](this[i(600)]),this[i(680)](this[i(600)],e,!0);else{if(!this[i(531)][i(431)](t)){const e=this[i(412)](t);this[i(432)](e,t,!1)}this[i(432)](t,e,!0)}return this[i(571)]=t,this[i(600)]=e,this[i(582)]()}[rt(577)](t){const e=rt,i=this[e(471)][e(368)][e(450)](e(678));this[e(389)](),this[e(571)]=t[e(411)],this[e(600)]=t[e(407)];for(const s in t[e(630)]){const n=t[e(630)][s][e(445)],r=A(t[e(630)][s][e(654)])||{},o=i[e(617)](t[e(630)][s][e(449)]);o[e(567)]=s,o[e(437)]=!n||!n[e(526)],o[e(526)]=()=>o[e(437)],this[e(439)][e(676)](s,o),this[e(487)][e(676)](s,r),n&&this[e(651)][e(676)](s,n);const a=this[e(524)](o);this[e(648)][e(676)](s,a);for(const[t,i]of o[e(553)]){if(!t[e(554)](e(588)))continue;const s=t[e(564)](":")[2];for(const t of i[e(436)]({singleCharacters:!0})){const i=this[e(668)](t),n=e(634)==t[e(486)]?t[e(659)][e(491)][e(405)](0,-1):t[e(659)][e(491)],r=a[e(424)](n)[e(380)](i);this[e(568)][e(676)](r,{userId:s})}}}this[e(516)]=this[e(409)];const s=[...Array(this[e(409)])[e(594)]()][e(405)](1)[e(637)]((t=>!this[e(568)][e(431)](t)));let n=0;const r=new Map;for(const o in t[e(630)]){const a=t[e(630)][o][e(445)],c=A(t[e(630)][o][e(537)])||{},u=i[e(617)](t[e(630)][o][e(597)]);u[e(567)]=o,u[e(437)]=!a||a[e(526)],u[e(526)]=()=>u[e(437)],this[e(534)][e(676)](o,u),this[e(677)][e(676)](o,c);const l=this[e(524)](u,Number[e(586)]);this[e(638)][e(676)](o,l),r[e(676)](o,u[e(526)]()?c:{});for(const[t,i]of u[e(553)]){if(!t[e(554)](e(588)))continue;const s=t[e(564)](":")[2];for(const t of i[e(436)]({singleCharacters:!0})){const i=this[e(668)](t),n=this[e(409)]++,r=e(634)==t[e(486)]?t[e(659)][e(491)][e(405)](0,-1):t[e(659)][e(491)];l[e(424)](r)[e(607)](i,n),this[e(568)][e(676)](n,{userId:s})}}for(const t of this[e(471)][e(442)][e(434)](u)[e(436)]({singleCharacters:!0})){const i=this[e(668)](t),r=e(634)==t[e(486)]?t[e(659)][e(491)][e(405)](0,-1):t[e(659)][e(491)],o=l[e(424)](r);o[e(380)](i)>0||o[e(607)](i,s[n++])}for(const[t,i]of u[e(553)])t[e(554)](e(588))||this[e(542)][e(676)](t,i)}const o=ht(e(532));this[e(439)][e(676)](e(532),o),this[e(648)][e(676)](e(532),this[e(524)](o,1));const a=ht(e(532));this[e(534)][e(676)](e(532),a),this[e(638)][e(676)](e(532),this[e(524)](a,1));const c=Array[e(605)](this[e(534)])[e(403)]((([t,e])=>[t,lt(e)]));this[e(548)](this[e(600)],c,this[e(542)],r)}[rt(520)](){const t=rt;this[t(389)](),this[t(571)]=-1,this[t(600)]=-1,this[t(531)][t(595)](),this[t(684)](this[t(584)])}[rt(548)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(676)](t,{start:e[n(427)][n(673)](),end:e[n(536)][n(673)](),rootName:e[n(646)][n(567)]});this[n(531)][n(676)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(615)](t){const e=rt;this[e(531)][e(401)](t)}[rt(389)](){const t=rt;this[t(568)][t(595)](),this[t(461)][t(595)](),this[t(651)][t(595)](),this[t(534)][t(595)](),this[t(677)][t(595)](),this[t(439)][t(595)](),this[t(487)][t(595)](),this[t(638)][t(595)](),this[t(648)][t(595)](),this[t(542)][t(595)](),this[t(409)]=1,this[t(516)]=this[t(409)]}[rt(524)](t,e=null){const i=rt;let s=null;t.is(i(474))||(s=new Z.Element(t[i(459)],{vid_start:null===e?this[i(409)]++:e++}));const n=[];for(const s of t[i(483)]())if(s.is(i(585))){n[i(496)](this[i(524)](s,e));const t=n[n[i(579)]-1];null!==e&&(e=t.is(i(585),i(423))?t[i(380)](i(497))+1:t[i(380)](i(484))+1)}else for(let t=0;t<s[i(504)];t++)n[i(496)](new Z.Element(i(423),{vid:null===e?this[i(409)]++:e++}));if(t.is(i(474))){const e=ht(t[i(567)]);return e[i(476)](0,n),e}return s[i(607)](i(484),null===e?this[i(409)]++:e++),s[i(476)](0,n),s}[rt(432)](t,e,i){const s=rt;this[s(389)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(531)][s(450)](t);this[s(439)]=new Map(n),this[s(487)]=new Map(A(o));for(const[t,e]of this[s(439)])if(s(532)!==t&&(this[s(534)][s(676)](t,lt(e)),this[s(677)]=new Map(A(o)),i)){const i=this[s(409)];this[s(638)][s(676)](t,this[s(524)](e)),this[s(648)][s(676)](t,this[s(524)](e,i))}this[s(516)]=this[s(409)],this[s(534)][s(676)](s(532),lt(this[s(439)][s(450)](s(532)))),i&&this[s(638)][s(676)](s(532),this[s(524)](this[s(439)][s(450)](s(532))));for(const[t,e]of r){const i=this[s(439)][s(450)](e[s(567)]),n=this[s(534)][s(450)](e[s(567)]),r=new Z.Range(this[s(444)](e[s(427)],i),this[s(444)](e[s(536)],i)),o=this[s(574)](r,n);i[s(553)][s(676)](t,r),this[s(542)][s(676)](t,o)}this[s(680)](t,e,i)}[rt(680)](t,e,i){const s=rt;for(const n of this[s(584)][s(616)](t,e))this[s(679)](n,i);for(const t of this[s(534)][s(371)]())t[s(553)][s(595)]();for(const[t,e]of this[s(542)])this[s(534)][s(450)](e[s(646)][s(567)])[s(553)][s(676)](t,e[s(673)]());const n=new Map,r=new Map;for(const[t,e]of this[s(534)])n[s(676)](t,lt(e)),r[s(676)](t,this[s(677)][s(450)](t));this[s(548)](e,n,this[s(542)],r)}[rt(412)](t){const e=rt,i=Array[e(605)](this[e(531)][e(594)]());i[e(552)](((t,e)=>t-e)),i[e(636)]();for(const e of i)if(e<t)return e;return Number[e(586)]}[rt(370)](t,e){const i=rt,s=Array[i(605)](e[i(553)])[i(403)]((([e,s])=>[e,this[i(574)](s,t)]));t[i(553)]=new Map(s)}[rt(385)](t){const e=rt;for(const i of this[e(542)][e(371)]()){const s=i[e(408)](t),n=Z.Range[e(413)](s);i[e(427)]=n[e(427)],i[e(536)]=n[e(536)]}}[rt(679)](t,e){const i=rt;if(i(478)!=t[i(486)]&&i(406)!=t[i(486)]){if(i(604)==t[i(486)]){const s=t[i(512)][i(646)][i(567)];this[i(534)][i(431)](s)||(this[i(534)][i(676)](s,ht(s,!0)),this[i(677)][i(676)](s,{}),e&&this[i(638)][i(676)](s,ht(s,!0)))}else{if(i(492)==t[i(486)]||i(539)==t[i(486)]||i(632)==t[i(486)])return void this[i(529)](t);i(416)==t[i(486)]&&this[i(675)](t)}if(i(416)!==t[i(486)]){const e=this[i(521)](t,this[i(534)]);e[i(451)](),this[i(385)](e)}if(e)switch(t[i(486)]){case i(604):this[i(687)](t);break;case i(663):case i(447):case i(452):this[i(392)](t);break;case i(627):this[i(610)](t);break;case i(564):this[i(467)](t)}}else this[i(653)](t,e)}[rt(521)](t,e){const i=rt,s=t[i(673)]();return s[i(517)]=t[i(517)],this[i(440)](s,e),s}[rt(599)](t){const e=rt;return t[e(403)]((t=>{const i=e,s=this[i(668)](t);return Number(t[i(410)][i(380)](s))}))}[rt(494)](t,e){const i=rt;if(t.is(i(585),i(423)))e[i(496)]({item:t,type:i(533)});else{t.is(i(585))&&e[i(496)]({item:t,type:i(422)});for(const s of t[i(483)]())this[i(494)](s,e);t.is(i(585))&&e[i(496)]({item:t,type:i(634)})}return e}[rt(582)](){const t=rt,e=new Map(this[t(568)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(439)][t(594)](),...this[t(534)][t(594)]()]);a[t(401)](t(532));for(const e of a){const i=this[t(534)][t(450)](e)||ht(e,!1),s=this[t(439)][t(450)](e)||ht(e,!1);i[t(526)]()||s[t(526)]()?(n[t(597)][e]=lt(i),n[t(449)][e]=lt(s),this[t(370)](n[t(449)][e],s),this[t(370)](n[t(597)][e],i),r[t(597)][e]=this[t(494)](this[t(638)][t(450)](e),[]),r[t(449)][e]=this[t(494)](this[t(648)][t(450)](e)||ht(e,!1),[])):a[t(401)](e)}for(const n of a){const o=r[t(597)][n];for(const n of o){const r=this[t(668)](n),o=n[t(410)][t(380)](r);i[t(401)](o),o>=this[t(516)]&&s[t(676)](o,e[t(450)](o))}}for(const n of a){const a=r[t(597)][n],c=this[t(599)](r[t(449)][n]);let u=0;for(const n of a){const r=this[t(668)](n),a=n[t(410)][t(380)](r);if(!s[t(431)](a)&&!o[t(431)](a))if(i[t(431)](a))u++;else{if(a!=c[u]){const s=e[t(450)](a)||e[t(450)](c[u]);for(;a!=c[u];)i[t(431)](c[u])||(o[t(676)](c[u],s),e[t(676)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(597)][e];for(const e of n){const n=this[t(668)](e),r=e[t(410)][t(380)](n);if(o[t(431)](r)){const e=o[t(450)](r);i[t(431)](r)||i[t(676)](r,{...e}),s[t(676)](r,{...e})}}}for(const e of i[t(594)]())e>=this[t(516)]&&i[t(401)](e);const c=new Map;for(const e of a){let n=r[t(597)][e];for(const e of n)if(e[t(410)].is(t(585),t(509))){const i=this[t(668)](e),n=e[t(410)][t(380)](i);if(s[t(431)](n)){const i=e[t(410)][t(448)][t(448)][t(380)](t(576)),r=c[t(450)](i)||new Set;r[t(587)](s[t(450)](n)[t(501)]),c[t(676)](i,r)}}n=r[t(449)][e];for(const e of n)if(e[t(410)].is(t(585),t(509))){const s=this[t(668)](e),n=e[t(410)][t(380)](s);if(i[t(431)](n)){const s=e[t(410)][t(448)][t(448)][t(380)](t(576)),r=c[t(450)](s)||new Set;r[t(587)](i[t(450)](n)[t(501)]),c[t(676)](s,r)}}for(const e of c[t(594)]())(s[t(431)](e)||i[t(431)](e))&&c[t(401)](e)}for(const e of a){const n=r[t(597)][e];let o=null,a=null;for(const e of n){const n=this[t(668)](e),r=e[t(410)][t(380)](n),u=c[t(450)](r);u&&t(422)==e[t(486)]&&(o=Array[t(605)](u)[0],a=e[t(410)][t(380)](t(484))),o&&(i[t(676)](r,{userId:o}),s[t(676)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(449)][e],a=n[t(597)][e];for(const{userId:e}of this[t(461)][t(371)]())null!==e&&l[t(587)](e);for(const{userId:e}of this[t(651)][t(371)]())null!==e&&l[t(587)](e);this[t(460)](a,r[t(597)][e],s,t(446),l),this[t(460)](o,r[t(449)][e],i,t(453),l),u[e]={insertions:this[t(559)](a),deletions:this[t(559)](o),attachChange:this[t(651)][t(450)](e)||null,attributesBefore:A(this[t(487)][t(450)](e))||{},attributesAfter:A(this[t(677)][t(450)](e))}}return{diffData:u,authorsIds:Array[t(605)](l)}}[rt(373)](t){const e=rt;for(const[,i]of t[e(553)]){const t=i[e(427)][e(628)]()[e(637)]((t=>e(509)==t[e(459)]));for(const i of t)1==i[e(666)]&&i[e(510)](0).is(e(585),e(583))&&i[e(510)](0)[e(607)](e(570),!0)}}[rt(559)](t){const e=rt;this[e(373)](t);const i=this[e(471)][e(555)][e(578)](t,{}),s=Array[e(605)](i[e(483)]())[e(403)]((t=>this[e(655)](t)));return JSON[e(482)](s)}[rt(655)](t){const e=rt;if(t.is(e(423)))return t[e(555)];{const i=this[e(471)][e(368)][e(450)](e(678)),s=t,n=this[e(471)][e(555)][e(543)][e(503)],r={type:i[e(674)](s),name:s[e(459)],attributes:Array[e(605)](s[e(640)]()),children:Array[e(605)](s[e(483)]())[e(403)]((t=>this[e(655)](t)))};if(t.is(e(657))&&e(429)!=t[e(459)]){const i=t[e(561)](n[e(652)],n);r[e(399)][e(496)](i[e(456)])}else if(t.is(e(625))){const i=n[e(652)][e(544)](s[e(459)]);t[e(561)](i,n),r[e(399)][e(496)](i[e(477)])}const o=Array[e(605)](s[e(397)]());o[e(579)]>0&&(r[e(475)]=o);const a=s[e(384)]();return null!==a&&(r[e(575)]=a),r}}[rt(460)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(471)][r(442)];for(let s=0;s<e[r(579)];s++){const n=this[r(668)](e[s]),c=e[s][r(410)][r(380)](n),h=i[r(450)](c),d=s==e[r(579)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(501)]!=o[r(501)])&&(l(h,dt(a,t,u),dt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,dt(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(501)],d=l(588)+s+":"+h+":"+c++,f=u[l(428)](i,a);t[l(553)][l(676)](d,f),null!==h&&n[l(587)](h)}}[rt(668)](t){const e=rt;switch(t[e(486)]){case e(422):return e(576);case e(634):return e(484);default:return e(497)}}[rt(440)](t,e){const i=rt;t[i(506)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(450)](n[i(646)][i(567)]);t[s]=this[i(444)](n,r)}if(n instanceof Z.Range){const r=e[i(450)](n[i(646)][i(567)]);t[s]=this[i(574)](n,r)}i(646)===s&&(t[i(646)]=e[i(450)](t[i(646)][i(567)]))}}[rt(574)](t,e){const i=rt;return this[i(471)][i(442)][i(428)](this[i(444)](t[i(427)],e),this[i(444)](t[i(536)],e))}[rt(444)](t,e){const i=rt;return this[i(471)][i(442)][i(593)](e,t[i(491)],t[i(381)])}[rt(687)](t){const e=rt,i=this[e(638)][e(450)](t[e(512)][e(646)][e(567)]),s=this[e(444)](t[e(512)],i),n=null===t[e(517)]?null:t[e(517)]||this[e(471)][e(368)][e(450)](e(551)).me.id,r=s[e(448)],o=this[e(409)],a=[];for(const i of t[e(438)])if(i.is(e(585)))a[e(496)](this[e(524)](i));else for(let t=0;t<i[e(504)];t++)a[e(496)](new Z.Element(e(423),{vid:this[e(409)]++}));const c=this[e(409)];for(let t=o;t<c;t++)this[e(568)][e(676)](t,{userId:n});r[e(476)](s[e(566)],a)}[rt(392)](t){const e=rt;(t=this[e(521)](t,this[e(638)]))[e(451)]();const i=null===t[e(517)]?null:t[e(517)]||this[e(471)][e(368)][e(450)](e(551)).me.id,s=t[e(540)](),n=s[e(448)],r=s[e(566)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(510)](e);r.is(a(585),a(423))?s[a(676)](r[a(380)](a(497)),{userId:i}):(s[a(676)](r[a(380)](a(576)),{userId:i}),t(s,r,0,r[a(666)]),s[a(676)](r[a(380)](a(484)),{userId:i}))}}(this[e(568)],n,r,r+t[e(455)])}[rt(610)](t){const e=rt,i=null===(t=this[e(521)](t,this[e(638)]))[e(517)]?null:t[e(517)]||this[e(471)][e(368)][e(450)](e(551)).me.id,s=t[e(562)][e(448)],n=t[e(633)][e(448)],r=s[e(380)](e(484)),o=n[e(380)](e(576));s[e(607)](e(484),n[e(380)](e(484))),n[e(607)](e(484),r),this[e(568)][e(676)](o,{userId:i}),this[e(568)][e(676)](r,{userId:i}),t[e(451)]()}[rt(467)](t){const e=rt,i=null===(t=this[e(521)](t,this[e(638)]))[e(517)]?null:t[e(517)]||this[e(471)][e(368)][e(450)](e(551)).me.id,s=t[e(457)],n=t[e(598)][e(448)];t[e(451)]();const r=n[e(380)](e(484)),o=t[e(513)][e(688)];if(s){const t=o[e(380)](e(484)),s=n[e(380)](e(484));n[e(607)](e(484),t),o[e(607)](e(484),s),this[e(568)][e(676)](n[e(380)](e(484)),{userId:i}),this[e(568)][e(676)](o[e(380)](e(576)),{userId:i})}else{const t=this[e(409)]++,s=this[e(409)]++;n[e(607)](e(484),t),o[e(607)](e(576),s),o[e(607)](e(484),r),this[e(568)][e(676)](t,{userId:i}),this[e(568)][e(676)](s,{userId:i})}}[rt(675)](t){const e=rt;if(!t[e(367)])return;const i=(t=this[e(521)](t,this[e(534)]))[e(612)]?t[e(612)][e(646)]:null,s=t[e(623)]?t[e(623)][e(646)]:null;i&&this[e(542)][e(401)](t[e(459)]),s&&this[e(542)][e(676)](t[e(459)],t[e(623)][e(673)]());const n=null===t[e(517)]?null:t[e(517)]||this[e(471)][e(368)][e(450)](e(551)).me.id,r=t[e(459)];if(!this[e(461)][e(431)](r))return void this[e(461)][e(676)](r,{range:t[e(612)],userId:n});const o=this[e(461)][e(450)](r),a=o[e(382)],c=t[e(623)];null==a&&null==c||a&&c&&a[e(394)](c)?this[e(461)][e(401)](t[e(459)]):o[e(501)]=n}[rt(653)](t,e){const i=rt;this[i(534)][i(431)](t[i(567)])?this[i(534)][i(450)](t[i(567)])[i(437)]=t[i(572)]:(this[i(534)][i(676)](t[i(567)],ht(t[i(567)],!0)),this[i(677)][i(676)](t[i(567)],{}),e&&this[i(638)][i(676)](t[i(567)],ht(t[i(567)],!0)));const s=null===t[i(517)]?null:t[i(517)]||this[i(471)][i(368)][i(450)](i(551)).me.id,n=this[i(651)][i(450)](t[i(567)]);n&&n[i(501)]===s?this[i(651)][i(401)](t[i(567)]):this[i(651)][i(676)](t[i(567)],{userId:s,isAttached:t[i(572)]})}[rt(529)](t){const e=rt,i=this[e(677)][e(450)](t[e(646)][e(567)]);null===t[e(580)]?delete i[t[e(527)]]:i[t[e(527)]]=t[e(580)]}}function ct(t,e){const i=ut();return(ct=function(t,e){return i[t-=366]})(t,e)}function ut(){const t=["_getState","paragraph","source","element","NEGATIVE_INFINITY","add","revision:","domainLimit","710570bheQqV","setRevisionData","string","createPositionFromPath","keys","clear","revisionHistoryLicenseKeyExpired","insertions","splitPosition","_getBaseVids","_lastTo","_createCurrentRevision","featureNotAllowed","size","insert","from","bind","_setAttribute","_findInsertionIndex","upcast","_handleMergeOperation","_startingVersion","oldRange","locale","179MrtyHg","_removeMetaData","getOperations","_makeModelFromViewString","revisionHistoryLicenseKeyEvaluationLimit","Initial revision","133UtFrab","getLatestVersion","addRevision","newRange","finally","rawElement","includes","merge","getAncestors","history","diffData","createPositionAfter","changeRootAttribute","sourcePosition","elementEnd","find","reverse","filter","_idsRoots","roots","getAttributes","_initialRevisionId","afterInit","resolve","2789912FMCpYj","saveRevision","root","RevisionsRepository","_baseIdsRoots","_appendChild","markerToData","_touchedRoots","domDocument","_handleRootOperation","attributesBefore","_getViewJson","9OkBpeA","uiElement","1880043sOnbrQ","previousPosition","_loadedStateData","169788COWyrB","addRevisionData","move","_clone","ready","childCount","_getFromVersion","_getVidAttributeName","isPremiumPlugin","trialLimit","_pendingAction","invalid","clone","_getTypeCharForViewElement","_handleMarkerOperation","set","_diffRootsAttributes","RevisionHistoryUtils","_handleOperation","_applyOperations","conversion","expired","getIndex","init","getRootNames","then","_handleInsertOperation","nodeAfter","_loadState","RevisionTracker","affectsData","plugins","getTime","_copyMarkers","values","createPositionAt","_processRootBeforeSave","getRevisionRootsAttributes","initialData","isReady","revisionHistoryLicenseKeyTrialLimit","revisionHistoryLicenseKeyValid","Empty document","getAttribute","stickiness","range","revisionHistoryLicenseKeyNotAllowed","getFillerOffset","_transformMarkers","shift","initial","usageLimit","_reset","_licenseKeyCheckInterval","_isPendingUpdate","_handleMoveOperation","getRevision","isEqual","createRevision","pluginName","getCustomProperties","562260vTOYWg","children","_bufferedUpdates","delete","licenseKey","map","RealTimeCollaborationClient","slice","detachRoot","toVersion","getTransformedByOperation","_revisionId","item","fromVersion","_getPreviousFrom","_createFromRanges","getCurrentRevisionId","trim","marker","dataDowncast","update","creator","version","repository","elementStart","$text","getNodeByPath","revisionHistory.resumeUnsavedRevision","getRoot","start","createRange","$comment","getRange","has","_calculateMetaData","_makeRevision","createRangeIn","sendBufferedUpdates","getWalker","_isAttached","nodes","_baseRoots","_fixOperation","getRevisions","model","requires","_fixPosition","attachChange","insertion","remove","parent","deletions","get","_execute","reinsert","deletion","revisionHistoryLicenseKeyInvalid","howMany","outerHTML","graveyardPosition","15DqlKLG","name","_markChanges","_touchedMarkers","collaboration.channelId","_replaceEditorDataWithRevisionData","PENDING_ACTION_REVISION_HISTORY","fromEntries","max","_handleSplitOperation","PendingActions","createdAt","_isInit","editor","_utils","getRevisionDocumentData","documentFragment","customProperties","_insertChild","innerHTML","addRoot","buildRevisionData","createPositionBefore","currentRevision","stringify","getChildren","vid_end","loadRevisionData","type","_baseRootsAttributes","_continueCurrentRevision","_createInitialRevision","some","path","addRootAttribute","revision","_generateTape","creatorId","push","vid","getUser","_setConversion","isOfficialPlugin","userId","dataToMarker","domConverter","offsetSize","hasContent","baseVersion","_revisionDataBuilder","evaluationLimit","tableCell","getChild","isEnabled","position","insertionPosition","destroy","RevisionHistory","_startingRevisionId","_authorId","getData","_showLicenseError","reInit","_cloneOperation","_update","_removePendingAction","_makeIdsRoot","document","isAttached","key","_operations","_handleRootAttributeOperation","906viUCLG","_savedMetaData","$graveyard","text","_diffRoots","authors","end","attributesAfter","revisionHistoryLicenseKeyDomainLimit","removeRootAttribute","getMovedRangeStart","rootsAttributes","_markers","htmlProcessor","createElement","_source","define","adapter","_saveMetaData","editor-initial-data-replaced-with-revision-data","_bufferUpdate","Users","sort","markers","startsWith","data","revisionHistoryLicenseKeyUsageLimit","updateRevisions","for","_prepareViewToSave","setSource","render","targetPosition","_addPendingAction","split","authorsIds","offset","rootName","_touched","139518sGeZYs","keepParagraph","_lastFrom","isAdd","config","_fixRange","fillerOffset","vid_start","loadState","toView","length","newValue","getOperation"];return(ut=function(){return t})()}function lt(t){const e=rt,i=ht(t[e(567)],t[e(526)]());for(const s of t[e(483)]()){const t=s[e(664)](!0);i[e(649)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(567)]=t,s[i(437)]=e,s[i(526)]=()=>s[i(437)],s}function dt(t,e,i){const s=rt,n=s(634)==t[s(486)]?i[s(372)](t[s(410)],s(536)):i[s(480)](t[s(410)]);return i[s(593)](e,n[s(491)],n[s(381)])}function ft(t,e,i){const s=rt,n=s(422)==t[s(486)]?i[s(372)](t[s(410)],0):i[s(631)](t[s(410)]);return i[s(593)](e,n[s(491)],n[s(381)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Mt;function Mt(t,e){const i=Dt();return(Mt=function(t,e){return i[t-=272]})(t,e)}!function(t){const e=Mt,i=t();for(;;)try{if(499483===parseInt(e(308))/1*(parseInt(e(291))/2)+parseInt(e(287))/3*(parseInt(e(283))/4)+parseInt(e(303))/5+-parseInt(e(277))/6+parseInt(e(281))/7+-parseInt(e(313))/8*(-parseInt(e(293))/9)+-parseInt(e(280))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Vt extends pt.View{[At(295)];[At(299)];[At(288)];constructor(e,i){const s=At;super(e),this[s(295)]=new t.FocusTracker,this[s(299)]=new t.KeystrokeHandler,this[s(284)](s(307),""),this[s(288)]=this[s(273)](i),this[s(272)]({tag:s(292),attributes:{class:["ck",s(278),s(306)],tabindex:"-1"},children:[this[s(288)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(297)](){const t=At;super[t(297)](),(0,pt.submitHandler)({view:this}),this[t(295)][t(298)](this[t(288)][t(296)]),this[t(299)][t(289)](this[t(296)]);const e=e=>e[t(279)]();this[t(299)][t(284)](t(312),e),this[t(299)][t(284)](t(286),e),this[t(299)][t(284)](t(294),e),this[t(299)][t(284)](t(290),e)}[At(285)](){const t=At;this[t(288)][t(285)]()}get[At(282)](){const t=At;return this[t(288)][t(309)][t(296)][t(274)][t(314)]()}set[At(282)](t){const e=At;this[e(288)][e(309)][e(296)][e(274)]=t[e(314)]()}[At(300)](){const t=At;this[t(288)][t(309)][t(296)][t(274)]="",this[t(288)][t(311)]=null}[At(273)](t){const e=At,i=new pt.LabeledFieldView(this[e(302)],pt.createLabeledInputText),s=i[e(309)];s[e(301)]({attributes:{maxlength:e(276)}});let n=Q(this[e(302)],e(310));return!t&&(n+=" ("+Q(this[e(302)],e(275))+")"),i[e(304)]=n,s.on(e(305),(()=>{const t=e;this[t(307)]=s[t(296)][t(274)][t(314)]()})),i}}function Dt(){const t=["locale","4044475iIXEPR","label","input","ck-responsive-form","revisionNameInputValue","1959YPXUGM","fieldView","Name of the revision","errorText","arrowright","37056JIWxKH","trim","setTemplate","_createRevisionNameInput","value","optional","220","1023534GNkiQJ","ck-revision-history-save-revision-form","stopPropagation","26116650AyAZds","6513654nyzLhC","revisionName","2074796rmQNYj","set","focus","arrowleft","3ObPCWN","revisionNameInputView","listenTo","arrowdown","662lhQqMQ","form","729OGXsOm","arrowup","focusTracker","element","render","add","keystrokes","reset","extendTemplate"];return(Dt=function(){return t})()}const Et=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=172]})(t,e)}function Ft(){const t=["isReadOnly","config","_createSaveRevisionFormView","907558oRCcwT","RevisionTracker","3416037JgqEmD","delegate","1980720ajROGA","25bDMhER","items","editor","hide","show","Save current revision","isReady","256vgfRTC","render","12678325hEcMMK","plugins","requires","10xVBUQY","isEnabled","revisionHistory.requireRevisionName","children","pluginName","revisionName","isPremiumPlugin","Revision history","menuitem","_saveRevisionFormView","view","panelView","Dialog","_registerMenuComponent","componentFactory","Open revision history","ck-button-action","init","showRevisionViewerCallback","addMany","revisionSave","add","menuBar:revisionHistory","isOfficialPlugin","Cancel","The revision name cannot be empty.","bind","set","17298vgEEur","saveRevision","6531TbuXDn","revisionNameInputView","execute","7392oFnnmw","editing","revisionHistory","errorText","_showDialog","focus","submit","Accept","buttonView","reset","isOpen","role","RevisionHistoryUI","menu","76788InmMmw","locale","get"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(577077===parseInt(e(217))/1+parseInt(e(221))/2+parseInt(e(219))/3+parseInt(e(211))/4*(-parseInt(e(222))/5)+-parseInt(e(197))/6*(parseInt(e(194))/7)+-parseInt(e(229))/8*(parseInt(e(192))/9)+-parseInt(e(234))/10*(parseInt(e(231))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends U.Plugin{static get[Et(238)](){return Et(209)}static get[Et(187)](){return!0}static get[Et(240)](){return!0}static get[Et(233)](){return[ot]}[Et(173)];[Et(181)](){const t=Et,e=this[t(224)],i=e[t(232)][t(213)](t(218));e.ui[t(178)][t(185)](t(199),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(175)][n(237)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(190)](n(235)).to(i,n(228),i,n(235),e,n(214),((t,e,i)=>t&&e&&!i)),r[n(205)][n(191)]({icon:mt.IconHistory,label:Q(s,n(241)),tooltip:!0}),u[n(191)]({label:Q(s,n(227)),withText:!0,role:n(172)}),u[n(190)](n(235)).to(i,n(228),i,n(235),e,n(214),((t,e,i)=>t&&e&&!i)),u.on(n(196),(()=>this[n(201)]())),h[n(191)]({label:Q(s,n(179)),withText:!0,role:n(172)}),h[n(190)](n(235)).to(i,n(228),e,n(214),((t,e)=>t&&!e)),h.on(n(196),(()=>{const t=n;e[t(215)][t(213)](t(199))[t(182)](),r[t(207)]=!1,e[t(198)][t(174)][t(202)]()})),c[n(237)][n(185)](u),l[n(237)][n(185)](h),a[n(208)]=n(210),a[n(223)][n(183)]([c,l]),o[n(185)](a),r})),e.ui[t(178)][t(185)](t(186),(()=>this[t(177)]()))}[Et(177)](){const t=Et,e=this[t(224)],i=e[t(212)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(205)][t(191)]({icon:mt.IconHistory,label:Q(i,t(241))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(191)]({label:Q(i,t(227))}),o[t(220)](t(196)).to(s),o.on(t(196),(()=>{this[t(201)]()})),r[t(237)][t(185)](o),n[t(223)][t(185)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(191)]({label:Q(i,t(179))}),c[t(220)](t(196)).to(s),c.on(t(196),(()=>{const i=t;e[i(215)][i(213)](i(199))[i(182)]()})),a[t(237)][t(185)](c),n[t(223)][t(185)](a),s[t(175)][t(237)][t(185)](n),s}[Et(201)](){const t=Et,e=this[t(224)],i=e[t(212)],s=e[t(232)][t(213)](t(176)),n=e[t(232)][t(213)](t(218));function r(n){const r=t;e[r(215)][r(213)](r(236))&&""===n[r(239)]?n[r(195)][r(200)]=Q(i,r(189)):(e[r(232)][r(213)](ot)[r(193)]({name:n[r(239)]}),s[r(225)]())}this[t(173)]||(this[t(216)](),this[t(173)].on(t(203),(()=>r(this[t(173)])))),this[t(173)][t(206)](),s[t(226)]({id:t(184),title:Q(i,t(227)),isModal:!0,content:this[t(173)],actionButtons:[{label:Q(e[t(212)],t(188)),withText:!0,onExecute:()=>s[t(225)]()},{label:Q(e[t(212)],t(204)),class:t(180),withText:!0,onCreate(i){const s=t;i[s(190)](s(235)).to(n,s(228),n,s(235),e,s(214),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(173)])}]})}[Et(216)](){const t=Et,e=this[t(224)],i=e[t(212)];this[t(173)]=new Vt(i,e[t(215)][t(213)](t(236))),this[t(173)][t(230)]()}}function jt(t,e){const i=zt();return(jt=function(t,e){return i[t-=350]})(t,e)}const Pt=jt;function zt(){const t=["span","452UUUOXm","data","set","bindTemplate","_model","ck-revision-change__label","type","author","ck-revision-change","ck-revision-change__","Added by","Removed by","3672712vtZCVn","focus","name","6156520gjqCpE","element","setTemplate","11RqYbFP","1276256OBidME","1964253JKfnKX","add","changeId","ck-annotation","28049460xGkQkX","3093251lTONIA","18335QXyYHN","6ikVdmi","9jwOHKr","1yNklgX","Suggested by","isSuggestion","div"];return(zt=function(){return t})()}!function(t){const e=jt,i=t();for(;;)try{if(389827===parseInt(e(382))/1*(parseInt(e(372))/2)+-parseInt(e(373))/3+-parseInt(e(353))/4*(parseInt(e(379))/5)+parseInt(e(380))/6*(-parseInt(e(378))/7)+-parseInt(e(365))/8*(parseInt(e(381))/9)+parseInt(e(368))/10*(-parseInt(e(371))/11)+parseInt(e(377))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends pt.View{[Pt(375)];[Pt(357)];constructor(t,e){const i=Pt;super(t),this[i(357)]=e,this[i(375)]=e.id;const s=this[i(356)],n=Q(t,e[i(354)][i(350)]?i(383):i(374)==e[i(359)]?i(363):i(364));this[i(355)](i(359),e[i(359)]),this[i(370)]({tag:i(351),attributes:{class:[i(376),i(361),s.to(i(359),(t=>i(362)+t))],tabindex:-1},children:[{tag:i(352),children:[{tag:i(352),attributes:{class:[i(358)]},children:[{text:n}]},{text:" "+e[i(360)][i(367)]}]}]})}[Pt(366)](){const t=Pt;this[t(369)][t(366)]()}}var Ut=Zt;function Ht(){var t=["7558452VHCSzO","930063AuPvhD","2bvhzlr","28YNaTaz","30255MDphEB","24ewQfGp","author","140faRmRb","data","createdAt","rootName","2069832rzdKjX","set","toJSON","54wFwOCG","482733dqckiL","type","4373884cLMvkA","1063959nsQuZF"];return(Ht=function(){return t})()}function Zt(t,e){var i=Ht();return(Zt=function(t,e){return i[t-=116]})(t,e)}!function(t){for(var e=Zt,i=t();;)try{if(755298===-parseInt(e(131))/1+-parseInt(e(134))/2*(parseInt(e(133))/3)+parseInt(e(130))/4+parseInt(e(117))/5*(-parseInt(e(127))/6)+parseInt(e(116))/7*(-parseInt(e(124))/8)+parseInt(e(128))/9*(parseInt(e(120))/10)+-parseInt(e(132))/11*(-parseInt(e(118))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends((0,t.ObservableMixin)()){id;[Ut(119)];[Ut(129)];[Ut(121)];[Ut(123)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(119)]=e[i(119)],this[i(129)]=e[i(129)],this[i(121)]=e[i(121)]||{},this[i(123)]=e[i(123)],this[i(125)](i(122),e[i(122)])}[Ut(126)](){var t=Ut;return{id:this.id,authorId:this[t(119)].id,type:this[t(129)],data:this[t(121)],createdAt:this[t(122)]}}}function Bt(){const t=["28jdzYhZ","3277304UaWskb","1091316VHquXi","changes","15846360FgHDMS","25TcUCqA","1377838XgTTzZ","add","oldRevisionId","881922UxhSvq","45939KygMqW","12488769ZcrSAM","78VDaRRg","_setChanges","newRevisionId"];return(Bt=function(){return t})()}const $t=Yt;function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=341]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(958794===-parseInt(e(341))/1+parseInt(e(347))/2*(parseInt(e(345))/3)+parseInt(e(352))/4*(parseInt(e(355))/5)+parseInt(e(344))/6*(parseInt(e(350))/7)+-parseInt(e(351))/8+-parseInt(e(346))/9+parseInt(e(354))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Gt{[$t(349)];[$t(343)];[$t(353)];constructor(e,i){const s=$t;this[s(349)]=e,this[s(343)]=i,this[s(353)]=new t.Collection}[$t(348)](t){const e=$t;for(const i of t)this[e(353)][e(342)](i)}}var Jt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Jt.A,Kt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Xt=Qt;function Qt(t,e){const i=se();return(Qt=function(t,e){return i[t-=169]})(t,e)}!function(t){const e=Qt,i=t();for(;;)try{if(441380===parseInt(e(455))/1*(-parseInt(e(208))/2)+parseInt(e(494))/3*(parseInt(e(262))/4)+parseInt(e(383))/5*(-parseInt(e(240))/6)+-parseInt(e(394))/7*(-parseInt(e(205))/8)+-parseInt(e(341))/9*(parseInt(e(382))/10)+parseInt(e(402))/11*(parseInt(e(391))/12)+parseInt(e(428))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(se);class te extends U.Plugin{[Xt(456)];[Xt(278)]=null;[Xt(447)];[Xt(308)];[Xt(448)];[Xt(492)];[Xt(429)];static get[Xt(477)](){return Xt(409)}static get[Xt(323)](){return!0}static get[Xt(365)](){return!0}static get[Xt(190)](){return[H.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(456)]=this[e(374)][e(384)][e(496)](e(299)),this[e(447)]=this[e(374)][e(384)][e(496)](e(269)),this[e(176)](e(465),null),this[e(176)](e(406),null),this[e(308)]=null,this[e(176)](e(434),null),this[e(176)](e(300),!1),this[e(176)](e(216),!0),this.on(e(346),((t,i,s)=>{const n=e;this[n(465)]=null,this[n(406)]=null,this[n(374)][n(361)][n(266)][n(349)]((t=>{const e=n;for(const i of this[e(374)][e(361)][e(266)][e(253)][e(373)])s?t[e(411)](e(225),i):t[e(191)](e(225),i)}))})),this[e(263)](e(237)).to(this,e(465),(t=>null!==t)),this[e(263)](e(451)).to(this,e(300),this,e(434),this,e(465),((t,i,s)=>t&&s?i[e(229)][e(281)](s):0)),this[e(263)](e(174)).to(this,e(300),this,e(434),((t,i)=>t?i[e(229)][e(344)]:0)),this[e(448)]=null,this[e(492)]=new Map,this[e(429)]=this[e(374)][e(384)][e(496)](pt.ContextualBalloon)}[Xt(485)](){const t=Xt,e=this[t(374)],i=new ne(e,{direction:t(307)}),s=new ne(e,{direction:t(180)});e[t(442)][t(345)](t(268),i),e[t(442)][t(345)](t(273),s),e[t(442)][t(345)](t(274),new ie(e)),this.on(t(396),(()=>{const e=t;i[e(415)](),s[e(415)]()})),this[t(386)](),this[t(490)](),e[t(484)](t(368)),e[t(384)][t(400)](t(259))&&e[t(384)][t(496)](t(259))[t(286)](t(368))}async[Xt(427)](t){const e=Xt;return await this[e(447)][e(185)](t,this[e(278)]),this[e(447)][e(427)](t)}async[Xt(292)](t){const e=Xt;return await this[e(447)][e(185)](t,this[e(278)]),this[e(447)][e(292)](t)}async[Xt(431)](t,e,i=!1){const s=Xt;if(!this[s(216)])return;const n=this[s(434)],r=this[s(456)],o=s(252)==typeof t?r[s(230)](t):t,a=s(252)==typeof e?r[s(230)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(434)]&&this[s(434)][s(257)]===c&&this[s(434)][s(483)]===u)return Promise[s(364)]();this[s(300)]=!1,this[s(406)]=null,this[s(465)]=null,this[s(434)]=new Gt(c,u);const l=this[s(196)](o,a,!0)[s(287)]((t=>this[s(447)][s(185)](t,this[s(278)])));return l[s(468)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(184)](l)[s(418)]((()=>{const t=s;if(!this[t(216)])return;this[t(481)]();const e=this[t(298)](c,u);for(const i of e[t(229)])this[t(492)][t(176)](i.id,i);this[t(374)][t(243)][t(360)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(374)][s(243)][s(253)][s(311)]())i[s(423)](t);for(const t of Object[s(367)](e[s(243)])){const n=i[s(227)](t);for(const r of Object[s(367)](e[s(461)][t]))i[s(320)](r,e[s(461)][t][r],n);i[s(217)](e[s(243)][t],n,0)}})),this[t(434)][t(232)](this[t(194)](e[t(229)])),this[t(300)]=!0}))[s(422)]((t=>{const e=s;console[e(282)](t),this[e(481)](),n&&(this[e(434)]=n),this[e(300)]=!0}))}[Xt(339)](t,e){const i=Xt,s=this[i(456)][i(186)](t);return s.on(i(251),((t,i,n)=>e(i,n,s))),this[i(456)][i(330)](s),s}[Xt(481)](){const t=Xt;this[t(465)]=null,this[t(372)](),this[t(448)]&&this[t(448)][t(179)](),this[t(448)]=null,this[t(492)][t(169)](),this[t(374)][t(243)][t(360)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(374)][i(243)][i(253)][i(311)]())e[i(423)](t)}))}[Xt(194)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(374)][e(243)][e(253)][e(311)]()){const n=this[e(374)][e(361)][e(266)][e(449)](t);if(!n)continue;const r=n[e(355)]()[e(357)](0);r&&(i[e(468)](t),s[e(176)](t,r))}return i[e(301)](((t,i)=>{const n=e,r=s[n(496)](t),o=s[n(496)](i);return r.y-o.y||r.x-o.x})),(t=t[e(413)]((t=>i[e(425)](t[e(441)]))))[e(301)](((t,s)=>i[e(233)](t[e(441)])-i[e(233)](s[e(441)]))),t}[Xt(493)](t){const e=Xt,i=Array[e(199)](t[e(275)])[e(413)]((([t,i])=>t[e(260)](e(332))&&!i[e(210)])),s=Array[e(199)](this[e(374)][e(243)][e(223)](t)[e(236)]({singleCharacters:!0}));if(0!=i[e(344)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(326)](":");if(n[e(486)][e(379)](t[e(285)])&&i[e(175)](),(t[e(212)][e(379)](n[e(343)])||t[e(212)][e(358)](n[e(343)]))&&(e(359)==r?t[e(482)]={userId:o}:e(200)==r&&(t[e(198)]={userId:o})),0==i[e(344)])break}return s}[Xt(290)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(344)];s++)e(410)===t[s][e(437)]?(t[s][e(357)][e(310)]=s,t[s][e(357)][e(397)]=s):(e(392)===t[s][e(437)]?t[s][e(357)][e(310)]=s:e(399)===t[s][e(437)]&&(t[s][e(357)][e(397)]=s),i[e(176)](t[s].id,s));for(const s of i[e(408)]())e(392)===t[s][e(437)]?t[s][e(357)][e(397)]=i[e(496)](t[s][e(211)]):e(399)===t[s][e(437)]&&(t[s][e(357)][e(310)]=i[e(496)](t[s][e(211)]))}[Xt(202)](t){const e=Xt;for(let i=0;i<t[e(344)];i++){if(e(392)===t[i][e(437)])t[i][e(357)][e(310)]=i;else if(e(399)===t[i][e(437)]){t[i][e(357)][e(397)]=i;const s=t[i][e(357)][e(310)];t[s][e(211)]=t[i].id,t[i][e(211)]=t[s].id}else t[i][e(357)][e(310)]=i,t[i][e(357)][e(397)]=i,t[i][e(211)]=null;t[i][e(187)]||(t[i][e(187)]=[],t[i][e(375)]=[])}}[Xt(369)](t,e){const i=Xt,s=t[i(413)]((t=>!t[i(482)]));for(let t=0;t<e[i(344)];t++)e[t][i(482)]&&(s[t][i(482)]=e[t][i(482)])}[Xt(298)](t,e=null){const i=Xt,s=this[i(456)][i(230)](t),n=e?this[i(456)][i(230)](e):null,r=this[i(196)](s,n),o=r[r[i(344)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(344)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(367)](e[i(305)]))if(e[i(305)][t][i(322)]){const s=e[i(305)][t][i(322)];s[i(487)]?(u[i(345)](t),l[i(400)](t)&&l[i(496)](t)[i(258)]==s[i(258)]?l[i(181)](t):l[i(176)](t,s)):l[i(400)](t)?(u[i(181)](t),l[i(181)](t)):(u[i(345)](t),l[i(176)](t,s))}else u[i(345)](t)}for(const t of u){const e=l[i(400)](t)&&!l[i(496)](t)[i(487)];let s=e?r[i(344)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(305)][t]){const s=e?o[i(305)][t][i(395)]:o[i(305)][t][i(389)];c[i(461)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(243)]={};for(const e of t[i(495)])a[i(176)](e.id,e);for(const e of u){const s=t[i(305)][e]?t[i(305)][e][i(303)]:"[]",n=t[i(305)][e]?t[i(305)][e][i(271)]:"[]";t[i(243)][e]={insertions:this[i(447)][i(440)](s),deletions:this[i(447)][i(440)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(199)](s[i(243)][t][i(303)][i(275)])[i(413)]((([t])=>!t[i(260)](i(332)))));let h=0;for(const o of r){const r=this[i(493)](o[i(243)][t][i(303)]);o==s?(e=r,n=e[i(344)],e[i(478)]((t=>{t.id=h++})),this[i(202)](e)):this[i(369)](e,r);const a=e[i(413)]((t=>!t[i(482)]))[i(287)]((t=>t.id));let c=0;const l=this[i(493)](o[i(243)][t][i(271)]);l[i(478)]((t=>{t[i(198)]?t.id=n++:t.id=a[c++]})),this[i(202)](l),this[i(228)](e,i(482)),this[i(228)](l,i(198)),o==s&&this[i(224)](e,u),e=this[i(324)](e,l),this[i(290)](e),this[i(228)](e,i(198))}e=e[i(413)]((t=>!(t[i(482)]&&t[i(198)])));const d=new Map(o[i(243)][t][i(271)][i(275)]),f=new Set(u[i(367)]());for(const t of d[i(367)]())f[i(181)](t);this[i(328)](e,f),this[i(445)](e),e=this[i(206)](e),e=this[i(354)](e),e=this[i(247)](e);const{root:m,changes:p}=this[i(293)](e,a,t);c[i(243)][t]=m;const v=l[i(496)](t);if(v){const e=a[i(496)](v[i(258)]),s=new qt({author:e,type:v[i(487)]?i(345):i(318),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(334)](s),c[i(461)][t][i(347)]=s.id}c[i(229)]=c[i(229)][i(421)](p)}return c}[Xt(224)](t,e){const i=Xt;for(let s=0;s<t[i(344)];s++)for(const[n,r]of e)!r[i(210)]&&r[i(343)][i(379)](t[s][i(212)])&&t[s][i(187)][i(468)](n),r[i(486)][i(379)](t[s][i(285)])&&t[s][i(375)][i(468)](n)}[Xt(324)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(344)]||r<e[i(344)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(468)](o);else if(a[i(198)]&&o[i(482)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(261)](t,n,e,r);s=s[i(421)](o),n=a,r=c}else a[i(198)]?(r++,s[i(468)](a)):(n++,s[i(468)](o))}return s}[Xt(328)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(344)];o++){for(let r=0;r<t[o][i(187)][i(344)];r++){const a=t[o][i(187)][r];if(!e[i(400)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(283)!=c||i(359)!=u&&i(200)!=u||(s[i(334)]({type:u,name:a,userId:l}),t[o][i(187)][i(387)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(375)][i(344)];r++){const a=t[o][i(375)][r];if(!e[i(400)](a))continue;const{group:c,type:u}=n(a);if(i(283)!=c||i(359)!=u&&i(200)!=u)continue;t[o][i(375)][i(387)](r,1),r--;const l=s[i(497)]((t=>t[i(390)]==a));l>-1&&s[i(387)](l,1)}}function n(t){const e=i,s=t[e(326)](":");return{group:s[0],type:s[1],subType:s[e(344)]>=5?s[2]:null,id:s[e(344)]<5?s[2]:s[3],authorId:s[e(344)]<5?s[3]:s[4],markerCount:6==s[e(344)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(344)];i++){if(t[e(482)]&&e(359)==s[i][e(437)])return t[e(170)]=s[i],void delete t[e(482)];if(!t[e(482)]&&!t[e(198)]&&e(200)==s[i][e(437)])return void(t[e(265)]=s[i])}}}[Xt(228)](t,e){const i=Xt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(176)](o.id,s);for(let s=0;s<t[i(344)];s++){if(i(198)==e&&t[s][i(482)]||i(482)==e&&t[s][i(198)])continue;if(i(410)==t[s][i(437)]){t[s][i(291)]=0;continue}const n=r[i(496)](t[s][i(211)]),o=r[i(496)](t[s].id);t[s][i(291)]=n-o}}[Xt(196)](t,e,i=!1){const s=Xt,n=[];let r=this[s(456)][s(281)](t),o=this[s(456)][s(281)](e);for(-1==o&&(o=this[s(456)][s(338)][s(344)],i=!1);r<o;)n[s(468)](this[s(456)][s(230)](r)),r++;return i&&n[s(468)](this[s(456)][s(230)](r)),n}[Xt(261)](t,e,i,s){const n=Xt,r=this[n(374)][n(243)][n(321)];let o=e;for(;t[o]&&t[o][n(482)];)o++;let a=s;for(;i[a]&&i[a][n(198)];)a++;u(t,e,o),u(i,s,a);const c=i[n(472)](s,a)[n(421)](t[n(472)](e,o));return c[n(301)](((t,e)=>t[n(385)]!=e[n(385)]?t[n(385)]-e[n(385)]:t[n(438)]!=e[n(438)]?t[n(438)]-e[n(438)]:t[n(291)]!=e[n(291)]?e[n(291)]-t[n(291)]:!!t[n(482)]!=!!e[n(482)]?-1==t[n(385)]||0==t[n(385)]?t[n(482)]?-1:1:t[n(482)]?1:-1:t[n(302)]-e[n(302)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(284)],c=!0;for(let n=e;n<i;n++)if(r[s(327)](t[n][s(357)])||(c=!1),t[n][s(357)][s(310)]<e&&(o=n),t[n][s(357)][s(397)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(385)]=n<=o?-1:n<a?0:1,t[n][s(302)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(291)]?t[i][s(438)]=u:(u++,t[i][s(438)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(385)]&&(t[n][s(438)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(291)]?t[e][s(438)]=u:(u--,t[e][s(438)]=u,u--)}}[Xt(445)](t){const e=Xt,i=new Map,s=this[e(374)][e(243)][e(321)];for(let n=1;n<t[e(344)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(410)==c[e(437)])continue;if(c[e(437)]!=u[e(437)])continue;if(!s[e(420)](u[e(357)])||s[e(348)](u[e(357)]))continue;if(!s[e(420)](c[e(357)])||s[e(348)](c[e(357)]))continue;if((t[n][e(482)]||t[n][e(170)])&&t[n-1][e(198)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(198)]||!t[n-1][e(482)]&&!t[n-1][e(170)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(438)]==o[e(438)],h=Math[e(419)](r[e(438)])<Math[e(419)](o[e(438)])&&0==o[e(291)];(l||h)&&(i[e(176)](o.id,r.id),t[e(387)](a,1),n--,r[e(482)]=!1)}for(let s=0;s<t[e(344)];s++)i[e(400)](t[s][e(211)])&&(t[s][e(211)]=i[e(496)](t[s][e(211)]))}[Xt(206)](t){const e=Xt,i=new Set(t[e(287)]((t=>t.id)));for(let s=0;s<t[e(344)];s++)i[e(400)](t[s][e(211)])||0==t[s][e(291)]||(t[s][e(254)]=!0);return t[e(413)]((t=>!t[e(254)]))}[Xt(354)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(344)];s++){if(i[e(400)](t[s].id)&&t[s][e(198)]&&(t[s][e(254)]=!0),t[s][e(254)])continue;if(0==t[s][e(291)])continue;if(e(392)!=t[s][e(437)])continue;if(null==t[s][e(211)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(211)];)e(392)==t[n][e(437)]?r++:e(399)==t[n][e(437)]&&r--,n++;if(0!=r)if(t[s][e(198)])t[s][e(254)]=!0;else for(;n!=s;)t[n][e(198)]&&0!=t[n][e(291)]&&(t[n][e(254)]=!0,i[e(345)](t[n][e(211)])),n--}return t[e(413)]((t=>!t[e(254)]))}[Xt(247)](t){const e=Xt,i=this[e(374)][e(243)][e(321)];for(let s=0;s<t[e(344)];s++){if(!(t[s][e(482)]||t[s][e(170)]||t[s][e(198)]||t[s][e(265)]))continue;if(0==t[s][e(291)])continue;const n=t[s][e(357)];i[e(420)](n)||i[e(348)](n)||(t[s][e(482)]&&delete t[s][e(482)],t[s][e(170)]&&delete t[s][e(170)],t[s][e(265)]&&delete t[s][e(265)],t[s][e(198)]&&(t[s][e(254)]=!0))}return t[e(413)]((t=>!t[e(254)]))}[Xt(293)](t,e,i){const s=Xt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(374)][s(243)],c=a[s(321)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(344)];e++)if(s(392)===t[e][s(437)]){t[e][s(212)]=a[s(325)](n,f);const i=new Z.Element(t[e][s(357)][s(390)],t[e][s(357)][s(464)]());u[0][s(488)](i),f[s(468)](0),u[s(334)](i),t[e][s(285)]=a[s(325)](n,f)}else s(399)===t[e][s(437)]?(u[s(175)](),t[e][s(212)]=a[s(325)](n,f),f[s(471)](),f[f[s(344)]-1]++,t[e][s(285)]=a[s(325)](n,f)):(t[e][s(212)]=a[s(325)](n,f),d?d[s(412)]+=t[e][s(357)][s(469)]:d=new Z.Text(t[e][s(357)][s(469)],t[e][s(357)][s(464)]()),t[e+1]&&s(410)===t[e+1][s(437)]&&v(d,t[e+1][s(357)])||(u[0][s(488)](d),d=null),f[f[s(344)]-1]+=t[e][s(357)][s(220)],t[e][s(285)]=a[s(325)](n,f));for(let e=0;e<t[s(344)];e++){const i=t[e][s(212)],n=t[e][s(285)];for(const n of t[e][s(187)])o[s(176)](n,{start:i,end:null});m(s(265),e,i,n),m(s(170),e,i,n),m(s(198),e,i,n),m(s(482),e,i,n);for(const i of t[e][s(375)]){const t=o[s(496)](i);t?t[s(486)]=n:o[s(176)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(374)][s(243)][s(439)](e[s(343)],e[s(486)]);n[s(275)][s(176)](t,i)}return r[s(301)](((t,e)=>{const i=s,r=n[i(275)][i(496)](i(332)+t.id),o=n[i(275)][i(496)](i(332)+e.id);return r[i(343)][i(277)](o[i(343)])?-1:r[i(343)][i(358)](o[i(343)])?1:r[i(486)][i(277)](o[i(486)])?-1:r[i(486)][i(358)](o[i(486)])?1:i(345)===t[i(437)]?-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(258)]:null,d=i===t[o(344)]-1,f=h[e][0],m=c[o(458)](t[i][o(357)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(486)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(258)]!==u&&(l[e][o(486)]=n,f&&f[o(258)]===l[e][o(258)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(392)!==t[i][o(437)]||f&&f[o(258)]===u||h[e][o(334)]({userId:u,object:t[i][o(357)],change:l[e]}),o(399)===t[i][o(437)]&&f&&f[o(295)]===t[i][o(357)]&&(h[e][o(175)](),l[e]=f[o(349)])),l[e]&&d&&(l[e][o(486)]=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(357)],f=a[h(321)][h(420)](d)&&!a[h(321)][h(348)](d),m=t[h(244)]==o[h(193)]&&o[h(463)];if(f&&m)return;const p=a[h(439)](t,o),v=e[h(496)](u),g=new qt({author:v,type:h(482)==l||h(170)==l?h(345):h(318),data:{isSuggestion:h(170)==l||h(265)==l},createdAt:new Date,rootName:i});r[h(468)](g),n[h(275)][h(176)](h(332)+g.id,p)}function v(t,e){const i=s,n=t[i(464)](),r=e[i(464)]();for(const t of n){if(t[1]!==e[i(362)](t[0]))return!1;r[i(479)]()}return r[i(479)]()[i(446)]}}[Xt(386)](){const t=Xt;this[t(374)][t(426)][t(272)](t(178))[t(459)]({view:t(401)}),this[t(374)][t(426)][t(272)](t(436))[t(204)]({model:t(401),view:e=>{const i=t,s=e[i(297)][i(326)](":")[1],n=this[i(453)](s);if(!n)return null;const r=i(345)==n[i(437)]?i(359):i(200),o=[i(188),i(452)+r];return n[i(469)][i(248)]&&o[i(468)](i(452)+r+i(280)),this[i(465)]==n&&o[i(468)](i(177)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(374)][t(426)][t(272)](t(178))[t(345)]((e=>{const i=t;e.on(i(424),((t,e,s)=>{const n=i,r=e[n(192)][n(317)](0);if(!r||!r.is(n(356),n(435)))return;if(!s[n(296)][n(398)](r,{attributes:[n(467),n(335)]}))return;const o=e[n(235)][n(343)][n(244)];s[n(270)][n(320)](n(467),r[n(362)](n(467)),o),s[n(270)][n(320)](n(335),r[n(362)](n(335)),o)}),{priority:i(256)})})),this[t(374)][t(426)][t(272)](t(178))[t(345)]((e=>{const i=t;e.on(i(356),((t,e,s)=>{const n=i;if(!s[n(296)][n(398)](e[n(192)],{attributes:[n(467),n(335)]}))return;if(e[n(235)][n(210)])return;const r=e[n(235)][n(343)][n(244)];r[n(231)](n(467))||r[n(231)](n(470))||(s[n(270)][n(320)](n(467),e[n(192)][n(362)](n(467)),r),s[n(270)][n(320)](n(335),e[n(192)][n(362)](n(335)),r))}),{priority:i(256)})})),this[t(374)][t(426)][t(272)](t(178))[t(370)]({view:{name:t(432),attributes:{vid:!0}},model:{key:t(470),value:e=>e[t(362)](t(470))}}),this[t(374)][t(243)][t(321)].on(t(329),((e,[,i])=>{const s=t;[s(467),s(335),s(470)][s(425)](i)&&(e[s(460)]=!0,e[s(222)]())}),{priority:t(407)}),this[t(374)][t(426)][t(272)](t(377))[t(345)]((e=>{const i=t;e.on(i(182),((t,e,s)=>{const n=i;if(" "!=e[n(357)][n(469)]||e[n(357)][n(193)][n(378)]>1)return;if(!s[n(296)][n(398)](e[n(357)],t[n(390)]))return;const r=s[n(270)],o=s[n(189)][n(353)](e[n(403)]);r[n(444)](o,r[n(218)](n(432)))}))})),this[t(374)][t(426)][t(272)](t(377))[t(319)]({model:t(401)}),this[t(374)][t(361)][t(462)].on(t(241),function(e){const i=t,s=e[i(384)][i(496)](i(409));return(t,n,r)=>{const o=i,a=n[o(297)][o(326)](":")[1],c=s[o(453)](a);if(!c)return null;const u=o(345)==c[o(437)]?o(326):o(203);if(!r[o(296)][o(249)](n[o(489)],t[o(390)]))return;const l=n[o(489)][o(236)](),h=n[o(489)][o(343)],d=e[o(243)][o(321)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(357)];p=p||d[o(213)](e);const i=r[o(189)][o(242)](e);if(i&&i[o(381)](o(250)))return;o(399)==t[o(437)]&&d[o(420)](e)&&!d[o(348)](e)&&(e[o(267)]||h[o(215)]?f&&f[o(193)]==e||(f=e,g(t[o(212)]),v=!0):m=m||t[o(212)])}function g(t){const e=o,i=r[e(270)][e(313)](e(432),{class:e(452)+u}),a=r[e(189)][e(342)](t);c[e(469)][e(248)]&&r[e(270)][e(191)](e(452)+u+e(280),i),s[e(465)]==c&&r[e(270)][e(191)](e(177),i),r[e(270)][e(217)](a,i),r[e(189)][e(264)](i,n[e(297)])}p||v||!m||g(m)}}(this[t(374)]),{priority:t(475)}),this[t(374)][t(361)][t(462)].on(t(454),((e,i,s)=>{const n=t,r=s[n(189)][n(351)](i[n(297)]);if(r)for(const t of r)(t[n(388)](n(376))||t[n(388)](n(201)))&&(s[n(189)][n(363)](t,i[n(297)]),s[n(270)][n(318)](t))}),{priority:t(475)}),this[t(374)][t(361)][t(462)].on(t(241),((e,i,s)=>{const n=t,r=i[n(297)][n(326)](":")[1],o=this[n(453)](r);if(!o)return null;const a=n(345)==o[n(437)]?n(326):n(203);if(s[n(296)][n(249)](i[n(489)],e[n(390)]))for(const t of i[n(489)][n(340)]()){if(!t.is(n(356),n(316)))continue;const e=s[n(270)][n(313)](n(432),{class:n(452)+a}),r=s[n(189)][n(342)](this[n(374)][n(243)][n(289)](t));o[n(469)][n(248)]&&s[n(270)][n(191)](n(452)+a+n(280),e),this[n(465)]==o&&s[n(270)][n(191)](n(177),e),s[n(270)][n(217)](r,e),s[n(189)][n(264)](e,i[n(297)])}}),{priority:t(475)}),this[t(374)][t(243)][t(253)].on(t(349),(()=>{const e=t;this[e(374)][e(361)][e(266)][e(349)]((t=>{const i=e;for(const e of this[i(374)][i(243)][i(253)][i(311)]()){const s=this[i(374)][i(243)][i(253)][i(473)](e),n=this[i(374)][i(361)][i(266)][i(253)][i(473)](e);if(n){const e=s[i(362)](i(347));if(t[i(226)](i(393),n),t[i(411)](i(380),n),t[i(411)](i(430),n),t[i(411)](i(195),n),e){const s=this[i(453)](e);if(!s)return null;t[i(320)](i(393),e,n),t[i(191)](i(474)+s[i(437)],n),this[i(465)]==s&&t[i(191)](i(195),n)}}}}))})),this[t(374)][t(426)][t(272)](t(178))[t(459)]({view:t(480),model:e=>t(350)+e,converterPriority:t(407)}),this[t(374)][t(426)][t(272)](t(178))[t(459)]({view:t(172),model:e=>t(414)+e,converterPriority:t(407)}),this[t(374)][t(426)][t(272)](t(377))[t(319)]({model:t(283),view:e=>({name:t(173)+e,group:t(283)}),converterPriority:t(407)}),this[t(374)][t(426)][t(272)](t(436))[t(204)]({model:t(283),view:e=>{const i=t,s=e[i(297)][i(326)](":")[1];return i(359)!=s&&i(200)!=s?null:{classes:[i(433),i(171)+s]}}}),this[t(374)][t(361)][t(462)].on(t(491),ee(this[t(374)],t(203)),{priority:t(475)}),this[t(374)][t(361)][t(462)].on(t(352),ee(this[t(374)],t(326)),{priority:t(475)}),this[t(374)][t(361)][t(462)].on(t(443),((e,i,s)=>{const n=t,r=s[n(189)][n(351)](i[n(297)]);if(r)for(const t of r)t.is(n(246))&&(s[n(189)][n(363)](t,i[n(297)]),s[n(270)][n(318)](t))}),{priority:t(475)})}[Xt(453)](t){const e=Xt;return this[e(492)][e(496)](t)}[Xt(219)](t){const e=Xt;return this[e(448)]&&this[e(448)][e(179)](),this[e(448)]=new Wt(this[e(374)][e(404)],t),this[e(448)]}[Xt(490)](){const t=Xt;this[t(374)][t(243)][t(253)][t(337)][t(279)](t(401)),this.on(t(366),((e,i,s,n)=>{const r=t;n&&this[r(429)][r(318)](n),s&&(this[r(429)][r(345)]({view:s,stackId:r(405),position:{target:()=>{const t=r,e=this[t(374)][t(361)],i=this[t(453)](s[t(245)]);let n;if(i[t(469)][t(183)]){const s=e[t(266)][t(449)](i[t(441)]);n=Array[t(199)](s[t(355)]())}else{const i=this[t(374)][t(243)][t(275)][t(496)](t(332)+s[t(245)]);n=Array[t(199)](e[t(189)][t(351)](i[t(390)]))[t(287)]((i=>e[t(266)][t(214)][t(315)](i)))[t(287)]((e=>Array[t(199)](e[t(355)]())))[t(312)]()}return this[t(308)]&&n[t(371)]((e=>e[t(288)]-3<=this[t(308)].y&&e[t(221)]+3>=this[t(308)].y&&e[t(294)]-3<=this[t(308)].x&&e[t(239)]+3>=this[t(308)].x))||n[0]}}}),this[r(429)][r(331)](r(405)))})),this.on(t(450),((e,i,s,n)=>{const r=t;this[r(406)]=s?this[r(219)](s):null,this[r(374)][r(243)][r(349)]((()=>{const t=r,e=this[t(374)][t(361)];n&&(n[t(469)][t(183)]?e[t(266)][t(349)]((i=>{const s=t;i[s(411)](s(195),e[s(266)][s(253)][s(473)](n[s(441)]))})):e[t(276)](t(332)+n.id)),s&&(s[t(469)][t(183)]?e[t(266)][t(349)]((i=>{const n=t;i[n(191)](n(195),e[n(266)][n(253)][n(473)](s[n(441)]))})):e[t(276)](t(332)+s.id))}))})),this[t(255)](this[t(374)][t(361)][t(266)][t(253)],t(306),((e,i)=>{const s=t;if(this[s(465)])return;const n=this[s(209)](i[s(314)]),r=this[s(492)][s(496)](n);r?(this[s(308)]={x:i[s(304)].x,y:i[s(304)].y},this[s(406)]=this[s(219)](r)):(this[s(308)]=null,this[s(406)]=null)})),this[t(255)](this[t(374)][t(361)][t(266)][t(253)],t(457),((e,i)=>{const s=t,n=this[s(209)](i[s(314)]),r=this[s(492)][s(496)](n);r?(this[s(308)]={x:i[s(304)].x,y:i[s(304)].y},r===this[s(465)]?this[s(429)][s(234)]():this[s(465)]=r):(this[s(308)]=null,this[s(465)]=null)}))}[Xt(209)](t){const e=Xt;do{const i=t[e(362)](e(393));if(i)return i;t=t[e(193)]}while(t);return null}[Xt(372)](){const t=Xt;this[t(374)][t(243)][t(349)]((e=>{const i=t;for(const t of this[i(374)][i(243)][i(275)])e[i(476)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(296)][r(249)](s[r(489)],i[r(390)]))return;const o=s[r(489)][r(236)](),a=s[r(489)][r(343)],c=t[r(243)][r(321)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(357)];h=h||c[r(213)](e);const i=n[r(189)][r(242)](e);if(i&&i[r(381)](r(250)))return;r(399)==t[r(437)]&&c[r(420)](e)&&!c[r(348)](e)&&(e[r(267)]||a[r(215)]?u&&u[r(193)]==e||(u=e,f(t[r(212)]),d=!0):l=l||t[r(212)])}function f(t){const i=r,o=n[i(189)][i(342)](t),a=n[i(270)][i(313)](i(432),{class:i(171)+e});n[i(270)][i(217)](o,a),n[i(189)][i(264)](a,s[i(297)])}h||d||!l||f(l)}}class ie extends U.Command{constructor(t){const e=Xt;super(t);const i=t[e(384)][e(496)](te);this[e(417)]=!1,this[e(255)](i,e(466),(()=>this[e(415)]())),this[e(255)](i,e(346),(()=>this[e(415)]()))}[Xt(207)](){const t=Xt,e=this[t(374)],i=e[t(384)][t(496)](te),s=i[t(300)]?i[t(434)][t(257)]:null;e[t(333)][t(496)](t(238))[t(309)](s)}[Xt(415)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(374)][t(384)][t(496)](te),r=n&&s[t(416)](n[t(257)]);this[t(216)]=e&&i&&Boolean(r)}}function se(){const t=["requires","addClass","viewItem","parent","_sortAndFilterDiffChanges","ck-revision-history-root--active","_getRevisionsRange","_step","isRemoved","from","deletion","ck-suggestion-marker-merge","_processTape","merge","markerToHighlight","8gpchqw","_removeMissingPairs","execute","2xKfZtF","_findChangeIdFromDomTarget","isCollapsed","pairId","previousPosition","isContent","domConverter","isAtEnd","isEnabled","insert","createAttributeElement","_getViewForChange","offsetSize","bottom","stop","createRangeIn","_markMarkers","ck-editor__editable__overlay","removeAttribute","addRoot","_setDistance","changes","getRevision","hasAttribute","_setChanges","indexOf","updatePosition","modelRange","getWalker","isNavigationMode","revisionHistory","right","6FfatSA","addMarker:revision","toViewElement","model","nodeAfter","changeId","uiElement","_removeUnsupportedChanges","isSuggestion","test","addHighlight","_update","string","document","isIncorrect","listenTo","low","newRevisionId","userId","WidgetToolbarRepository","startsWith","_threeWayMerge","576088lIRKLN","bind","bindElementToMarker","isRemoveSuggestion","view","nextSibling","showPreviousChange","RevisionHistoryUtils","writer","deletions","for","showNextChange","restoreRevision","markers","reconvertMarker","isBefore","adapter","observeMarkers","-new","getIndex","error","revision-suggestion","POSITIVE_INFINITY","nextPosition","forceDisabled","map","top","createPositionBefore","_refreshStartEndIndex","distance","getRevisionRootsAttributes","_makeModelFromTape","left","object","consumable","markerName","_getDiff","RevisionsRepository","isReady","sort","index","insertions","domEvent","diffData","mouseover","backward","_activeViewTarget","restoreRevisionCallback","startIndex","getRootNames","flat","createUIElement","target","mapViewToDom","softBreak","getChild","remove","markerToData","setAttribute","schema","attachChange","isOfficialPlugin","_joinTapes","createPositionFromPath","split","isInline","_markSuggestions","checkAttribute","addRevision","showStack","revision:","config","unshift","vid_end","first","selection","_revisions","addRevisionData","getItems","198odJHFe","toViewPosition","start","length","add","change:isEnabled","revisionHistoryAttachChange","isLimit","change","revision-comment:","markerNameToElements","addMarker:revision-suggestion:insertion","toViewRange","_markMismatchedRemovedTags","getClientRects","element","item","isAfter","insertion","enqueueChange","editing","getAttribute","unbindElementFromMarkerName","resolve","isPremiumPlugin","change:activeView","keys","revision-viewer","_markInsertions","elementToAttribute","find","_cleanMarkers","roots","editor","markersEnd","ck-suggestion-marker-split","dataDowncast","maxOffset","isEqual","ck-revision-history-root-add","getCustomProperty","318700JtvLmu","417535TbMAwO","plugins","side","_setConversion","splice","hasClass","attributesAfter","name","1409316laTUql","elementStart","data-change-id","791847PuemBp","attributesBefore","change:numberOfChanges","endIndex","consume","elementEnd","has","revision","66QWBDBG","range","locale","revisionHistoryLabel","activeView","highest","values","RevisionViewer","text","removeClass","_data","filter","revision-suggestion:","refresh","getLaterVisibleRevision","affectsData","then","abs","isBlock","concat","catch","detachRoot","element:pre","includes","conversion","getRevisionDocumentData","1028599ADytvU","_balloon","ck-revision-history-root-remove","compare","span","ck-suggestion-preview-marker","diff","code","editingDowncast","type","level","createRange","_makeModelFromViewString","rootName","commands","removeMarker:revision-suggestion","wrap","_fixObsoleteTags","done","_utils","_changeView","getDomRoot","change:activeChange","currentChangeNumber","ck-suggestion-marker-","_getChangeFromId","removeMarker:revision","246963aZJzeb","repository","mousedown","isObject","dataToMarker","return","attributes","downcastDispatcher","isAtStart","getAttributes","activeChange","change:isReady","vid_start","push","data","vid","pop","slice","getRoot","ck-revision-history-root-","high","removeMarker","pluginName","forEach","next","comment","_cleanUp","isAdded","oldRevisionId","enableReadOnlyMode","init","end","isAttached","_appendChild","markerRange","_initInteractions","addMarker:revision-suggestion:deletion","_changeIdToChange","_makeTape","12CxRaUU","authors","get","findIndex","clear","isAddSuggestion","ck-suggestion-preview-marker-","suggestion","suggestion:","numberOfChanges","shift","set","ck-suggestion-marker--active","upcast","destroy","forward","delete","attribute:vid","isOnRoot","all","loadRevisionData","createRevision","markersStart","ck-suggestion-marker","mapper"];return(se=function(){return t})()}class ne extends U.Command{[Xt(197)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(384)][i(496)](te);this[i(417)]=!1,this[i(197)]=i(180)===e?1:-1,this[i(255)](s,i(466),(()=>this[i(415)]())),this[i(255)](s,i(346),(()=>this[i(415)]())),this[i(255)](s,i(450),(()=>this[i(415)]()))}[Xt(207)](){const e=Xt,i=this[e(374)],s=i[e(384)][e(496)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(465)]=n?s[e(434)][e(229)][e(496)](r+this[e(197)]):s[e(434)][e(229)][e(336)],s[e(465)][e(469)][e(183)])o=i[e(361)][e(266)][e(449)](s[e(465)][e(441)]);else{const t=i[e(243)][e(275)][e(496)](e(332)+s[e(465)].id);o=(0,H.getMarkerDomElement)(i[e(361)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(415)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(374)][t(384)][t(496)](te);this[t(216)]=!!(r&&n&&s)&&(!e||(1===this[t(197)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["bind","isEnabled","444267mFRcWM","Loading...","32WqSXLw","fire","Total","11HajVBG","numberOfChanges","_statusText","ck-revision-history-ui__changes-navigation__navigation","ck-hidden","ck-revision-history-ui__changes-navigation__label","5JdsmUu","bindTemplate","span","275840cUSYNn","ck-revision-history-ui","1242996mfXHjJ","isForwardNavigationEnabled","div","X_OF_Y_CHANGES","isNavigationMode","2cvoIeb","forward","126175BxBOwT","execute","backward","isBackwardNavigationEnabled","1792060HeIcgu","setTemplate","currentChangeNumber","NUMBER_OF_CHANGES","1213oiQccT","_isStatusLabelVisible","EDIT_X_OF_Y_REVISIONS","set","ck-revision-history-ui__changes-navigation__wrapper","164241JfgnXi","No changes","isReady","ck-revision-history-ui__changes-navigation","Show previous change","Show next change"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=347]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(329439===-parseInt(e(380))/1*(parseInt(e(370))/2)+parseInt(e(385))/3+parseInt(e(363))/4+parseInt(e(360))/5*(parseInt(e(365))/6)+parseInt(e(372))/7+-parseInt(e(351))/8*(parseInt(e(349))/9)+-parseInt(e(376))/10*(-parseInt(e(354))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends pt.View{constructor(t){const e=ce;super(t);const i=this[e(361)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(383)](e(369),!1),this[e(383)](e(387),!1),this[e(383)](e(378),0),this[e(383)](e(355),0),this[e(383)](e(366),!1),this[e(383)](e(375),!1),this[e(347)](e(381)).to(this,e(387),this,e(355),((t,e)=>t&&e>0)),this[e(347)](e(356)).to(this,e(387),this,e(378),this,e(355),this,e(369),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(350));if(!n)return Q(t,o(386));const a=Q(t,o(379),n);return r?Q(t,o(368),[s+1,n]):a})),s[e(383)]({label:Q(t,e(389)),tooltip:!0,icon:mt.IconChevronUp}),n[e(383)]({label:Q(t,e(390)),tooltip:!0,icon:mt.IconChevronDown}),s[e(347)](e(348)).to(this,e(375)),n[e(347)](e(348)).to(this,e(366)),s.on(e(373),(()=>this[e(352)](e(373),e(374)))),n.on(e(373),(()=>this[e(352)](e(373),e(371)))),this[e(377)]({tag:e(367),attributes:{class:["ck",e(364),e(388)]},children:[{tag:e(362),attributes:{class:[e(384)]},children:[{tag:e(362),attributes:{class:[e(359),i.if(e(381),e(358),(t=>!t))]},children:[{text:i.to(e(369),(i=>i?Q(t,e(382))+": ":Q(t,e(353))+": "))}]},{text:i.to(e(356))}]},new pt.ToolbarSeparatorView,{tag:e(367),attributes:{class:[e(357)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;function de(t,e){const i=me();return(de=function(t,e){return i[t-=438]})(t,e)}const fe=de;function me(){const t=["hide","1iQFXBs","change","document","7555185pVYvOA","2666712pqLAFP","1316402sjqLFj","48KCQhsw","18vLGtYQ","isOfficialPlugin","editing","14709850lgjVon","ck-editor__editable__loading-overlay","RevisionViewerLoadingOverlay","show","roots","removeClass","68411XVaebO","addClass","68vDcrhk","editor","6762088BLbOFC","564565cELozQ","30yiHpfo","pluginName","isPremiumPlugin","view"];return(me=function(){return t})()}!function(t){const e=de,i=t();for(;;)try{if(987688===parseInt(e(448))/1*(parseInt(e(453))/2)+parseInt(e(452))/3+-parseInt(e(439))/4*(-parseInt(e(442))/5)+parseInt(e(443))/6*(parseInt(e(464))/7)+parseInt(e(441))/8*(parseInt(e(455))/9)+-parseInt(e(458))/10+-parseInt(e(451))/11*(parseInt(e(454))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const pe=fe(459);class ve extends U.Plugin{static get[fe(444)](){return fe(460)}static get[fe(456)](){return!0}static get[fe(445)](){return!0}[fe(461)](){const t=fe,e=this[t(440)][t(457)][t(446)];e[t(449)]((i=>{const s=t;for(const t of e[s(450)][s(462)])i[s(438)](pe,t)}))}[fe(447)](){const t=fe,e=this[t(440)][t(457)][t(446)];e[t(449)]((i=>{const s=t;for(const t of e[s(450)][s(462)])i[s(463)](pe,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=284]})(t,e)}function ke(){const t=["hide","2103wZxVGo","componentFactory","execute","16fJWyzo","35aNZewT","6kcJLfK","26971siGfzj","revisionHistory","exitToEditing","currentChangeNumber","661130hroDTA","167778TyTdMM","numberOfChanges","isReady","requires","isNavigationMode","add","forward","isForwardNavigationEnabled","changesNavigation","221944qxyjmw","plugins","init","22gCllvM","set","144932aFIjND","isEnabled","922092TOanvC","listenTo","showPreviousChange","closeRevisionViewerCallback","ck-revision-history-ui__back-to-editing","isPremiumPlugin","RevisionViewerUI","show","editor","restoreRevision","change:isReady","isBackwardNavigationEnabled","bind","pluginName","showNextChange","get","config","commands","250XSXmIN","isOfficialPlugin","Back to editing","Restore this revision"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(134724===parseInt(e(331))/1+-parseInt(e(306))/2*(parseInt(e(311))/3)+-parseInt(e(286))/4*(-parseInt(e(315))/5)+-parseInt(e(316))/6*(-parseInt(e(317))/7)+-parseInt(e(314))/8*(parseInt(e(322))/9)+-parseInt(e(321))/10+parseInt(e(284))/11*(-parseInt(e(288))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(301)](){return ge(294)}static get[ge(307)](){return!0}static get[ge(293)](){return!0}static get[ge(325)](){return[te,ve]}[ge(333)](){const t=ge,e=this[t(296)],i=e[t(332)][t(303)](te),s=e[t(332)][t(303)](ve);e.ui[t(312)][t(327)](t(319),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(285)]({label:Q(i,s(308)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(292)}),this[s(289)](n,s(313),(()=>{const t=s;e[t(304)][t(303)](t(318))[t(291)]()})),n})),e.ui[t(312)][t(327)](t(297),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(285)]({label:Q(i,s(309)),withText:!0,tooltip:!0}),n[s(300)](s(287)).to(e[s(305)][s(303)](s(297))),this[s(289)](n,s(313),(()=>e[s(313)](s(297)))),n})),e.ui[t(312)][t(327)](t(330),(s=>{const n=t,r=new ue(s),o=e[n(305)][n(303)](n(290)),a=e[n(305)][n(303)](n(302));return r[n(300)](n(299)).to(o,n(287)),r[n(300)](n(329)).to(a,n(287)),r[n(300)](n(324),n(320),n(323),n(326)).to(i),this[n(289)](r,n(313),((t,i)=>{const s=n;e[s(313)](s(328)===i?s(302):s(290))})),r})),s[t(295)](),i.on(t(298),((e,i,n)=>{const r=t;n?s[r(310)]():s[r(295)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Se;function Se(t,e){const i=Oe();return(Se=function(t,e){return i[t-=402]})(t,e)}function Oe(){const t=["input","clientWidth","790XuuQbn","render","value","placeholder","9532WrLOkM","8494776OFNaVa","ck-revision-history-sidebar__revision-name","destroy","_tooltipString","879emMgzN","set","element","scrollWidth","Enter the revision name","_updateTooltipText","3581018QrzqSR","bindTemplate","Revision name","31995kXILDb","span","fieldView","26772768aEtlAE","_resizeObserver","listenTo","389306OkSIST","1xCHRSm","ck-tooltip_multi-line","extendTemplate","57186DwyjTj","50OboDoe"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(863508===parseInt(e(410))/1*(-parseInt(e(409))/2)+parseInt(e(426))/3*(parseInt(e(421))/4)+parseInt(e(417))/5*(-parseInt(e(413))/6)+parseInt(e(432))/7+-parseInt(e(422))/8+-parseInt(e(403))/9*(parseInt(e(414))/10)+parseInt(e(406))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Ie(407)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(433)];this[i(427)]({label:Q(t,i(402)),_tooltipString:""}),this[i(405)][i(420)]=Q(t,i(430)),this[i(412)]({tag:i(404),attributes:{class:[i(423)],"data-cke-tooltip-text":s.to(i(425)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(411)}})}[Ie(418)](){const e=Ie;super[e(418)](),this[e(407)]=new t.ResizeObserver(this[e(405)][e(428)],(()=>this[e(431)]())),this[e(408)](this[e(405)],e(415),(()=>this[e(431)]()))}[Ie(424)](){const t=Ie;super[t(424)](),this[t(407)]&&this[t(407)][t(424)]()}[Ie(431)](){const t=Ie,e=this[t(405)][t(428)];this[t(425)]=e[t(429)]>e[t(416)]&&e[t(419)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(){const t=["span","16JXwPHe","ck-revision-history-sidebar__revision-author_creator","114205lOSwSo","1031572RlqllD","ck-revision-history-sidebar__revision-author","746478miYjBh","push","name","13523XSNsCc","ck-revision-history-sidebar__revision-author__name","0 0 11 10","5BcSvQY","set","3VtSNYw","1218858QNShsy","210dLOwFV","108746FZkGWl","Revision creator","Revision author","526034BvycnK","setTemplate"];return(Re=function(){return t})()}function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=236]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(196383===parseInt(e(257))/1+-parseInt(e(246))/2*(-parseInt(e(240))/3)+parseInt(e(252))/4*(-parseInt(e(238))/5)+parseInt(e(241))/6+parseInt(e(251))/7+parseInt(e(249))/8*(parseInt(e(254))/9)+parseInt(e(242))/10*(-parseInt(e(243))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Me extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(239)]({content:mt.IconUser,viewBox:s(237)});const r=["ck",s(253)];i&&r[s(255)](s(250));const o=[{tag:s(248),attributes:{class:["ck",s(236)],title:Q(t,s(i?244:245))},children:[n,e[s(256)]]}];this[s(247)]({tag:"li",attributes:{class:r},children:o})}}function Ve(t,e){var i=De();return(Ve=function(t,e){return i[t-=353]})(t,e)}function De(){var t=["615441VgHxFX","925855vdiFVq","toLocaleDateString","numeric","488192eKWUHd","400472mifJhL","long","1118397FcmbOT","toLocaleTimeString","4119730PxNWbk","8BCQQSf","14435590ogxoVy","6CGtiPb","22IsJqfK","135YvMthN"];return(De=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(425113===parseInt(e(353))/1+parseInt(e(357))/2+-parseInt(e(360))/3*(-parseInt(e(363))/4)+parseInt(e(362))/5+parseInt(e(365))/6*(parseInt(e(354))/7)+-parseInt(e(358))/8*(-parseInt(e(367))/9)+-parseInt(e(364))/10*(parseInt(e(366))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);var Ee=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=172]})(t,e)}function Le(){const t=["isEnabled","set","extendTemplate","first","listenTo","1456MRtfHj","79986XXmVsz","2081898dffPGh","4253466rzJBdj","50WHmdXQ","class","children","source","add","find","ck-on","action","execute","function","menuitem","34545NOSrYn","bindTemplate","panelPosition","buttonView","items","Name this revision","Compare against selected","menu","bind","model","Restore this revision","change:isActionsDropdownOpen","1602210GaGnuY","444755xnvecW","button","isActionsDropdownOpen","Show more items","855dcSwdT","isReady","map","_action","isVisible","name","listView","stopPropagation","ck-revision-history-sidebar__revision__actions","isOpen","11252GHgvJL","locale"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(500534===-parseInt(e(212))/1+-parseInt(e(188))/2*(-parseInt(e(185))/3)+-parseInt(e(177))/4*(-parseInt(e(216))/5)+-parseInt(e(187))/6+parseInt(e(199))/7*(parseInt(e(184))/8)+-parseInt(e(186))/9+-parseInt(e(211))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const ze=Ue;function We(){const t=["isConfirm","1471316EFfatd","_requireRevisionName","ck-revision-history-sidebar__actions_dropdown_open","ck-disabled","_revision","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setName","ck-revision-history-sidebar__revision-wrapper","map","unshift","ck-reset","unhighlight","ck-revision-history-sidebar__revision_highlighted","length","span","isSelected","fire","fieldView","element","deselect","div","createdAt","from","extendTemplate","select","1334492BsfoOw","2418913ResvyN",".ck-thread__remove-confirm","220","isActionsDropdownOpen","2PKwACn","isReady","setTemplate","change","revisionNameView","isEnabled","value","listenTo","srcElement","creator","name","authors","render","set","ck-revision-history-sidebar__revision_selected","5474465dhNlkG","ck-revision-history-sidebar__revision__controls-wrapper","_createdAtFormatted","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision-authors","16019120xwsQVR","bindTemplate","uiLanguage","highlight","filter","closest","isHighlighted","bind","revisionActionsView","10246914kyydWl","682065UdCzKl"];return(We=function(){return t})()}function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=145]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(904709===parseInt(e(197))/1*(-parseInt(e(167))/2)+-parseInt(e(165))/3+parseInt(e(192))/4+-parseInt(e(149))/5+parseInt(e(164))/6+-parseInt(e(193))/7+parseInt(e(155))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(201)];[ze(163)];[ze(171)];[ze(168)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(156)],a=function(t,e){const i=r,s=Array[i(189)](e[i(145)])[i(159)]((t=>t!=e[i(206)]));return e[i(206)]&&s[i(176)](e[i(206)]),s[i(175)]((s=>new Me(t,s,s==e[i(206)])))}(e,i);this.id=i.id,this[r(171)]=i,this[r(168)]=n,this[r(162)](r(207),r(188)).to(i),this[r(162)](r(151)).to(this,r(188),(t=>{return i=e[r(157)],(s=t)[(n=Ve)(355)](i,{month:n(359),day:n(356)})+", "+s[n(361)](i,{hour:n(356),minute:n(356)});var i,s,n})),this[r(147)](r(182),!1),this[r(147)](r(161),!1),this[r(147)](r(196),!1),this[r(147)](r(198),!1),this[r(147)](r(202),!1),this[r(201)]=new Te(e,pt.createLabeledInputText),this[r(201)][r(184)][r(190)]({attributes:{maxlength:r(195)}}),this[r(201)][r(184)][r(162)](r(203)).to(this,r(207),(t=>t||this[r(151)])),this[r(201)][r(162)](r(202)).to(this,r(182),this,r(202),((t,e)=>t&&e)),this[r(163)]=s&&s[r(180)]?function(e,i){const s=Fe,n=e[s(200)],r=e[s(178)],o=(0,pt.createDropdown)(r);o[s(201)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(178)],n={"Compare against selected":Q(s,i(205)),"Name this revision":Q(s,i(204)),"Restore this revision":Q(s,i(209))};return e[i(218)]((t=>{const e=i,s=n[t[e(172)]];return s&&s!==t[e(172)]&&(t[e(172)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(213),model:new pt.ViewModel({label:t[n(172)],class:t[n(189)],withText:!0,role:n(198),_action:t[n(195)]})};i[n(208)][n(207)](n(179)).to(e,n(214),(i=>n(197)!=typeof t[n(179)]||!i||t[n(179)](e))),o[n(192)](i)}return o}(e,i);return e[s(207)](s(214)).to(o,s(176)),o[s(202)][s(180)]({label:Q(r,s(215)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(181)]({attributes:{class:[s(175),n.if(s(214),s(194))]},on:{click:n.to((t=>t[s(174)]()))}}),o.on(s(196),(t=>{const i=s;e[i(217)]&&i(197)==typeof t[i(191)][i(219)]&&t[i(191)][i(219)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(206)}),o[s(183)](e,s(210),((t,n,r)=>{const a=s;if(r)for(const t of o[a(173)][a(203)]){const s=t[a(190)][a(182)],n=i[a(193)]((t=>t[a(195)]===s[a(219)]))[a(220)];t[a(220)]=void 0===n||n(e)}})),o}(this,s):"",this[r(163)]&&this[r(163)][r(162)](r(202)).to(this),this[r(199)]({tag:r(187),attributes:{class:["ck",r(177),r(174),o.if(r(166),r(172))]},children:[{tag:r(187),attributes:{class:["ck",r(177),r(152),o.if(r(202),r(170),(t=>!t)),o.if(r(182),r(148)),o.if(r(161),r(179)),o.if(r(196),r(169))]},children:[this[r(201)],{tag:r(181),attributes:{class:["ck",r(153)]},children:[{text:o.to(r(151))}]},{tag:r(187),attributes:{class:["ck",r(150)]},children:[{tag:"ul",attributes:{class:["ck",r(154)]},children:a}]},this[r(163)]],on:{click:o.to((t=>{const e=r;t[e(205)][e(160)](e(194))||this[e(198)]&&this[e(202)]&&this[e(183)](e(191),{id:this.id})}))}}]})}[ze(146)](){const t=ze;super[t(146)]();const e=this[t(201)][t(184)][t(185)];this[t(204)](e,t(200),(()=>{const i=t;this[i(168)]&&!e[i(203)]||this[i(183)](i(173),{id:this.id,name:e[i(203)]}),e[i(203)]||(e[i(203)]=this[i(207)]?this[i(207)]:this[i(151)])}))}[ze(191)](){this[ze(182)]=!0}[ze(186)](){this[ze(182)]=!1}[ze(158)](){this[ze(161)]=!0}[ze(178)](){this[ze(161)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Ge extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Je extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},Ti={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i,this.name)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Mi={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.DateTimeFormat(t,e),Mi[i]=s),s}let Di={};let Ei={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Di[i];return s||(s=new Intl.NumberFormat(t,e),Di[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ms(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Vi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Mi={},Di={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Li(this,t,Xs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Li(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Li(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Li(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${$s(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${$s(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return $s(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Bi(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const $i={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Gi=$i.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${$i[i]}${e}`)),Ji[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return Bi(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Ji={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,js(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Je("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Ms(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Vs(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ds(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Es(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ls(t){return Fs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(Ls(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function Bs(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function $s(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ms(i,2)}:${Ms(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ms(i,2)}${Ms(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Js];case"long":return[...Gs];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ms(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Vs(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Vs(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Es(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Mn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ds(i)),months:d(Ds(s)),weeks:d(Ds(n)),days:d(Ds(r)),hours:d(Ds(o)),minutes:d(Ds(a)),seconds:d(Ds(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Vs(e)):Vs(e),month:Js.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Dn(e,n,s,i,r,o,a);let f;return f=c?Vn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,a,i,s,n,r,o),Zi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),Bn=mn(wn,Tn,xn,Nn),$n=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Gn=mn(Tn);const Jn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Tn,xn,Nn);const Qn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:Bs(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Mn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Gn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ge(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...Bs(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return Bi(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search($i.hanidec))e+=Gi.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Es(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Mr=864e13;function Vr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Dr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Er(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Lr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ms(t.c.year,i?6:4),e?(s+="-",s+=Ms(t.c.month),s+="-",s+=Ms(t.c.day)):(s+=Ms(t.c.month),s+=Ms(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Ms(t.c.hour);return e?(o+=":",o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ms(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ms(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ms(Math.trunc(-t.o/60)),o+=":",o+=Ms(Math.trunc(-t.o%60))):(o+="+",o+=Ms(Math.trunc(t.o/60)),o+=":",o+=Ms(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Br={ordinal:1,hour:0,minute:0,second:0,millisecond:0},$r=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Gr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ge(t);return e}(t)}}function Kr(t,e){const i=Bi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of $r)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Vr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Lr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=Bi(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Vr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Mr||t>Mr?io.invalid("Timestamp out of range"):new io({ts:t,zone:Bi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:Bi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=Bi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e),n=Bs(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Lr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Gr,v=Br,g=gs(g)):(p=$r,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,Ls(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=jr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Un,Bn],[Hn,$n],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[En,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Jn,qn],[Kn,Xn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Dr(this).weekYear:NaN}get weekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get weekday(){return this.isValid?Dr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=Bi(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Vr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=Bs(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Je("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Je("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=122]})(t,e)}function ro(){const t=["12FKeXxs","local","minus","toJSDate","290uIJZKN","1veRoSE","week","176782kIizHU","toRelativeCalendar","8fAuGKI","setLocale","hasSame","monthLong","startOf","617133wgSfhw","6966PBeWle","1182709iCNjqH","8163311qTPrkP","14vczmOc","year","month","fromJSDate","3800GmjaNK","13782tZRFiS","4dpFVxV","day","weekdayLong","2510914cyPCPB"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(143)](t)[i(132)](e),n=io[i(123)](),r=n[i(124)]({days:1})[i(135)](i(147));let o,a;return s[i(133)](n,i(147))?(o=s[i(135)](i(147))[i(125)](),a=s[i(130)]()):s[i(133)](r,i(147))?(o=r[i(125)](),a=s[i(130)]()):s[i(133)](n,i(128))?(o=s[i(135)](i(128))[i(125)](),a=s[i(148)]||""):s[i(133)](n,i(141))?(o=s[i(135)](i(142))[i(125)](),a=s[i(134)]||""):(o=s[i(135)](i(141))[i(125)](),a=String(s[i(141)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(205300===-parseInt(e(127))/1*(-parseInt(e(129))/2)+parseInt(e(136))/3*(-parseInt(e(146))/4)+parseInt(e(126))/5*(-parseInt(e(145))/6)+-parseInt(e(149))/7*(parseInt(e(131))/8)+parseInt(e(137))/9*(parseInt(e(144))/10)+parseInt(e(138))/11*(-parseInt(e(122))/12)+parseInt(e(139))/13*(parseInt(e(140))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["1841365egEjRB","localizedPeriodName","ck-revision-history-sidebar__time-period","uiLanguage","ck-revision-history-sidebar__time-period__revisions","div","find","select","1455699TlnJyP","791832aGgfpg","769292iGqPfF","125667RWelVr","ck-revision-history-sidebar__time-period__label","_requireRevisionName","add","span","createCollection","remove","locale","removeRevision","startDate","_revisionActions","addRevision","320fHyovp","349319mMgTcx","setTemplate","6URAspD","setName","revisionViews","602236MombVQ","delegate"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=171]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(330978===-parseInt(e(176))/1+parseInt(e(181))/2*(parseInt(e(178))/3)+parseInt(e(193))/4+parseInt(e(183))/5+-parseInt(e(192))/6+parseInt(e(191))/7+-parseInt(e(175))/8*(parseInt(e(194))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(172)];[uo(180)];[uo(173)];[uo(196)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(201)][n(186)])[n(184)];this[n(172)]=e,this[n(180)]=this[n(199)](),this[n(173)]=i,this[n(196)]=s,this[n(180)][n(182)](n(190)).to(this),this[n(180)][n(182)](n(179)).to(this),this[n(177)]({tag:n(188),attributes:{class:["ck",n(185)]},children:[{tag:n(198),attributes:{class:["ck",n(195)]},children:[{text:r}]},{tag:n(188),attributes:{class:["ck",n(187)]},children:this[n(180)]}]})}[uo(174)](t){const e=uo,i=new He(this[e(201)],t,this[e(173)],this[e(196)]);this[e(180)][e(197)](i)}[uo(171)](t){const e=uo,i=this[e(180)][e(189)]((e=>e.id===t.id));this[e(180)][e(200)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=yo();return(vo=function(t,e){return i[t-=474]})(t,e)}!function(t){const e=vo,i=t();for(;;)try{if(614311===-parseInt(e(474))/1*(parseInt(e(487))/2)+parseInt(e(482))/3*(parseInt(e(491))/4)+-parseInt(e(483))/5+parseInt(e(479))/6+-parseInt(e(480))/7+parseInt(e(488))/8*(-parseInt(e(485))/9)+-parseInt(e(490))/10*(-parseInt(e(477))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yo);class go extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(484)]=mt.IconHistory,this[e(476)]({tag:e(486),attributes:{class:["ck",e(478),e(489)]},children:[i,{tag:e(492),attributes:{class:["ck",e(481)]},children:[Q(t,e(475))]}]})}}function yo(){const t=["ck-revision-history-sidebar__header__label","3405piCAhE","1504295pEgaXN","content","54765gewolC","div","600UgCtLD","1032HuwZze","ck-revision-history-sidebar__header","729730RaOTmn","2924wqoUaF","span","2015gLCCOT","Revision history","setTemplate","110QQiaJy","ck-reset_all","5956266DJnHrk","1732437WbHkcI"];return(yo=function(){return t})()}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;function wo(){const t=["7326cmVhJt","removeRevision","revisionViews","addRevision","div","6936745DYWwek","_addRevision","select","render","highlightRevisions","find","setTemplate","set","createdAt","ck-rounded-corners","ck-revision-history-sidebar__timeline","7641SoybxM","_removeRevision","unhighlight","highlight","_getTimePeriodViewByStartDate","createCollection","ck-disabled","ck-revision-history-sidebar","timePeriodViews","4bbkTyh","add","locale","isEnabled","_revisionActions","_requireRevisionName","getTime","bindTemplate","get","revisionSetName","revisionSelected","20750616PEJBiV","remove","82730jBKoTH","5187AkjKIH","deselect","1177nAmPav","ck-reset","some","setName","uiLanguage","selectRevision","33420QteoRC","startDate","1258329krFDUC","9688XaWXAx","fire","map","delegate","_revisions","93hHISxm","flat"];return(wo=function(){return t})()}const _o=Io;function Io(t,e){const i=wo();return(Io=function(t,e){return i[t-=259]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(798855===parseInt(e(283))/1+parseInt(e(272))/2*(-parseInt(e(289))/3)+parseInt(e(259))/4*(-parseInt(e(296))/5)+parseInt(e(291))/6*(-parseInt(e(273))/7)+parseInt(e(284))/8*(parseInt(e(307))/9)+-parseInt(e(281))/10*(-parseInt(e(275))/11)+parseInt(e(270))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class So extends pt.View{[_o(315)];[_o(288)];[_o(263)];[_o(264)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(266)];this[n(315)]=this[n(312)](),this[n(315)][n(287)](n(298)).to(this),this[n(315)][n(287)](n(278)).to(this),this[n(288)]=e,this[n(263)]=i,this[n(264)]=s,this.on(n(298),((t,e)=>{const i=n;this[i(285)](i(269),e)})),this.on(n(278),((t,e)=>{const i=n;this[i(285)](i(268),e)})),this[n(303)](n(262),!1),this[n(302)]({tag:n(295),attributes:{class:["ck",n(276),n(305),n(314)]},children:[new go(t),{tag:n(295),attributes:{class:["ck",n(306),r.if(n(262),n(313),(t=>!t))]},children:this[n(315)]}]})}[_o(299)](){const t=_o;super[t(299)]();for(const e of this[t(288)])this[t(297)](e);this[t(288)].on(t(260),((e,i)=>{this[t(297)](i)})),this[t(288)].on(t(271),((e,i)=>{this[t(308)](i)}))}get[_o(293)](){const t=_o;return this[t(315)][t(286)]((e=>e[t(293)][t(286)]((t=>t))))[t(290)]()}[_o(280)](t){const e=_o;for(const i of this[e(293)])t&&t.id===i.id?i[e(298)]():i[e(274)]()}[_o(300)](t){const e=_o;for(const i of this[e(293)])t[e(277)]((({id:t})=>t===i.id))?i[e(310)]():i[e(309)]()}[_o(297)](t){const e=_o,i=oo(t[e(304)],this[e(261)][e(279)])[e(282)];let s=this[e(315)][e(267)](0);s&&s[e(282)][e(265)]()===i[e(265)]()||(s=new fo(this[e(261)],i,this[e(263)],this[e(264)]),this[e(315)][e(260)](s)),s[e(294)](t)}[_o(308)](t){const e=_o,i=oo(t[e(304)],this[e(261)][e(279)])[e(282)];this[e(311)](i)[e(292)](t)}[_o(311)](t){const e=_o;return this[e(315)][e(301)]((i=>i[e(282)][e(265)]()===t[e(265)]()))}}const Oo=xo;function To(){const t=["setName","revisionHistory","defaultRevisionActions","select","isReady","action","listenTo","getEarlierVisibleRevision","_createRevisionActions","destroy","isOfficialPlugin","1504812GbUfQK","_handleRevisionSetName","7pLLIdk","4REjuXf","init","restoreRevisionCallback","appendChild","get","add","focus","3124uyBsIp","locale","_sidebarView","change:diff","assign","requires","length","element","remove","string","compare","revisionHistory.requireRevisionName","revisionSetName","timePeriodViews","isSelected","pluginName","getLaterVisibleRevision","plugins","11689875xXtgqH","isPremiumPlugin","7903338YhqehP","ready","_handleEditorDataReady","nameRevision","repository","getRevisionsInDiff","68990kRSBRR","diff","render","bind","getRevision","718893CpHavG","isEnabled","highlightRevisions","editor","revisionViews","240oIphKQ","selectRevision","_revisionsRepository","fieldView","revisionHistory.revisionActions","RevisionsSidebar","8504264VqgLoc","_handleRevisionSelected","revisionHistory.viewerSidebarContainer","config","Restore this revision","map","Compare against selected","isVisible","availableRevisionActions","compareAgainstSelected","_handleDiffChange","newRevisionId","name","revisionSelected","_revisions","Name this revision","10172RKMDLT","_revisionViewer","getIndex","data","restoreRevision"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=407]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(722102===parseInt(e(429))/1+-parseInt(e(475))/2*(-parseInt(e(472))/3)+-parseInt(e(456))/4*(parseInt(e(434))/5)+parseInt(e(418))/6+parseInt(e(474))/7*(parseInt(e(440))/8)+-parseInt(e(416))/9+-parseInt(e(424))/10*(parseInt(e(482))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends U.Plugin{[Oo(457)];[Oo(436)];[Oo(484)];static[Oo(463)]=[Oo(449),Oo(460),Oo(421)];static[Oo(448)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(446),action:({plugins:e},i)=>{const s=t,n=e[s(479)](te),r=n[s(422)];let o=n[s(425)][s(451)],a=i.id;r[s(458)](o)>r[s(458)](a)&&([o,a]=[a,o]),n[s(408)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(479)](te);return!(n[s(422)][s(423)](n[s(425)])[s(488)]>2||i[s(412)])}},restoreRevision:{name:t(444),action:(e,{id:i})=>{const s=t;e[s(443)][s(479)](s(462))[s(477)](i)},isVisible:({plugins:e},i)=>!!e[t(479)](te)[t(422)][t(414)](i.id)},nameRevision:{name:t(455),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(479)](te),o=r[n(422)][n(468)](i);r[n(408)](i,o),s[n(481)](),s[n(437)][n(464)]()}}}}();static get[Oo(413)](){return Oo(439)}static get[Oo(471)](){return!0}static get[Oo(417)](){return!0}static get[Oo(487)](){return[te]}constructor(t){const e=Oo;super(t),this[e(457)]=t[e(415)][e(479)](te),this[e(436)]=this[e(457)][e(422)],this[e(484)]=null}[Oo(476)](){const t=Oo,e=this[t(436)][t(454)],i=this[t(469)](),s=this[t(432)][t(443)][t(479)](t(442));this[t(484)]=new So(this[t(432)][t(483)],e,i,this[t(432)][t(443)][t(479)](t(409))),this[t(484)].on(t(453),this[t(441)][t(427)](this)),this[t(484)].on(t(410),this[t(473)][t(427)](this)),this[t(484)][t(427)](t(430)).to(this[t(457)]),this[t(484)][t(411)].on(t(480),((e,i)=>{const s=t;i[s(433)].on(s(480),((t,e)=>{const i=s;e[i(427)](i(430),i(465)).to(this[i(457)])}))})),this[t(484)][t(426)](),this[t(467)](this[t(432)][t(459)],t(419),this[t(420)][t(427)](this)),this[t(467)](this[t(457)],t(485),this[t(450)][t(427)](this)),s[t(478)](this[t(484)][t(489)])}[Oo(470)](){const t=Oo;this[t(484)][t(489)][t(490)](),this[t(484)][t(470)]()}[Oo(420)](){const t=Oo,e=this[t(436)][t(428)](0);if(e){const i=this[t(436)][t(468)](e.id);this[t(457)][t(408)](e,i)}}[Oo(441)](t,e){const i=Oo,s=this[i(436)][i(428)](e.id),n=this[i(436)][i(468)](s.id);this[i(457)][i(408)](s,n)}[Oo(473)](t,e){const i=Oo;this[i(436)][i(428)](e.id)[i(461)](e[i(452)])}[Oo(450)](t,e,i){const s=Oo,n=this[s(436)][s(423)](i);n[s(488)]>2?(this[s(484)][s(431)](n),this[s(484)][s(435)](null)):(this[s(484)][s(431)]([]),this[s(484)][s(435)](n[0]))}[Oo(469)](){const t=Oo,e=this[t(432)],i=No[t(448)],s=e[t(443)][t(479)](t(438))||No[t(463)];if(s[t(488)])return s[t(445)]((s=>{const n=t,r=n(407)==typeof s?Object[n(486)]({},i[s]):s;return r[n(466)]=r[n(466)][n(427)](this,e),r[n(447)]&&(r[n(447)]=r[n(447)][n(427)](this,e)),r}))}}const Ro=No,Ao=Vo;function Mo(){const t=["config","attachDomRoot","ready","_initToolbar","bind","_elementReplacer","name","viewportOffset","setEditableElement","editing","focusTracker","isActive","limiterElement","init","4SOdbsP","get","getRoot","fire","addToolbar","replace","view","473328PXmVSQ","_view","editable","stickyPanel","restore","detachDomRoot","render","toolbar","element","_toolbarConfig","152616ygnFgO","1340832wYzmYR","8NoRkfh","destroy","517023uoiYnz","document","isFocused","fillFromConfig","1142526gdPPQk","viewportTopOffset","1663788izGyWP","rootName","editor","1232840kTfDjQ","componentFactory"];return(Mo=function(){return t})()}function Vo(t,e){const i=Mo();return(Vo=function(t,e){return i[t-=400]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(275505===parseInt(e(440))/1*(-parseInt(e(423))/2)+parseInt(e(402))/3+-parseInt(e(430))/4+parseInt(e(407))/5+-parseInt(e(441))/6+-parseInt(e(404))/7*(-parseInt(e(442))/8)+parseInt(e(444))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Do extends pt.EditorUI{[Ao(431)];[Ao(439)];[Ao(414)];get[Ao(429)](){return this[Ao(431)]}constructor(e,i){const s=Ao;super(e),this[s(431)]=i,this[s(439)]=(0,pt.normalizeToolbarConfig)(e[s(409)][s(424)](s(437))),this[s(414)]=new t.ElementReplacer}get[Ao(438)](){const t=Ao;return this[t(429)][t(438)]}[Ao(422)](t){const e=Ao,i=this[e(406)],s=this[e(429)],n=i[e(418)][e(429)],r=s[e(432)],o=n[e(445)][e(425)]();r[e(415)]=o[e(405)],s[e(436)]();const a=r[e(438)];this[e(417)](r[e(415)],a),s[e(432)][e(413)](e(400)).to(this[e(419)]),n[e(410)](a),this[e(414)][e(428)](t,this[e(438)]),this[e(412)](),this[e(426)](e(411))}[Ao(443)](){const t=Ao;super[t(443)]();const e=this[t(429)],i=this[t(406)][t(418)][t(429)];this[t(414)][t(434)](),i[t(435)](e[t(432)][t(415)]),e[t(443)]()}[Ao(412)](){const t=Ao,e=this[t(429)];e[t(433)][t(413)](t(420)).to(this[t(419)],t(400)),e[t(433)][t(421)]=e[t(438)],e[t(433)][t(413)](t(403)).to(this,t(416),(({top:t})=>t)),e[t(437)][t(401)](this[t(439)],this[t(408)]),this[t(427)](e[t(437)])}}var Eo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Eo.A,Co);Eo.A&&Eo.A.locals&&Eo.A.locals;var Fo=Lo;function Lo(t,e){var i=jo();return(Lo=function(t,e){return i[t-=185]})(t,e)}function jo(){var t=["1056668UtBTCP","main","stickyPanel","toolbar","top","10jwAHfM","2707176HtrpRc","9hkpluB","38364nbVLsP","editable","3837968YcTpLX","shouldToolbarGroupWhenFull","render","_editable","5Rwokba","1407OjREOh","12178364ouNZon","561553SXmtxO","content","5509554pnmOjj","add"];return(jo=function(){return t})()}!function(t){for(var e=Lo,i=t();;)try{if(980148===-parseInt(e(197))/1+parseInt(e(186))/2+parseInt(e(199))/3+-parseInt(e(201))/4*(-parseInt(e(194))/5)+-parseInt(e(188))/6*(parseInt(e(195))/7)+-parseInt(e(190))/8*(-parseInt(e(187))/9)+-parseInt(e(185))/10*(parseInt(e(196))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Fo(193)];[Fo(203)];[Fo(204)];get[Fo(189)](){return this[Fo(193)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(203)]=new pt.StickyPanelView(t),this[s(204)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(191)]}),this[s(193)]=new pt.InlineEditableUIView(t,e)}[Fo(192)](){var t=Fo;super[t(192)](),this[t(203)][t(198)][t(200)](this[t(204)]),this[t(205)][t(200)](this[t(203)]),this[t(202)][t(200)](this[t(189)])}}const zo=Wo;function Wo(t,e){const i=Uo();return(Wo=function(t,e){return i[t-=359]})(t,e)}function Uo(){const t=["28LfHDrT","destroy","14Ifcerc","5120cBaMMQ","model","data","initPlugins","editing","_ui","5247LccqnI","createRoot","ready","261520leoBAn","view","fire","init","create","1651287rjLhoF","940306DehmDU","1141626yMnZDP","config","initialData","get","256008MSgXfi","updateSourceElement","locale","document","sourceElement","513797twNXQe"];return(Uo=function(){return t})()}!function(t){const e=Wo,i=t();for(;;)try{if(374884===parseInt(e(383))/1+parseInt(e(373))/2+-parseInt(e(372))/3+parseInt(e(384))/4*(parseInt(e(367))/5)+-parseInt(e(374))/6+-parseInt(e(386))/7*(-parseInt(e(378))/8)+-parseInt(e(364))/9*(parseInt(e(387))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[zo(363)];get ui(){return this[zo(363)]}constructor(t,e){const i=zo;super(e),this[i(382)]=t,this[i(359)][i(381)][i(365)]();const s=new Po(this[i(380)],this[i(362)][i(368)],{shouldToolbarGroupWhenFull:!0});this[i(363)]=new Do(this,s)}[zo(385)](){const t=zo;return this[t(379)](),this.ui[t(385)](),super[t(385)]()}static async[zo(371)](t,e){const i=zo,s=new this(t,e);return await s[i(361)](),await s.ui[i(370)](t),await s[i(360)][i(370)](s[i(375)][i(377)](i(376))||""),s[i(369)](i(366)),s}}const Zo=qo;function qo(t,e){const i=Yo();return(qo=function(t,e){return i[t-=404]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(949383===parseInt(e(510))/1+-parseInt(e(511))/2+parseInt(e(445))/3+-parseInt(e(463))/4+parseInt(e(413))/5*(-parseInt(e(444))/6)+parseInt(e(506))/7+parseInt(e(497))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);const Bo=[Zo(484),Zo(546)];class $o extends U.Plugin{[Zo(486)];static get[Zo(451)](){return Zo(455)}static get[Zo(454)](){return!0}static get[Zo(435)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(421)]((t=>String[e(502)](t)))[e(492)]("")}super(t),this[e(486)]=e(453),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function Yo(){const t=["RevisionHistoryUtils","DocumentOutlineUI","removeSelectionAttribute","getUser","push","isPremiumPlugin","_getRevisionViewerEditorConfig","refreshPositioning","_update","$graveyard","none","remove","changesNavigation","revisionHistory.editorContainer","114KOCpBB","3658377GQvUqB","toLocaleTimeString","disableReadOnlyMode","config","keys","set","pluginName","commands","end","isOfficialPlugin","RevisionViewerIntegration","Autosave","adapter","init","then","_viewerEditor","repository","creator","6383600BmKtXO","createdAt","revisionHistory","revisionHistory.closeRevisionViewerCallback","exitToEditing","restrictedEditingException","getMarkersGroup","isRevisionViewerOpen","toJSON","locale","getAttributeKeys","element","from","restoreRevision","revisionHistory.viewerEditorElement","setAttribute","insert","Dialog","isOpen","name","requires","RevisionHistoryUI","users","result","getRevisionDocumentData","addRoot","roots","plugins","DocumentOutline","join","numeric","createRangeIn","style","isReady","2207240xLQHtz","toVersion","uiLanguage","detachRoot","RevisionsRepository","fromCharCode","addUser","RevisionHistory","block","9538039iIblCU","bind","document","hide","421322shnIyY","40566dnVLSk","save","setSelection","RevisionTracker","revisionHistory.requireRevisionName","showRevisionViewerCallback","toolbar","create","Users","translations","revisionHistory.viewerContainer","getRevisionRootsAttributes","error","isAttached","selection","view","_enhanceShowRevisionViewerCallback","revisionHistory.restoreRevisionCallback","long","includes","_cleanUp","editor","has","enqueueChange","isAnonymous","_showRevisionViewer","refreshVisibility","indexOf","destroy","lazyRoots","removeMarker","_recalculatePageBreaks","addRevisionData","PaginationLookup","define","RestrictedEditingMode","get","removeAttribute","fromVersion","display","data","isReadOnly","change","enableReadOnlyMode","revisionHistory.showRevisionViewerCallback","toLocaleDateString","revision-history-missing-configuration","parse","Annotations","catch","_enhanceCloseRevisionViewerCallback","getRevisions","187815pFgxXt","_restoreRevision","update","loadRevisionData","markers","model","getRevision","revision-history-viewer-opened","map","_closeRevisionViewer","closeRevisionViewerCallback","isEnabled","getRoot","rootName","RevisionViewer","saveRevision","Restored"];return(Yo=function(){return t})()}class Go extends U.Plugin{[Zo(460)];static get[Zo(451)](){return Zo(504)}static get[Zo(454)](){return!0}static get[Zo(435)](){return!0}static get[Zo(483)](){return[ot,Lt]}constructor(e){const i=Zo;if(super(e),!this[i(532)][i(448)][i(547)](i(465)))throw new t.CKEditorError(i(407),this);this[i(460)]=null,this[i(450)](i(470),!1),this[i(532)][i(448)][i(545)](i(405),(t=>this[i(536)]({...t,translations:this[i(532)][i(472)][i(520)]}))),this[i(532)][i(448)][i(545)](i(466),(t=>this[i(422)](t))),this[i(532)][i(448)][i(545)](i(528),(t=>this[i(414)](t))),this[i(532)][i(448)][i(545)](i(515),!1),this[i(527)](),this[i(411)]()}set[Zo(457)](t){const e=Zo;this[e(532)][e(490)][e(547)](e(514))[e(457)]=t}get[Zo(457)](){const t=Zo;return this[t(532)][t(490)][t(547)](t(514))[t(457)]}[Zo(543)](t){const e=Zo;return this[e(532)][e(490)][e(547)](e(514))[e(543)](t)}[Zo(419)](t){const e=Zo;return this[e(532)][e(490)][e(547)](e(501))[e(419)](t)}[Zo(412)](t){const e=Zo;return this[e(532)][e(490)][e(547)](e(501))[e(412)](t||{toJSON:!1})}[Zo(436)](){const e=Zo,i=this[e(532)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(490)][e(547)](e(514)),r=i[e(490)][e(547)](e(519))[e(485)];return s[e(517)]=[e(467),e(476),e(442)],delete s[e(540)],s[e(490)][e(434)]($o,te,be,class extends U.Plugin{static get[e(483)](){return[te,e(519)]}[e(458)](){const s=e,o=this[s(532)][s(490)][s(547)](s(519));for(const t of r)t[s(535)]||o[s(433)](t.id)||o[s(503)](t);const a=n[s(461)][s(412)]();let c=null;const u=this[s(532)][s(490)][s(547)](s(427));u[s(457)]=n[s(457)],u[s(507)](s(424)).to(n),this[s(532)][s(452)][s(547)](s(476))[s(507)](s(424)).to(i,s(552),(t=>!t));for(const e of a){const i=null===e[s(462)];if(i&&e[s(498)]===e[s(549)])continue;const r=e[s(471)]();u[s(543)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(438)](r,o);else if(!o){const e=a[u(471)]();e.id=(0,t.uid)(),n[u(428)](e,a[u(498)])[u(459)]((t=>{c=t}))}}else e[u(438)](r,o)}))}}},Ro),s}[Zo(527)](){const t=Zo,e=this[t(532)][t(448)][t(547)](t(465))[t(516)];this[t(532)][t(448)][t(450)](t(405),(async()=>{const i=t;this[i(532)][i(404)](i(420));const s=this[i(532)][i(490)][i(547)](i(514));if(this[i(532)][i(490)][i(533)](i(456))){const t=this[i(532)][i(490)][i(547)](i(456));await t[i(512)]()}else await s[i(415)]();if(this[i(532)][i(490)][i(533)](i(544))&&this[i(532)][i(490)][i(547)](i(544))[i(542)](),this[i(532)][i(490)][i(533)](i(480))){const t=this[i(532)][i(490)][i(547)](i(480));t[i(481)]&&t[i(509)]()}const n=this[i(436)]();return e(n)[i(459)]((t=>{const e=i;return this[e(460)]=t,this[e(532)][e(490)][e(533)](e(409))&&this[e(532)][e(490)][e(547)](e(409))[e(537)](),this[e(532)][e(490)][e(533)](e(491))&&(this[e(532)][e(490)][e(547)](e(431))[e(526)][e(474)][e(495)][e(550)]=e(440)),t}))[i(410)]((t=>(console[i(523)](t),this[i(532)][i(447)](i(420)),null)))}))}[Zo(411)](){const t=Zo,e=this[t(532)][t(448)][t(547)](t(465))[t(423)];this[t(532)][t(448)][t(450)](t(466),(()=>(this[t(532)][t(490)][t(533)](t(544))&&this[t(532)][t(490)][t(547)](t(544))[t(542)](),this[t(532)][t(490)][t(533)](t(491))&&(this[t(532)][t(490)][t(547)](t(431))[t(526)][t(474)][t(495)][t(550)]=""),this[t(460)][t(490)][t(547)](t(427))[t(531)](),e(this[t(460)])[t(459)]((()=>{const e=t;if(this[e(532)][e(447)](e(420)),this[e(460)]=null,this[e(532)][e(490)][e(533)](e(409))){const t=this[e(532)][e(490)][e(547)](e(409));t[e(537)](),t[e(437)]()}})))))}[Zo(536)](t){const e=Zo,i=this[e(532)][e(448)][e(547)](e(443)),s=this[e(532)][e(448)][e(547)](e(521)),n=this[e(532)][e(448)][e(547)](e(477));return Ho[e(518)](n,t)[e(459)]((t=>(s[e(495)][e(550)]=e(505),i[e(495)][e(550)]=e(440),this[e(470)]=!0,t)))}[Zo(422)](t){const e=Zo,i=this[e(532)][e(448)][e(547)](e(443));return this[e(532)][e(448)][e(547)](e(521))[e(495)][e(550)]=e(440),i[e(495)][e(550)]="",this[e(470)]=!1,t[e(539)]()}async[Zo(414)](t){const e=Zo,i=this[e(532)],s=this[e(460)][e(490)][e(547)](e(427)),n=i[e(490)][e(547)](e(514)),r=i[e(490)][e(547)](e(430)),o=s[e(461)][e(419)](t);let a,c,u;try{await r[e(416)](o,this[e(457)]),a=r[e(487)](o),c=r[e(522)](o)}catch(t){return void console[e(523)](t)}i[e(418)][e(553)]((t=>{const s=e;for(const e of Array[s(475)](i[s(418)][s(417)][s(469)](s(468))))t[s(541)](e)})),s[e(496)]=!1,i[e(418)][e(534)]((t=>{const s=e;t[s(513)](null),t[s(432)](i[s(418)][s(508)][s(525)][s(473)]());const n=Object[s(449)](a);for(const e of i[s(418)][s(508)][s(489)])s(439)!=e[s(426)]&&e[s(524)]()&&!n[s(530)](e[s(426)])&&t[s(500)](e);for(const e of n){let n=i[s(418)][s(508)][s(425)](e);n&&n[s(524)]()||(n=t[s(488)](e));const r=c[e],o=Object[s(449)](r),u=a[e];for(const e of n[s(473)]())o[s(530)](e)||t[s(548)](e,n);for(const i of o)t[s(478)](i,c[e][i],n);t[s(441)](t[s(494)](n)),t[s(479)](i[s(551)][s(408)](u,n),n,0)}}));const l=Q(i[e(472)],e(429));return u=o[e(482)]?-1==o[e(482)][e(538)](l)?l+": "+o[e(482)]:o[e(482)]:l+": "+o[e(464)][e(406)](i[e(472)][e(499)],{month:e(529),day:e(493)})+", "+o[e(464)][e(446)](i[e(472)][e(499)],{hour:e(493),minute:e(493)}),await n[e(428)]({name:u}),s[e(496)]=!0,i[e(448)][e(547)](e(465))[e(423)]()}}function Jo(){var t=["118492Llcqdx","1631136GsvbGk","205253EHQBoL","8PeupWg","13233843LwNFly","2707848BNtkEs","63tjeBag","153090LiiXTg","1958369lYMxaY"];return(Jo=function(){return t})()}function Ko(t,e){var i=Jo();return(Ko=function(t,e){return i[t-=283]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(872934===parseInt(e(288))/1+parseInt(e(287))/2+-parseInt(e(283))/3*(-parseInt(e(286))/4)+-parseInt(e(284))/5+parseInt(e(291))/6+parseInt(e(285))/7+-parseInt(e(289))/8*(parseInt(e(290))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();