@ckeditor/ckeditor5-revision-history 44.3.0-alpha.7 → 45.0.0-alpha.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 (198) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/revision-history.js +1 -1
  3. package/build/translations/be.js +1 -0
  4. package/ckeditor5-metadata.json +1 -1
  5. package/dist/index-editor.css +8 -8
  6. package/dist/index.css +17 -17
  7. package/dist/index.js +6 -6
  8. package/dist/translations/af.js +1 -1
  9. package/dist/translations/af.umd.js +1 -1
  10. package/dist/translations/ar.js +1 -1
  11. package/dist/translations/ar.umd.js +1 -1
  12. package/dist/translations/ast.js +1 -1
  13. package/dist/translations/ast.umd.js +1 -1
  14. package/dist/translations/az.js +1 -1
  15. package/dist/translations/az.umd.js +1 -1
  16. package/dist/translations/be.d.ts +8 -0
  17. package/dist/translations/be.js +23 -0
  18. package/dist/translations/be.umd.js +23 -0
  19. package/dist/translations/bg.js +1 -1
  20. package/dist/translations/bg.umd.js +1 -1
  21. package/dist/translations/bn.js +1 -1
  22. package/dist/translations/bn.umd.js +1 -1
  23. package/dist/translations/bs.js +1 -1
  24. package/dist/translations/bs.umd.js +1 -1
  25. package/dist/translations/ca.js +1 -1
  26. package/dist/translations/ca.umd.js +1 -1
  27. package/dist/translations/cs.js +1 -1
  28. package/dist/translations/cs.umd.js +1 -1
  29. package/dist/translations/da.js +1 -1
  30. package/dist/translations/da.umd.js +1 -1
  31. package/dist/translations/de-ch.js +1 -1
  32. package/dist/translations/de-ch.umd.js +1 -1
  33. package/dist/translations/de.js +1 -1
  34. package/dist/translations/de.umd.js +1 -1
  35. package/dist/translations/el.js +1 -1
  36. package/dist/translations/el.umd.js +1 -1
  37. package/dist/translations/en-au.js +1 -1
  38. package/dist/translations/en-au.umd.js +1 -1
  39. package/dist/translations/en-gb.js +1 -1
  40. package/dist/translations/en-gb.umd.js +1 -1
  41. package/dist/translations/en.js +1 -1
  42. package/dist/translations/en.umd.js +1 -1
  43. package/dist/translations/eo.js +1 -1
  44. package/dist/translations/eo.umd.js +1 -1
  45. package/dist/translations/es-co.js +1 -1
  46. package/dist/translations/es-co.umd.js +1 -1
  47. package/dist/translations/es.js +1 -1
  48. package/dist/translations/es.umd.js +1 -1
  49. package/dist/translations/et.js +1 -1
  50. package/dist/translations/et.umd.js +1 -1
  51. package/dist/translations/eu.js +1 -1
  52. package/dist/translations/eu.umd.js +1 -1
  53. package/dist/translations/fa.js +1 -1
  54. package/dist/translations/fa.umd.js +1 -1
  55. package/dist/translations/fi.js +1 -1
  56. package/dist/translations/fi.umd.js +1 -1
  57. package/dist/translations/fr.js +1 -1
  58. package/dist/translations/fr.umd.js +1 -1
  59. package/dist/translations/gl.js +1 -1
  60. package/dist/translations/gl.umd.js +1 -1
  61. package/dist/translations/gu.js +1 -1
  62. package/dist/translations/gu.umd.js +1 -1
  63. package/dist/translations/he.js +1 -1
  64. package/dist/translations/he.umd.js +1 -1
  65. package/dist/translations/hi.js +1 -1
  66. package/dist/translations/hi.umd.js +1 -1
  67. package/dist/translations/hr.js +1 -1
  68. package/dist/translations/hr.umd.js +1 -1
  69. package/dist/translations/hu.js +1 -1
  70. package/dist/translations/hu.umd.js +1 -1
  71. package/dist/translations/hy.js +1 -1
  72. package/dist/translations/hy.umd.js +1 -1
  73. package/dist/translations/id.js +1 -1
  74. package/dist/translations/id.umd.js +1 -1
  75. package/dist/translations/it.js +1 -1
  76. package/dist/translations/it.umd.js +1 -1
  77. package/dist/translations/ja.js +1 -1
  78. package/dist/translations/ja.umd.js +1 -1
  79. package/dist/translations/jv.js +1 -1
  80. package/dist/translations/jv.umd.js +1 -1
  81. package/dist/translations/kk.js +1 -1
  82. package/dist/translations/kk.umd.js +1 -1
  83. package/dist/translations/km.js +1 -1
  84. package/dist/translations/km.umd.js +1 -1
  85. package/dist/translations/kn.js +1 -1
  86. package/dist/translations/kn.umd.js +1 -1
  87. package/dist/translations/ko.js +1 -1
  88. package/dist/translations/ko.umd.js +1 -1
  89. package/dist/translations/ku.js +1 -1
  90. package/dist/translations/ku.umd.js +1 -1
  91. package/dist/translations/lt.js +1 -1
  92. package/dist/translations/lt.umd.js +1 -1
  93. package/dist/translations/lv.js +1 -1
  94. package/dist/translations/lv.umd.js +1 -1
  95. package/dist/translations/ms.js +1 -1
  96. package/dist/translations/ms.umd.js +1 -1
  97. package/dist/translations/nb.js +1 -1
  98. package/dist/translations/nb.umd.js +1 -1
  99. package/dist/translations/ne.js +1 -1
  100. package/dist/translations/ne.umd.js +1 -1
  101. package/dist/translations/nl.js +1 -1
  102. package/dist/translations/nl.umd.js +1 -1
  103. package/dist/translations/no.js +1 -1
  104. package/dist/translations/no.umd.js +1 -1
  105. package/dist/translations/oc.js +1 -1
  106. package/dist/translations/oc.umd.js +1 -1
  107. package/dist/translations/pl.js +1 -1
  108. package/dist/translations/pl.umd.js +1 -1
  109. package/dist/translations/pt-br.js +1 -1
  110. package/dist/translations/pt-br.umd.js +1 -1
  111. package/dist/translations/pt.js +1 -1
  112. package/dist/translations/pt.umd.js +1 -1
  113. package/dist/translations/ro.js +1 -1
  114. package/dist/translations/ro.umd.js +1 -1
  115. package/dist/translations/ru.js +1 -1
  116. package/dist/translations/ru.umd.js +1 -1
  117. package/dist/translations/si.js +1 -1
  118. package/dist/translations/si.umd.js +1 -1
  119. package/dist/translations/sk.js +1 -1
  120. package/dist/translations/sk.umd.js +1 -1
  121. package/dist/translations/sl.js +1 -1
  122. package/dist/translations/sl.umd.js +1 -1
  123. package/dist/translations/sq.js +1 -1
  124. package/dist/translations/sq.umd.js +1 -1
  125. package/dist/translations/sr-latn.js +1 -1
  126. package/dist/translations/sr-latn.umd.js +1 -1
  127. package/dist/translations/sr.js +1 -1
  128. package/dist/translations/sr.umd.js +1 -1
  129. package/dist/translations/sv.js +1 -1
  130. package/dist/translations/sv.umd.js +1 -1
  131. package/dist/translations/th.js +1 -1
  132. package/dist/translations/th.umd.js +1 -1
  133. package/dist/translations/ti.js +1 -1
  134. package/dist/translations/ti.umd.js +1 -1
  135. package/dist/translations/tk.js +1 -1
  136. package/dist/translations/tk.umd.js +1 -1
  137. package/dist/translations/tr.js +1 -1
  138. package/dist/translations/tr.umd.js +1 -1
  139. package/dist/translations/tt.js +1 -1
  140. package/dist/translations/tt.umd.js +1 -1
  141. package/dist/translations/ug.js +1 -1
  142. package/dist/translations/ug.umd.js +1 -1
  143. package/dist/translations/uk.js +1 -1
  144. package/dist/translations/uk.umd.js +1 -1
  145. package/dist/translations/ur.js +1 -1
  146. package/dist/translations/ur.umd.js +1 -1
  147. package/dist/translations/uz.js +1 -1
  148. package/dist/translations/uz.umd.js +1 -1
  149. package/dist/translations/vi.js +1 -1
  150. package/dist/translations/vi.umd.js +1 -1
  151. package/dist/translations/zh-cn.js +1 -1
  152. package/dist/translations/zh-cn.umd.js +1 -1
  153. package/dist/translations/zh.js +1 -1
  154. package/dist/translations/zh.umd.js +1 -1
  155. package/lang/translations/be.po +131 -0
  156. package/package.json +12 -11
  157. package/src/augmentation.d.ts +2 -1
  158. package/src/changeitem.js +2 -2
  159. package/src/editor/revisionviewereditor.js +2 -2
  160. package/src/editor/revisionviewereditorui.js +1 -1
  161. package/src/editor/revisionviewereditoruiview.js +1 -1
  162. package/src/index.d.ts +2 -0
  163. package/src/index.js +1 -1
  164. package/src/revision.js +2 -2
  165. package/src/revisiondiff.js +1 -1
  166. package/src/revisionhistory.d.ts +6 -0
  167. package/src/revisionhistory.js +1 -1
  168. package/src/revisionhistoryconfig.d.ts +2 -2
  169. package/src/revisionhistoryutils.d.ts +64 -0
  170. package/src/revisionhistoryutils.js +23 -0
  171. package/src/revisionsrepository.js +1 -1
  172. package/src/revisiontracker.d.ts +13 -9
  173. package/src/revisiontracker.js +1 -1
  174. package/src/revisionviewer.d.ts +39 -5
  175. package/src/revisionviewer.js +1 -1
  176. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  177. package/src/ui/revision/revisionauthorview.js +1 -1
  178. package/src/ui/revision/revisionnameview.js +1 -1
  179. package/src/ui/revision/revisionview.js +2 -2
  180. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  181. package/src/ui/revision/subrevisionview.js +1 -1
  182. package/src/ui/revision/utils.js +1 -1
  183. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  184. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  185. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  186. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  187. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  188. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  189. package/src/ui/revisionssidebar/utils.js +1 -1
  190. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  191. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  192. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  193. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  194. package/src/utils/common-translations.js +1 -1
  195. package/theme/icons/arrow-down.svg +0 -1
  196. package/theme/icons/arrow-up.svg +0 -1
  197. package/theme/icons/revision-history.svg +0 -1
  198. package/theme/icons/user.svg +0 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Revision:()=>Hi,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>On,RevisionViewer:()=>kr,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Lr,RevisionsRepository:()=>Xi,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var N=b?b.toStringTag:void 0;const A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":N&&N in Object(t)?O(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const M=function(t){if(!R(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const E=k["__core-js_shared__"];var V,D=(V=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var L=/^\[object .+?Constructor\]$/,P=Function.prototype,z=Object.prototype,W=P.toString,U=z.hasOwnProperty,Z=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const $=function(t){return!(!R(t)||C(t))&&(M(t)?Z:L).test(F(t))};const H=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=H(t,e);return $(i)?i:void 0};const B=q(k,"Map");const Y=q(Object,"create");const G=function(){this.__data__=Y?Y(null):{},this.size=0};const J=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var K=Object.prototype.hasOwnProperty;const X=function(t){var e=this.__data__;if(Y){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return K.call(e,t)?e[t]:void 0};var Q=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return Y?void 0!==e[t]:Q.call(e,t)};const et=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Y&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}it.prototype.clear=G,it.prototype.delete=J,it.prototype.get=X,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(B||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!B||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==A(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const Nt=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const At=Array.isArray;const Rt=function(){return!1};var Mt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Et=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,Vt=Et&&Et.exports===Mt?k.Buffer:void 0;const Dt=(Vt?Vt.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Lt={};Lt["[object Float32Array]"]=Lt["[object Float64Array]"]=Lt["[object Int8Array]"]=Lt["[object Int16Array]"]=Lt["[object Int32Array]"]=Lt["[object Uint8Array]"]=Lt["[object Uint8ClampedArray]"]=Lt["[object Uint16Array]"]=Lt["[object Uint32Array]"]=!0,Lt["[object Arguments]"]=Lt["[object Array]"]=Lt["[object ArrayBuffer]"]=Lt["[object Boolean]"]=Lt["[object DataView]"]=Lt["[object Date]"]=Lt["[object Error]"]=Lt["[object Function]"]=Lt["[object Map]"]=Lt["[object Number]"]=Lt["[object Object]"]=Lt["[object RegExp]"]=Lt["[object Set]"]=Lt["[object String]"]=Lt["[object WeakMap]"]=!1;const Pt=function(t){return It(t)&&Ft(t.length)&&!!Lt[A(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Zt=Ut&&Ut.exports===Wt&&y.process;const $t=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}();var Ht=$t&&$t.isTypedArray;const qt=Ht?zt(Ht):Pt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=At(t),n=!i&&Nt(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Gt=Object.prototype;const Jt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Gt)};const Kt=function(t,e){return function(i){return t(e(i))}};const Xt=Kt(Object.keys,Object);var Qt=Object.prototype.hasOwnProperty;const te=function(t){if(!Jt(t))return Xt(t);var e=[];for(var i in Object(t))Qt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!M(t)};const ie=function(t){return ee(t)?Yt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=Jt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Yt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Kt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const Oe=function(t,e,i){var n=e(t);return At(t)?n:we(n,i(t))};const xe=function(t){return Oe(t,ie,ke)};const Te=function(t){return Oe(t,ae,Ie)};const Ne=q(k,"DataView");const Ae=q(k,"Promise");const Re=q(k,"Set");const Me=q(k,"WeakMap");var Ee="[object Map]",Ve="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ne),Le=F(B),Pe=F(Ae),ze=F(Re),We=F(Me),Ue=A;(Ne&&Ue(new Ne(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Ee||Ae&&Ue(Ae.resolve())!=Ve||Re&&Ue(new Re)!=De||Me&&Ue(new Me)!=Ce)&&(Ue=function(t){var e=A(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Le:return Ee;case Pe:return Ve;case ze:return De;case We:return Ce}return e});const Ze=Ue;var $e=Object.prototype.hasOwnProperty;const He=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&$e.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(t)),e};const Ye=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Ge=/\w*$/;const Je=function(t){var e=new t.constructor(t.source,Ge.exec(t));return e.lastIndex=t.lastIndex,e};var Ke=b?b.prototype:void 0,Xe=Ke?Ke.valueOf:void 0;const Qe=function(t){return Xe?Object(Xe.call(t)):{}};const ti=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)};const ei=function(t,e,i){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Be(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Ye(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ti(t,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Je(t);case"[object Symbol]":return Qe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!R(e))return{};if(ii)return ii(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();const ri=function(t){return"function"!=typeof t.constructor||Jt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==Ze(t)};var oi=$t&&$t.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=$t&&$t.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=At(e);if(h){if(a=He(e),!c)return me(e,a)}else{var d=Ze(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:xe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==A(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(At(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,Oi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const xi=Oi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ni=b?b.prototype:void 0,Ai=Ni?Ni.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(At(e))return Ti(e,t)+"";if(yi(e))return Ai?Ai.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Mi=function(t){return null==t?"":Ri(t)};const Ei=function(t,e){return At(t)?t:bi(t,e)?[t]:xi(Mi(t))};const Vi=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Ei(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Vi(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Ei(e,t)).length;null!=t&&i<n;)t=t[Vi(e[i++])];return i&&i==n?t:void 0};const Li=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Pi=function(t,e){return e.length<2?t:Fi(t,Li(e,0,-1))};const zi=function(t,e){return e=Ei(e,t),null==(t=Pi(t,e))||delete t[Vi(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)},Ui=$i;function Zi(){const t=["27KSOupB","fire","createdAt","6820625hMwTVY","map","8ChytlP","4305890ePXHNg","toVersion","7214694BcPsBP","8698305ycFKwy","attributes","490038TUYDTj","setAttribute","authors","toJSON","setName","name","21091081RrwmpC","144YfBJcs","20024agQrLk","creator","3daRymi","set","removeAttribute","creatorId","authorsIds","_update","fromVersion","diffData"];return(Zi=function(){return t})()}function $i(t,e){const i=Zi();return($i=function(t,e){return i[t-=365]})(t,e)}!function(t){const e=$i,i=t();for(;;)try{if(731198===parseInt(e(369))/1*(-parseInt(e(388))/2)+parseInt(e(366))/3*(-parseInt(e(367))/4)+-parseInt(e(380))/5+parseInt(e(385))/6+-parseInt(e(386))/7*(-parseInt(e(382))/8)+parseInt(e(377))/9*(-parseInt(e(383))/10)+parseInt(e(365))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zi);class Hi extends((0,t.ObservableMixin)()){constructor(e){const i=$i;super(),this.id=e.id||(0,t.uid)(),this[i(368)]=e[i(368)]||null,this[i(390)]=e[i(390)]||[],this[i(376)]=e[i(376)]||null,this[i(384)]=e[i(384)]||0,this[i(375)]=e[i(375)]||0,this[i(370)](i(393),e[i(393)]||""),this[i(370)](i(379),e[i(379)]||new Date),this[i(370)](i(387),e[i(387)]||{})}[Ui(392)](t){this[Ui(374)]({name:t})}[Ui(389)](t,e){const i=Ui,n=vi(this[i(387)]);Ci(n,t,e),this[i(374)]({attributes:n})}[Ui(371)](t){const e=Ui,i=vi(this[e(387)]);Wi(i,t),this[e(374)]({attributes:i})}[Ui(374)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(393),i(379),i(376),i(390),i(387),i(384),i(375),i(372)];for(const e of s){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,r[e]=i,n=!0)}n&&(r[i(390)]&&(r[i(373)]=r[i(390)][i(381)]((t=>t.id)),delete r[i(390)]),this[i(378)](i(374),r,e))}[Ui(391)](){const t=Ui;return{id:this.id,name:this[t(393)],creatorId:this[t(368)]?this[t(368)].id:null,authorsIds:this[t(390)][t(381)]((t=>t.id)),diffData:this[t(376)],createdAt:this[t(379)],attributes:this[t(387)],fromVersion:this[t(375)],toVersion:this[t(384)]}}}var qi=i(782),Bi=i(211),Yi=i(783);const Gi=Ji;function Ji(t,e){const i=Ki();return(Ji=function(t,e){return i[t-=456]})(t,e)}function Ki(){const t=["2068tLCrJW","fromCharCode","oldRevisionId","join","newRevisionId","12482784jLtSiv","addRevision","getIndex","6252092JcqwNC","getRevisionsIterator","reverse","later","toJSON","data","isPremiumPlugin","5487040tSIcfj","from","earlier","15dTuJhE","RevisionsRepository","length","493674qDAKmn","map","getRevision","isOfficialPlugin","href","editor","push","getRevisions","plugins","add","_revisions","getRevisionsInDiff","70VRIbBU","81402vKadAn","attributes","toVersion","isNaN","getLaterVisibleRevision","creatorId","26lCQvMo","afterInit","fromVersion","authorsIds","diffData","getUser","1455EhIpmD","createdAt","getEarlierVisibleRevision","createRevision","name","Users","17754EQQLss","get","requires","pluginName"];return(Ki=function(){return t})()}!function(t){const e=Ji,i=t();for(;;)try{if(764002===-parseInt(e(483))/1*(-parseInt(e(477))/2)+parseInt(e(489))/3*(-parseInt(e(499))/4)+parseInt(e(461))/5*(-parseInt(e(464))/6)+parseInt(e(507))/7+parseInt(e(458))/8+-parseInt(e(504))/9+-parseInt(e(476))/10*(-parseInt(e(495))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ki);class Xi extends qi.Plugin{static get[Gi(497)](){return[Bi.Users]}static get[Gi(498)](){return Gi(462)}static get[Gi(467)](){return!0}static get[Gi(457)](){return!0}get[Gi(463)](){const t=Gi;return this[t(474)][t(463)]}constructor(e){const i=Gi;super(e),this[i(474)]=new t.Collection}[Gi(484)](){!async function(e){const i=k([100,99,50,75,73,86,70,55,87,105,110,76,120,90,109,52,106,85,101,121,65,97,51,111,57,80,114,67,78,53,77,108,122,69,117,54,113,72,84,103,112,71,118,115,83,119,88,68,49,98,66,89,82,116,81,107,74,56,102,79,48,104]),n=964649,r=window[k([68,97,116,101])][k([110,111,119])](),s=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{s[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=s[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Ji;for(const e in window)if(window[k([78,117,109,98,101,114])][i(480)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();s[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([100]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let r=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));r>=i[k([108,101,110,103,116,104])]&&(r-=i[k([108,101,110,103,116,104])]),e+=i[r]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,n])=>{i(e),t(n)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return s[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function y(t){return s[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function g(){}function k(t){const e=Ji;return t[e(465)]((t=>String[e(500)](t)))[e(502)]("")}!function(t){const i=l();s[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=y(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=g,void(n[k([95,103,101,116,68,105,102,102])]=g)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=y(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=g,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=g}s[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=g,s[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,s[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(n())return c(k([86,97,108,105,100]));a(),s[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(s(),t)),(()=>{const t=o();return null==t?(s(),k([86,97,108,105,100])):k(r-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const n=36e5;function s(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](r/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}s[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),s[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function n(){return s[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){s[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[r,s,o]=n;return e(r),await i(r,s,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const r=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,r,s)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&y(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?r/1e3:1741132800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Ji,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(468)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>r[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Gi(492)](t){const e=Gi,i=this[e(469)][e(472)][e(496)](e(494));return new Hi({id:t.id,name:t[e(493)],creator:t[e(482)]?i[e(488)](t[e(482)]):null,diffData:t[e(487)]||t[e(456)],authors:t[e(486)][e(465)]((t=>i[e(488)](t))),createdAt:new Date(t[e(490)]),attributes:t[e(478)],fromVersion:t[e(485)],toVersion:t[e(479)]})}[Gi(505)](t,e=0){const i=Gi;this[i(474)][i(473)](t,e)}[Gi(466)](t){const e=Gi;return this[e(474)][e(496)](t)}[Gi(471)](t={toJSON:!1}){const e=Gi,i=Array[e(459)](this[e(474)]);return i[e(509)](),t[e(511)]?i[e(465)]((t=>t[e(511)]())):i}[Gi(506)](t){const e=Gi;return this[e(474)][e(506)](t)}[Gi(491)](t){const e=Gi,[,i]=this[e(508)](t,{direction:e(460)});return i}[Gi(481)](t){const e=Gi,[,i]=this[e(508)](t,{direction:e(510)});return i}[Gi(475)](t){const e=Gi,i=[];for(const n of this[e(508)](t[e(503)]))if(i[e(470)](n),n.id===t[e(501)])break;return i}*[Gi(508)](t,{direction:e=Gi(460),filter:i=()=>!0}={}){const n=Gi,r=n(460)===e?1:-1;let s=this[n(474)][n(496)](t),o=this[n(506)](s);for(yield s;s;){if(o+=r,s=this[n(466)](o),!s)return;i(s)&&(yield s)}}}function Qi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=At(t),a=At(e),c=o?vn:Ze(t),u=a?vn:Ze(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)},_n=Rn;function In(){const t=["addRevisionData","setRevisionData","split","nodes","some","getData","$text","_touchedRoots","_handleOperation","_fixPosition","vid_start","_pendingAction","getAncestors","_getViewJson","PENDING_ACTION_REVISION_HISTORY","isEnabled","_removeMetaData","document","position","forEach","collaboration.channelId","_getBaseVids","diffData","revisionHistoryLicenseKeyNotAllowed","set","_licenseKeyCheckInterval","_fixRange","values","repository","createdAt","element","_makeRevision","roots","newRange","delete","getNodeByPath","createRangeIn","_isPendingUpdate","insertionPosition","max","stringify","saveRevision","for","_startingRevisionId","_isAttached","isAttached","getChildren","_isInit","reinsert","define","targetPosition","end","_fixOperation","merge","getAttributes","from","9880zJEApn","_removeRevisionMarkers","root","invalid","_markers","markerToData","RevisionsRepository","has","_lastFrom","howMany","insert","remove","revision-end","_lastTo","_savedMetaData","nodeAfter","plugins","_baseIdsRoots","isPremiumPlugin","Users","_getState","getMovedRangeStart","isAdd","_cloneOperation","initialData","add","deletion","_getPreviousFrom","finally","_createFromRanges","_loadRevisionData","config","editor","sendBufferedUpdates","clear","_createCurrentRevision","elementEnd","filter","addRootAttribute","getLatestVersion","trialLimit","_revisionId","getRevision","stickiness","attributesBefore","getCurrentRevisionId","createRevision","revisionHistoryLicenseKeyInvalid","_prepareViewToSave","createPositionFromPath","newValue","_saveMetaData","range","_initialRevisionId","creatorId","view","tableCell","then","name","getRootNames","processor","revisionHistoryLicenseKeyExpired","marker","_makeIdsRoot","children","1992244GSvYFz","_operations","rootsAttributes","getAttribute","27161388TfmsAg","_markChanges","_continueCurrentRevision","_handleInsertOperation","marked","dataDowncast","featureNotAllowed","removeRootAttribute","_makeModelFromViewString","revisionHistory.resumeUnsavedRevision","data","parent","_authorId","trim","loadState","createPositionAt","licenseKey","_handleMergeOperation","NEGATIVE_INFINITY","revision","_showLicenseError","get","sourcePosition","start","attributes","_getFromVersion","push","_touchedMarkers","keys","length","key","_handleRootAttributeOperation","keepParagraph","createPositionBefore","adapter","toModel","hasContent","_idsRoots","getRevisionDocumentData","getIndex","version","getChild","_processRootBeforeSave","_startingVersion","getOperation","clone","authorsIds","reverse","revisionHistoryLicenseKeyTrialLimit","vid","301azcBMX","_clone","getTransformedByOperation","_setAttribute","_baseRoots","_transformMarkers","ready","insertion","995705OdtsuZ","_handleSplitOperation","editor-initial-data-replaced-with-revision-data","string","text","expired","PendingActions","sort","find","_revisionDataBuilder","Empty document","9071850rXSvFx","pluginName","detachRoot","_addPendingAction","_findInsertionIndex","bind","authors","_bufferUpdate","getTime","history","getRange","offset","editing","RealTimeCollaborationClient","_createInitialRevision","currentRevision","destroy","afterInit","_execute","paragraph","map","RevisionHistory","revisionHistoryLicenseKeyEvaluationLimit","_generateTape","_source","revision-start","addRoot","locale","data-revision-","toView","creator","item","_setConversion","revisionHistoryLicenseKeyValid","_appendChild","_applyOperations","_bufferedUpdates","reInit","5605953eJmIkh","addRevision","graveyardPosition","evaluationLimit","type","4PNlCYf","toData","documentFragment","_copyMarkers","getRevisions","466701RHblqv","update","source","_loadState","rootName","getRevisionRootsAttributes","childCount","_replaceEditorDataWithRevisionData","conversion","_reset","getWalker","default","dataToMarker","vid_end","_insertChild","_update","_touched","model","fromVersion","setSource","_getVidAttributeName","insertions","buildRevisionData","offsetSize","isOfficialPlugin","isEqual","_handleMarkerOperation","init","_diffRootsAttributes","createPositionAfter","parse","_removePendingAction","createRange","revisionHistoryLicenseKeyDomainLimit","isReady","deletions","baseVersion","revision:","_baseRootsAttributes","elementStart","changeRootAttribute","previousPosition","attachChange","updateRevisions","initial","_diffRoots","toVersion","startsWith","$graveyard","getUser","_handleRootOperation","getOperations","_calculateMetaData","useFillerType","_loadedStateData","Initial revision","path","usageLimit","userId","domainLimit","_handleMoveOperation","markers","RevisionTracker","requires","upcast","affectsData","shift","size","fromEntries","getRoot","resolve","move","includes","splitPosition","slice","oldRange","revisionHistoryLicenseKeyUsageLimit","attributesAfter"];return(In=function(){return t})()}!function(t){const e=Rn,i=t();for(;;)try{if(954093===parseInt(e(254))/1+parseInt(e(453))/2+-parseInt(e(244))/3*(parseInt(e(249))/4)+-parseInt(e(195))/5+-parseInt(e(206))/6+-parseInt(e(187))/7*(-parseInt(e(388))/8)+parseInt(e(457))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(In);const Sn={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class On extends qi.Plugin{static get[_n(207)](){return _n(316)}static get[_n(278)](){return!0}static get[_n(406)](){return!0}static get[_n(317)](){return[Bi.Users,Xi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(491)]=null,this[i(221)]=null,this[i(204)]=new Tn(this[i(420)]),this[i(441)]=this[i(420)][i(419)][i(478)](i(352))||i(298),this[i(242)]=new Map,this[i(308)]=null;const n=(0,t.uid)();this[i(230)]={history:this[i(420)][i(271)][i(349)][i(215)],getLatestVersion:()=>Promise[i(324)](this[i(420)][i(271)][i(349)][i(177)]),getCurrentRevisionId:()=>n},this[i(356)](i(288),!1),this[i(356)](i(347),!0),this[i(356)](i(369),!1),this[i(420)][i(419)][i(381)](i(466),!0),this[i(420)][i(262)][i(374)](i(318))[i(266)]({view:i(476)})}[_n(281)](){const t=_n;this[t(360)]=this[t(420)][t(404)][t(478)](t(394)),this[t(238)](),this[t(420)][t(467)].on(t(193),(()=>{const e=t,i=this[e(360)][e(430)](0),n=i&&null===i[e(236)]?i:null;if(this[e(459)]=!!n&&this[e(420)][e(419)][e(478)](e(466)),this[e(420)][e(404)][e(395)](e(219))){const t=this[e(230)][e(433)](),r=this[e(360)][e(430)](t);if(r)this[e(180)]=r[e(272)],this[e(459)]=!1;else{const t=this[e(230)][e(215)][e(454)][e(203)]((t=>!t[e(379)])),r=t?t[e(290)]:this[e(230)][e(215)][e(177)];i?(i[e(300)]<r&&i[e(269)]({toVersion:r}),this[e(459)]?(this[e(230)][e(433)]=()=>n.id,this[e(180)]=n[e(272)]):(this[e(180)]=i[e(300)],this[e(459)]=!1)):(this[e(180)]=r,this[e(459)]=!1)}}else n&&(this[e(420)][e(271)][e(349)][e(215)][e(177)]=Math[e(371)](n[e(300)],this[e(420)][e(271)][e(349)][e(215)][e(177)]),n[e(272)]===n[e(300)]?(0!==n[e(272)]&&(this[e(230)][e(433)]=()=>n.id),this[e(459)]=!1):this[e(459)]&&(this[e(230)][e(433)]=()=>n.id,this[e(180)]=n[e(272)])),this[e(459)]||(this[e(180)]=this[e(420)][e(271)][e(349)][e(177)]);this[e(204)][e(281)](this[e(230)][e(215)]),this[e(220)](this[e(180)]),this[e(423)](this[e(180)]),this[e(491)]&&this[e(421)]()})),this[t(211)](t(288)).to(this,t(369),(t=>!t)),this[t(473)]=this[t(420)][t(419)][t(478)](t(473));const e=this[t(420)];this[t(357)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(239)==s||i(435)==s||i(449)==s||i(287)==s||i(355)==s||i(228)==s||i(185)==s||i(330)==s){delete e[r],n=s,clearInterval(this[i(357)]),this[i(357)]=void 0;break}}i(435)==n&&e[i(477)](i(391)),i(449)==n&&e[i(477)](i(200)),i(287)==n&&e[i(477)](i(313)),i(355)==n&&e[i(477)](i(463),i(227)),i(228)==n&&e[i(477)](i(247)),i(185)==n&&e[i(477)](i(428)),i(330)==n&&e[i(477)](i(311))}),1e3)}async[_n(223)](){const t=_n;if(this[t(360)][t(486)]>0){const e=this[t(360)][t(430)](0),i=await this[t(175)](e),n=await this[t(259)](e);this[t(261)](i,n)}}[_n(222)](){const t=_n;super[t(222)](),this[t(357)]&&clearInterval(this[t(357)])}[_n(273)](t){this[_n(230)]=t}async[_n(255)](){const t=_n,e=await this[t(230)][t(427)]();if(e>this[t(221)][t(300)]){await this[t(257)]();const i=this[t(276)]({revision:this[t(221)],to:e});i[t(212)]=i[t(183)][t(226)]((e=>this[t(420)][t(404)][t(478)](t(407))[t(303)](e))),this[t(221)][t(269)](i)}}async[_n(257)](){const t=_n;this[t(459)]&&!this[t(308)]&&(await this[t(418)](this[t(221)]),this[t(204)][t(471)](this[t(221)]),this[t(308)]={fromVersion:this[t(221)][t(272)],authors:this[t(221)][t(212)][t(328)]()})}async[_n(373)](e={},i=null){const n=_n,r=[];await this[n(257)](),this[n(459)]=!1,i>this[n(221)][n(300)]&&(i=null),null===i&&(i=await this[n(230)][n(427)]());const s=this[n(482)](i),o=this[n(276)]({from:s,to:i});if(this[n(221)][n(300)]<i){const t=this[n(276)]({revision:this[n(221)],from:i,to:i});t[n(212)]=[],t[n(183)]=[],t.id=this[n(221)].id,this[n(221)][n(269)](t,!0),delete t[n(212)],r[n(483)](t)}e[n(442)]=this[n(420)][n(404)][n(478)](n(407)).me.id,e[n(446)]=e[n(446)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(332)](e);r[n(483)](e);const c=this[n(360)][n(176)](a);if(0!==c){const t=this[n(360)][n(430)](c-1);if(t[n(272)]!==i){const s=this[n(204)][n(337)](i,t[n(300)]),o={id:t.id,diffData:s[n(354)],authorsIds:s[n(183)],authors:s[n(183)][n(226)]((t=>this[n(420)][n(404)][n(478)](n(407))[n(303)](t))),fromVersion:i};t===this[n(221)]&&(o[n(361)]=new Date(e[n(361)][n(214)]()+10)),t[n(269)](o,!0),delete o[n(212)],r[n(483)](o)}}if(this[n(491)]){for(const t of r)this[n(213)](t.id,t,!0);this[n(421)]()}return a}[_n(332)](t){const e=_n,i=this[e(360)][e(434)](t);return this[e(491)]&&i.on(e(269),((t,i,n)=>{const r=e;n||(this[r(213)](i.id,i,!0),this[r(421)]())})),this[e(360)][e(245)](i,this[e(210)](i)),i}async[_n(175)](t){const e=_n;await this[e(418)](t);const i={};for(const n in t[e(354)]){if(t[e(354)][n][e(296)]&&!t[e(354)][n][e(296)][e(377)])continue;const r=this[e(389)](JSON[e(284)](t[e(354)][n][e(275)])),s=this[e(420)][e(218)][e(443)][e(349)],o=new Yi.ViewDocumentFragment(s,r[e(226)]((t=>xn(t,this[e(420)]))));this[e(420)][e(467)][e(448)][e(307)](e(461)),i[n]=this[e(420)][e(467)][e(448)][e(250)](o),this[e(420)][e(467)][e(448)][e(307)](e(265))}return i}async[_n(259)](t){const e=_n;await this[e(418)](t);const i={};for(const n in t[e(354)])t[e(354)][n][e(296)]&&!t[e(354)][n][e(296)][e(377)]||(i[n]=t[e(354)][n][e(331)]||{});return i}[_n(421)](){const t=_n;if(0===this[t(242)][t(321)])return;if(this[t(369)])return;let e=Array[t(387)](this[t(242)][t(359)]());this[t(242)][t(422)]();for(let i=0;i<e[t(486)];i++){const n=e[i];let r=!1;for(const e of Object[t(485)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(425)]((t=>null!==t)),!e[t(486)])return;for(let i=0;i<e[t(486)];i++){const n=e[i];void 0!==n[t(272)]&&void 0===n[t(300)]&&(n[t(300)]=this[t(360)][t(430)](n.id)[t(300)]),void 0!==n[t(300)]&&void 0===n[t(272)]&&(n[t(272)]=this[t(360)][t(430)](n.id)[t(272)])}const i=this[t(420)][t(419)][t(478)](t(352));this[t(369)]=!0,this[t(209)](),this[t(491)][t(297)](e,i)[t(416)]((()=>{this[t(369)]=!1}))[t(445)]((e=>{const i=t;if(e)for(const t of e)this[i(333)]({id:t.id,createdAt:t[i(361)]});this[i(285)](),this[i(421)]()}))}[_n(261)](e,i){const n=_n;let r=this[n(420)][n(419)][n(478)](n(412)),s=this[n(420)][n(419)][n(478)](n(455));if(void 0===r){r={};for(const t of this[n(420)][n(271)][n(349)][n(447)]())r[t]=""}if(n(198)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(420)][n(271)][n(349)][n(447)]())s[t]={}}let o=!1;const a=Object[n(485)](r),c=Object[n(485)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(470)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(485)](s[t])[n(486)]>0){o=!0;break}}o||(o=c[n(336)]((t=>!this[n(420)][n(271)][n(349)][n(323)](t)))),o&&(0,t.logWarning)(n(197),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(420)][n(419)][n(356)](n(412),e),this[n(420)][n(419)][n(356)](n(455),i)}[_n(209)](){const t=_n;if(!this[t(343)]){const e=this[t(420)][t(404)][t(478)](t(201));this[t(343)]=e[t(413)](Qi(this[t(420)][t(233)],t(346)))}}[_n(285)](){const t=_n;this[t(343)]&&(this[t(420)][t(404)][t(478)](t(201))[t(399)](this[t(343)]),this[t(343)]=null)}[_n(210)](t){const e=_n,i=this[e(360)][e(253)]();i[e(184)]();let n=0;for(;n<i[e(486)];){const r=i[n];if(r===this[e(221)]){n++;continue}if(r.id===this[e(441)])break;const s=t[e(300)]-r[e(300)]||t[e(272)]-r[e(272)];if(s>0)break;if(s<0)n++;else{if(!t[e(236)]&&r[e(236)])break;if(r[e(236)]||!t[e(236)]){if(t[e(361)]>r[e(361)])break;n++}else n++}}return n}[_n(333)](t){const e=_n,i=this[e(360)][e(430)](t.id);if(t[e(361)]&&(t[e(361)]=new Date(t[e(361)])),t[e(183)]){const i=this[e(420)][e(404)][e(478)](e(407));t[e(212)]=t[e(183)][e(226)]((t=>i[e(303)](t)))}i[e(269)](t,!0)}[_n(276)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(272)],i=null!==i?i:t[n(300)];const r=this[n(204)][n(337)](e,i),s={diffData:r[n(354)],authorsIds:r[n(183)],fromVersion:e,toVersion:i};if(!t||i!==t[n(300)]){const t=i-1,e=this[n(230)][n(215)][n(181)](t);s[n(361)]=e&&e[n(361)]||new Date}if(this[n(308)]&&e===this[n(308)][n(272)])for(const t of this[n(308)][n(212)])s[n(183)][n(326)](t.id)||s[n(183)][n(483)](t.id);return s}[_n(418)](t){const e=_n;if(!t||t[e(354)])return Promise[e(324)]();{const i=this[e(420)][e(419)][e(478)](e(352));return this[e(491)][e(430)]({channelId:i,revisionId:t.id})[e(445)]((i=>{const n=e;t[n(354)]=i[n(354)]}))}}[_n(213)](t,e,i){const n=_n;if(this[n(242)][n(395)](t)){const r=this[n(242)][n(478)](t);e=i?{...r,...e}:{...e,...r}}this[n(242)][n(356)](t,e)}[_n(482)](t){const e=_n,i=this[e(360)][e(253)]();i[e(184)](),i[e(320)]();const n=i[e(203)]((i=>i[e(300)]<=t))[e(300)];return n<this[e(180)]?this[e(180)]:n}[_n(220)](t){const e=_n,i=this[e(360)][e(430)](this[e(360)][e(486)]-1);if(i)this[e(441)]=i.id;else{const i=!this[e(420)][e(271)][e(349)][e(364)][e(203)]((t=>this[e(420)][e(271)][e(173)](t))),n=this[e(420)][e(404)][e(478)](e(407)).me.id,r=Qi(this[e(420)][e(233)],e(i?205:309));this[e(363)]({from:t,to:t,id:this[e(441)],name:r,creatorId:n})}}[_n(423)](t){const e=_n,i=this[e(230)][e(433)]();this[e(221)]=this[e(360)][e(430)](i),this[e(221)]||(this[e(221)]=this[e(363)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(363)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(276)]({from:e,to:i});o[s(446)]=t,o[s(442)]=n,o.id=r;const a=this[s(332)](o);return this[s(491)]&&this[s(213)](o.id,o,!0),a}[_n(238)](){const t=_n;this[t(420)][t(262)][t(374)](t(462))[t(393)]({model:t(476)})}[_n(389)](t){const e=_n;return(t=t[e(425)]((t=>!t[e(446)]||e(231)!==t[e(446)]&&e(400)!==t[e(446)])))[e(351)]((t=>{const i=e;i(198)!=typeof t&&(t[i(452)]=this[i(389)](t[i(452)]),t[i(481)]=t[i(481)][i(425)]((t=>!t[0][i(301)](i(234)))))})),t}}function xn(t,e){const i=_n,n=e[i(218)][i(443)][i(349)];if(i(198)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(452)][i(226)]((t=>xn(t,e)));return new(Sn[t[i(248)]]||Yi.ViewElement)(n,t[i(446)],t[i(481)],r)}}class Tn{constructor(t){const e=_n;this[e(420)]=t,this[e(402)]=new Map,this[e(396)]=-1,this[e(401)]=-1,this[e(392)]=new Map,this[e(299)]=new Map,this[e(282)]=new Map,this[e(191)]=new Map,this[e(292)]=new Map,this[e(174)]=new Map,this[e(405)]=new Map,this[e(270)]=new Map,this[e(484)]=new Map,this[e(339)]=new Map,this[e(429)]=1}[_n(281)](t){const e=_n;this[e(256)]=t;const i=new Map,n=new Map,r=this[e(420)][e(271)][e(349)][e(364)][e(226)]((t=>t[e(258)]));for(const t of r){const r=this[e(420)][e(271)][e(349)][e(323)](t),s=Nn(r);i[e(356)](t,s),n[e(356)](t,Object[e(322)](r[e(386)]()))}const s=Array[e(387)](this[e(420)][e(271)][e(315)])[e(226)]((t=>[t[e(446)],t[e(216)]()])),o=this[e(256)][e(177)];this[e(439)](o,i,s,n),this[e(375)]=this[e(429)];const a=new Map,c=new Map;for(const t of r){const i=An(t);a[e(356)](t,i),c[e(356)](t,{})}this[e(439)](Number[e(475)],a,[],c)}[_n(337)](t,e){const i=_n;if(this[i(396)]===t&&this[i(401)]<=e)this[i(402)][i(321)]>1&&this[i(348)](this[i(401)]),this[i(241)](this[i(401)],e,!0);else{if(!this[i(402)][i(395)](t)){const e=this[i(415)](t);this[i(306)](e,t,!1)}this[i(306)](t,e,!0)}return this[i(396)]=t,this[i(401)]=e,this[i(408)]()}[_n(471)](t){const e=_n;this[e(263)](),this[e(396)]=t[e(272)],this[e(401)]=t[e(300)];for(const i in t[e(354)]){const n=t[e(354)][i][e(296)],r=vi(t[e(354)][i][e(432)])||{},s=this[e(465)](t[e(354)][i][e(289)]);s[e(258)]=i,s[e(376)]=!n||!n[e(377)],s[e(377)]=()=>s[e(376)],this[e(191)][e(356)](i,s),this[e(292)][e(356)](i,r),n&&this[e(339)][e(356)](i,n);const o=this[e(451)](s);this[e(405)][e(356)](i,o);for(const[t,i]of s[e(315)]){if(!t[e(301)](e(291)))continue;const n=t[e(334)](":")[2];for(const t of i[e(264)]({singleCharacters:!0})){const i=this[e(274)](t),r=e(424)==t[e(248)]?t[e(295)][e(310)][e(328)](0,-1):t[e(295)][e(310)],s=o[e(367)](r)[e(456)](i);this[e(270)][e(356)](s,{userId:n})}}}this[e(375)]=this[e(429)];const i=[...Array(this[e(429)])[e(485)]()][e(328)](1)[e(425)]((t=>!this[e(270)][e(395)](t)));let n=0;const r=new Map;for(const s in t[e(354)]){const o=t[e(354)][s][e(296)],a=vi(t[e(354)][s][e(331)])||{},c=this[e(465)](t[e(354)][s][e(275)]);c[e(258)]=s,c[e(376)]=!o||o[e(377)],c[e(377)]=()=>c[e(376)],this[e(299)][e(356)](s,c),this[e(282)][e(356)](s,a);const u=this[e(451)](c,Number[e(475)]);this[e(174)][e(356)](s,u),r[e(356)](s,c[e(377)]()?a:{});for(const[t,i]of c[e(315)]){if(!t[e(301)](e(291)))continue;const n=t[e(334)](":")[2];for(const t of i[e(264)]({singleCharacters:!0})){const i=this[e(274)](t),r=this[e(429)]++,s=e(424)==t[e(248)]?t[e(295)][e(310)][e(328)](0,-1):t[e(295)][e(310)];u[e(367)](s)[e(190)](i,r),this[e(270)][e(356)](r,{userId:n})}}for(const t of this[e(420)][e(271)][e(368)](c)[e(264)]({singleCharacters:!0})){const r=this[e(274)](t),s=e(424)==t[e(248)]?t[e(295)][e(310)][e(328)](0,-1):t[e(295)][e(310)],o=u[e(367)](s);o[e(456)](r)>0||o[e(190)](r,i[n++])}for(const[t,i]of c[e(315)])t[e(301)](e(291))||this[e(392)][e(356)](t,i)}const s=An(e(302));this[e(191)][e(356)](e(302),s),this[e(405)][e(356)](e(302),this[e(451)](s,1));const o=An(e(302));this[e(299)][e(356)](e(302),o),this[e(174)][e(356)](e(302),this[e(451)](o,1));const a=Array[e(387)](this[e(299)])[e(226)]((([t,e])=>[t,Nn(e)]));this[e(439)](this[e(401)],a,this[e(392)],r)}[_n(465)](t){const e=_n,i=JSON[e(284)](t),n=this[e(420)][e(218)][e(443)][e(349)],r=new Yi.ViewDocumentFragment(n,i[e(226)]((t=>xn(t,this[e(420)]))));return this[e(420)][e(467)][e(492)](r)}[_n(439)](t,e,i,n){const r=_n,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(356)](t,{start:e[r(480)][r(182)](),end:e[r(383)][r(182)](),rootName:e[r(390)][r(258)]});this[r(402)][r(356)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(348)](t){const e=_n;this[e(402)][e(366)](t)}[_n(243)](){const t=_n;this[t(263)](),this[t(396)]=-1,this[t(401)]=-1,this[t(402)][t(422)](),this[t(281)](this[t(256)])}[_n(263)](){const t=_n;this[t(270)][t(422)](),this[t(484)][t(422)](),this[t(339)][t(422)](),this[t(299)][t(422)](),this[t(282)][t(422)](),this[t(191)][t(422)](),this[t(292)][t(422)](),this[t(174)][t(422)](),this[t(405)][t(422)](),this[t(392)][t(422)](),this[t(429)]=1,this[t(375)]=this[t(429)]}[_n(451)](t,e=null){const i=_n;let n=null;t.is(i(251))||(n=new Yi.Element(t[i(446)],{vid_start:null===e?this[i(429)]++:e++}));const r=[];for(const n of t[i(378)]())if(n.is(i(362))){r[i(483)](this[i(451)](n,e));const t=r[r[i(486)]-1];null!==e&&(e=t.is(i(362),i(338))?t[i(456)](i(186))+1:t[i(456)](i(267))+1)}else for(let t=0;t<n[i(277)];t++)r[i(483)](new Yi.Element(i(338),{vid:null===e?this[i(429)]++:e++}));if(t.is(i(251))){const e=An(t[i(258)]);return e[i(268)](0,r),e}return n[i(190)](i(267),null===e?this[i(429)]++:e++),n[i(268)](0,r),n}[_n(306)](t,e,i){const n=_n;this[n(263)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(402)][n(478)](t);this[n(191)]=new Map(r),this[n(292)]=new Map(vi(o));for(const[t,e]of this[n(191)])if(n(302)!==t&&(this[n(299)][n(356)](t,Nn(e)),this[n(282)]=new Map(vi(o)),i)){const i=this[n(429)];this[n(174)][n(356)](t,this[n(451)](e)),this[n(405)][n(356)](t,this[n(451)](e,i))}this[n(375)]=this[n(429)],this[n(299)][n(356)](n(302),Nn(this[n(191)][n(478)](n(302)))),i&&this[n(174)][n(356)](n(302),this[n(451)](this[n(191)][n(478)](n(302))));for(const[t,e]of s){const i=this[n(191)][n(478)](e[n(258)]),r=this[n(299)][n(478)](e[n(258)]),s=new Yi.Range(this[n(341)](e[n(480)],i),this[n(341)](e[n(383)],i)),o=this[n(358)](s,r);i[n(315)][n(356)](t,s),this[n(392)][n(356)](t,o)}this[n(241)](t,e,i)}[_n(241)](t,e,i){const n=_n;for(const r of this[n(256)][n(305)](t,e))this[n(340)](r,i);for(const t of this[n(299)][n(359)]())t[n(315)][n(422)]();for(const[t,e]of this[n(392)])this[n(299)][n(478)](e[n(390)][n(258)])[n(315)][n(356)](t,e[n(182)]());const r=new Map,s=new Map;for(const[t,e]of this[n(299)])r[n(356)](t,Nn(e)),s[n(356)](t,this[n(282)][n(478)](t));this[n(439)](e,r,this[n(392)],s)}[_n(415)](t){const e=_n,i=Array[e(387)](this[e(402)][e(485)]());i[e(202)](((t,e)=>t-e)),i[e(184)]();for(const e of i)if(e<t)return e;return Number[e(475)]}[_n(252)](t,e){const i=_n,n=Array[i(387)](e[i(315)])[i(226)]((([e,n])=>[e,this[i(358)](n,t)]));t[i(315)]=new Map(n)}[_n(192)](t){const e=_n;for(const i of this[e(392)][e(359)]()){const n=i[e(189)](t),r=Yi.Range[e(417)](n);i[e(480)]=r[e(480)],i[e(383)]=r[e(383)]}}[_n(340)](t,e){const i=_n;if(i(232)!=t[i(248)]&&i(208)!=t[i(248)]){if(i(398)==t[i(248)]){const n=t[i(350)][i(390)][i(258)];this[i(299)][i(395)](n)||(this[i(299)][i(356)](n,An(n,!0)),this[i(282)][i(356)](n,{}),e&&this[i(174)][i(356)](n,An(n,!0)))}else{if(i(426)==t[i(248)]||i(464)==t[i(248)]||i(294)==t[i(248)])return void this[i(488)](t);i(450)==t[i(248)]&&this[i(280)](t)}if(i(450)!==t[i(248)]){const e=this[i(411)](t,this[i(299)]);e[i(224)](),this[i(192)](e)}if(e)switch(t[i(248)]){case i(398):this[i(460)](t);break;case i(325):case i(399):case i(380):this[i(314)](t);break;case i(385):this[i(474)](t);break;case i(334):this[i(196)](t)}}else this[i(304)](t,e)}[_n(411)](t,e){const i=_n,n=t[i(182)]();return n[i(469)]=t[i(469)],this[i(384)](n,e),n}[_n(353)](t){const e=_n;return t[e(226)]((t=>{const i=e,n=this[i(274)](t);return Number(t[i(237)][i(456)](n))}))}[_n(229)](t,e){const i=_n;if(t.is(i(362),i(338)))e[i(483)]({item:t,type:i(199)});else{t.is(i(362))&&e[i(483)]({item:t,type:i(293)});for(const n of t[i(378)]())this[i(229)](n,e);t.is(i(362))&&e[i(483)]({item:t,type:i(424)})}return e}[_n(408)](){const t=_n,e=new Map(this[t(270)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(191)][t(485)](),...this[t(299)][t(485)]()]);a[t(366)](t(302));for(const e of a){const i=this[t(299)][t(478)](e)||An(e,!1),n=this[t(191)][t(478)](e)||An(e,!1);i[t(377)]()||n[t(377)]()?(r[t(275)][e]=Nn(i),r[t(289)][e]=Nn(n),this[t(252)](r[t(289)][e],n),this[t(252)](r[t(275)][e],i),s[t(275)][e]=this[t(229)](this[t(174)][t(478)](e),[]),s[t(289)][e]=this[t(229)](this[t(405)][t(478)](e)||An(e,!1),[])):a[t(366)](e)}for(const r of a){const o=s[t(275)][r];for(const r of o){const s=this[t(274)](r),o=r[t(237)][t(456)](s);i[t(366)](o),o>=this[t(375)]&&n[t(356)](o,e[t(478)](o))}}for(const r of a){const a=s[t(275)][r],c=this[t(353)](s[t(289)][r]);let u=0;for(const r of a){const s=this[t(274)](r),a=r[t(237)][t(456)](s);if(!n[t(395)](a)&&!o[t(395)](a))if(i[t(395)](a))u++;else{if(a!=c[u]){const n=e[t(478)](a)||e[t(478)](c[u]);for(;a!=c[u];)i[t(395)](c[u])||(o[t(356)](c[u],n),e[t(356)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(275)][e];for(const e of r){const r=this[t(274)](e),s=e[t(237)][t(456)](r);if(o[t(395)](s)){const e=o[t(478)](s);i[t(395)](s)||i[t(356)](s,{...e}),n[t(356)](s,{...e})}}}for(const e of i[t(485)]())e>=this[t(375)]&&i[t(366)](e);const c=new Map;for(const e of a){let r=s[t(275)][e];for(const e of r)if(e[t(237)].is(t(362),t(444))){const i=this[t(274)](e),r=e[t(237)][t(456)](i);if(n[t(395)](r)){const i=e[t(237)][t(468)][t(468)][t(456)](t(342)),s=c[t(478)](i)||new Set;s[t(413)](n[t(478)](r)[t(312)]),c[t(356)](i,s)}}r=s[t(289)][e];for(const e of r)if(e[t(237)].is(t(362),t(444))){const n=this[t(274)](e),r=e[t(237)][t(456)](n);if(i[t(395)](r)){const n=e[t(237)][t(468)][t(468)][t(456)](t(342)),s=c[t(478)](n)||new Set;s[t(413)](i[t(478)](r)[t(312)]),c[t(356)](n,s)}}for(const e of c[t(485)]())(n[t(395)](e)||i[t(395)](e))&&c[t(366)](e)}for(const e of a){const r=s[t(275)][e];let o=null,a=null;for(const e of r){const r=this[t(274)](e),s=e[t(237)][t(456)](r),u=c[t(478)](s);u&&t(293)==e[t(248)]&&(o=Array[t(387)](u)[0],a=e[t(237)][t(456)](t(267))),o&&(i[t(356)](s,{userId:o}),n[t(356)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(289)][e],a=r[t(275)][e];for(const{userId:e}of this[t(484)][t(359)]())null!==e&&l[t(413)](e);for(const{userId:e}of this[t(339)][t(359)]())null!==e&&l[t(413)](e);this[t(458)](a,s[t(275)][e],n,t(194),l),this[t(458)](o,s[t(289)][e],i,t(414),l),u[e]={insertions:this[t(436)](a),deletions:this[t(436)](o),attachChange:this[t(339)][t(478)](e)||null,attributesBefore:vi(this[t(292)][t(478)](e))||{},attributesAfter:vi(this[t(282)][t(478)](e))}}return{diffData:u,authorsIds:Array[t(387)](l)}}[_n(179)](t){const e=_n;for(const[,i]of t[e(315)]){const t=i[e(480)][e(344)]()[e(425)]((t=>e(444)==t[e(446)]));for(const i of t)1==i[e(260)]&&i[e(178)](0).is(e(362),e(225))&&i[e(178)](0)[e(190)](e(489),!0)}}[_n(436)](t){const e=_n;this[e(179)](t);const i=this[e(420)][e(467)][e(235)](t,{}),n=Array[e(387)](i[e(378)]())[e(226)]((t=>this[e(345)](t)));return JSON[e(372)](n)}[_n(345)](t){const e=_n;if(t.is(e(338)))return t[e(467)];{const i=t;return{type:Object[e(485)](Sn)[e(203)]((e=>t instanceof Sn[e])),name:i[e(446)],attributes:Array[e(387)](i[e(386)]()),children:Array[e(387)](i[e(378)]())[e(226)]((t=>this[e(345)](t)))}}}[_n(458)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(420)][s(271)];for(let n=0;n<e[s(486)];n++){const r=this[s(274)](e[n]),c=e[n][s(237)][s(456)](r),h=i[s(478)](c),d=n==e[s(486)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(312)]!=o[s(312)])&&(l(h,Mn(a,t,u),Mn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Mn(a,t,u),En(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(312)],d=l(291)+n+":"+h+":"+c++,f=u[l(286)](i,a);t[l(315)][l(356)](d,f),null!==h&&r[l(413)](h)}}[_n(274)](t){const e=_n;switch(t[e(248)]){case e(293):return e(342);case e(424):return e(267);default:return e(186)}}[_n(384)](t,e){const i=_n;t[i(290)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(478)](r[i(390)][i(258)]);t[n]=this[i(341)](r,s)}if(r instanceof Yi.Range){const s=e[i(478)](r[i(390)][i(258)]);t[n]=this[i(358)](r,s)}i(390)===n&&(t[i(390)]=e[i(478)](t[i(390)][i(258)]))}}[_n(358)](t,e){const i=_n;return this[i(420)][i(271)][i(286)](this[i(341)](t[i(480)],e),this[i(341)](t[i(383)],e))}[_n(341)](t,e){const i=_n;return this[i(420)][i(271)][i(437)](e,t[i(310)],t[i(431)])}[_n(460)](t){const e=_n,i=this[e(174)][e(478)](t[e(350)][e(390)][e(258)]),n=this[e(341)](t[e(350)],i),r=null===t[e(469)]?null:t[e(469)]||this[e(420)][e(404)][e(478)](e(407)).me.id,s=n[e(468)],o=this[e(429)],a=[];for(const i of t[e(335)])if(i.is(e(362)))a[e(483)](this[e(451)](i));else for(let t=0;t<i[e(277)];t++)a[e(483)](new Yi.Element(e(338),{vid:this[e(429)]++}));const c=this[e(429)];for(let t=o;t<c;t++)this[e(270)][e(356)](t,{userId:r});s[e(268)](n[e(217)],a)}[_n(314)](t){const e=_n;(t=this[e(411)](t,this[e(174)]))[e(224)]();const i=null===t[e(469)]?null:t[e(469)]||this[e(420)][e(404)][e(478)](e(407)).me.id,n=t[e(409)](),r=n[e(468)],s=n[e(217)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(178)](e);s.is(a(362),a(338))?n[a(356)](s[a(456)](a(186)),{userId:i}):(n[a(356)](s[a(456)](a(342)),{userId:i}),t(n,s,0,s[a(260)]),n[a(356)](s[a(456)](a(267)),{userId:i}))}}(this[e(270)],r,s,s+t[e(397)])}[_n(474)](t){const e=_n,i=null===(t=this[e(411)](t,this[e(174)]))[e(469)]?null:t[e(469)]||this[e(420)][e(404)][e(478)](e(407)).me.id,n=t[e(382)][e(468)],r=t[e(479)][e(468)],s=n[e(456)](e(267)),o=r[e(456)](e(342));n[e(190)](e(267),r[e(456)](e(267))),r[e(190)](e(267),s),this[e(270)][e(356)](o,{userId:i}),this[e(270)][e(356)](s,{userId:i}),t[e(224)]()}[_n(196)](t){const e=_n,i=null===(t=this[e(411)](t,this[e(174)]))[e(469)]?null:t[e(469)]||this[e(420)][e(404)][e(478)](e(407)).me.id,n=t[e(246)],r=t[e(327)][e(468)];t[e(224)]();const s=r[e(456)](e(267)),o=t[e(370)][e(403)];if(n){const t=o[e(456)](e(267)),n=r[e(456)](e(267));r[e(190)](e(267),t),o[e(190)](e(267),n),this[e(270)][e(356)](r[e(456)](e(267)),{userId:i}),this[e(270)][e(356)](o[e(456)](e(342)),{userId:i})}else{const t=this[e(429)]++,n=this[e(429)]++;r[e(190)](e(267),t),o[e(190)](e(342),n),o[e(190)](e(267),s),this[e(270)][e(356)](t,{userId:i}),this[e(270)][e(356)](n,{userId:i})}}[_n(280)](t){const e=_n;if(!t[e(319)])return;const i=(t=this[e(411)](t,this[e(299)]))[e(329)]?t[e(329)][e(390)]:null,n=t[e(365)]?t[e(365)][e(390)]:null;i&&this[e(392)][e(366)](t[e(446)]),n&&this[e(392)][e(356)](t[e(446)],t[e(365)][e(182)]());const r=null===t[e(469)]?null:t[e(469)]||this[e(420)][e(404)][e(478)](e(407)).me.id,s=t[e(446)];if(!this[e(484)][e(395)](s))return void this[e(484)][e(356)](s,{range:t[e(329)],userId:r});const o=this[e(484)][e(478)](s),a=o[e(440)],c=t[e(365)];null==a&&null==c||a&&c&&a[e(279)](c)?this[e(484)][e(366)](t[e(446)]):o[e(312)]=r}[_n(304)](t,e){const i=_n;this[i(299)][i(395)](t[i(258)])?this[i(299)][i(478)](t[i(258)])[i(376)]=t[i(410)]:(this[i(299)][i(356)](t[i(258)],An(t[i(258)],!0)),this[i(282)][i(356)](t[i(258)],{}),e&&this[i(174)][i(356)](t[i(258)],An(t[i(258)],!0)));const n=null===t[i(469)]?null:t[i(469)]||this[i(420)][i(404)][i(478)](i(407)).me.id,r=this[i(339)][i(478)](t[i(258)]);r&&r[i(312)]===n?this[i(339)][i(366)](t[i(258)]):this[i(339)][i(356)](t[i(258)],{userId:n,isAttached:t[i(410)]})}[_n(488)](t){const e=_n,i=this[e(282)][e(478)](t[e(390)][e(258)]);null===t[e(438)]?delete i[t[e(487)]]:i[t[e(487)]]=t[e(438)]}}function Nn(t){const e=_n,i=An(t[e(258)],t[e(377)]());for(const n of t[e(378)]()){const t=n[e(188)](!0);i[e(240)](t)}return i}function An(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(258)]=t,n[i(376)]=e,n[i(377)]=()=>n[i(376)],n}function Rn(t,e){const i=In();return(Rn=function(t,e){return i[t-=173]})(t,e)}function Mn(t,e,i){const n=_n,r=n(424)==t[n(248)]?i[n(472)](t[n(237)],n(383)):i[n(490)](t[n(237)]);return i[n(437)](e,r[n(310)],r[n(431)])}function En(t,e,i){const n=_n,r=n(293)==t[n(248)]?i[n(472)](t[n(237)],0):i[n(283)](t[n(237)]);return i[n(437)](e,r[n(310)],r[n(431)])}var Vn=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Ln=i(262),Pn=i.n(Ln),zn=i(667),Wn=i.n(zn),Un=i(357),Zn=i.n(Un),$n=i(426),Hn={attributes:{"data-cke":!0}};Hn.setAttributes=Wn(),Hn.insert=Pn().bind(null,"head"),Hn.domAPI=Fn(),Hn.insertStyleElement=Zn();Cn()($n.A,Hn);$n.A&&$n.A.locals&&$n.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Pn().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Zn();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;function Yn(){const t=["add","392WUPonF","18qrUMQA","ck-responsive-form","220","446344fBQKjc","focus","Name of the revision","extendTemplate","arrowright","set","form","locale","value","revisionNameInputView","1nKjIqY","ck-revision-history-save-revision-form","_createRevisionNameInput","keystrokes","arrowdown","7189UnBvOL","focusTracker","input","17640zgUaYq","errorText","10yhfMJD","arrowleft","revisionNameInputValue","5979226udHIXq","render","72650kvDozT","element","listenTo","setTemplate","label","reset","optional","11985219EDOOjy","fieldView","133WEcKVo","arrowup","stopPropagation","revisionName","2142nrtnUC","1852828JYgAPt","trim"];return(Yn=function(){return t})()}const Gn=Jn;function Jn(t,e){const i=Yn();return(Jn=function(t,e){return i[t-=151]})(t,e)}!function(t){const e=Jn,i=t();for(;;)try{if(897752===parseInt(e(152))/1*(parseInt(e(181))/2)+-parseInt(e(180))/3*(parseInt(e(184))/4)+parseInt(e(167))/5*(parseInt(e(185))/6)+parseInt(e(176))/7*(parseInt(e(188))/8)+-parseInt(e(174))/9+parseInt(e(162))/10*(-parseInt(e(165))/11)+parseInt(e(160))/12*(parseInt(e(157))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yn);class Kn extends Vn.View{constructor(e,i){const n=Jn;super(e),this[n(158)]=new t.FocusTracker,this[n(155)]=new t.KeystrokeHandler,this[n(193)](n(164),""),this[n(151)]=this[n(154)](i),this[n(170)]({tag:n(194),attributes:{class:["ck",n(153),n(186)],tabindex:"-1"},children:[this[n(151)]]}),(0,Vn.injectCssTransitionDisabler)(this)}[Gn(166)](){const t=Gn;super[t(166)](),(0,Vn.submitHandler)({view:this}),this[t(158)][t(183)](this[t(151)][t(168)]),this[t(155)][t(169)](this[t(168)]);const e=e=>e[t(178)]();this[t(155)][t(193)](t(192),e),this[t(155)][t(193)](t(163),e),this[t(155)][t(193)](t(177),e),this[t(155)][t(193)](t(156),e)}[Gn(189)](){const t=Gn;this[t(151)][t(189)]()}get[Gn(179)](){const t=Gn;return this[t(151)][t(175)][t(168)][t(196)][t(182)]()}set[Gn(179)](t){const e=Gn;this[e(151)][e(175)][e(168)][e(196)]=t[e(182)]()}[Gn(172)](){const t=Gn;this[t(151)][t(175)][t(168)][t(196)]="",this[t(151)][t(161)]=null}[Gn(154)](t){const e=Gn,i=new Vn.LabeledFieldView(this[e(195)],Vn.createLabeledInputText),n=i[e(175)];n[e(191)]({attributes:{maxlength:e(187)}});let r=Qi(this[e(195)],e(190));return!t&&(r+=" ("+Qi(this[e(195)],e(173))+")"),i[e(171)]=r,n.on(e(159),(()=>{const t=e;this[t(164)]=n[t(168)][t(196)][t(182)]()})),i}}const Xn=Qn;function Qn(t,e){const i=tr();return(Qn=function(t,e){return i[t-=321]})(t,e)}function tr(){const t=["get","Cancel","1023782MXmTut","menuitem","showRevisionViewerCallback","_showDialog","children","editing","Accept","componentFactory","RevisionTracker","1dzLpkZ","addMany","history","6191105EgMHGY","ck-button-action","_createSaveRevisionFormView","718737FUlaNJ","locale","buttonView","menu","9krSrvy","isOfficialPlugin","revisionHistory","Revision history","revisionNameInputView","The revision name cannot be empty.","role","execute","items","revisionName","add","view","show","4952630ERLyjA","menuBar:revisionHistory","4HhIVLy","saveRevision","_saveRevisionFormView","render","5001204pHZtNc","errorText","config","submit","isPremiumPlugin","isReady","pluginName","panelView","delegate","10846957GUEVXz","3904453sGRUwI","Dialog","isEnabled","bind","revisionSave","hide","24HBehyS","8LxTBFB","Save current revision","revisionHistory.requireRevisionName","isReadOnly","requires","init","plugins","reset","editor","RevisionHistoryUI","Open revision history","focus","isOpen","_registerMenuComponent","set"];return(tr=function(){return t})()}!function(t){const e=Qn,i=t();for(;;)try{if(714405===parseInt(e(337))/1*(parseInt(e(328))/2)+-parseInt(e(343))/3*(-parseInt(e(362))/4)+-parseInt(e(340))/5+-parseInt(e(366))/6+-parseInt(e(376))/7*(-parseInt(e(383))/8)+-parseInt(e(347))/9*(parseInt(e(360))/10)+parseInt(e(375))/11*(parseInt(e(382))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends qi.Plugin{static get[Xn(372)](){return Xn(392)}static get[Xn(348)](){return!0}static get[Xn(370)](){return!0}static get[Xn(387)](){return[On]}[Xn(388)](){const t=Xn,e=this[t(391)],i=e[t(389)][t(326)](t(336));e.ui[t(335)][t(357)](t(349),(n=>{const r=t,s=(0,Vn.createDropdown)(n),o=s[r(373)][r(332)],a=new Vn.ListView(n),c=new Vn.ListItemView(n),u=new Vn.ButtonView(n),l=new Vn.ListItemView(n),h=new Vn.ButtonView(n);return s[r(379)](r(378)).to(i,r(371),i,r(378),e,r(386),((t,e,i)=>t&&e&&!i)),s[r(345)][r(325)]({icon:qi.icons[r(339)],label:Qi(n,r(350)),tooltip:!0}),u[r(325)]({label:Qi(n,r(384)),withText:!0,role:r(329)}),u[r(379)](r(378)).to(i,r(371),i,r(378),e,r(386),((t,e,i)=>t&&e&&!i)),u.on(r(354),(()=>this[r(331)]())),h[r(325)]({label:Qi(n,r(321)),withText:!0,role:r(329)}),h[r(379)](r(378)).to(i,r(371),e,r(386),((t,e)=>t&&!e)),h.on(r(354),(()=>{const t=r;e[t(368)][t(326)](t(349))[t(330)](),s[t(323)]=!1,e[t(333)][t(358)][t(322)]()})),c[r(332)][r(357)](u),l[r(332)][r(357)](h),a[r(353)]=r(346),a[r(355)][r(338)]([c,l]),o[r(357)](a),s})),e.ui[t(335)][t(357)](t(361),(()=>this[t(324)]()))}[Xn(324)](){const t=Xn,e=this[t(391)],i=e[t(344)],n=new Vn.MenuBarMenuView(i),r=new Vn.MenuBarMenuListView(i);n[t(345)][t(325)]({icon:qi.icons[t(339)],label:Qi(i,t(350))});const s=new Vn.MenuBarMenuListItemView(i,n),o=new Vn.MenuBarMenuListItemButtonView(i);o[t(325)]({label:Qi(i,t(384))}),o[t(374)](t(354)).to(n),o.on(t(354),(()=>{this[t(331)]()})),s[t(332)][t(357)](o),r[t(355)][t(357)](s);const a=new Vn.MenuBarMenuListItemView(i,n),c=new Vn.MenuBarMenuListItemButtonView(i);return c[t(325)]({label:Qi(i,t(321))}),c[t(374)](t(354)).to(n),c.on(t(354),(()=>{const i=t;e[i(368)][i(326)](i(349))[i(330)]()})),a[t(332)][t(357)](c),r[t(355)][t(357)](a),n[t(373)][t(332)][t(357)](r),n}[Xn(331)](){const t=Xn,e=this[t(391)],i=e[t(344)],n=e[t(389)][t(326)](t(377)),r=e[t(389)][t(326)](t(336));function s(r){const s=t;e[s(368)][s(326)](s(385))&&""===r[s(356)]?r[s(351)][s(367)]=Qi(i,s(352)):(e[s(389)][s(326)](On)[s(363)]({name:r[s(356)]}),n[s(381)]())}this[t(364)]||(this[t(342)](),this[t(364)].on(t(369),(()=>s(this[t(364)])))),this[t(364)][t(390)](),n[t(359)]({id:t(380),title:Qi(i,t(384)),isModal:!0,content:this[t(364)],actionButtons:[{label:Qi(e[t(344)],t(327)),withText:!0,onExecute:()=>n[t(381)]()},{label:Qi(e[t(344)],t(334)),class:t(341),withText:!0,onCreate(i){const n=t;i[n(379)](n(378)).to(r,n(371),r,n(378),e,n(386),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(364)])}]})}[Xn(342)](){const t=Xn,e=this[t(391)],i=e[t(344)];this[t(364)]=new Kn(i,e[t(368)][t(326)](t(385))),this[t(364)][t(365)]()}}const ir=rr;function nr(){const t=["498680Pzjiaf","24NbsjHy","Added by","_model","span","1sJRHRm","bindTemplate","1650030MneJRK","type","name","30KphsdT","data","352082DOsaGy","ck-revision-change","Removed by","author","element","changeId","add","830418HLrESV","3440820yvYDDn","ck-revision-change__label","setTemplate","ck-revision-change__","set","Suggested by","focus","ck-annotation","897417OrRmCJ","isSuggestion","50968EVlPBz","div"];return(nr=function(){return t})()}function rr(t,e){const i=nr();return(rr=function(t,e){return i[t-=464]})(t,e)}!function(t){const e=rr,i=t();for(;;)try{if(219397===-parseInt(e(465))/1*(parseInt(e(472))/2)+-parseInt(e(470))/3*(parseInt(e(490))/4)+-parseInt(e(467))/5+parseInt(e(479))/6+parseInt(e(492))/7+parseInt(e(493))/8*(parseInt(e(488))/9)+parseInt(e(480))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nr);class sr extends Vn.View{constructor(t,e){const i=rr;super(t),this[i(495)]=e,this[i(477)]=e.id;const n=this[i(466)],r=Qi(t,e[i(471)][i(489)]?i(485):i(478)==e[i(468)]?i(494):i(474));this[i(484)](i(468),e[i(468)]),this[i(482)]({tag:i(491),attributes:{class:[i(487),i(473),n.to(i(468),(t=>i(483)+t))],tabindex:-1},children:[{tag:i(464),children:[{tag:i(464),attributes:{class:[i(481)]},children:[{text:r}]},{text:" "+e[i(475)][i(469)]}]}]})}[ir(486)](){const t=ir;this[t(476)][t(486)]()}}var or=cr;!function(t){for(var e=cr,i=t();;)try{if(406295===parseInt(e(215))/1*(parseInt(e(212))/2)+parseInt(e(202))/3*(parseInt(e(209))/4)+-parseInt(e(206))/5+parseInt(e(214))/6+-parseInt(e(203))/7+-parseInt(e(213))/8+-parseInt(e(210))/9*(-parseInt(e(216))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ur);class ar extends((0,t.ObservableMixin)()){constructor(e){var i=cr;super(),this.id=e.id||(0,t.uid)(),this[i(211)]=e[i(211)],this[i(205)]=e[i(205)],this[i(218)]=e[i(218)]||{},this[i(207)]=e[i(207)],this[i(204)](i(217),e[i(217)])}[or(208)](){var t=or;return{id:this.id,authorId:this[t(211)].id,type:this[t(205)],data:this[t(218)],createdAt:this[t(217)]}}}function cr(t,e){var i=ur();return(cr=function(t,e){return i[t-=202]})(t,e)}function ur(){var t=["set","type","3222070gBYGUC","rootName","toJSON","52zwCyyQ","18GeHwap","author","487046GiJWBD","4414016AXcmur","281760CVmxfR","3YzxlXE","5854300Llmefl","createdAt","data","31593zOrVTM","3379817GYrsQA"];return(ur=function(){return t})()}const lr=hr;function hr(t,e){const i=dr();return(hr=function(t,e){return i[t-=146]})(t,e)}function dr(){const t=["40kikQun","10117035UJlnKk","oldRevisionId","_setChanges","193009KtcgzG","2051155HObnmY","add","changes","2796534cBXGGK","2TNAxYh","1851192EnTtOI","newRevisionId","1464306ISLXix","650013DcwiQk"];return(dr=function(){return t})()}!function(t){const e=hr,i=t();for(;;)try{if(428231===parseInt(e(157))/1+parseInt(e(148))/2*(parseInt(e(151))/3)+parseInt(e(149))/4+parseInt(e(158))/5+-parseInt(e(147))/6+-parseInt(e(152))/7*(-parseInt(e(153))/8)+-parseInt(e(154))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dr);class fr{constructor(e,i){const n=hr;this[n(150)]=e,this[n(155)]=i,this[n(146)]=new t.Collection}[lr(156)](t){const e=lr;for(const i of t)this[e(146)][e(159)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Pn().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Zn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=yr;function yr(t,e){const i=br();return(yr=function(t,e){return i[t-=341]})(t,e)}!function(t){const e=yr,i=t();for(;;)try{if(225409===parseInt(e(582))/1*(-parseInt(e(603))/2)+parseInt(e(469))/3*(-parseInt(e(521))/4)+parseInt(e(581))/5*(parseInt(e(437))/6)+-parseInt(e(371))/7+parseInt(e(384))/8+-parseInt(e(648))/9+parseInt(e(379))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(br);const gr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class kr extends qi.Plugin{static get[vr(653)](){return vr(592)}static get[vr(413)](){return!0}static get[vr(473)](){return!0}static get[vr(615)](){return[Bi.Users,Vn.ContextualBalloon,Xi]}constructor(t){const e=vr;super(t),this[e(544)]=this[e(400)][e(559)][e(532)](e(424)),this[e(587)](e(610),null),this[e(587)](e(509),null),this[e(441)]=null,this[e(587)](e(376),null),this[e(587)](e(391),!1),this[e(587)](e(402),!0),this.on(e(361),((t,i,n)=>{const r=e;this[r(610)]=null,this[r(509)]=null,this[r(400)][r(618)][r(459)][r(654)]((t=>{const e=r;for(const i of this[e(400)][e(618)][e(459)][e(625)][e(433)])n?t[e(597)](e(564),i):t[e(575)](e(564),i)}))})),this[e(671)](e(636)).to(this,e(610),(t=>null!==t)),this[e(671)](e(629)).to(this,e(391),this,e(376),this,e(610),((t,i,n)=>t&&n?i[e(417)][e(477)](n):0)),this[e(671)](e(470)).to(this,e(391),this,e(376),((t,i)=>t?i[e(417)][e(392)]:0)),this[e(562)]=null,this[e(669)]=new Map,this[e(452)]=null,this[e(516)]=this[e(400)][e(559)][e(532)](Vn.ContextualBalloon)}[vr(373)](){const t=vr,e=this[t(400)],i=new Ir(e,{direction:t(652)}),n=new Ir(e,{direction:t(360)});e[t(580)][t(485)](t(405),i),e[t(580)][t(485)](t(492),n),e[t(580)][t(485)](t(624),new _r(e)),this.on(t(370),(()=>{const e=t;i[e(383)](),n[e(383)]()})),this[t(647)](),this[t(566)](),e[t(573)](t(487)),e[t(559)][t(556)](t(590))&&e[t(559)][t(532)](t(590))[t(529)](t(487))}async[vr(388)](t){const e=vr;await this[e(511)](t);const i={};for(const n in t[e(568)]){if(t[e(568)][n][e(442)]&&!t[e(568)][n][e(442)][e(374)])continue;const r=this[e(455)](JSON[e(463)](t[e(568)][n][e(526)])),s=this[e(400)][e(618)][e(459)][e(625)],o=new Yi.ViewDocumentFragment(s,r[e(436)]((t=>this[e(403)](t))));this[e(400)][e(398)][e(586)][e(569)](e(522)),i[n]=this[e(400)][e(398)][e(586)][e(355)](o),this[e(400)][e(398)][e(586)][e(569)](e(387))}return i}async[vr(627)](t){const e=vr;await this[e(511)](t);const i={};for(const n in t[e(568)])t[e(568)][n][e(442)]&&!t[e(568)][n][e(442)][e(374)]||(i[n]=t[e(568)][n][e(364)]||{});return i}[vr(455)](t){const e=vr;return(t=t[e(614)]((t=>!t[e(596)]||e(506)!==t[e(596)]&&e(378)!==t[e(596)])))[e(533)]((t=>{const i=e;i(565)!=typeof t&&(t[i(538)]=this[i(455)](t[i(538)]),t[i(471)]=t[i(471)][i(614)]((t=>!t[0][i(443)](i(468)))))})),t}async[vr(677)](t,e,i=!1){const n=vr;if(!this[n(402)])return;const r=this[n(376)],s=this[n(544)],o=n(565)==typeof t?s[n(432)](t):t,a=n(565)==typeof e?s[n(432)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(376)]&&this[n(376)][n(365)]===c&&this[n(376)][n(601)]===u)return Promise[n(353)]();this[n(391)]=!1,this[n(509)]=null,this[n(610)]=null,this[n(376)]=new fr(c,u);const l=this[n(660)](o,a,!0)[n(436)]((t=>this[n(511)](t)));return l[n(531)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(363)](l)[n(396)]((()=>{const t=n;if(!this[t(402)])return;this[t(494)]();const e=this[t(551)](c,u);for(const i of e[t(417)])this[t(669)][t(587)](i.id,i);this[t(400)][t(344)][t(343)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(400)][n(344)][n(625)][n(628)]())i[n(644)](t);for(const t of Object[n(571)](e[n(344)])){const r=i[n(389)](t);for(const s of Object[n(571)](e[n(471)][t]))i[n(643)](s,e[n(471)][t][s],r);i[n(414)](e[n(344)][t],r,0)}})),this[t(376)][t(411)](this[t(454)](e[t(417)])),this[t(391)]=!0}))[n(460)]((t=>{const e=n;console[e(579)](t),this[e(494)](),r&&(this[e(376)]=r),this[e(391)]=!0}))}[vr(665)](t,e){const i=vr,n=this[i(544)][i(583)](t);return n.on(i(450),((t,i,r)=>e(i,r,n))),this[i(544)][i(381)](n),n}[vr(511)](t){const e=vr;if(!t||t[e(568)])return Promise[e(353)]();{const i=this[e(400)][e(483)][e(532)](e(598));return this[e(452)][e(432)]({channelId:i,revisionId:t.id})[e(396)]((i=>{const n=e;t[n(450)]({diffData:i[n(568)]},!0)}))}}[vr(494)](){const t=vr;this[t(610)]=null,this[t(518)](),this[t(562)]&&this[t(562)][t(620)](),this[t(562)]=null,this[t(669)][t(357)](),this[t(400)][t(344)][t(343)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(400)][i(344)][i(625)][i(628)]())e[i(644)](t)}))}[vr(454)](t){const e=vr,i=[],n=new Map;for(const t of this[e(400)][e(344)][e(625)][e(628)]()){const r=this[e(400)][e(618)][e(459)][e(535)](t);if(!r)continue;const s=r[e(446)]()[e(589)](0);s&&(i[e(531)](t),n[e(587)](t,s))}return i[e(675)](((t,i)=>{const r=e,s=n[r(532)](t),o=n[r(532)](i);return s.y-o.y||s.x-o.x})),(t=t[e(614)]((t=>i[e(375)](t[e(678)]))))[e(675)](((t,n)=>i[e(623)](t[e(678)])-i[e(623)](n[e(678)]))),t}[vr(584)](t){const e=vr,i=Array[e(458)](t[e(490)])[e(614)]((([t,i])=>t[e(443)](e(440))&&!i[e(554)])),n=Array[e(458)](this[e(400)][e(344)][e(386)](t)[e(347)]({singleCharacters:!0}));if(0!=i[e(392)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(547)](":");if(r[e(641)][e(546)](t[e(349)])&&i[e(421)](),(t[e(666)][e(546)](r[e(517)])||t[e(666)][e(637)](r[e(517)]))&&(e(609)==s?t[e(412)]={userId:o}:e(608)==s&&(t[e(401)]={userId:o})),0==i[e(392)])break}return n}[vr(489)](t){const e=vr,i=new Map;for(let n=0;n<t[e(392)];n++)e(453)===t[n][e(393)]?(t[n][e(589)][e(430)]=n,t[n][e(589)][e(345)]=n):(e(423)===t[n][e(393)]?t[n][e(589)][e(430)]=n:e(530)===t[n][e(393)]&&(t[n][e(589)][e(345)]=n),i[e(587)](t[n].id,n));for(const n of i[e(350)]())e(423)===t[n][e(393)]?t[n][e(589)][e(345)]=i[e(532)](t[n][e(467)]):e(530)===t[n][e(393)]&&(t[n][e(589)][e(430)]=i[e(532)](t[n][e(467)]))}[vr(639)](t){const e=vr;for(let i=0;i<t[e(392)];i++){if(e(423)===t[i][e(393)])t[i][e(589)][e(430)]=i;else if(e(530)===t[i][e(393)]){t[i][e(589)][e(345)]=i;const n=t[i][e(589)][e(430)];t[n][e(467)]=t[i].id,t[i][e(467)]=t[n].id}else t[i][e(589)][e(430)]=i,t[i][e(589)][e(345)]=i,t[i][e(467)]=null;t[i][e(362)]||(t[i][e(362)]=[],t[i][e(382)]=[])}}[vr(537)](t,e){const i=vr,n=t[i(614)]((t=>!t[i(412)]));for(let t=0;t<e[i(392)];t++)e[t][i(412)]&&(n[t][i(412)]=e[t][i(412)])}[vr(570)](t){const e=vr,i=JSON[e(463)](t),n=this[e(400)][e(618)][e(459)][e(625)],r=new Yi.ViewDocumentFragment(n,i[e(436)]((t=>this[e(403)](t))));return this[e(400)][e(398)][e(606)](r)}[vr(403)](t){const e=vr,i=this[e(400)][e(618)][e(459)][e(625)];if(e(565)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(538)][e(436)]((t=>this[e(403)](t)));return new(gr[t[e(393)]]||Yi.ViewElement)(i,t[e(596)],t[e(471)],n)}}[vr(551)](t,e=null){const i=vr,n=this[i(544)][i(432)](t),r=e?this[i(544)][i(432)](e):null,s=this[i(660)](n,r),o=s[s[i(392)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(392)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(571)](e[i(568)]))if(e[i(568)][t][i(442)]){const n=e[i(568)][t][i(442)];n[i(374)]?(u[i(485)](t),l[i(556)](t)&&l[i(532)](t)[i(346)]==n[i(346)]?l[i(448)](t):l[i(587)](t,n)):l[i(556)](t)?(u[i(448)](t),l[i(448)](t)):(u[i(485)](t),l[i(587)](t,n))}else u[i(485)](t)}for(const t of u){const e=l[i(556)](t)&&!l[i(532)](t)[i(374)];let n=e?s[i(392)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(568)][t]){const n=e?o[i(568)][t][i(676)]:o[i(568)][t][i(364)];c[i(471)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(344)]={};for(const e of t[i(464)])a[i(587)](e.id,e);for(const e of u){const n=t[i(568)][e]?t[i(568)][e][i(526)]:"[]",r=t[i(568)][e]?t[i(568)][e][i(449)]:"[]";t[i(344)][e]={insertions:this[i(570)](n),deletions:this[i(570)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(458)](n[i(344)][t][i(526)][i(490)])[i(614)]((([t])=>!t[i(443)](i(440)))));let h=0;for(const o of s){const s=this[i(584)](o[i(344)][t][i(526)]);o==n?(e=s,r=e[i(392)],e[i(533)]((t=>{t.id=h++})),this[i(639)](e)):this[i(537)](e,s);const a=e[i(614)]((t=>!t[i(412)]))[i(436)]((t=>t.id));let c=0;const l=this[i(584)](o[i(344)][t][i(449)]);l[i(533)]((t=>{t[i(401)]?t.id=r++:t.id=a[c++]})),this[i(639)](l),this[i(600)](e,i(412)),this[i(600)](l,i(401)),o==n&&this[i(394)](e,u),e=this[i(543)](e,l),this[i(489)](e),this[i(600)](e,i(401))}e=e[i(614)]((t=>!(t[i(412)]&&t[i(401)])));const d=new Map(o[i(344)][t][i(449)][i(490)]),f=new Set(u[i(571)]());for(const t of d[i(571)]())f[i(448)](t);this[i(491)](e,f),this[i(420)](e),e=this[i(466)](e),e=this[i(585)](e),e=this[i(607)](e);const{root:m,changes:p}=this[i(479)](e,a,t);c[i(344)][t]=m;const v=l[i(532)](t);if(v){const e=a[i(532)](v[i(346)]),n=new ar({author:e,type:v[i(374)]?i(485):i(395),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(595)](n),c[i(471)][t][i(480)]=n.id}c[i(417)]=c[i(417)][i(528)](p)}return c}[vr(394)](t,e){const i=vr;for(let n=0;n<t[i(392)];n++)for(const[r,s]of e)s[i(517)][i(546)](t[n][i(666)])&&t[n][i(362)][i(531)](r),s[i(641)][i(546)](t[n][i(349)])&&t[n][i(382)][i(531)](r)}[vr(543)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(392)]||s<e[i(392)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(531)](o);else if(a[i(401)]&&o[i(412)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(525)](t,r,e,s);n=n[i(528)](o),r=a,s=c}else a[i(401)]?(s++,n[i(531)](a)):(r++,n[i(531)](o))}return n}[vr(491)](t,e){const i=vr,n=[];for(let o=0;o<t[i(392)];o++){for(let s=0;s<t[o][i(362)][i(392)];s++){const a=t[o][i(362)][s];if(!e[i(556)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(358)!=c||i(609)!=u&&i(608)!=u||(n[i(595)]({type:u,name:a,userId:l}),t[o][i(362)][i(431)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(382)][i(392)];s++){const a=t[o][i(382)][s];if(!e[i(556)](a))continue;const{group:c,type:u}=r(a);if(i(358)!=c||i(609)!=u&&i(608)!=u)continue;t[o][i(382)][i(431)](s,1),s--;const l=n[i(558)]((t=>t[i(596)]==a));l>-1&&n[i(431)](l,1)}}function r(t){const e=i,n=t[e(547)](":");return{group:n[0],type:n[1],subType:n[e(392)]>=5?n[2]:null,id:n[e(392)]<5?n[2]:n[3],authorId:n[e(392)]<5?n[3]:n[4],markerCount:6==n[e(392)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(392)];i++){if(t[e(412)]&&e(609)==n[i][e(393)])return t[e(651)]=n[i],void delete t[e(412)];if(!t[e(412)]&&!t[e(401)]&&e(608)==n[i][e(393)])return void(t[e(399)]=n[i])}}}[vr(600)](t,e){const i=vr;let n=0,r=!1;const s=new Map;for(const o of t)o[e]?r&&(n++,r=!1):(n++,r=!0),s[i(587)](o.id,n);for(let n=0;n<t[i(392)];n++){if(i(401)==e&&t[n][i(412)]||i(412)==e&&t[n][i(401)])continue;if(i(453)==t[n][i(393)]){t[n][i(642)]=0;continue}const r=s[i(532)](t[n][i(467)]),o=s[i(532)](t[n].id);t[n][i(642)]=r-o}}[vr(660)](t,e,i=!1){const n=vr,r=[];let s=this[n(544)][n(477)](t),o=this[n(544)][n(477)](e);for(-1==o&&(o=this[n(544)][n(496)][n(392)],i=!1);s<o;)r[n(531)](this[n(544)][n(432)](s)),s++;return i&&r[n(531)](this[n(544)][n(432)](s)),r}[vr(525)](t,e,i,n){const r=vr,s=this[r(400)][r(344)][r(478)];let o=e;for(;t[o]&&t[o][r(412)];)o++;let a=n;for(;i[a]&&i[a][r(401)];)a++;u(t,e,o),u(i,n,a);const c=i[r(536)](n,a)[r(528)](t[r(536)](e,o));return c[r(675)](((t,e)=>t[r(621)]!=e[r(621)]?t[r(621)]-e[r(621)]:t[r(408)]!=e[r(408)]?t[r(408)]-e[r(408)]:t[r(642)]!=e[r(642)]?e[r(642)]-t[r(642)]:!!t[r(412)]!=!!e[r(412)]?-1==t[r(621)]||0==t[r(621)]?t[r(412)]?-1:1:t[r(412)]?1:-1:t[r(674)]-e[r(674)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(504)],c=!0;for(let r=e;r<i;r++)if(s[n(505)](t[r][n(589)])||(c=!1),t[r][n(589)][n(430)]<e&&(o=r),t[r][n(589)][n(345)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(621)]=r<=o?-1:r<a?0:1,t[r][n(674)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(642)]?t[i][n(408)]=u:(u++,t[i][n(408)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(621)]&&(t[r][n(408)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(642)]?t[e][n(408)]=u:(u--,t[e][n(408)]=u,u--)}}[vr(420)](t){const e=vr,i=new Map,n=this[e(400)][e(344)][e(478)];for(let r=1;r<t[e(392)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(453)==c[e(393)])continue;if(c[e(393)]!=u[e(393)])continue;if(!n[e(415)](u[e(589)])||n[e(668)](u[e(589)]))continue;if(!n[e(415)](c[e(589)])||n[e(668)](c[e(589)]))continue;if((t[r][e(412)]||t[r][e(651)])&&t[r-1][e(401)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(401)]||!t[r-1][e(412)]&&!t[r-1][e(651)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(408)]==o[e(408)],h=Math[e(481)](s[e(408)])<Math[e(481)](o[e(408)])&&0==o[e(642)];(l||h)&&(i[e(587)](o.id,s.id),t[e(431)](a,1),r--,s[e(412)]=!1)}for(let n=0;n<t[e(392)];n++)i[e(556)](t[n][e(467)])&&(t[n][e(467)]=i[e(532)](t[n][e(467)]))}[vr(466)](t){const e=vr,i=new Set(t[e(436)]((t=>t.id)));for(let n=0;n<t[e(392)];n++)i[e(556)](t[n][e(467)])||0==t[n][e(642)]||(t[n][e(560)]=!0);return t[e(614)]((t=>!t[e(560)]))}[vr(585)](t){const e=vr,i=new Set;for(let n=0;n<t[e(392)];n++){if(i[e(556)](t[n].id)&&t[n][e(401)]&&(t[n][e(560)]=!0),t[n][e(560)])continue;if(0==t[n][e(642)])continue;if(e(423)!=t[n][e(393)])continue;if(null==t[n][e(467)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(467)];)e(423)==t[r][e(393)]?s++:e(530)==t[r][e(393)]&&s--,r++;if(0!=s)if(t[n][e(401)])t[n][e(560)]=!0;else for(;r!=n;)t[r][e(401)]&&0!=t[r][e(642)]&&(t[r][e(560)]=!0,i[e(485)](t[r][e(467)])),r--}return t[e(614)]((t=>!t[e(560)]))}[vr(607)](t){const e=vr,i=this[e(400)][e(344)][e(478)];for(let n=0;n<t[e(392)];n++){if(!(t[n][e(412)]||t[n][e(651)]||t[n][e(401)]||t[n][e(399)]))continue;if(0==t[n][e(642)])continue;const r=t[n][e(589)];i[e(415)](r)||i[e(668)](r)||(t[n][e(412)]&&delete t[n][e(412)],t[n][e(651)]&&delete t[n][e(651)],t[n][e(399)]&&delete t[n][e(399)],t[n][e(401)]&&(t[n][e(560)]=!0))}return t[e(614)]((t=>!t[e(560)]))}[vr(479)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(400)][n(344)],c=a[n(478)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(392)];e++)if(n(423)===t[e][n(393)]){t[e][n(666)]=a[n(407)](r,f);const i=new Yi.Element(t[e][n(589)][n(596)],t[e][n(589)][n(645)]());u[0][n(451)](i),f[n(531)](0),u[n(595)](i),t[e][n(349)]=a[n(407)](r,f)}else n(530)===t[e][n(393)]?(u[n(421)](),t[e][n(666)]=a[n(407)](r,f),f[n(447)](),f[f[n(392)]-1]++,t[e][n(349)]=a[n(407)](r,f)):(t[e][n(666)]=a[n(407)](r,f),d?d[n(377)]+=t[e][n(589)][n(398)]:d=new Yi.Text(t[e][n(589)][n(398)],t[e][n(589)][n(645)]()),t[e+1]&&n(453)===t[e+1][n(393)]&&v(d,t[e+1][n(589)])||(u[0][n(451)](d),d=null),f[f[n(392)]-1]+=t[e][n(589)][n(656)],t[e][n(349)]=a[n(407)](r,f));for(let e=0;e<t[n(392)];e++){const i=t[e][n(666)],r=t[e][n(349)];for(const r of t[e][n(362)])o[n(587)](r,{start:i,end:null});m(n(399),e,i,r),m(n(651),e,i,r),m(n(401),e,i,r),m(n(412),e,i,r);for(const i of t[e][n(382)])o[n(532)](i)[n(641)]=r}for(const[t,e]of o){const i=this[n(400)][n(344)][n(497)](e[n(517)],e[n(641)]);r[n(490)][n(587)](t,i)}return s[n(675)](((t,e)=>{const i=n,s=r[i(490)][i(532)](i(440)+t.id),o=r[i(490)][i(532)](i(440)+e.id);return s[i(517)][i(588)](o[i(517)])?-1:s[i(517)][i(637)](o[i(517)])?1:s[i(641)][i(588)](o[i(641)])?-1:s[i(641)][i(637)](o[i(641)])?1:i(485)===t[i(393)]?-1:1})),{root:r,changes:s};function m(e,i,r,s){const o=n,a=!!t[i][e],u=a?t[i][e][o(346)]:null,d=i===t[o(392)]-1,f=h[e][0],m=c[o(369)](t[i][o(589)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(641)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(346)]!==u&&(l[e][o(641)]=r,f&&f[o(346)]===l[e][o(346)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(423)!==t[i][o(393)]||f&&f[o(346)]===u||h[e][o(595)]({userId:u,object:t[i][o(589)],change:l[e]}),o(530)===t[i][o(393)]&&f&&f[o(520)]===t[i][o(589)]&&(h[e][o(421)](),l[e]=f[o(654)])),l[e]&&d&&(l[e][o(641)]=s,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(589)],f=a[h(478)][h(415)](d)&&!a[h(478)][h(668)](d),m=t[h(611)]==o[h(502)]&&o[h(445)];if(f&&m)return;const p=a[h(497)](t,o),v=e[h(532)](u),y=new ar({author:v,type:h(412)==l||h(651)==l?h(485):h(395),data:{isSuggestion:h(651)==l||h(399)==l},createdAt:new Date,rootName:i});s[h(531)](y),r[h(490)][h(587)](h(440)+y.id,p)}function v(t,e){const i=n,r=t[i(645)](),s=e[i(645)]();for(const t of r){if(t[1]!==e[i(444)](t[0]))return!1;s[i(461)]()}return s[i(461)]()[i(508)]}}[vr(647)](){const t=vr;this[t(400)][t(661)][t(527)](t(500))[t(617)]({view:t(646)}),this[t(400)][t(661)][t(527)](t(613))[t(663)]({model:t(646),view:e=>{const i=t,n=e[i(475)][i(547)](":")[1],r=this[i(634)](n);if(!r)return null;const s=i(485)==r[i(393)]?i(609):i(608),o=[i(498),i(632)+s];return r[i(398)][i(633)]&&o[i(531)](i(632)+s+i(501)),this[i(610)]==r&&o[i(531)](i(429)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(400)][t(661)][t(527)](t(500))[t(485)]((e=>{const i=t;e.on(i(555),((t,e,n)=>{const r=i,s=e[r(512)][r(567)](0);if(!s||!s.is(r(409),r(462)))return;if(!n[r(514)][r(635)](s,{attributes:[r(425),r(513)]}))return;const o=e[r(638)][r(517)][r(611)];n[r(426)][r(643)](r(425),s[r(444)](r(425)),o),n[r(426)][r(643)](r(513),s[r(444)](r(513)),o)}),{priority:i(348)})})),this[t(400)][t(661)][t(527)](t(500))[t(485)]((e=>{const i=t;e.on(i(409),((t,e,n)=>{const r=i;if(!n[r(514)][r(635)](e[r(512)],{attributes:[r(425),r(513)]}))return;if(e[r(638)][r(554)])return;const s=e[r(638)][r(517)][r(611)];s[r(354)](r(425))||s[r(354)](r(342))||(n[r(426)][r(643)](r(425),e[r(512)][r(444)](r(425)),s),n[r(426)][r(643)](r(513),e[r(512)][r(444)](r(513)),s))}),{priority:i(348)})})),this[t(400)][t(661)][t(527)](t(500))[t(650)]({view:{name:t(662),attributes:{vid:!0}},model:{key:t(342),value:e=>e[t(444)](t(342))}}),this[t(400)][t(344)][t(478)].on(t(385),((e,[,i])=>{const n=t;[n(425),n(513),n(342)][n(375)](i)&&(e[n(622)]=!0,e[n(655)]())}),{priority:t(658)}),this[t(400)][t(661)][t(527)](t(553))[t(485)]((e=>{const i=t;e.on(i(438),((t,e,n)=>{const r=i;if(" "!=e[r(589)][r(398)]||e[r(589)][r(502)][r(552)]>1)return;if(!n[r(514)][r(635)](e[r(589)],t[r(596)]))return;const s=n[r(426)],o=n[r(542)][r(476)](e[r(352)]);s[r(472)](o,s[r(673)](r(662)))}))})),this[t(400)][t(661)][t(527)](t(553))[t(576)]({model:t(646)}),this[t(400)][t(618)][t(341)].on(t(380),function(e){const i=t,n=e[i(559)][i(532)](i(592));return(t,r,s)=>{const o=i,a=r[o(475)][o(547)](":")[1],c=n[o(634)](a);if(!c)return null;const u=o(485)==c[o(393)]?o(547):o(456);if(!s[o(514)][o(372)](r[o(406)],t[o(596)]))return;const l=r[o(406)][o(347)](),h=r[o(406)][o(517)],d=e[o(344)][o(478)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(589)];p=p||d[o(368)](e);const i=s[o(542)][o(572)](e);if(i&&i[o(659)](o(561)))return;o(530)==t[o(393)]&&d[o(415)](e)&&!d[o(668)](e)&&(e[o(418)]||h[o(499)]?f&&f[o(502)]==e||(f=e,y(t[o(666)]),v=!0):m=m||t[o(666)])}function y(t){const e=o,i=s[e(426)][e(667)](e(662),{class:e(632)+u}),a=s[e(542)][e(563)](t);c[e(398)][e(633)]&&s[e(426)][e(575)](e(632)+u+e(501),i),n[e(610)]==c&&s[e(426)][e(575)](e(429),i),s[e(426)][e(414)](a,i),s[e(542)][e(549)](i,r[e(475)])}p||v||!m||y(m)}}(this[t(400)]),{priority:t(657)}),this[t(400)][t(618)][t(341)].on(t(397),((e,i,n)=>{const r=t,s=n[r(542)][r(534)](i[r(475)]);if(s)for(const t of s)(t[r(577)](r(484))||t[r(577)](r(495)))&&(n[r(542)][r(510)](t,i[r(475)]),n[r(426)][r(395)](t))}),{priority:t(657)}),this[t(400)][t(618)][t(341)].on(t(380),((e,i,n)=>{const r=t,s=i[r(475)][r(547)](":")[1],o=this[r(634)](s);if(!o)return null;const a=r(485)==o[r(393)]?r(547):r(456);if(n[r(514)][r(372)](i[r(406)],e[r(596)]))for(const t of i[r(406)][r(515)]()){if(!t.is(r(409),r(474)))continue;const e=n[r(426)][r(667)](r(662),{class:r(632)+a}),s=n[r(542)][r(563)](this[r(400)][r(344)][r(366)](t));o[r(398)][r(633)]&&n[r(426)][r(575)](r(632)+a+r(501),e),this[r(610)]==o&&n[r(426)][r(575)](r(429),e),n[r(426)][r(414)](s,e),n[r(542)][r(549)](e,i[r(475)])}}),{priority:t(657)}),this[t(400)][t(344)][t(625)].on(t(654),(()=>{const e=t;this[e(400)][e(618)][e(459)][e(654)]((t=>{const i=e;for(const e of this[i(400)][i(344)][i(625)][i(628)]()){const n=this[i(400)][i(344)][i(625)][i(557)](e),r=this[i(400)][i(618)][i(459)][i(625)][i(557)](e);if(r){const e=n[i(444)](i(480));if(t[i(545)](i(540),r),t[i(597)](i(670),r),t[i(597)](i(434),r),t[i(597)](i(524),r),e){const n=this[i(634)](e);if(!n)return null;t[i(643)](i(540),e,r),t[i(575)](i(367)+n[i(393)],r),this[i(610)]==n&&t[i(575)](i(524),r)}}}}))})),this[t(400)][t(661)][t(527)](t(500))[t(617)]({view:t(435),model:e=>t(482)+e,converterPriority:t(658)}),this[t(400)][t(661)][t(527)](t(500))[t(617)]({view:t(404),model:e=>t(457)+e,converterPriority:t(658)}),this[t(400)][t(661)][t(527)](t(553))[t(576)]({model:t(358),view:e=>({name:t(548)+e,group:t(358)}),converterPriority:t(658)}),this[t(400)][t(661)][t(527)](t(613))[t(663)]({model:t(358),view:e=>{const i=t,n=e[i(475)][i(547)](":")[1];return i(609)!=n&&i(608)!=n?null:{classes:[i(541),i(605)+n]}}}),this[t(400)][t(618)][t(341)].on(t(619),wr(this[t(400)],t(456)),{priority:t(657)}),this[t(400)][t(618)][t(341)].on(t(630),wr(this[t(400)],t(547)),{priority:t(657)}),this[t(400)][t(618)][t(341)].on(t(626),((e,i,n)=>{const r=t,s=n[r(542)][r(534)](i[r(475)]);if(s)for(const t of s)t.is(r(672))&&(n[r(542)][r(510)](t,i[r(475)]),n[r(426)][r(395)](t))}),{priority:t(657)})}[vr(634)](t){const e=vr;return this[e(669)][e(532)](t)}[vr(539)](t){const e=vr;return this[e(562)]&&this[e(562)][e(620)](),this[e(562)]=new sr(this[e(400)][e(631)],t),this[e(562)]}[vr(566)](){const t=vr;this[t(400)][t(344)][t(625)][t(390)][t(493)](t(646)),this.on(t(410),((e,i,n,r)=>{const s=t;r&&this[s(516)][s(395)](r),n&&(this[s(516)][s(485)]({view:n,stackId:s(465),position:{target:()=>{const t=s,e=this[t(400)][t(618)],i=this[t(634)](n[t(574)]);let r;if(i[t(398)][t(604)]){const n=e[t(459)][t(535)](i[t(678)]);r=Array[t(458)](n[t(446)]())}else{const i=this[t(400)][t(344)][t(490)][t(532)](t(440)+n[t(574)]);r=Array[t(458)](e[t(542)][t(534)](i[t(596)]))[t(436)]((i=>e[t(459)][t(428)][t(578)](i)))[t(436)]((e=>Array[t(458)](e[t(446)]())))[t(488)]()}return this[t(441)]&&r[t(359)]((e=>e[t(427)]-3<=this[t(441)].y&&e[t(640)]+3>=this[t(441)].y&&e[t(503)]-3<=this[t(441)].x&&e[t(422)]+3>=this[t(441)].x))||r[0]}}}),this[s(516)][s(593)](s(465)))})),this.on(t(356),((e,i,n,r)=>{const s=t;this[s(509)]=n?this[s(539)](n):null,this[s(400)][s(344)][s(654)]((()=>{const t=s,e=this[t(400)][t(618)];r&&(r[t(398)][t(604)]?e[t(459)][t(654)]((i=>{const n=t;i[n(597)](n(524),e[n(459)][n(625)][n(557)](r[n(678)]))})):e[t(591)](t(440)+r.id)),n&&(n[t(398)][t(604)]?e[t(459)][t(654)]((i=>{const r=t;i[r(575)](r(524),e[r(459)][r(625)][r(557)](n[r(678)]))})):e[t(591)](t(440)+n.id))}))})),this[t(594)](this[t(400)][t(618)][t(459)][t(625)],t(523),((e,i)=>{const n=t;if(this[n(610)])return;const r=this[n(486)](i[n(649)]),s=this[n(669)][n(532)](r);s?(this[n(441)]={x:i[n(550)].x,y:i[n(550)].y},this[n(509)]=this[n(539)](s)):(this[n(441)]=null,this[n(509)]=null)})),this[t(594)](this[t(400)][t(618)][t(459)][t(625)],t(612),((e,i)=>{const n=t,r=this[n(486)](i[n(649)]),s=this[n(669)][n(532)](r);s?(this[n(441)]={x:i[n(550)].x,y:i[n(550)].y},s===this[n(610)]?this[n(516)][n(439)]():this[n(610)]=s):(this[n(441)]=null,this[n(610)]=null)}))}[vr(486)](t){const e=vr;do{const i=t[e(444)](e(540));if(i)return i;t=t[e(502)]}while(t);return null}[vr(518)](){const t=vr;this[t(400)][t(344)][t(654)]((e=>{const i=t;for(const t of this[i(400)][i(344)][i(490)])e[i(616)](t)}))}}function br(){const t=["attributesBefore","compare","rootName","downcastDispatcher","vid","enqueueChange","model","endIndex","userId","getWalker","low","nextPosition","values","affectsData","range","resolve","hasAttribute","toData","change:activeChange","clear","revision-suggestion","find","forward","change:isEnabled","markersStart","all","attributesAfter","newRevisionId","createPositionBefore","ck-revision-history-root-","isContent","isObject","change:numberOfChanges","2016777qVqnfL","test","init","isAttached","includes","diff","_data","revision-end","12204110hFKeWN","addMarker:revision","addRevision","markersEnd","refresh","1496640edEcYg","checkAttribute","createRangeIn","default","getRevisionData","addRoot","selection","isReady","length","type","_markMarkers","remove","then","removeMarker:revision","data","isRemoveSuggestion","editor","isRemoved","isEnabled","_getViewObj","suggestion","showPreviousChange","markerRange","createPositionFromPath","level","element","change:activeView","_setChanges","isAdded","isOfficialPlugin","insert","isBlock","execute","changes","nextSibling","revisionHistory","_fixObsoleteTags","shift","right","elementStart","RevisionsRepository","vid_start","writer","top","domConverter","ck-suggestion-marker--active","startIndex","splice","getRevision","roots","ck-revision-history-root-remove","comment","map","18yitWcC","attribute:vid","updatePosition","revision:","_activeViewTarget","attachChange","startsWith","getAttribute","isAtStart","getClientRects","pop","delete","deletions","_update","_appendChild","adapter","text","_sortAndFilterDiffChanges","_removeRevisionMarkers","merge","revision-suggestion:","from","view","catch","next","code","parse","authors","revisionHistoryLabel","_removeMissingPairs","pairId","data-revision-","15grpEDM","numberOfChanges","attributes","wrap","isPremiumPlugin","softBreak","markerName","toViewRange","getIndex","schema","_makeModelFromTape","revisionHistoryAttachChange","abs","revision-comment:","config","ck-suggestion-marker-split","add","_findChangeIdFromDomTarget","revision-viewer","flat","_refreshStartEndIndex","markers","_markSuggestions","showNextChange","observeMarkers","_cleanUp","ck-suggestion-marker-merge","_revisions","createRange","ck-suggestion-marker","isAtEnd","upcast","-new","parent","left","POSITIVE_INFINITY","isInline","revision-start","restoreRevisionCallback","done","activeView","unbindElementFromMarkerName","loadRevisionData","viewItem","vid_end","consumable","getItems","_balloon","start","_cleanMarkers","_step","object","198140cKNMRR","marked","mouseover","ck-revision-history-root--active","_threeWayMerge","insertions","for","concat","forceDisabled","elementEnd","push","get","forEach","markerNameToElements","getDomRoot","slice","_markInsertions","children","_getViewForChange","data-change-id","ck-suggestion-preview-marker","mapper","_joinTapes","repository","removeAttribute","isEqual","split","suggestion:","bindElementToMarker","domEvent","_getDiff","maxOffset","dataDowncast","isCollapsed","element:pre","has","getRoot","findIndex","plugins","isIncorrect","addHighlight","_changeView","toViewPosition","ck-editor__editable__overlay","string","_initInteractions","getChild","diffData","useFillerType","_makeModelFromViewString","keys","toViewElement","enableReadOnlyMode","changeId","addClass","markerToData","hasClass","mapViewToDom","error","commands","86025SSutZM","1kgmEoe","createRevision","_makeTape","_markMismatchedRemovedTags","processor","set","isBefore","item","WidgetToolbarRepository","reconvertMarker","RevisionViewer","showStack","listenTo","unshift","name","removeClass","collaboration.channelId","getLaterVisibleRevision","_setDistance","oldRevisionId","change:isReady","867276UkbZfw","isOnRoot","ck-suggestion-preview-marker-","toModel","_removeUnsupportedChanges","deletion","insertion","activeChange","nodeAfter","mousedown","editingDowncast","filter","requires","removeMarker","dataToMarker","editing","addMarker:revision-suggestion:deletion","destroy","side","return","indexOf","restoreRevision","document","removeMarker:revision-suggestion","getRevisionRootsAttributes","getRootNames","currentChangeNumber","addMarker:revision-suggestion:insertion","locale","ck-suggestion-marker-","isSuggestion","_getChangeFromId","consume","isNavigationMode","isAfter","modelRange","_processTape","bottom","end","distance","setAttribute","detachRoot","getAttributes","revision","_setConversion","2378457ohELPk","target","elementToAttribute","isAddSuggestion","backward","pluginName","change","stop","offsetSize","high","highest","getCustomProperty","_getRevisionsRange","conversion","span","markerToHighlight","first","addRevisionData","previousPosition","createUIElement","isLimit","_changeIdToChange","ck-revision-history-root-add","bind","uiElement","createAttributeElement","index","sort"];return(br=function(){return t})()}function wr(t,e){return(i,n,r)=>{const s=yr;if(!r[s(514)][s(372)](n[s(406)],i[s(596)]))return;const o=n[s(406)][s(347)](),a=n[s(406)][s(517)],c=t[s(344)][s(478)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(589)];h=h||c[s(368)](e);const i=r[s(542)][s(572)](e);if(i&&i[s(659)](s(561)))return;s(530)==t[s(393)]&&c[s(415)](e)&&!c[s(668)](e)&&(e[s(418)]||a[s(499)]?u&&u[s(502)]==e||(u=e,f(t[s(666)]),d=!0):l=l||t[s(666)])}function f(t){const i=s,o=r[i(542)][i(563)](t),a=r[i(426)][i(667)](i(662),{class:i(605)+e});r[i(426)][i(414)](o,a),r[i(542)][i(549)](a,n[i(475)])}h||d||!l||f(l)}}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(559)][e(532)](kr);this[e(351)]=!1,this[e(594)](i,e(602),(()=>this[e(383)]())),this[e(594)](i,e(361),(()=>this[e(383)]()))}[vr(416)](){const t=vr,e=this[t(400)],i=e[t(559)][t(532)](kr),n=i[t(391)]?i[t(376)][t(365)]:null;e[t(483)][t(532)](t(419))[t(507)](n)}[vr(383)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(400)][t(559)][t(532)](kr),s=r&&n[t(599)](r[t(365)]);this[t(402)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(559)][i(532)](kr);this[i(351)]=!1,this[i(519)]=i(360)===e?1:-1,this[i(594)](n,i(602),(()=>this[i(383)]())),this[i(594)](n,i(361),(()=>this[i(383)]())),this[i(594)](n,i(356),(()=>this[i(383)]()))}[vr(416)](){const e=vr,i=this[e(400)],n=i[e(559)][e(532)](kr),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(610)]=r?n[e(376)][e(417)][e(532)](s+this[e(519)]):n[e(376)][e(417)][e(664)],n[e(610)][e(398)][e(604)])o=i[e(618)][e(459)][e(535)](n[e(610)][e(678)]);else{const t=i[e(344)][e(490)][e(532)](e(440)+n[e(610)].id);o=(0,Bi.getMarkerDomElement)(i[e(618)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(383)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(400)][t(559)][t(532)](kr);this[t(402)]=!!(s&&r&&n)&&(!e||(1===this[t(519)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Pn().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Zn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(){const t=["464aOjddO","ck-revision-history-ui__changes-navigation","forward","EDIT_X_OF_Y_REVISIONS","159070MRhJSl","Show previous change","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui","13872036bSJlWL","fire","150bxdSkk","span","isNavigationMode","263067iPnwIu","isReady","Loading...","isBackwardNavigationEnabled","_statusText","_isStatusLabelVisible","1470974gRKIcg","isEnabled","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__label","bindTemplate","div","Total","858NIAAia","X_OF_Y_CHANGES","NUMBER_OF_CHANGES","numberOfChanges","backward","46170jFLEIi","set","9zMjMmt","setTemplate","execute","currentChangeNumber","No changes","70syuTdU","ck-revision-history-ui__changes-navigation__wrapper","Show next change","34564ajGesg","ck-hidden","558502EQswry","bind"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=317]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(865945===parseInt(e(329))/1+parseInt(e(353))/2*(parseInt(e(343))/3)+parseInt(e(351))/4*(-parseInt(e(348))/5)+parseInt(e(320))/6*(-parseInt(e(323))/7)+parseInt(e(355))/8*(-parseInt(e(341))/9)+parseInt(e(359))/10*(-parseInt(e(336))/11)+parseInt(e(318))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xr);class Nr extends Vn.View{constructor(t){const e=Tr;super(t);const i=this[e(333)],n=new Vn.ButtonView(t),r=new Vn.ButtonView(t);this[e(342)](e(322),!1),this[e(342)](e(324),!1),this[e(342)](e(346),0),this[e(342)](e(339),0),this[e(342)](e(331),!1),this[e(342)](e(326),!1),this[e(354)](e(328)).to(this,e(324),this,e(339),((t,e)=>t&&e>0)),this[e(354)](e(327)).to(this,e(324),this,e(346),this,e(339),this,e(322),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(325));if(!r)return Qi(t,o(347));const a=Qi(t,o(338),r);return s?Qi(t,o(337),[n+1,r]):a})),n[e(342)]({label:Qi(t,e(360)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 14.494a.75.75 0 0 0 1.197-.899l-.067-.089-6.992-8a.75.75 0 0 0-1.05-.078l-.079.078-7.008 8a.75.75 0 0 0 1.049 1.066l.08-.078 6.442-7.354 6.428 7.354z"/></svg>\n'}),r[e(342)]({label:Qi(t,e(350)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 5.506a.75.75 0 0 1 1.197.899l-.067.089-6.992 8a.75.75 0 0 1-1.05.078l-.079-.078-7.008-8a.75.75 0 0 1 1.049-1.066l.08.078 6.442 7.354 6.428-7.354z"/></svg>\n'}),n[e(354)](e(330)).to(this,e(326)),r[e(354)](e(330)).to(this,e(331)),n.on(e(345),(()=>this[e(319)](e(345),e(340)))),r.on(e(345),(()=>this[e(319)](e(345),e(357)))),this[e(344)]({tag:e(334),attributes:{class:["ck",e(317),e(356)]},children:[{tag:e(321),attributes:{class:[e(349)]},children:[{tag:e(321),attributes:{class:[e(332),i.if(e(328),e(352),(t=>!t))]},children:[{text:i.to(e(322),(i=>i?Qi(t,e(358))+": ":Qi(t,e(335))+": "))}]},{text:i.to(e(327))}]},new Vn.ToolbarSeparatorView,{tag:e(334),attributes:{class:[e(361)]},children:[n,r]}]})}}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Pn().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;function Mr(t,e){const i=Dr();return(Mr=function(t,e){return i[t-=466]})(t,e)}const Er=Mr;!function(t){const e=Mr,i=t();for(;;)try{if(807707===-parseInt(e(481))/1+parseInt(e(475))/2+-parseInt(e(474))/3*(-parseInt(e(484))/4)+parseInt(e(489))/5*(-parseInt(e(468))/6)+-parseInt(e(471))/7+-parseInt(e(470))/8+parseInt(e(469))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dr);const Vr=Er(485);function Dr(){const t=["hide","pluginName","addClass","document","475850HxuzPe","isPremiumPlugin","roots","284FayGfR","ck-editor__editable__loading-overlay","removeClass","isOfficialPlugin","RevisionViewerLoadingOverlay","1195nWMiYW","editing","editor","26814OufaER","17576910UfxsdM","3183144MipHpX","4095196cJlSzJ","view","change","55452hgfhdS","138430mMikuN","show"];return(Dr=function(){return t})()}class Cr extends qi.Plugin{static get[Er(478)](){return Er(488)}static get[Er(487)](){return!0}static get[Er(482)](){return!0}[Er(476)](){const t=Er,e=this[t(467)][t(466)][t(472)];e[t(473)]((i=>{const n=t;for(const t of e[n(480)][n(483)])i[n(479)](Vr,t)}))}[Er(477)](){const t=Er,e=this[t(467)][t(466)][t(472)];e[t(473)]((i=>{const n=t;for(const t of e[n(480)][n(483)])i[n(486)](Vr,t)}))}}const jr=Fr;function Fr(t,e){const i=Pr();return(Fr=function(t,e){return i[t-=236]})(t,e)}!function(t){const e=Fr,i=t();for(;;)try{if(913352===-parseInt(e(241))/1*(-parseInt(e(255))/2)+-parseInt(e(253))/3*(parseInt(e(249))/4)+parseInt(e(282))/5+-parseInt(e(278))/6*(-parseInt(e(238))/7)+parseInt(e(274))/8*(parseInt(e(240))/9)+-parseInt(e(269))/10+parseInt(e(247))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pr);class Lr extends qi.Plugin{static get[jr(251)](){return jr(265)}static get[jr(261)](){return!0}static get[jr(277)](){return!0}static get[jr(271)](){return[kr,Cr]}[jr(275)](){const t=jr,e=this[t(252)],i=e[t(276)][t(246)](kr),n=e[t(276)][t(246)](Cr);e.ui[t(257)][t(264)](t(270),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(272)]({label:Qi(i,n(256)),icon:qi.icons[n(248)],withText:!0,tooltip:!0,class:n(284)}),this[n(260)](r,n(266),(()=>{const t=n;e[t(281)][t(246)](t(244))[t(236)]()})),r})),e.ui[t(257)][t(264)](t(267),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(272)]({label:Qi(i,n(242)),withText:!0,tooltip:!0}),r[n(283)](n(254)).to(e[n(243)][n(246)](n(267))),this[n(260)](r,n(266),(()=>e[n(266)](n(267)))),r})),e.ui[t(257)][t(264)](t(273),(n=>{const r=t,s=new Nr(n),o=e[r(243)][r(246)](r(268)),a=e[r(243)][r(246)](r(237));return s[r(283)](r(285)).to(o,r(254)),s[r(283)](r(245)).to(a,r(254)),s[r(283)](r(259),r(258),r(262),r(239)).to(i),this[r(260)](s,r(266),((t,i)=>{const n=r;e[n(266)](n(263)===i?n(237):n(268))})),s})),n[t(250)](),i.on(t(280),((e,i,r)=>{const s=t;r?n[s(279)]():n[s(250)]()}))}}function Pr(){const t=["requires","set","changesNavigation","8lXNuOP","init","plugins","isPremiumPlugin","6uEYNVQ","hide","change:isReady","config","200060wLAEzy","bind","ck-revision-history-ui__back-to-editing","isBackwardNavigationEnabled","closeRevisionViewerCallback","showNextChange","31577qiGwmF","isNavigationMode","15770745VYnwio","31BbvMGB","Restore this revision","commands","revisionHistory","isForwardNavigationEnabled","get","10268764xfaSvq","undo","8ndkGxa","show","pluginName","editor","2175090XxbnXY","isEnabled","43404CfJZjM","Back to editing","componentFactory","currentChangeNumber","isReady","listenTo","isOfficialPlugin","numberOfChanges","forward","add","RevisionViewerUI","execute","restoreRevision","showPreviousChange","10397020WaalzA","exitToEditing"];return(Pr=function(){return t})()}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Pn().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Zn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Ur=Zr;function Zr(t,e){const i=Hr();return(Zr=function(t,e){return i[t-=264]})(t,e)}!function(t){const e=Zr,i=t();for(;;)try{if(703876===parseInt(e(276))/1*(parseInt(e(293))/2)+-parseInt(e(268))/3+parseInt(e(288))/4+parseInt(e(287))/5*(parseInt(e(270))/6)+parseInt(e(265))/7*(-parseInt(e(274))/8)+parseInt(e(291))/9+-parseInt(e(284))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hr);class $r extends Vn.LabeledFieldView{constructor(t,e){const i=Zr;super(t,e),this[i(283)]=null;const n=this[i(286)];this[i(277)]({label:Qi(t,i(292)),_tooltipString:""}),this[i(269)][i(275)]=Qi(t,i(273)),this[i(272)]({tag:i(294),attributes:{class:[i(282)],"data-cke-tooltip-text":n.to(i(279)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(290)}})}[Ur(289)](){const e=Ur;super[e(289)](),this[e(283)]=new t.ResizeObserver(this[e(269)][e(285)],(()=>this[e(280)]())),this[e(271)](this[e(269)],e(281),(()=>this[e(280)]()))}[Ur(267)](){const t=Ur;super[t(267)](),this[t(283)]&&this[t(283)][t(267)]()}[Ur(280)](){const t=Ur,e=this[t(269)][t(285)];this[t(279)]=e[t(264)]>e[t(266)]&&e[t(278)]||""}}function Hr(){const t=["placeholder","29309MuQlNq","set","value","_tooltipString","_updateTooltipText","input","ck-revision-history-sidebar__revision-name","_resizeObserver","10997580qGiyat","element","bindTemplate","1050JkJBpp","4882472Lckswm","render","ck-tooltip_multi-line","9261468wcIjWh","Revision name","8PcRdAp","span","scrollWidth","198541MayllB","clientWidth","destroy","1491462RUsKTb","fieldView","35388VybGXY","listenTo","extendTemplate","Enter the revision name","368gsekwO"];return(Hr=function(){return t})()}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Pn().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Zn();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Yr(){const t=["759804DLcIdx","push","2ASSOBX","2924576dTEXdt","span","ck-revision-history-sidebar__revision-author__name","name","0 0 11 10","Revision author","5YmKPpo","ck-revision-history-sidebar__revision-author","5146072cqwYDz","1604403tYSDRy","132NcZPCu","5898860PMkGvz","set","Revision creator","setTemplate","118601NXaQWU","ck-revision-history-sidebar__revision-author_creator","589344XLoJLE"];return(Yr=function(){return t})()}function Gr(t,e){const i=Yr();return(Gr=function(t,e){return i[t-=483]})(t,e)}!function(t){const e=Gr,i=t();for(;;)try{if(514344===parseInt(e(497))/1*(parseInt(e(495))/2)+-parseInt(e(494))/3+-parseInt(e(498))/4*(parseInt(e(483))/5)+parseInt(e(487))/6*(-parseInt(e(492))/7)+parseInt(e(485))/8+-parseInt(e(486))/9+parseInt(e(488))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yr);class Jr extends Vn.View{constructor(t,e,i){const n=Gr;super(t);const r=new Vn.IconView;r[n(489)]({content:'<svg viewBox="0 0 11 10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M5.5 5C8.538 5 11 7.015 11 9.5c0 .17-.011.336-.034.5H.034A3.732 3.732 0 0 1 0 9.5C0 7.015 2.462 5 5.5 5zm0-5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5z" /></svg>\n',viewBox:n(502)});const s=["ck",n(484)];i&&s[n(496)](n(493));const o=[{tag:n(499),attributes:{class:["ck",n(500)],title:Qi(t,n(i?490:503))},children:[r,e[n(501)]]}];this[n(491)]({tag:"li",attributes:{class:s},children:o})}}function Kr(t,e){var i=Xr();return(Kr=function(t,e){return i[t-=395]})(t,e)}function Xr(){var t=["6552OZxGDz","toLocaleTimeString","toLocaleDateString","74140SyDlKn","393627bMLbxR","6NHavSc","1589MtdLPA","3670920FvppYf","8zNcEbd","120TCymQI","288AQDJNk","693596cQaGjp","long","1138135cXpLtT","1LJCqtA","36219UVDoGE","numeric"];return(Xr=function(){return t})()}!function(t){for(var e=Kr,i=t();;)try{if(177290===parseInt(e(407))/1*(parseInt(e(404))/2)+-parseInt(e(408))/3*(parseInt(e(401))/4)+parseInt(e(406))/5*(-parseInt(e(398))/6)+-parseInt(e(399))/7*(parseInt(e(410))/8)+parseInt(e(403))/9*(parseInt(e(396))/10)+parseInt(e(400))/11+-parseInt(e(402))/12*(parseInt(e(397))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xr);var Qr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Pn().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Zn();Cn()(Qr.A,ts);Qr.A&&Qr.A.locals&&Qr.A.locals;function es(){const t=["isActionsDropdownOpen","isReady","panelPosition","3311739zxrqHG","ck-revision-history-sidebar__revision__actions","button","isVisible","_action","1329vCRHIr","listView","Compare against selected","locale","children","source","Name this revision","extendTemplate","buttonView","name","bindTemplate","2896600aUyyqu","menu","1556jTUnJv","change:isActionsDropdownOpen","model","items","action","isOpen","Show more items","menuitem","17645620TYIwPW","add","8WdWpTC","function","36871suexNI","ck-on","Restore this revision","isEnabled","find","bind","first","class","7UuTjRt","threeVerticalDots","set","execute","stopPropagation","2605968IJDMDR","map","listenTo","2969922OdZWwQ"];return(es=function(){return t})()}function is(t,e){const i=es();return(is=function(t,e){return i[t-=369]})(t,e)}!function(t){const e=is,i=t();for(;;)try{if(328219===-parseInt(e(380))/1*(parseInt(e(378))/2)+parseInt(e(405))/3*(-parseInt(e(418))/4)+-parseInt(e(416))/5+parseInt(e(396))/6*(-parseInt(e(388))/7)+parseInt(e(393))/8+-parseInt(e(400))/9+parseInt(e(376))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(es);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Pn().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Zn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=as;function os(){const t=["listenTo","set","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isHighlighted","setName","revisionNameView","3624666IUJppB","2UIdINQ","ck-revision-history-sidebar__revision__date","_revision",".ck-thread__remove-confirm","bindTemplate","isConfirm","ck-reset","14594456EBSnYc","filter","createdAt","deselect","name","setTemplate","span","145926uBSoZY","2081821bPTnaZ","isEnabled","220","ck-revision-history-sidebar__revision_selected","fieldView","unhighlight","element","closest","1592410zNZXcx","1648527ThvmNx","revisionActionsView","ck-revision-history-sidebar__revision-wrapper","change","authors","div","length","extendTemplate","render","map","value","srcElement","ck-revision-history-sidebar__revision_highlighted","select","uiLanguage","ck-revision-history-sidebar__actions_dropdown_open","from","unshift","isReady","isSelected","ck-revision-history-sidebar__revision__controls-wrapper","6464760URfGHq","highlight","ck-disabled","bind","9mkAxyu","isActionsDropdownOpen","creator","ck-revision-history-sidebar__revision","_requireRevisionName","_createdAtFormatted","ck-revision-history-sidebar__revision-authors","fire"];return(os=function(){return t})()}function as(t,e){const i=os();return(as=function(t,e){return i[t-=398]})(t,e)}!function(t){const e=as,i=t();for(;;)try{if(820656===-parseInt(e(435))/1+-parseInt(e(421))/2*(-parseInt(e(445))/3)+parseInt(e(402))/4+parseInt(e(444))/5+parseInt(e(420))/6+-parseInt(e(436))/7+parseInt(e(428))/8*(-parseInt(e(406))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(os);class cs extends((0,Bi.ConfirmMixin)(Vn.View)){constructor(e,i,n,r){const s=as;super(e);const o=this[s(425)],a=function(t,e){const i=s,n=Array[i(461)](e[i(449)])[i(429)]((t=>t!=e[i(408)]));return e[i(408)]&&n[i(398)](e[i(408)]),n[i(454)]((n=>new Jr(t,n,n==e[i(408)])))}(e,i);this.id=i.id,this[s(423)]=i,this[s(410)]=r,this[s(405)](s(432),s(430)).to(i),this[s(405)](s(411)).to(this,s(430),(t=>{return i=e[s(459)],(n=t)[(r=Kr)(395)](i,{month:r(405),day:r(409)})+", "+n[r(411)](i,{hour:r(409),minute:r(409)});var i,n,r})),this[s(415)](s(400),!1),this[s(415)](s(417),!1),this[s(415)](s(407),!1),this[s(415)](s(399),!1),this[s(415)](s(437),!1),this[s(419)]=new $r(e,Vn.createLabeledInputText),this[s(419)][s(440)][s(452)]({attributes:{maxlength:s(438)}}),this[s(419)][s(440)][s(405)](s(455)).to(this,s(432),(t=>t||this[s(411)])),this[s(419)][s(405)](s(437)).to(this,s(400),this,s(437),((t,e)=>t&&e)),this[s(446)]=n&&n[s(451)]?function(e,i){const n=is,r=e[n(415)],s=e[n(408)],o=(0,Vn.createDropdown)(s);o[n(399)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=is,n=t[i(408)],r={"Compare against selected":Qi(n,i(407)),"Name this revision":Qi(n,i(411)),"Restore this revision":Qi(n,i(382))};return e[i(394)]((t=>{const e=i,n=r[t[e(414)]];return n&&n!==t[e(414)]&&(t[e(414)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(402),model:new Vn.ViewModel({label:t[r(414)],class:t[r(387)],withText:!0,role:r(375),_action:t[r(372)]})};i[r(370)][r(385)](r(383)).to(e,r(397),(i=>r(379)!=typeof t[r(383)]||!i||t[r(383)](e))),o[r(377)](i)}return o}(e,i);return e[n(385)](n(397)).to(o,n(373)),o[n(413)][n(390)]({label:Qi(s,n(374)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(389)]}),o[n(412)]({attributes:{class:[n(401),r.if(n(397),n(381))]},on:{click:r.to((t=>t[n(392)]()))}}),o.on(n(391),(t=>{const i=n;e[i(398)]&&i(379)==typeof t[i(410)][i(404)]&&t[i(410)][i(404)](e)})),(0,Vn.addListToDropdown)(o,a,{role:n(417)}),o[n(395)](e,n(369),((t,r,s)=>{const a=n;if(s)for(const t of o[a(406)][a(371)]){const n=t[a(409)][a(386)],r=i[a(384)]((t=>t[a(372)]===n[a(404)]))[a(403)];t[a(403)]=void 0===r||r(e)}})),o}(this,n):"",this[s(446)]&&this[s(446)][s(405)](s(437)).to(this),this[s(433)]({tag:s(450),attributes:{class:["ck",s(427),s(447),o.if(s(426),s(416))]},children:[{tag:s(450),attributes:{class:["ck",s(427),s(409),o.if(s(437),s(404),(t=>!t)),o.if(s(400),s(439)),o.if(s(417),s(457)),o.if(s(407),s(460))]},children:[this[s(419)],{tag:s(434),attributes:{class:["ck",s(422)]},children:[{text:o.to(s(411))}]},{tag:s(450),attributes:{class:["ck",s(401)]},children:[{tag:"ul",attributes:{class:["ck",s(412)]},children:a}]},this[s(446)]],on:{click:o.to((t=>{const e=s;t[e(456)][e(443)](e(424))||this[e(399)]&&this[e(437)]&&this[e(413)](e(458),{id:this.id})}))}}]})}[ss(453)](){const t=ss;super[t(453)]();const e=this[t(419)][t(440)][t(442)];this[t(414)](e,t(448),(()=>{const i=t;this[i(410)]&&!e[i(455)]||this[i(413)](i(418),{id:this.id,name:e[i(455)]}),e[i(455)]||(e[i(455)]=this[i(432)]?this[i(432)]:this[i(411)])}))}[ss(458)](){this[ss(400)]=!0}[ss(431)](){this[ss(400)]=!1}[ss(403)](){this[ss(417)]=!0}[ss(441)](){this[ss(417)]=!1}}class us extends Error{}class ls extends us{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class hs extends us{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ds extends us{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class fs extends us{}class ms extends us{constructor(t){super(`Invalid unit ${t}`)}}class ps extends us{}class vs extends us{constructor(){super("Zone is an abstract class")}}const ys="numeric",gs="short",ks="long",bs={year:ys,month:ys,day:ys},ws={year:ys,month:gs,day:ys},_s={year:ys,month:gs,day:ys,weekday:gs},Is={year:ys,month:ks,day:ys},Ss={year:ys,month:ks,day:ys,weekday:ks},Os={hour:ys,minute:ys},xs={hour:ys,minute:ys,second:ys},Ts={hour:ys,minute:ys,second:ys,timeZoneName:gs},Ns={hour:ys,minute:ys,second:ys,timeZoneName:ks},As={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Es={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Vs={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Zs=null;class $s extends Us{static get instance(){return null===Zs&&(Zs=new $s),Zs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Hs={};const qs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Ys extends Us{static create(t){return Bs[t]||(Bs[t]=new Ys(t)),Bs[t]}static resetCache(){Bs={},Hs={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ys.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,Hs[n]||(Hs[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Hs[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Gs={};let Js={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.DateTimeFormat(t,e),Js[i]=n),n}let Xs={};let Qs={};let to=null;let eo={};function io(t,e,i,n){const r=t.listingMode();return"error"===r?null:"en"===r?i(e):n(e)}class no{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:r,...s}=i;if(!e||Object.keys(s).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Xs[i];return n||(n=new Intl.NumberFormat(t,e),Xs[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ko(this.floor?Math.floor(t):ea(t,3),this.padTo)}}class ro{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ys.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||n,this.dtf=Ks(e,r)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class so{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ho()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Qs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Qs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||xo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||xo.defaultNumberingSystem,c=i||xo.defaultOutputCalendar,u=Go(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Js={},Xs={},Qs={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return ao.create(t,e,i,n)}constructor(t,e,i,n,r){const[s,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=Ks(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Ks(s).resolvedOptions(),n=s}const{numberingSystem:r,calendar:s}=e;return[n,r,s]}}(t);this.locale=s,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?ao.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Go(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return io(this,t,ga,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=wu.utc(2009,i,1);e.push(t(n))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[n][t]}))}weekdays(t,e=!1){return io(this,t,_a,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=wu.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return io(this,void 0,(()=>Ia),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[wu.utc(2016,11,13,9),wu.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return io(this,t,Ta,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[wu.utc(-40,1,1),wu.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return n?n.value:null}numberFormatter(t={}){return new no(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ro(t,this.intl,e)}relFormatter(t={}){return new so(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Gs[i];return n||(n=new Intl.ListFormat(t,e),Gs[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let co=null;class uo extends Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class lo extends Us{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?$s.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Ys.create(t)}return Zo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,$s.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return Oo}static set defaultWeekSettings(t){Oo=Go(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Ys.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const No=[0,31,59,90,120,151,181,212,243,273,304,334],Ao=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Mo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Eo(t,e,i){return i+(ia(t)?Ao:No)[e-1]}function Vo(t,e){const i=ia(t)?Ao:No,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Do(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Eo(n,r,s),a=Do(Mo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Mo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Vo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Eo(e,i,n),...ma(t)}}function Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Vo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Po(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function zo(t){const e=$o(t.year),i=Jo(t.month,1,12),n=Jo(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Jo(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Jo(i,0,59),a=Jo(n,0,59),c=Jo(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Uo(t){return void 0===t}function Zo(t){return"number"==typeof t}function $o(t){return"number"==typeof t&&t%1==0}function Ho(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Yo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Go(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Jo(t.firstDay,1,7)||!Jo(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Jo(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Jo(t,e,i){return $o(t)&&t>=e&&t<=i}function Ko(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Xo(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Qo(t){return Uo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Uo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function oa(t,e,i){return-Do(Mo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Yo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Ko(i,2)}:${Ko(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Ko(i,2)}${Ko(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ma(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const pa=["January","February","March","April","May","June","July","August","September","October","November","December"],va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ya=["J","F","M","A","M","J","J","A","S","O","N","D"];function ga(t){switch(t){case"narrow":return[...ya];case"short":return[...va];case"long":return[...pa];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ka=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ba=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wa=["M","T","W","T","F","S","S"];function _a(t){switch(t){case"narrow":return[...wa];case"short":return[...ba];case"long":return[...ka];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ia=["AM","PM"],Sa=["Before Christ","Anno Domini"],Oa=["BC","AD"],xa=["B","A"];function Ta(t){switch(t){case"narrow":return[...xa];case"short":return[...Oa];case"long":return[...Sa];default:return null}}function Na(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Aa={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:Ns,T:As,TT:Rs,TTT:Ms,TTTT:Es,f:Vs,ff:Cs,fff:Ls,ffff:zs,F:Ds,FF:js,FFF:Ps,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Aa[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ko(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Na(Ra.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Na(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Ma=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ea(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Va(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Xo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,La=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ma.source})\\])?)?`}`),Pa=RegExp(`(?:T${La.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function $a(t,e,i){const n=t[e];return Uo(n)?i:Xo(n)}function Ha(t,e){return[{hours:$a(t,e,0),minutes:$a(t,e+1,0),seconds:$a(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function qa(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ba(t,e){return[{},t[e]?Ys.create(t[e]):null,e+1]}const Ya=RegExp(`^T?${Fa.source}$`),Ga=/^-?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 Ja(t){const[e,i,n,r,s,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Qo(i)),months:d(Qo(n)),weeks:d(Qo(r)),days:d(Qo(s)),hours:d(Qo(o)),minutes:d(Qo(a)),seconds:d(Qo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Xa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Xo(e)):Xo(e),month:va.indexOf(i)+1,day:Xo(n),hour:Xo(r),minute:Xo(s)};return o&&(a.second=Xo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Qa=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Xa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ic=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,nc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function rc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Ea(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Pa),ac=Ea(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Pa),cc=Ea(/(\d{4})-?(\d{3})/,Pa),uc=Ea(La),lc=Va((function(t,e){return[{year:$a(t,e),month:$a(t,e+1,1),day:$a(t,e+2,1)},null,e+3]}),Ha,qa,Ba),hc=Va(za,Ha,qa,Ba),dc=Va(Wa,Ha,qa,Ba),fc=Va(Ha,qa,Ba);const mc=Va(Ha);const pc=Ea(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Ea(Ua),yc=Va(Ha,qa,Ba);const gc="Invalid Duration",kc={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},bc={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Ac(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of Oc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Nc(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Uo(e[r]))return n;if(n){const s=e[n]*i,o=t[r][n],a=Math.floor(s/o);e[r]+=a*i,e[n]-=a*o*i}return r}),null),Sc.reduce(((i,n)=>{if(Uo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Ac{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?Ic:bc;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ao.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Ac.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ps("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Ac({values:da(t,Ac.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Zo(t))return Ac.fromMillis(t);if(Ac.isDuration(t))return t;if("object"==typeof t)return Ac.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[Ga,Ja])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Da(t,[Ya,mc])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ds(i);return new Ac({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ms(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return Uo(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=ea(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return wu.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t),i={};for(const t of Sc)(Yo(e.values,t)||Yo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return xc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=ha(t(this.values[i],i));return xc(this,{values:e},!0)}get(t){return this[Ac.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Ac.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return xc(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Nc(this.matrix,t),xc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return xc(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Ac.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Zo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Zo(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Nc(this.matrix,e),xc(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return xc(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Mc{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new hs(i);return new Mc({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Mc.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:Mc.invalid("missing or invalid end"):Mc.invalid("missing or invalid start")}(i,n);return null==r?new Mc({start:i,end:n}):r}static after(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Mc.fromDateTimes(t,s);if(r){const i=Ac.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Ac.fromISO(i,e);if(t.isValid)return Mc.before(s,t)}}return Mc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?Mc.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Mc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Ac.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Mc.fromDateTimes(n,i)),n=i,r+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:Mc.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return Mc.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Mc.fromDateTimes(e,t.time)),e=null);return Mc.merge(n)}difference(...t){return Mc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Ac.invalid(this.invalidReason)}mapEndpoints(t){return Mc.fromDateTimes(t(this.s),t(this.e))}}class Ec{static hasDST(t=xo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ys.isValidZone(t)}static normalizeZone(t){return ho(t,xo.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ao.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ao.create(e,null,"gregory").eras(t)}static features(){return{relative:Ho(),localeWeek:qo()}}}function Vc(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Ac.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Vc(t,e);return(i-i%7)/7}],["days",Vc]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Ac.fromObject(s,n);return u.length>0?Ac.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Lc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Pc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Lc).join("|")),deser:([i])=>t.findIndex((t=>Pc(i)===Pc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const Zc={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let $c=null;function Hc(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Hc(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Uc(l);case"uu":return Uc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Uc(/[a-z_+-/]{1,256}?/i);case" ":return Uc(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const r in i)if(Yo(i,r)){const s=i[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(t[s.token.val[0]]=s.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,r,s]=i?function(t){let e,i=null;Uo(t.z)||(i=Ys.create(t.z)),Uo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Uo(t.q)||(t.M=3*(t.q-1)+1),Uo(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Uo(t.u)||(t.S=ta(t.u));const n=Object.keys(t).reduce(((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e}),{});return[n,i,e]}(i):[null,null,void 0];if(Yo(i,"a")&&Yo(i,"H"))throw new fs("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:r,specificOffset:s}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Bc(t,e,i){return new qc(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter(($c||($c=wu.fromMillis(1555555555555)),$c)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Zc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Gc="Invalid DateTime",Jc=864e13;function Kc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Xc(t){return null===t.weekData&&(t.weekData=Co(t.c)),t.weekData}function Qc(t){return null===t.localWeekData&&(t.localWeekData=Co(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function tu(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new wu({...i,...e,old:i})}function eu(t,e,i){let n=t-60*e*1e3;const r=i.offset(n);if(e===r)return[n,e];n-=60*(r-e)*1e3;const s=i.offset(n);return r===s?[n,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}function iu(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function nu(t,e,i){return eu(sa(t),e,i)}function ru(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),s={...t.c,year:n,month:r,day:Math.min(t.c.day,ra(n,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Ac.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Ko(t.c.year,i?6:4),e?(n+="-",n+=Ko(t.c.month),n+="-",n+=Ko(t.c.day)):(n+=Ko(t.c.month),n+=Ko(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Ko(t.c.hour);return e?(o+=":",o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ko(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Ko(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Ko(Math.trunc(-t.o/60)),o+=":",o+=Ko(Math.trunc(-t.o%60))):(o+="+",o+=Ko(Math.trunc(t.o/60)),o+=":",o+=Ko(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(Uo(t.year))r=xo.now();else{for(const e of du)Uo(t[e])&&(t[e]=uu[e]);const e=zo(t)||Wo(t);if(e)return wu.invalid(e);const n=function(t){return bu[t]||(void 0===ku&&(ku=xo.now()),bu[t]=t.offset(ku)),bu[t]}(i);[r,s]=nu(t,n,i)}return new wu({ts:r,zone:i,loc:n,o:s})}function yu(t,e,i){const n=!!Uo(i.round)||i.round,r=(t,r)=>{t=ea(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,r)},s=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return r(s(i.unit),i.unit);for(const t of i.units){const e=s(t);if(Math.abs(e)>=1)return r(e,t)}return r(t>e?-0:0,i.units[i.units.length-1])}function gu(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let ku,bu={};class wu{constructor(t){const e=t.zone||xo.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new To("invalid input"):null)||(e.isValid?null:Kc(e));this.ts=Uo(t.ts)?xo.now():t.ts;let n=null,r=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,r]=[t.old.c,t.old.o];else{const s=Zo(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return wu.invalid("invalid input");const r=ho(e.zone,xo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Kc(r))}static fromMillis(t,e={}){if(Zo(t))return t<-Jc||t>Jc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Zo(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Po(r,n),a=xo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=$o(t.weekYear),r=Jo(t.weekNumber,1,aa(t.weekYear,e,i)),s=Jo(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=$o(t.year),i=Jo(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Lo(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Qa,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Da(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Bc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Da(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Yc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Hc(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Xc(this).weekYear:NaN}get weekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get weekday(){return this.isValid?Xc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Qc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Qc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ec.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ec.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ec.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ec.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Po(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Lo({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Gc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Gc}toLocaleParts(t={}){return this.isValid?Ra.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s="extended"===t;let o=au(this,s);return o+="T",o+=cu(this,s,e,i,n,r),o}toISODate({format:t="extended"}={}){return this.isValid?au(this,"extended"===t):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:r=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+cu(this,"extended"===s,e,t,i,r)}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?au(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),ou(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Gc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return Ac.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=(a=e,Array.isArray(a)?a:[a]).map(Ac.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Mc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return Ns}static get TIME_24_SIMPLE(){return As}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Ms}static get TIME_24_WITH_LONG_OFFSET(){return Es}static get DATETIME_SHORT(){return Vs}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ls}static get DATETIME_FULL_WITH_SECONDS(){return Ps}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Zo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Su();return(Iu=function(t,e){return i[t-=322]})(t,e)}function Su(){const t=["9kwVhlT","week","2679090sVqyuk","120Drktsg","startOf","minus","toJSDate","hasSame","14135sbBxfa","monthLong","month","14RCsLRh","weekdayLong","fromJSDate","year","101542uAgUCm","local","2524500xPoLBU","3470wcLvgt","day","865252XRSTHm","setLocale","20664IaDYnf","toRelativeCalendar","5cKgtzW","805005vHsYHD"];return(Su=function(){return t})()}function Ou(t,e){const i=Iu,n=wu[i(340)](t)[i(322)](e),r=wu[i(343)](),s=r[i(332)]({days:1})[i(331)](i(346));let o,a;return n[i(334)](r,i(346))?(o=n[i(331)](i(346))[i(333)](),a=n[i(324)]()):n[i(334)](s,i(346))?(o=s[i(333)](),a=n[i(324)]()):n[i(334)](r,i(328))?(o=n[i(331)](i(328))[i(333)](),a=n[i(339)]||""):n[i(334)](r,i(341))?(o=n[i(331)](i(337))[i(333)](),a=n[i(336)]||""):(o=n[i(331)](i(341))[i(333)](),a=String(n[i(341)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Iu,i=t();for(;;)try{if(666685===parseInt(e(326))/1+-parseInt(e(342))/2*(parseInt(e(327))/3)+-parseInt(e(347))/4*(-parseInt(e(325))/5)+parseInt(e(329))/6*(-parseInt(e(338))/7)+parseInt(e(330))/8*(parseInt(e(323))/9)+-parseInt(e(345))/10*(-parseInt(e(335))/11)+parseInt(e(344))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Su);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Pn().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Zn();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Nu=Ru;function Au(){const t=["289306fxlGri","setTemplate","4679150eGfbWb","startDate","1602606MkaDtG","createCollection","_revisionActions","find","438460EKgFgd","removeRevision","4SUmzKE","8EYOmGD","span","add","1OhsLwG","setName","ck-revision-history-sidebar__time-period__revisions","localizedPeriodName","ck-revision-history-sidebar__time-period__label","locale","delegate","div","revisionViews","885577ygckjS","430212RWCbgG","select","addRevision","_requireRevisionName","uiLanguage","ck-revision-history-sidebar__time-period","5dnMZLM","remove","2843946sGSGmW"];return(Au=function(){return t})()}function Ru(t,e){const i=Au();return(Ru=function(t,e){return i[t-=468]})(t,e)}!function(t){const e=Ru,i=t();for(;;)try{if(297336===-parseInt(e(469))/1*(parseInt(e(488))/2)+parseInt(e(479))/3*(-parseInt(e(498))/4)+-parseInt(e(485))/5*(-parseInt(e(492))/6)+parseInt(e(478))/7*(parseInt(e(499))/8)+-parseInt(e(487))/9+parseInt(e(490))/10+parseInt(e(496))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Au);class Mu extends Vn.View{constructor(t,e,i,n){const r=Ru;super(t);const s=Ou(e,this[r(474)][r(483)])[r(472)];this[r(491)]=e,this[r(477)]=this[r(493)](),this[r(494)]=i,this[r(482)]=n,this[r(477)][r(475)](r(480)).to(this),this[r(477)][r(475)](r(470)).to(this),this[r(489)]({tag:r(476),attributes:{class:["ck",r(484)]},children:[{tag:r(500),attributes:{class:["ck",r(473)]},children:[{text:s}]},{tag:r(476),attributes:{class:["ck",r(471)]},children:this[r(477)]}]})}[Nu(481)](t){const e=Nu,i=new cs(this[e(474)],t,this[e(494)],this[e(482)]);this[e(477)][e(468)](i)}[Nu(497)](t){const e=Nu,i=this[e(477)][e(495)]((e=>e.id===t.id));this[e(477)][e(486)](i)}}var Eu=i(173),Vu={attributes:{"data-cke":!0}};Vu.setAttributes=Wn(),Vu.insert=Pn().bind(null,"head"),Vu.domAPI=Fn(),Vu.insertStyleElement=Zn();Cn()(Eu.A,Vu);Eu.A&&Eu.A.locals&&Eu.A.locals;function Du(t,e){const i=Cu();return(Du=function(t,e){return i[t-=159]})(t,e)}function Cu(){const t=["Revision history","5551180KUPsAx","history","ck-revision-history-sidebar__header","4819436ebvqXf","span","12qUmiuI","12294830VMmlQU","30liqxOg","32nYJvng","ck-revision-history-sidebar__header__label","setTemplate","3AntPMl","5232120FWAeyG","content","6002bcatrV","ck-reset_all","47258387pvOzBs","9MFWYjf","div","1144339EpzEER"];return(Cu=function(){return t})()}!function(t){const e=Du,i=t();for(;;)try{if(684301===-parseInt(e(178))/1*(-parseInt(e(172))/2)+parseInt(e(175))/3*(-parseInt(e(167))/4)+-parseInt(e(164))/5+parseInt(e(171))/6*(-parseInt(e(162))/7)+parseInt(e(176))/8+parseInt(e(160))/9*(-parseInt(e(170))/10)+parseInt(e(159))/11*(parseInt(e(169))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cu);class ju extends Vn.View{constructor(t){const e=Du;super(t);const i=new Vn.IconView;i[e(177)]=qi.icons[e(165)],this[e(174)]({tag:e(161),attributes:{class:["ck",e(179),e(166)]},children:[i,{tag:e(168),attributes:{class:["ck",e(173)]},children:[Qi(t,e(163))]}]})}}var Fu=i(722),Lu={attributes:{"data-cke":!0}};Lu.setAttributes=Wn(),Lu.insert=Pn().bind(null,"head"),Lu.domAPI=Fn(),Lu.insertStyleElement=Zn();Cn()(Fu.A,Lu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Pu=zu;function zu(t,e){const i=Wu();return(zu=function(t,e){return i[t-=243]})(t,e)}function Wu(){const t=["addRevision","1760781RCXikk","startDate","createCollection","delegate","find","ck-revision-history-sidebar__timeline","ck-reset","revisionViews","selectRevision","map","124836NCTVjl","_addRevision","ck-revision-history-sidebar","_getTimePeriodViewByStartDate","654140BJMpky","set","ck-rounded-corners","bindTemplate","isEnabled","select","_requireRevisionName","createdAt","6vtbjDb","_revisionActions","uiLanguage","add","revisionSetName","remove","unhighlight","9qVstoT","timePeriodViews","setTemplate","_revisions","fire","highlightRevisions","some","924366XCODfi","setName","highlight","_removeRevision","2301304kXCCrl","revisionSelected","getTime","3924035ZxQKjA","locale","4511507iHCwWe","ck-disabled","render","get","4GzmxLK","flat","div","removeRevision","deselect"];return(Wu=function(){return t})()}!function(t){const e=zu,i=t();for(;;)try{if(497480===parseInt(e(269))/1+parseInt(e(243))/2+-parseInt(e(288))/3*(-parseInt(e(282))/4)+parseInt(e(276))/5*(-parseInt(e(255))/6)+-parseInt(e(278))/7+-parseInt(e(273))/8*(-parseInt(e(262))/9)+parseInt(e(247))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wu);class Uu extends Vn.View{constructor(t,e,i,n){const r=zu;super(t);const s=this[r(250)];this[r(263)]=this[r(290)](),this[r(263)][r(291)](r(252)).to(this),this[r(263)][r(291)](r(270)).to(this),this[r(265)]=e,this[r(256)]=i,this[r(253)]=n,this.on(r(252),((t,e)=>{const i=r;this[i(266)](i(274),e)})),this.on(r(270),((t,e)=>{const i=r;this[i(266)](i(259),e)})),this[r(248)](r(251),!1),this[r(264)]({tag:r(284),attributes:{class:["ck",r(294),r(249),r(245)]},children:[new ju(t),{tag:r(284),attributes:{class:["ck",r(293),s.if(r(251),r(279),(t=>!t))]},children:this[r(263)]}]})}[Pu(280)](){const t=Pu;super[t(280)]();for(const e of this[t(265)])this[t(244)](e);this[t(265)].on(t(258),((e,i)=>{this[t(244)](i)})),this[t(265)].on(t(260),((e,i)=>{this[t(272)](i)}))}get[Pu(295)](){const t=Pu;return this[t(263)][t(297)]((e=>e[t(295)][t(297)]((t=>t))))[t(283)]()}[Pu(296)](t){const e=Pu;for(const i of this[e(295)])t&&t.id===i.id?i[e(252)]():i[e(286)]()}[Pu(267)](t){const e=Pu;for(const i of this[e(295)])t[e(268)]((({id:t})=>t===i.id))?i[e(271)]():i[e(261)]()}[Pu(244)](t){const e=Pu,i=Ou(t[e(254)],this[e(277)][e(257)])[e(289)];let n=this[e(263)][e(281)](0);n&&n[e(289)][e(275)]()===i[e(275)]()||(n=new Mu(this[e(277)],i,this[e(256)],this[e(253)]),this[e(263)][e(258)](n)),n[e(287)](t)}[Pu(272)](t){const e=Pu,i=Ou(t[e(254)],this[e(277)][e(257)])[e(289)];this[e(246)](i)[e(285)](t)}[Pu(246)](t){const e=Pu;return this[e(263)][e(292)]((i=>i[e(289)][e(275)]()===t[e(275)]()))}}const Zu=Hu;function $u(){const t=["selectRevision","_handleDiffChange","config","pluginName","editor","getRevision","17144000lqoQzm","data","remove","_revisionViewer","newRevisionId","606063ctwpqX","_handleEditorDataReady","getIndex","assign","init","revisionHistory.viewerSidebarContainer","1842165tUkjYW","defaultRevisionActions","length","ready","_handleRevisionSetName","getRevisionsInDiff","add","plugins","select","listenTo","bind","isVisible","setName","revisionHistory","_revisionsRepository","focus","destroy","2035656CXRxWG","isEnabled","14cGDAcV","revisionHistory.requireRevisionName","RevisionsSidebar","restoreRevisionCallback","530436bhvqaw","action","element","_createRevisionActions","appendChild","revisionViews","3562590wOidYE","compare","isReady","revisionSelected","revisionSetName","revisionHistory.revisionActions","restoreRevision","_handleRevisionSelected","name","map","Compare against selected","locale","availableRevisionActions","_sidebarView","repository","3166900PpAOaG","string","requires","compareAgainstSelected","diff","isOfficialPlugin","Restore this revision","render","isPremiumPlugin","Name this revision","_revisions","get","getLaterVisibleRevision","timePeriodViews","nameRevision","change:diff","highlightRevisions","isSelected","fieldView","getEarlierVisibleRevision"];return($u=function(){return t})()}function Hu(t,e){const i=$u();return(Hu=function(t,e){return i[t-=455]})(t,e)}!function(t){const e=Hu,i=t();for(;;)try{if(612428===-parseInt(e(497))/1+-parseInt(e(526))/2+-parseInt(e(503))/3+parseInt(e(520))/4+parseInt(e(466))/5+-parseInt(e(532))/6*(parseInt(e(522))/7)+parseInt(e(492))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($u);class qu extends qi.Plugin{static get[Zu(489)](){return Zu(524)}static get[Zu(471)](){return!0}static get[Zu(474)](){return!0}static get[Zu(468)](){return[kr]}constructor(t){const e=Zu;super(t),this[e(495)]=t[e(510)][e(477)](kr),this[e(517)]=this[e(495)][e(465)],this[e(464)]=null}[Zu(501)](){const t=Zu,e=this[t(517)][t(476)],i=this[t(529)](),n=this[t(490)][t(488)][t(477)](t(502));this[t(464)]=new Uu(this[t(490)][t(462)],e,i,this[t(490)][t(488)][t(477)](t(523))),this[t(464)].on(t(535),this[t(458)][t(513)](this)),this[t(464)].on(t(455),this[t(507)][t(513)](this)),this[t(464)][t(513)](t(521)).to(this[t(495)]),this[t(464)][t(479)].on(t(509),((e,i)=>{const n=t;i[n(531)].on(n(509),((t,e)=>{const i=n;e[i(513)](i(521),i(534)).to(this[i(495)])}))})),this[t(464)][t(473)](),this[t(512)](this[t(490)][t(493)],t(506),this[t(498)][t(513)](this)),this[t(512)](this[t(495)],t(481),this[t(487)][t(513)](this)),n[t(530)](this[t(464)][t(528)])}[Zu(519)](){const t=Zu;this[t(464)][t(528)][t(494)](),this[t(464)][t(519)]()}[Zu(498)](){const t=Zu,e=this[t(517)][t(491)](0);if(e){const i=this[t(517)][t(485)](e.id);this[t(495)][t(533)](e,i)}}[Zu(458)](t,e){const i=Zu,n=this[i(517)][i(491)](e.id),r=this[i(517)][i(485)](n.id);this[i(495)][i(533)](n,r)}[Zu(507)](t,e){const i=Zu;this[i(517)][i(491)](e.id)[i(515)](e[i(459)])}[Zu(487)](t,e,i){const n=Zu,r=this[n(517)][n(508)](i);r[n(505)]>2?(this[n(464)][n(482)](r),this[n(464)][n(486)](null)):(this[n(464)][n(482)]([]),this[n(464)][n(486)](r[0]))}[Zu(529)](){const t=Zu,e=this[t(490)],i=qu[t(463)],n=e[t(488)][t(477)](t(456))||qu[t(504)];if(n[t(505)])return n[t(460)]((n=>{const r=t,s=r(467)==typeof n?Object[r(500)]({},i[n]):n;return s[r(527)]=s[r(527)][r(513)](this,e),s[r(514)]&&(s[r(514)]=s[r(514)][r(513)](this,e)),s}))}}qu[Zu(504)]=[Zu(469),Zu(457),Zu(480)],qu[Zu(463)]={compareAgainstSelected:{name:Zu(461),action:({plugins:t},e)=>{const i=Zu,n=t[i(477)](kr),r=n[i(465)];let s=n[i(470)][i(496)],o=e.id;r[i(499)](s)>r[i(499)](o)&&([s,o]=[o,s]),n[i(533)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(477)](kr);return!(n[i(465)][i(508)](n[i(470)])[i(505)]>2||e[i(483)])}},restoreRevision:{name:Zu(472),action:(t,{id:e})=>{const i=Zu;t[i(488)][i(477)](i(516))[i(525)](e)},isVisible:({plugins:t},e)=>!!t[Zu(477)](kr)[Zu(465)][Zu(478)](e.id)},nameRevision:{name:Zu(475),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(477)](kr),s=r[n(465)][n(485)](e);r[n(533)](e,s),i[n(518)](),i[n(484)][n(511)]()}}};const Bu=qu;function Yu(t,e){const i=Ju();return(Yu=function(t,e){return i[t-=338]})(t,e)}const Gu=Yu;function Ju(){const t=["_elementReplacer","config","viewportTopOffset","_view","fillFromConfig","bind","17793891tfgtxo","_toolbarConfig","init","9227wfliZs","rootName","document","element","editable","attachDomRoot","destroy","182JxLkep","editing","2268188cbfPqs","addToolbar","setEditableElement","isActive","3120711OYiexA","ready","stickyPanel","2CmFQFO","fire","viewportOffset","restore","6488504YhTKnC","render","view","name","80574VWGLcS","getRoot","detachDomRoot","toolbar","_initToolbar","get","replace","focusTracker","componentFactory","editor","2487505kudcfZ","isFocused","limiterElement"];return(Ju=function(){return t})()}!function(t){const e=Yu,i=t();for(;;)try{if(553726===parseInt(e(346))/1*(parseInt(e(362))/2)+-parseInt(e(359))/3+parseInt(e(355))/4+-parseInt(e(380))/5+parseInt(e(370))/6*(parseInt(e(353))/7)+-parseInt(e(366))/8+parseInt(e(343))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ju);class Ku extends Vn.EditorUI{get[Gu(368)](){return this[Gu(340)]}constructor(e,i){const n=Gu;super(e),this[n(340)]=i,this[n(344)]=(0,Vn.normalizeToolbarConfig)(e[n(338)][n(375)](n(373))),this[n(383)]=new t.ElementReplacer}get[Gu(349)](){const t=Gu;return this[t(368)][t(349)]}[Gu(345)](t){const e=Gu,i=this[e(379)],n=this[e(368)],r=i[e(354)][e(368)],s=n[e(350)],o=r[e(348)][e(371)]();s[e(369)]=o[e(347)],n[e(367)]();const a=s[e(349)];this[e(357)](s[e(369)],a),n[e(350)][e(342)](e(381)).to(this[e(377)]),r[e(351)](a),this[e(383)][e(376)](t,this[e(349)]),this[e(374)](),this[e(363)](e(360))}[Gu(352)](){const t=Gu;super[t(352)]();const e=this[t(368)],i=this[t(379)][t(354)][t(368)];this[t(383)][t(365)](),i[t(372)](e[t(350)][t(369)]),e[t(352)]()}[Gu(374)](){const t=Gu,e=this[t(368)];e[t(361)][t(342)](t(358)).to(this[t(377)],t(381)),e[t(361)][t(382)]=e[t(349)],e[t(361)][t(342)](t(339)).to(this,t(364),(({top:t})=>t)),e[t(373)][t(341)](this[t(344)],this[t(378)]),this[t(356)](e[t(373)])}}var Xu=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=Pn().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Zn();Cn()(Xu.A,Qu);Xu.A&&Xu.A.locals&&Xu.A.locals;var tl=il;function el(){var t=["763RLyRDv","stickyPanel","10UvRsRd","render","editable","shouldToolbarGroupWhenFull","4312560soeZyk","27swNyxD","748112qVTWgK","content","toolbar","_editable","add","343132vAuDcV","51024neUtQi","7910856bJVlNP","top","122894yvnKCK","main","27105340nSOdcz"];return(el=function(){return t})()}function il(t,e){var i=el();return(il=function(t,e){return i[t-=205]})(t,e)}!function(t){for(var e=il,i=t();;)try{if(474123===-parseInt(e(214))/1*(parseInt(e(219))/2)+-parseInt(e(224))/3*(parseInt(e(210))/4)+parseInt(e(223))/5+parseInt(e(211))/6*(-parseInt(e(217))/7)+parseInt(e(205))/8+-parseInt(e(212))/9+parseInt(e(216))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(el);class nl extends Vn.BoxedEditorUIView{get[tl(221)](){return this[tl(208)]}constructor(t,e,i={}){var n=tl;super(t),this[n(218)]=new Vn.StickyPanelView(t),this[n(207)]=new Vn.ToolbarView(t,{shouldGroupWhenFull:i[n(222)]}),this[n(208)]=new Vn.InlineEditableUIView(t,e)}[tl(220)](){var t=tl;super[t(220)](),this[t(218)][t(206)][t(209)](this[t(207)]),this[t(213)][t(209)](this[t(218)]),this[t(215)][t(209)](this[t(221)])}}const rl=ol;function sl(){const t=["init","130925BQRTfH","sourceElement","document","locale","_ui","createRoot","create","view","get","3156725WVIiwk","data","8216168AIYjDa","3168261INBEnl","2AXNhBs","config","19162LndaaR","4SnxSjp","9276TIsXGU","initialData","updateSourceElement","3101UNOvIM","fire","4060YKDnzy","5787549zhPHvF","ready","model","destroy","editing","initPlugins"];return(sl=function(){return t})()}function ol(t,e){const i=sl();return(ol=function(t,e){return i[t-=422]})(t,e)}!function(t){const e=ol,i=t();for(;;)try{if(548337===-parseInt(e(434))/1+parseInt(e(447))/2*(parseInt(e(446))/3)+parseInt(e(450))/4*(parseInt(e(443))/5)+parseInt(e(451))/6*(-parseInt(e(424))/7)+parseInt(e(445))/8+-parseInt(e(427))/9+-parseInt(e(426))/10*(parseInt(e(449))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sl);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[ol(438)]}constructor(t,e){const i=ol;super(e),this[i(435)]=t,this[i(429)][i(436)][i(439)]();const n=new nl(this[i(437)],this[i(431)][i(441)],{shouldToolbarGroupWhenFull:!0});this[i(438)]=new Ku(this,n)}[rl(430)](){const t=rl;return this[t(423)](),this.ui[t(430)](),super[t(430)]()}static async[rl(440)](t,e){const i=rl,n=new this(t,e);return await n[i(432)](),await n.ui[i(433)](t),await n[i(444)][i(433)](n[i(448)][i(442)](i(422))||""),n[i(425)](i(428)),n}}const cl=ll;function ul(){const t=["enableReadOnlyMode","adapter","getRoot","includes","getMarkersGroup","addRoot","from","isReadOnly","revisionHistory.viewerEditorElement","createdAt","$graveyard","refreshPositioning","model","revisionHistory.editorContainer","Dialog","removeAttribute","join","restrictedEditingException","none","display","roots","bind","insert","Autosave","indexOf","setAttribute","isOpen","numeric","requires","showRevisionViewerCallback","getRevisions","locale","18srPSXx","has","getAttributeKeys","revisionHistory.requireRevisionName","config","revision-history-viewer-opened","lazyRoots","long","toVersion","getRevisionRootsAttributes","_update","revision-history-missing-configuration","Users","Annotations","1109620RomDLO","data","toolbar","RestrictedEditingMode","changesNavigation","revisionHistory.restoreRevisionCallback","getRevisionData","1019622CeDoFb","_getRevisionViewerEditorConfig","get","hide","map","_viewerEditor","init","block","keys","revisionHistory.viewerContainer","toJSON","disableReadOnlyMode","editor","isOfficialPlugin","revisionHistory.closeRevisionViewerCallback","revisionHistory.showRevisionViewerCallback","remove","end","markers","parse","_enhanceCloseRevisionViewerCallback","_recalculatePageBreaks","style","selection","save","users","commands","result","exitToEditing","_enhanceShowRevisionViewerCallback","RevisionHistory","name","isEnabled","242392PJQEFD","_showRevisionViewer","catch","toLocaleTimeString","46792PjKTQE","translations","restoreRevision","destroy","isPremiumPlugin","_cleanUp","fromVersion","then","createRangeIn","261CprZgk","define","RevisionViewerIntegration","enqueueChange","1870285guMkjt","RevisionViewer","create","7IuDzRa","plugins","RevisionTracker","setSelection","toLocaleDateString","uiLanguage","RevisionsRepository","fromCharCode","creator","document","RevisionHistoryUI","isAnonymous","removeMarker","saveRevision","_closeRevisionViewer","addRevisionData","repository","473ABqaJy","revisionHistory","_restoreRevision","change","214470EmqApz","closeRevisionViewerCallback","rootName","removeSelectionAttribute","PaginationLookup","addUser","set","getRevision","push","isReady","pluginName","detachRoot","update","refreshVisibility","719807ZTXQwU","error","getUser","isAttached","Restored"];return(ul=function(){return t})()}function ll(t,e){const i=ul();return(ll=function(t,e){return i[t-=498]})(t,e)}!function(t){const e=ll,i=t();for(;;)try{if(362549===parseInt(e(587))/1+parseInt(e(638))/2+parseInt(e(624))/3*(-parseInt(e(532))/4)+parseInt(e(549))/5+parseInt(e(499))/6*(-parseInt(e(552))/7)+parseInt(e(536))/8*(parseInt(e(545))/9)+-parseInt(e(573))/10*(parseInt(e(569))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ul);const hl=[cl(562),cl(641)];class dl extends qi.Plugin{static get[cl(583)](){return cl(547)}static get[cl(512)](){return!0}static get[cl(540)](){return!0}constructor(t){const e=cl;function i(t){const e=ll;return t[e(503)]((t=>String[e(559)](t)))[e(608)]("")}super(t),this[e(526)]=e(516),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class fl extends qi.Plugin{static get[cl(583)](){return cl(529)}static get[cl(512)](){return!0}static get[cl(540)](){return!0}static get[cl(620)](){return[On,er]}constructor(e){const i=cl;if(super(e),!this[i(511)][i(628)][i(501)](i(570)))throw new t.CKEditorError(i(635),this);this[i(504)]=null,this[i(511)][i(628)][i(546)](i(514),(t=>this[i(533)]({...t,translations:this[i(511)][i(623)][i(537)]}))),this[i(511)][i(628)][i(546)](i(513),(t=>this[i(566)](t))),this[i(511)][i(628)][i(546)](i(643),(t=>this[i(571)](t))),this[i(511)][i(628)][i(546)](i(627),!1),this[i(528)](),this[i(519)]()}set[cl(593)](t){const e=cl;this[e(511)][e(553)][e(501)](e(554))[e(593)]=t}get[cl(593)](){const t=cl;return this[t(511)][t(553)][t(501)](t(554))[t(593)]}[cl(567)](t){const e=cl;return this[e(511)][e(553)][e(501)](e(554))[e(567)](t)}[cl(580)](t){const e=cl;return this[e(511)][e(553)][e(501)](e(558))[e(580)](t)}[cl(622)](t){const e=cl;return this[e(511)][e(553)][e(501)](e(558))[e(622)](t||{toJSON:!1})}[cl(500)](){const e=cl,i=this[e(511)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(553)][e(501)](e(554)),s=i[e(553)][e(501)](e(636))[e(524)];return n[e(640)]=[e(527),e(538),e(642)],delete n[e(630)],n[e(553)][e(581)](dl,kr,Lr,class extends qi.Plugin{static get[e(620)](){return[kr,e(636)]}[e(505)](){const n=e,o=this[n(511)][n(553)][n(501)](n(636));for(const t of s)t[n(563)]||o[n(589)](t.id)||o[n(578)](t);const a=r[n(568)][n(622)]();let c=null;const u=this[n(511)][n(553)][n(501)](n(550));u[n(593)]=r[n(593)],u[n(613)](n(531)).to(r),this[n(511)][n(525)][n(501)](n(538))[n(613)](n(531)).to(i,n(599),(t=>!t));for(const e of a){const i=null===e[n(560)];if(i&&e[n(632)]===e[n(542)])continue;const s=e[n(509)]();u[n(567)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(634)](s,o);else if(!o){const e=a[u(509)]();e.id=(0,t.uid)(),r[u(565)](e,a[u(632)])[u(543)]((t=>{c=t}))}}else e[u(634)](s,o)}))}}},Bu),n}[cl(528)](){const t=cl,e=this[t(511)][t(628)][t(501)](t(570))[t(621)];this[t(511)][t(628)][t(579)](t(514),(async()=>{const i=t;this[i(511)][i(592)](i(629));const n=this[i(511)][i(553)][i(501)](i(554));if(this[i(511)][i(553)][i(625)](i(615))){const t=this[i(511)][i(553)][i(501)](i(615));await t[i(523)]()}else await n[i(585)]();if(this[i(511)][i(553)][i(625)](i(577))&&this[i(511)][i(553)][i(501)](i(577))[i(520)](),this[i(511)][i(553)][i(625)](i(606))){const t=this[i(511)][i(553)][i(501)](i(606));t[i(618)]&&t[i(502)]()}const r=this[i(500)]();return e(r)[i(543)]((t=>{const e=i;return this[e(504)]=t,this[e(511)][e(553)][e(625)](e(637))&&this[e(511)][e(553)][e(501)](e(637))[e(586)](),t}))[i(534)]((t=>(console[i(588)](t),this[i(511)][i(510)](i(629)),null)))}))}[cl(519)](){const t=cl,e=this[t(511)][t(628)][t(501)](t(570))[t(574)];this[t(511)][t(628)][t(579)](t(513),(()=>(this[t(511)][t(553)][t(625)](t(577))&&this[t(511)][t(553)][t(501)](t(577))[t(520)](),this[t(504)][t(553)][t(501)](t(550))[t(541)](),e(this[t(504)])[t(543)]((()=>{const e=t;if(this[e(511)][e(510)](e(629)),this[e(504)]=null,this[e(511)][e(553)][e(625)](e(637))){const t=this[e(511)][e(553)][e(501)](e(637));t[e(586)](),t[e(603)]()}})))))}[cl(533)](t){const e=cl,i=this[e(511)][e(628)][e(501)](e(605)),n=this[e(511)][e(628)][e(501)](e(508)),r=this[e(511)][e(628)][e(501)](e(600));return al[e(551)](r,t)[e(543)]((t=>(n[e(521)][e(611)]=e(506),i[e(521)][e(611)]=e(610),t)))}[cl(566)](t){const e=cl,i=this[e(511)][e(628)][e(501)](e(605));return this[e(511)][e(628)][e(501)](e(508))[e(521)][e(611)]=e(610),i[e(521)][e(611)]="",t[e(539)]()}async[cl(571)](t){const e=cl,i=this[e(511)],n=this[e(504)][e(553)][e(501)](e(550)),r=i[e(553)][e(501)](e(554)),s=n[e(568)][e(580)](t);let o,a,c;try{o=await n[e(498)](s),a=await n[e(633)](s)}catch(t){return void console[e(588)](t)}i[e(604)][e(572)]((t=>{const n=e;for(const e of Array[n(598)](i[n(604)][n(517)][n(596)](n(609))))t[n(564)](e)})),n[e(582)]=!1,i[e(604)][e(548)]((t=>{const n=e;t[n(555)](null),t[n(576)](i[n(604)][n(561)][n(522)][n(626)]());const r=Object[n(507)](o);for(const e of i[n(604)][n(561)][n(612)])n(602)!=e[n(575)]&&e[n(590)]()&&!r[n(595)](e[n(575)])&&t[n(584)](e);for(const e of r){let r=i[n(604)][n(561)][n(594)](e);r&&r[n(590)]()||(r=t[n(597)](e));const s=a[e],c=Object[n(507)](s),u=o[e];for(const e of r[n(626)]())c[n(595)](e)||t[n(607)](e,r);for(const i of c)t[n(617)](i,a[e][i],r);t[n(515)](t[n(544)](r)),t[n(614)](i[n(639)][n(518)](u,r),r,0)}}));const u=Qi(i[e(623)],e(591));return c=s[e(530)]?-1==s[e(530)][e(616)](u)?u+": "+s[e(530)]:s[e(530)]:u+": "+s[e(601)][e(556)](i[e(623)][e(557)],{month:e(631),day:e(619)})+", "+s[e(601)][e(535)](i[e(623)][e(557)],{hour:e(619),minute:e(619)}),await r[e(565)]({name:c}),n[e(582)]=!0,i[e(628)][e(501)](e(570))[e(574)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=141]})(t,e)}function pl(){var t=["199970WfPGkB","406659SLpklW","220tmFiXt","36zShenx","6wPTcZP","1095830WWMkcD","396392cyGLRa","416760BAZCbh","9159283moVsPf","701224jiNxKE","4OzoOCm"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(684222===-parseInt(e(143))/1+-parseInt(e(151))/2+-parseInt(e(146))/3+parseInt(e(144))/4*(parseInt(e(150))/5)+-parseInt(e(149))/6*(-parseInt(e(142))/7)+-parseInt(e(141))/8*(parseInt(e(148))/9)+parseInt(e(145))/10*(parseInt(e(147))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>z,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>G,RevisionTracker:()=>ct,RevisionViewer:()=>Xt,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",T="[object Float32Array]",O="[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 T:case O: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 M(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 V(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,V(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(){const t=["toJSON","1032575KfZMnb","map","creator","90816kttMiq","98373bqYnuC","set","creatorId","setName","authorsIds","3374680wTtWFR","removeAttribute","7kIaSlr","toVersion","attributes","_update","669486XSVsqx","fire","78007gibkQo","model","diffData","fromVersion","name","setAttribute","authors","147450hOaKPe","createdAt"];return(j=function(){return t})()}const P=W;function W(t,e){const i=j();return(W=function(t,e){return i[t-=241]})(t,e)}!function(t){const e=W,i=t();for(;;)try{if(103488===parseInt(e(253))/1+parseInt(e(260))/2+parseInt(e(267))/3+parseInt(e(266))/4+parseInt(e(263))/5+-parseInt(e(251))/6*(-parseInt(e(247))/7)+-parseInt(e(245))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(j);class z extends((0,t.ObservableMixin)()){id;[P(265)];[P(259)];[P(255)];[P(248)];[P(256)];[P(254)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(265)]=e[i(265)]||null,this[i(259)]=e[i(259)]||[],this[i(255)]=e[i(255)]||null,this[i(248)]=e[i(248)]||0,this[i(256)]=e[i(256)]||0,this[i(241)](i(257),e[i(257)]||""),this[i(241)](i(261),e[i(261)]||new Date),this[i(241)](i(249),e[i(249)]||{})}[P(243)](t){this[P(250)]({name:t})}[P(258)](t,e){const i=P,s=A(this[i(249)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?V(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]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(250)]({attributes:s})}[P(246)](t){const e=P,i=A(this[e(249)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return L(t,V(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(250)]({attributes:i})}[P(250)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(257),i(261),i(255),i(259),i(249),i(248),i(256),i(242)];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(259)]&&(n[i(244)]=n[i(259)][i(264)]((t=>t.id)),delete n[i(259)]),this[i(252)](i(250),n,e))}[P(262)](){const t=P;return{id:this.id,name:this[t(257)],creatorId:this[t(265)]?this[t(265)].id:null,authorsIds:this[t(259)][t(264)]((t=>t.id)),diffData:this[t(255)],createdAt:this[t(261)],attributes:this[t(249)],fromVersion:this[t(256)],toVersion:this[t(248)]}}}var U=i(782),Z=i(211),H=i(783);const B=q;function $(){const t=["from","5236950rxMeth","17181791BnXXeL","1971672gXqdQX","isPremiumPlugin","data","pluginName","155vVNRec","get","authorsIds","_revisions","oldRevisionId","9IWktHd","RevisionsRepository","reverse","href","getUser","getEarlierVisibleRevision","plugins","add","fromCharCode","Users","createRevision","getRevisionsInDiff","attributes","toVersion","isNaN","newRevisionId","76173mZDFXV","later","addRevision","requires","editor","length","48628HYBpmv","fromVersion","afterInit","push","creatorId","createdAt","map","diffData","earlier","name","12WxkGHw","2534910KSrskh","getRevision","getLaterVisibleRevision","join","isOfficialPlugin","getRevisions","getIndex","toJSON","getRevisionsIterator","14pXtUPR","265102dgaUKE"];return($=function(){return t})()}function q(t,e){const i=$();return(q=function(t,e){return i[t-=146]})(t,e)}!function(t){const e=q,i=t();for(;;)try{if(612506===parseInt(e(177))/1+parseInt(e(166))/2*(-parseInt(e(150))/3)+-parseInt(e(156))/4*(-parseInt(e(185))/5)+-parseInt(e(167))/6+-parseInt(e(176))/7*(parseInt(e(181))/8)+parseInt(e(190))/9*(-parseInt(e(179))/10)+parseInt(e(180))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends U.Plugin{[B(188)];static get[B(153)](){return[Z.Users]}static get[B(184)](){return B(191)}static get[B(171)](){return!0}static get[B(182)](){return!0}get[B(155)](){const t=B;return this[t(188)][t(155)]}constructor(e){const i=B;super(e),this[i(188)]=new t.Collection}[B(158)](){!async function(e){const i=k([65,56,120,70,48,112,115,79,86,49,121,101,88,57,111,99,81,84,80,108,113,87,52,82,73,74,102,68,107,76,83,103,105,116,72,97,109,85,114,77,71,110,55,54,90,117,69,53,51,50,75,98,106,100,66,89,78,122,118,104,67,119]),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(148)](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([65]);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(162)]((t=>String[e(198)](t)))[e(170)]("")}!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:1742947200;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(193)]);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)}[B(200)](t){const e=B,i=this[e(154)][e(196)][e(186)](e(199));return new z({id:t.id,name:t[e(165)],creator:t[e(160)]?i[e(194)](t[e(160)]):null,diffData:t[e(163)]||t[e(183)],authors:t[e(187)][e(162)]((t=>i[e(194)](t))),createdAt:new Date(t[e(161)]),attributes:t[e(146)],fromVersion:t[e(157)],toVersion:t[e(147)]})}[B(152)](t,e=0){const i=B;this[i(188)][i(197)](t,e)}[B(168)](t){const e=B;return this[e(188)][e(186)](t)}[B(172)](t={toJSON:!1}){const e=B,i=Array[e(178)](this[e(188)]);return i[e(192)](),t[e(174)]?i[e(162)]((t=>t[e(174)]())):i}[B(173)](t){const e=B;return this[e(188)][e(173)](t)}[B(195)](t){const e=B,[,i]=this[e(175)](t,{direction:e(164)});return i}[B(169)](t){const e=B,[,i]=this[e(175)](t,{direction:e(151)});return i}[B(201)](t){const e=B,i=[];for(const s of this[e(175)](t[e(149)]))if(i[e(159)](s),s.id===t[e(189)])break;return i}*[B(175)](t,{direction:e=B(164),filter:i=()=>!0}={}){const s=B,n=s(164)===e?1:-1;let r=this[s(188)][s(186)](t),o=this[s(173)](r);for(yield r;r;){if(o+=n,r=this[s(168)](o),!r)return;i(r)&&(yield r)}}}const J=K;!function(t){const e=K,i=t();for(;;)try{if(409348===-parseInt(e(396))/1+-parseInt(e(384))/2*(parseInt(e(388))/3)+parseInt(e(344))/4+parseInt(e(367))/5*(parseInt(e(390))/6)+-parseInt(e(331))/7*(-parseInt(e(402))/8)+parseInt(e(364))/9*(parseInt(e(354))/10)+-parseInt(e(353))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Q);class G extends U.Plugin{static get[J(381)](){return J(345)}static get[J(375)](){return!0}static get[J(372)](){return!0}[J(362)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[J(343)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[J(336)](t,e){const i=J;if(t[i(380)]||!e)return;const s=this[i(339)][i(330)][i(389)](i(361)),n=await e[i(329)]({channelId:s,revisionId:t.id});t[i(380)]=n[i(380)]}[J(352)](t){const e=J,i={};for(const s in t[e(380)]){if(t[e(380)][s][e(370)]&&!t[e(380)][s][e(370)][e(371)])continue;const n=this[e(373)](JSON[e(382)](t[e(380)][s][e(379)])),r=this[e(339)][e(358)][e(348)][e(386)],o=new H.ViewDocumentFragment(r,n[e(369)]((t=>this[e(385)](t,!1))));this[e(339)][e(391)][e(400)][e(342)](e(399)),i[s]=this[e(339)][e(391)][e(400)][e(334)](o),this[e(339)][e(391)][e(400)][e(342)](e(383))}return i}[J(332)](t){const e=J,i={};for(const s in t[e(380)])t[e(380)][s][e(370)]&&!t[e(380)][s][e(370)][e(371)]||(i[s]=t[e(380)][s][e(349)]||{});return i}[J(350)](t){const e=J;return this[e(362)][e(389)](t[e(365)])}[J(385)](t,e){const i=J,s=this[i(339)][i(358)][i(348)][i(386)];if(i(347)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(397)]||"r"==t[i(397)]?[]:t[i(398)][i(369)]((t=>this[i(385)](t,e)));const o=this[i(343)][i(389)](t[i(397)])||H.ViewElement,a=this[i(339)][i(391)][i(377)][i(333)];if(n=new o(s,t[i(374)],t[i(328)],r),"u"==t[i(397)]){const r=t[i(398)][0];if(n[i(335)]=function(t){const e=i,s=t[e(366)](e(338));return s[e(387)]=r,s[e(356)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(355)](n);const e=Array[i(378)](a[i(392)](t,{bind:!1})),r=a[i(341)][i(366)](i(338));r[i(403)](...e),n=Array[i(378)](a[i(340)](r))[0]}}else if("r"==t[i(397)]){const r=t[i(398)][0];if(n[i(335)]=function(t){t[i(387)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(355)](n);const e=Array[i(378)](a[i(392)](t,{bind:!1})),r=a[i(341)][i(366)](i(338));r[i(403)](...e);const o=Array[i(378)](a[i(340)](r));o[i(393)]>1?n[i(355)](o):n=o[0]}}if(t[i(360)])for(const[e,s]of t[i(360)])n[i(401)](e,s);const c=t[i(368)]||null;return n[i(363)]=()=>c,n}}[J(394)](t){const e=J,i=JSON[e(382)](t),s=this[e(339)][e(358)][e(348)][e(386)],n=new H.ViewDocumentFragment(s,i[e(369)]((t=>this[e(385)](t,!0))));return this[e(339)][e(391)][e(359)](n)}[J(373)](t){const e=J;return(t=t[e(376)]((t=>!t[e(374)]||e(357)!==t[e(374)]&&e(346)!==t[e(374)])))[e(351)]((t=>{const i=e;i(347)!=typeof t&&(t[i(398)]=this[i(373)](t[i(398)]),t[i(328)]=t[i(328)][i(376)]((t=>!t[0][i(337)](i(395)))))})),t}}function K(t,e){const i=Q();return(K=function(t,e){return i[t-=328]})(t,e)}function Q(){const t=["attributesAfter","_getTypeCharForViewElement","forEach","getRevisionDocumentData","6567231IMzlfr","10fyaJWB","_appendChild","childNodes","revision-start","editing","toModel","customProperties","collaboration.channelId","_viewClassToTypeChar","getFillerOffset","3523842yWvFbT","constructor","createElement","5xBxUPs","fillerOffset","map","attachChange","isAttached","isPremiumPlugin","_removeRevisionMarkers","name","isOfficialPlugin","filter","htmlProcessor","from","insertions","diffData","pluginName","parse","default","2BpAnGh","_getViewFromDiffObj","document","innerHTML","1343079wURcrf","get","3429738JxKTnH","data","viewChildrenToDom","length","_makeModelFromViewString","data-revision-","770919gTCESh","type","children","marked","processor","_setCustomProperty","1376IXQhrI","append","attributes","getRevision","config","19299OuNIRF","getRevisionRootsAttributes","domConverter","toData","render","loadRevisionData","startsWith","div","editor","domChildrenToView","domDocument","useFillerType","_typeCharToViewClass","3150464AMBXdi","RevisionHistoryUtils","revision-end","string","view"];return(Q=function(){return t})()}function X(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),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 M=(s=s??new Map).get(t),V=s.get(i);if(null!=M&&null!=V)return M===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 T:case O: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-=105]})(t,e)}function at(){const t=["from","getAttributes","_handleSplitOperation","_savedMetaData","insert","revisionHistory.resumeUnsavedRevision","revisionHistoryLicenseKeyEvaluationLimit","RealTimeCollaborationClient","_insertChild","roots","clone","sendBufferedUpdates","then","setRevisionData","item","_isPendingUpdate","_baseRootsAttributes","getWalker","_getState","_touchedMarkers","revisionHistoryLicenseKeyTrialLimit","newRange","_handleRootOperation","attachChange","_getTypeCharForViewElement","_authorId","shift","find","expired","for","editor","howMany","isAttached","saveRevision","baseVersion","affectsData","attributesBefore","createElement","insertionPosition","_createInitialRevision","getTime","Users","toVersion","PendingActions","_initialRevisionId","innerHTML","locale","root","isAdd","ready","updateRevisions","loadState","_generateTape","_setConversion","initial","_operations","revisionHistoryLicenseKeyInvalid","editor-initial-data-replaced-with-revision-data","_update","_addPendingAction","NEGATIVE_INFINITY","clear","nodeAfter","attributesAfter","uiElement","splitPosition","featureNotAllowed","RevisionTracker","plugins","destroy","size","sourcePosition","split","childCount","vid","_clone","RevisionHistory","revisionHistoryLicenseKeyValid","vid_end","_getFromVersion","_transformMarkers","_touched","paragraph","fromVersion","revisionHistoryLicenseKeyNotAllowed","RevisionsRepository","authorsIds","_setAttribute","134659VHUgSU","createPositionFromPath","_copyMarkers","keepParagraph","vid_start","createRangeIn","define","getAttribute","graveyardPosition","_calculateMetaData","markers","_findInsertionIndex","update","slice","licenseKey","rawElement","_isAttached","invalid","getRevisionRootsAttributes","getTransformedByOperation","_saveMetaData","_baseRoots","conversion","PENDING_ACTION_REVISION_HISTORY","stringify","max","length","trim","start","getRevisionDocumentData","_diffRoots","move","getNodeByPath","merge","includes","deletions","has","sort","1800156jihSVy","source","filter","get","insertions","_applyOperations","bind","_removePendingAction","Initial revision","children","RevisionHistoryUtils","_removeMetaData","_handleMoveOperation","_licenseKeyCheckInterval","_createFromRanges","createdAt","add","render","_handleMergeOperation","addRoot","_lastFrom","offsetSize","deletion","createRevision","_createCurrentRevision","reInit","authors","getChild","reverse","createPositionBefore","_loadState","rootName","_makeModelFromViewString","insertion","rootsAttributes","string","_fixPosition","elementStart","remove","loadRevisionData","_showLicenseError","map","path","offset","document","delete","set","targetPosition","_startingVersion","1507055xzcDwm","push","_lastTo","name","isOfficialPlugin","getMovedRangeStart","removeRootAttribute","4294832cuthlh","data","$text","isPremiumPlugin","_makeRevision","_reset","getChildren","_isInit","_replaceEditorDataWithRevisionData","Empty document","position","_touchedRoots","keys","reinsert","getRevisions","buildRevisionData","domainLimit","revision:","elementEnd","$graveyard","requires","_makeIdsRoot","pluginName","resolve","addRootAttribute","_startingRevisionId","_handleMarkerOperation","model","oldRange","_continueCurrentRevision","end","trialLimit","_processRootBeforeSave","createRange","_fixOperation","createPositionAfter","getRevision","_appendChild","stickiness","_prepareViewToSave","init","_handleRootAttributeOperation","9ZdDpIH","parent","60NrclgR","getRootNames","createPositionAt","afterInit","upcast","revisionHistoryLicenseKeyExpired","key","marker","_handleInsertOperation","usageLimit","range","fillerOffset","isEqual","evaluationLimit","getRoot","_pendingAction","isReady","getIndex","_utils","getData","adapter","32734QxoxWM","hasContent","_bufferUpdate","isEnabled","some","_baseIdsRoots","config","6202328BxeAeI","version","customProperties","getRange","setSource","getFillerOffset","revisionHistoryLicenseKeyDomainLimit","diffData","609042QhJalW","dataDowncast","startsWith","_diffRootsAttributes","_fixRange","creator","element","htmlProcessor","userId","_bufferedUpdates","creatorId","changeRootAttribute","addRevisionData","toView","getUser","_loadedStateData","addRevision","finally","getLatestVersion","values","domDocument","revisionHistoryLicenseKeyUsageLimit","nodes","_idsRoots","$comment","outerHTML","_getViewJson","_handleOperation","_markers","dataToMarker","_markChanges","fromEntries","documentFragment","_getBaseVids","getCustomProperties","newValue","revision","currentRevision","type","_revisionDataBuilder","getAncestors","_cloneOperation","_revisionId","_source","detachRoot","getOperations","tableCell","text","_getPreviousFrom","repository","domConverter","previousPosition","markerToData","collaboration.channelId","initialData","getCurrentRevisionId","getOperation","_getVidAttributeName","_execute","history"];return(at=function(){return t})()}!function(t){const e=ot,i=t();for(;;)try{if(785269===parseInt(e(218))/1+-parseInt(e(203))/2+parseInt(e(404))/3+-parseInt(e(138))/4+-parseInt(e(131))/5+parseInt(e(182))/6*(parseInt(e(366))/7)+parseInt(e(210))/8*(parseInt(e(180))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ct extends U.Plugin{[rt(380)];[rt(417)];[rt(255)]=null;[rt(267)];[rt(202)]=null;[rt(257)];[rt(261)];[rt(322)];[rt(227)];[rt(200)];[rt(197)];[rt(167)];[rt(130)];[rt(233)];static get[rt(160)](){return rt(345)}static get[rt(135)](){return!0}static get[rt(141)](){return!0}static get[rt(158)](){return[Z.Users,Y,G,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(267)]=this[i(308)][i(346)][i(407)](i(363)),this[i(200)]=this[i(308)][i(346)][i(407)](i(414)),this[i(257)]=new ut(this[i(308)]),this[i(322)]=this[i(308)][i(209)][i(407)](i(271))||i(332),this[i(227)]=new Map,this[i(233)]=null;const s=(0,t.uid)();this[i(261)]={history:this[i(308)][i(165)][i(126)][i(277)],getLatestVersion:()=>Promise[i(161)](this[i(308)][i(165)][i(126)][i(211)]),getCurrentRevisionId:()=>s},this[i(128)](i(198),!1),this[i(128)](i(206),!0),this[i(128)](i(293),!1),this[i(308)][i(209)][i(372)](i(283),!0),this[i(308)][i(388)][i(307)](i(186))[i(247)]({view:i(254)})}[rt(178)](){const t=rt;this[t(331)](),this[t(308)][t(139)].on(t(327),(()=>{const e=t,i=this[e(267)][e(174)](0),s=i&&null===i[e(223)]?i:null;if(this[e(167)]=!!s&&this[e(308)][e(209)][e(407)](e(283)),this[e(308)][e(346)][e(402)](e(285))){const t=this[e(261)][e(273)](),n=this[e(267)][e(174)](t);if(n)this[e(130)]=n[e(361)],this[e(167)]=!1;else{const t=this[e(261)][e(277)][e(333)][e(305)]((t=>!t[e(145)])),n=t?t[e(312)]:this[e(261)][e(277)][e(211)];i?(i[e(320)]<n&&i[e(336)]({toVersion:n}),this[e(167)]?(this[e(261)][e(273)]=()=>s.id,this[e(130)]=s[e(361)]):(this[e(130)]=i[e(320)],this[e(167)]=!1)):(this[e(130)]=n,this[e(167)]=!1)}}else s&&(this[e(308)][e(165)][e(126)][e(277)][e(211)]=Math[e(391)](s[e(320)],this[e(308)][e(165)][e(126)][e(277)][e(211)]),s[e(361)]===s[e(320)]?(0!==s[e(361)]&&(this[e(261)][e(273)]=()=>s.id),this[e(167)]=!1):this[e(167)]&&(this[e(261)][e(273)]=()=>s.id,this[e(130)]=s[e(361)])),this[e(167)]||(this[e(130)]=this[e(308)][e(165)][e(126)][e(211)]);this[e(257)][e(178)](this[e(261)][e(277)]),this[e(317)](this[e(130)]),this[e(106)](this[e(130)]),this[e(202)]&&this[e(289)]()})),this[t(410)](t(198)).to(this,t(293),(t=>!t)),this[t(380)]=this[t(308)][t(209)][t(407)](t(380));const e=this[t(308)];this[t(417)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(355)==r||i(334)==r||i(187)==r||i(216)==r||i(362)==r||i(284)==r||i(298)==r||i(239)==r){delete e[n],s=r,clearInterval(this[i(417)]),this[i(417)]=void 0;break}}i(334)==s&&e[i(122)](i(383)),i(187)==s&&e[i(122)](i(306)),i(216)==s&&e[i(122)](i(154)),i(362)==s&&e[i(122)](i(344),i(354)),i(284)==s&&e[i(122)](i(195)),i(298)==s&&e[i(122)](i(169)),i(239)==s&&e[i(122)](i(191))}),1e3)}async[rt(185)](){const t=rt;if(this[t(267)][t(392)]>0){const e=this[t(267)][t(174)](0),i=await this[t(395)](e),s=await this[t(384)](e);this[t(146)](i,s)}}[rt(347)](){const t=rt;super[t(347)](),this[t(417)]&&clearInterval(this[t(417)])}[rt(214)](t){this[rt(261)]=t}async[rt(378)](){const t=rt,e=await this[t(261)][t(236)]();if(e>this[t(255)][t(320)]){await this[t(112)]();const i=this[t(153)]({revision:this[t(255)],to:e});i[t(108)]=i[t(364)][t(123)]((e=>this[t(308)][t(346)][t(407)](t(319))[t(232)](e))),this[t(255)][t(336)](i)}}async[rt(311)](e={},i=null){const s=rt,n=[];await this[s(112)](),this[s(167)]=!1,i>this[s(255)][s(320)]&&(i=null),null===i&&(i=await this[s(261)][s(236)]());const r=this[s(357)](i),o=this[s(153)]({from:r,to:i});if(this[s(255)][s(320)]<i){const t=this[s(153)]({revision:this[s(255)],from:i,to:i});t[s(108)]=[],t[s(364)]=[],t.id=this[s(255)].id,this[s(255)][s(336)](t,!0),delete t[s(108)],n[s(132)](t)}e[s(228)]=this[s(308)][s(346)][s(407)](s(319)).me.id,e[s(134)]=e[s(134)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(230)](e);n[s(132)](e);const c=this[s(267)][s(199)](a);if(0!==c){const t=this[s(267)][s(174)](c-1);if(t[s(361)]!==i){const r=this[s(257)][s(201)](i,t[s(320)]),o={id:t.id,diffData:r[s(217)],authorsIds:r[s(364)],authors:r[s(364)][s(123)]((t=>this[s(308)][s(346)][s(407)](s(319))[s(232)](t))),fromVersion:i};t===this[s(255)]&&(o[s(419)]=new Date(e[s(419)][s(318)]()+10)),t[s(336)](o,!0),delete o[s(108)],n[s(132)](o)}}if(this[s(202)]){for(const t of n)this[s(205)](t.id,t,!0);this[s(289)]()}return a}[rt(230)](t){const e=rt,i=this[e(267)][e(105)](t);return this[e(202)]&&i.on(e(336),((t,i,s)=>{const n=e;s||(this[n(205)](i.id,i,!0),this[n(289)]())})),this[e(267)][e(234)](i,this[e(377)](i)),i}async[rt(395)](t){const e=rt;return await this[e(200)][e(121)](t,this[e(202)]),this[e(200)][e(395)](t)}async[rt(384)](t){const e=rt;return await this[e(200)][e(121)](t,this[e(202)]),this[e(200)][e(384)](t)}[rt(289)](){const t=rt;if(0===this[t(227)][t(348)])return;if(this[t(293)])return;let e=Array[t(278)](this[t(227)][t(237)]());this[t(227)][t(339)]();for(let i=0;i<e[t(392)];i++){const s=e[i];let n=!1;for(const e of Object[t(150)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(406)]((t=>null!==t)),!e[t(392)])return;for(let i=0;i<e[t(392)];i++){const s=e[i];void 0!==s[t(361)]&&void 0===s[t(320)]&&(s[t(320)]=this[t(267)][t(174)](s.id)[t(320)]),void 0!==s[t(320)]&&void 0===s[t(361)]&&(s[t(361)]=this[t(267)][t(174)](s.id)[t(361)])}const i=this[t(308)][t(209)][t(407)](t(271));this[t(293)]=!0,this[t(337)](),this[t(202)][t(328)](e,i)[t(235)]((()=>{this[t(293)]=!1}))[t(290)]((e=>{const i=t;if(e)for(const t of e)this[i(291)]({id:t.id,createdAt:t[i(419)]});this[i(411)](),this[i(289)]()}))}[rt(153)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(361)],i=null!==i?i:t[s(320)];const n=this[s(257)][s(201)](e,i),r={diffData:n[s(217)],authorsIds:n[s(364)],fromVersion:e,toVersion:i};if(!t||i!==t[s(320)]){const t=i-1,e=this[s(261)][s(277)][s(274)](t);r[s(419)]=e&&e[s(419)]||new Date}if(this[s(233)]&&e===this[s(233)][s(361)])for(const t of this[s(233)][s(108)])r[s(364)][s(400)](t.id)||r[s(364)][s(132)](t.id);return r}[rt(205)](t,e,i){const s=rt;if(this[s(227)][s(402)](t)){const n=this[s(227)][s(407)](t);e=i?{...n,...e}:{...e,...n}}this[s(227)][s(128)](t,e)}[rt(291)](t){const e=rt,i=this[e(267)][e(174)](t.id);if(t[e(419)]&&(t[e(419)]=new Date(t[e(419)])),t[e(364)]){const i=this[e(308)][e(346)][e(407)](e(319));t[e(108)]=t[e(364)][e(123)]((t=>i[e(232)](t)))}i[e(336)](t,!0)}[rt(317)](t){const e=rt,i=this[e(267)][e(174)](this[e(267)][e(392)]-1);if(i)this[e(322)]=i.id;else{const i=!this[e(308)][e(165)][e(126)][e(287)][e(305)]((t=>this[e(308)][e(165)][e(204)](t))),s=this[e(308)][e(346)][e(407)](e(319)).me.id,n=X(this[e(308)][e(324)],e(i?147:412));this[e(142)]({from:t,to:t,id:this[e(322)],name:n,creatorId:s})}}[rt(106)](t){const e=rt,i=this[e(261)][e(273)]();this[e(255)]=this[e(267)][e(174)](i),this[e(255)]||(this[e(255)]=this[e(142)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(112)](){const t=rt;this[t(167)]&&!this[t(233)]&&(await this[t(200)][t(121)](this[t(255)],this[t(202)]),this[t(257)][t(329)](this[t(255)]),this[t(233)]={fromVersion:this[t(255)][t(361)],authors:this[t(255)][t(108)][t(379)]()})}[rt(146)](e,i){const s=rt;let n=this[s(308)][s(209)][s(407)](s(272)),r=this[s(308)][s(209)][s(407)](s(116));if(void 0===n){n={};for(const t of this[s(308)][s(165)][s(126)][s(183)]())n[t]=""}if(s(117)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(308)][s(165)][s(126)][s(183)]())r[t]={}}let o=!1;const a=Object[s(150)](n),c=Object[s(150)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(393)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(150)](r[t])[s(392)]>0){o=!0;break}}o||(o=c[s(207)]((t=>!this[s(308)][s(165)][s(126)][s(196)](t)))),o&&(0,t.logWarning)(s(335),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(308)][s(209)][s(128)](s(272),e),this[s(308)][s(209)][s(128)](s(116),i)}[rt(337)](){const t=rt;if(!this[t(197)]){const e=this[t(308)][t(346)][t(407)](t(321));this[t(197)]=e[t(420)](X(this[t(308)][t(324)],t(389)))}}[rt(411)](){const t=rt;this[t(197)]&&(this[t(308)][t(346)][t(407)](t(321))[t(120)](this[t(197)]),this[t(197)]=null)}[rt(377)](t){const e=rt,i=this[e(267)][e(152)]();i[e(110)]();let s=0;for(;s<i[e(392)];){const n=i[s];if(n===this[e(255)]){s++;continue}if(n.id===this[e(322)])break;const r=t[e(320)]-n[e(320)]||t[e(361)]-n[e(361)];if(r>0)break;if(r<0)s++;else{if(!t[e(223)]&&n[e(223)])break;if(n[e(223)]||!t[e(223)]){if(t[e(419)]>n[e(419)])break;s++}else s++}}return s}[rt(357)](t){const e=rt,i=this[e(267)][e(152)]();i[e(110)](),i[e(304)]();const s=i[e(305)]((i=>i[e(320)]<=t))[e(320)];return s<this[e(130)]?this[e(130)]:s}[rt(142)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(153)]({from:e,to:i});o[r(134)]=t,o[r(228)]=s,o.id=n;const a=this[r(230)](o);return this[r(202)]&&this[r(205)](o.id,o,!0),a}[rt(331)](){const t=rt;this[t(308)][t(388)][t(307)](t(219))[t(270)]({model:t(254)})}}class ut{[rt(308)];[rt(405)];[rt(281)];[rt(424)];[rt(133)];[rt(246)];[rt(396)];[rt(221)];[rt(387)];[rt(294)];[rt(241)];[rt(208)];[rt(359)];[rt(297)];[rt(149)];[rt(260)];[rt(163)];constructor(t){const e=rt;this[e(308)]=t,this[e(281)]=new Map,this[e(424)]=-1,this[e(133)]=-1,this[e(246)]=new Map,this[e(396)]=new Map,this[e(221)]=new Map,this[e(387)]=new Map,this[e(294)]=new Map,this[e(241)]=new Map,this[e(208)]=new Map,this[e(359)]=new Map,this[e(297)]=new Map,this[e(149)]=new Map,this[e(260)]=1}[rt(178)](t){const e=rt;this[e(405)]=t;const i=new Map,s=new Map,n=this[e(308)][e(165)][e(126)][e(287)][e(123)]((t=>t[e(113)]));for(const t of n){const n=this[e(308)][e(165)][e(126)][e(196)](t),r=lt(n);i[e(128)](t,r),s[e(128)](t,Object[e(249)](n[e(279)]()))}const r=Array[e(278)](this[e(308)][e(165)][e(376)])[e(123)]((t=>[t[e(134)],t[e(213)]()])),o=this[e(405)][e(211)];this[e(386)](o,i,r,s),this[e(163)]=this[e(260)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(128)](t,i),c[e(128)](t,{})}this[e(386)](Number[e(338)],a,[],c)}[rt(201)](t,e){const i=rt;if(this[i(424)]===t&&this[i(133)]<=e)this[i(281)][i(348)]>1&&this[i(415)](this[i(133)]),this[i(409)](this[i(133)],e,!0);else{if(!this[i(281)][i(402)](t)){const e=this[i(266)](t);this[i(375)](e,t,!1)}this[i(375)](t,e,!0)}return this[i(424)]=t,this[i(133)]=e,this[i(296)]()}[rt(329)](t){const e=rt,i=this[e(308)][e(346)][e(407)](e(414));this[e(143)](),this[e(424)]=t[e(361)],this[e(133)]=t[e(320)];for(const s in t[e(217)]){const n=t[e(217)][s][e(301)],r=A(t[e(217)][s][e(314)])||{},o=i[e(114)](t[e(217)][s][e(401)]);o[e(113)]=s,o[e(382)]=!n||!n[e(310)],o[e(310)]=()=>o[e(382)],this[e(387)][e(128)](s,o),this[e(294)][e(128)](s,r),n&&this[e(149)][e(128)](s,n);const a=this[e(159)](o);this[e(208)][e(128)](s,a);for(const[t,i]of o[e(376)]){if(!t[e(220)](e(155)))continue;const s=t[e(350)](":")[2];for(const t of i[e(295)]({singleCharacters:!0})){const i=this[e(275)](t),n=e(156)==t[e(256)]?t[e(269)][e(124)][e(379)](0,-1):t[e(269)][e(124)],r=a[e(398)](n)[e(373)](i);this[e(359)][e(128)](r,{userId:s})}}}this[e(163)]=this[e(260)];const s=[...Array(this[e(260)])[e(150)]()][e(379)](1)[e(406)]((t=>!this[e(359)][e(402)](t)));let n=0;const r=new Map;for(const o in t[e(217)]){const a=t[e(217)][o][e(301)],c=A(t[e(217)][o][e(341)])||{},u=i[e(114)](t[e(217)][o][e(408)]);u[e(113)]=o,u[e(382)]=!a||a[e(310)],u[e(310)]=()=>u[e(382)],this[e(396)][e(128)](o,u),this[e(221)][e(128)](o,c);const l=this[e(159)](u,Number[e(338)]);this[e(241)][e(128)](o,l),r[e(128)](o,u[e(310)]()?c:{});for(const[t,i]of u[e(376)]){if(!t[e(220)](e(155)))continue;const s=t[e(350)](":")[2];for(const t of i[e(295)]({singleCharacters:!0})){const i=this[e(275)](t),n=this[e(260)]++,r=e(156)==t[e(256)]?t[e(269)][e(124)][e(379)](0,-1):t[e(269)][e(124)];l[e(398)](r)[e(365)](i,n),this[e(359)][e(128)](n,{userId:s})}}for(const t of this[e(308)][e(165)][e(371)](u)[e(295)]({singleCharacters:!0})){const i=this[e(275)](t),r=e(156)==t[e(256)]?t[e(269)][e(124)][e(379)](0,-1):t[e(269)][e(124)],o=l[e(398)](r);o[e(373)](i)>0||o[e(365)](i,s[n++])}for(const[t,i]of u[e(376)])t[e(220)](e(155))||this[e(246)][e(128)](t,i)}const o=ht(e(157));this[e(387)][e(128)](e(157),o),this[e(208)][e(128)](e(157),this[e(159)](o,1));const a=ht(e(157));this[e(396)][e(128)](e(157),a),this[e(241)][e(128)](e(157),this[e(159)](a,1));const c=Array[e(278)](this[e(396)])[e(123)]((([t,e])=>[t,lt(e)]));this[e(386)](this[e(133)],c,this[e(246)],r)}[rt(107)](){const t=rt;this[t(143)](),this[t(424)]=-1,this[t(133)]=-1,this[t(281)][t(339)](),this[t(178)](this[t(405)])}[rt(386)](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(128)](t,{start:e[n(394)][n(288)](),end:e[n(168)][n(288)](),rootName:e[n(325)][n(113)]});this[n(281)][n(128)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(415)](t){const e=rt;this[e(281)][e(127)](t)}[rt(143)](){const t=rt;this[t(359)][t(339)](),this[t(297)][t(339)](),this[t(149)][t(339)](),this[t(396)][t(339)](),this[t(221)][t(339)](),this[t(387)][t(339)](),this[t(294)][t(339)](),this[t(241)][t(339)](),this[t(208)][t(339)](),this[t(246)][t(339)](),this[t(260)]=1,this[t(163)]=this[t(260)]}[rt(159)](t,e=null){const i=rt;let s=null;t.is(i(250))||(s=new H.Element(t[i(134)],{vid_start:null===e?this[i(260)]++:e++}));const n=[];for(const s of t[i(144)]())if(s.is(i(224))){n[i(132)](this[i(159)](s,e));const t=n[n[i(392)]-1];null!==e&&(e=t.is(i(224),i(140))?t[i(373)](i(352))+1:t[i(373)](i(356))+1)}else for(let t=0;t<s[i(425)];t++)n[i(132)](new H.Element(i(140),{vid:null===e?this[i(260)]++:e++}));if(t.is(i(250))){const e=ht(t[i(113)]);return e[i(286)](0,n),e}return s[i(365)](i(356),null===e?this[i(260)]++:e++),s[i(286)](0,n),s}[rt(375)](t,e,i){const s=rt;this[s(143)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(281)][s(407)](t);this[s(387)]=new Map(n),this[s(294)]=new Map(A(o));for(const[t,e]of this[s(387)])if(s(157)!==t&&(this[s(396)][s(128)](t,lt(e)),this[s(221)]=new Map(A(o)),i)){const i=this[s(260)];this[s(241)][s(128)](t,this[s(159)](e)),this[s(208)][s(128)](t,this[s(159)](e,i))}this[s(163)]=this[s(260)],this[s(396)][s(128)](s(157),lt(this[s(387)][s(407)](s(157)))),i&&this[s(241)][s(128)](s(157),this[s(159)](this[s(387)][s(407)](s(157))));for(const[t,e]of r){const i=this[s(387)][s(407)](e[s(113)]),n=this[s(396)][s(407)](e[s(113)]),r=new H.Range(this[s(118)](e[s(394)],i),this[s(118)](e[s(168)],i)),o=this[s(222)](r,n);i[s(376)][s(128)](t,r),this[s(246)][s(128)](t,o)}this[s(409)](t,e,i)}[rt(409)](t,e,i){const s=rt;for(const n of this[s(405)][s(263)](t,e))this[s(245)](n,i);for(const t of this[s(396)][s(237)]())t[s(376)][s(339)]();for(const[t,e]of this[s(246)])this[s(396)][s(407)](e[s(325)][s(113)])[s(376)][s(128)](t,e[s(288)]());const n=new Map,r=new Map;for(const[t,e]of this[s(396)])n[s(128)](t,lt(e)),r[s(128)](t,this[s(221)][s(407)](t));this[s(386)](e,n,this[s(246)],r)}[rt(266)](t){const e=rt,i=Array[e(278)](this[e(281)][e(150)]());i[e(403)](((t,e)=>t-e)),i[e(110)]();for(const e of i)if(e<t)return e;return Number[e(338)]}[rt(368)](t,e){const i=rt,s=Array[i(278)](e[i(376)])[i(123)]((([e,s])=>[e,this[i(222)](s,t)]));t[i(376)]=new Map(s)}[rt(358)](t){const e=rt;for(const i of this[e(246)][e(237)]()){const s=i[e(385)](t),n=H.Range[e(418)](s);i[e(394)]=n[e(394)],i[e(168)]=n[e(168)]}}[rt(245)](t,e){const i=rt;if(i(423)!=t[i(256)]&&i(262)!=t[i(256)]){if(i(282)==t[i(256)]){const s=t[i(148)][i(325)][i(113)];this[i(396)][i(402)](s)||(this[i(396)][i(128)](s,ht(s,!0)),this[i(221)][i(128)](s,{}),e&&this[i(241)][i(128)](s,ht(s,!0)))}else{if(i(162)==t[i(256)]||i(137)==t[i(256)]||i(229)==t[i(256)])return void this[i(179)](t);i(189)==t[i(256)]&&this[i(164)](t)}if(i(189)!==t[i(256)]){const e=this[i(259)](t,this[i(396)]);e[i(276)](),this[i(358)](e)}if(e)switch(t[i(256)]){case i(282):this[i(190)](t);break;case i(397):case i(120):case i(151):this[i(416)](t);break;case i(399):this[i(422)](t);break;case i(350):this[i(280)](t)}}else this[i(300)](t,e)}[rt(259)](t,e){const i=rt,s=t[i(288)]();return s[i(303)]=t[i(303)],this[i(172)](s,e),s}[rt(251)](t){const e=rt;return t[e(123)]((t=>{const i=e,s=this[i(275)](t);return Number(t[i(292)][i(373)](s))}))}[rt(330)](t,e){const i=rt;if(t.is(i(224),i(140)))e[i(132)]({item:t,type:i(265)});else{t.is(i(224))&&e[i(132)]({item:t,type:i(119)});for(const s of t[i(144)]())this[i(330)](s,e);t.is(i(224))&&e[i(132)]({item:t,type:i(156)})}return e}[rt(296)](){const t=rt,e=new Map(this[t(359)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(387)][t(150)](),...this[t(396)][t(150)]()]);a[t(127)](t(157));for(const e of a){const i=this[t(396)][t(407)](e)||ht(e,!1),s=this[t(387)][t(407)](e)||ht(e,!1);i[t(310)]()||s[t(310)]()?(n[t(408)][e]=lt(i),n[t(401)][e]=lt(s),this[t(368)](n[t(401)][e],s),this[t(368)](n[t(408)][e],i),r[t(408)][e]=this[t(330)](this[t(241)][t(407)](e),[]),r[t(401)][e]=this[t(330)](this[t(208)][t(407)](e)||ht(e,!1),[])):a[t(127)](e)}for(const n of a){const o=r[t(408)][n];for(const n of o){const r=this[t(275)](n),o=n[t(292)][t(373)](r);i[t(127)](o),o>=this[t(163)]&&s[t(128)](o,e[t(407)](o))}}for(const n of a){const a=r[t(408)][n],c=this[t(251)](r[t(401)][n]);let u=0;for(const n of a){const r=this[t(275)](n),a=n[t(292)][t(373)](r);if(!s[t(402)](a)&&!o[t(402)](a))if(i[t(402)](a))u++;else{if(a!=c[u]){const s=e[t(407)](a)||e[t(407)](c[u]);for(;a!=c[u];)i[t(402)](c[u])||(o[t(128)](c[u],s),e[t(128)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(408)][e];for(const e of n){const n=this[t(275)](e),r=e[t(292)][t(373)](n);if(o[t(402)](r)){const e=o[t(407)](r);i[t(402)](r)||i[t(128)](r,{...e}),s[t(128)](r,{...e})}}}for(const e of i[t(150)]())e>=this[t(163)]&&i[t(127)](e);const c=new Map;for(const e of a){let n=r[t(408)][e];for(const e of n)if(e[t(292)].is(t(224),t(264))){const i=this[t(275)](e),n=e[t(292)][t(373)](i);if(s[t(402)](n)){const i=e[t(292)][t(181)][t(181)][t(373)](t(370)),r=c[t(407)](i)||new Set;r[t(420)](s[t(407)](n)[t(226)]),c[t(128)](i,r)}}n=r[t(401)][e];for(const e of n)if(e[t(292)].is(t(224),t(264))){const s=this[t(275)](e),n=e[t(292)][t(373)](s);if(i[t(402)](n)){const s=e[t(292)][t(181)][t(181)][t(373)](t(370)),r=c[t(407)](s)||new Set;r[t(420)](i[t(407)](n)[t(226)]),c[t(128)](s,r)}}for(const e of c[t(150)]())(s[t(402)](e)||i[t(402)](e))&&c[t(127)](e)}for(const e of a){const n=r[t(408)][e];let o=null,a=null;for(const e of n){const n=this[t(275)](e),r=e[t(292)][t(373)](n),u=c[t(407)](r);u&&t(119)==e[t(256)]&&(o=Array[t(278)](u)[0],a=e[t(292)][t(373)](t(356))),o&&(i[t(128)](r,{userId:o}),s[t(128)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(401)][e],a=n[t(408)][e];for(const{userId:e}of this[t(297)][t(237)]())null!==e&&l[t(420)](e);for(const{userId:e}of this[t(149)][t(237)]())null!==e&&l[t(420)](e);this[t(248)](a,r[t(408)][e],s,t(115),l),this[t(248)](o,r[t(401)][e],i,t(426),l),u[e]={insertions:this[t(177)](a),deletions:this[t(177)](o),attachChange:this[t(149)][t(407)](e)||null,attributesBefore:A(this[t(294)][t(407)](e))||{},attributesAfter:A(this[t(221)][t(407)](e))}}return{diffData:u,authorsIds:Array[t(278)](l)}}[rt(170)](t){const e=rt;for(const[,i]of t[e(376)]){const t=i[e(394)][e(258)]()[e(406)]((t=>e(264)==t[e(134)]));for(const i of t)1==i[e(351)]&&i[e(109)](0).is(e(224),e(360))&&i[e(109)](0)[e(365)](e(369),!0)}}[rt(177)](t){const e=rt;this[e(170)](t);const i=this[e(308)][e(139)][e(231)](t,{}),s=Array[e(278)](i[e(144)]())[e(123)]((t=>this[e(244)](t)));return JSON[e(390)](s)}[rt(244)](t){const e=rt;if(t.is(e(140)))return t[e(139)];{const i=this[e(308)][e(346)][e(407)](e(414)),s=t,n=this[e(308)][e(139)][e(225)][e(268)],r={type:i[e(302)](s),name:s[e(134)],attributes:Array[e(278)](s[e(279)]()),children:Array[e(278)](s[e(144)]())[e(123)]((t=>this[e(244)](t)))};if(t.is(e(342))&&e(242)!=t[e(134)]){const i=t[e(421)](n[e(238)],n);r[e(413)][e(132)](i[e(243)])}else if(t.is(e(381))){const i=n[e(238)][e(315)](s[e(134)]);t[e(421)](i,n),r[e(413)][e(132)](i[e(323)])}const o=Array[e(278)](s[e(252)]());o[e(392)]>0&&(r[e(212)]=o);const a=s[e(215)]();return null!==a&&(r[e(193)]=a),r}}[rt(248)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(308)][r(165)];for(let s=0;s<e[r(392)];s++){const n=this[r(275)](e[s]),c=e[s][r(292)][r(373)](n),h=i[r(407)](c),d=s==e[r(392)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(226)]!=o[r(226)])&&(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(226)],d=l(155)+s+":"+h+":"+c++,f=u[l(171)](i,a);t[l(376)][l(128)](d,f),null!==h&&n[l(420)](h)}}[rt(275)](t){const e=rt;switch(t[e(256)]){case e(119):return e(370);case e(156):return e(356);default:return e(352)}}[rt(172)](t,e){const i=rt;t[i(312)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(407)](n[i(325)][i(113)]);t[s]=this[i(118)](n,r)}if(n instanceof H.Range){const r=e[i(407)](n[i(325)][i(113)]);t[s]=this[i(222)](n,r)}i(325)===s&&(t[i(325)]=e[i(407)](t[i(325)][i(113)]))}}[rt(222)](t,e){const i=rt;return this[i(308)][i(165)][i(171)](this[i(118)](t[i(394)],e),this[i(118)](t[i(168)],e))}[rt(118)](t,e){const i=rt;return this[i(308)][i(165)][i(367)](e,t[i(124)],t[i(176)])}[rt(190)](t){const e=rt,i=this[e(241)][e(407)](t[e(148)][e(325)][e(113)]),s=this[e(118)](t[e(148)],i),n=null===t[e(303)]?null:t[e(303)]||this[e(308)][e(346)][e(407)](e(319)).me.id,r=s[e(181)],o=this[e(260)],a=[];for(const i of t[e(240)])if(i.is(e(224)))a[e(132)](this[e(159)](i));else for(let t=0;t<i[e(425)];t++)a[e(132)](new H.Element(e(140),{vid:this[e(260)]++}));const c=this[e(260)];for(let t=o;t<c;t++)this[e(359)][e(128)](t,{userId:n});r[e(286)](s[e(125)],a)}[rt(416)](t){const e=rt;(t=this[e(259)](t,this[e(241)]))[e(276)]();const i=null===t[e(303)]?null:t[e(303)]||this[e(308)][e(346)][e(407)](e(319)).me.id,s=t[e(136)](),n=s[e(181)],r=s[e(125)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(109)](e);r.is(a(224),a(140))?s[a(128)](r[a(373)](a(352)),{userId:i}):(s[a(128)](r[a(373)](a(370)),{userId:i}),t(s,r,0,r[a(351)]),s[a(128)](r[a(373)](a(356)),{userId:i}))}}(this[e(359)],n,r,r+t[e(309)])}[rt(422)](t){const e=rt,i=null===(t=this[e(259)](t,this[e(241)]))[e(303)]?null:t[e(303)]||this[e(308)][e(346)][e(407)](e(319)).me.id,s=t[e(129)][e(181)],n=t[e(349)][e(181)],r=s[e(373)](e(356)),o=n[e(373)](e(370));s[e(365)](e(356),n[e(373)](e(356))),n[e(365)](e(356),r),this[e(359)][e(128)](o,{userId:i}),this[e(359)][e(128)](r,{userId:i}),t[e(276)]()}[rt(280)](t){const e=rt,i=null===(t=this[e(259)](t,this[e(241)]))[e(303)]?null:t[e(303)]||this[e(308)][e(346)][e(407)](e(319)).me.id,s=t[e(374)],n=t[e(343)][e(181)];t[e(276)]();const r=n[e(373)](e(356)),o=t[e(316)][e(340)];if(s){const t=o[e(373)](e(356)),s=n[e(373)](e(356));n[e(365)](e(356),t),o[e(365)](e(356),s),this[e(359)][e(128)](n[e(373)](e(356)),{userId:i}),this[e(359)][e(128)](o[e(373)](e(370)),{userId:i})}else{const t=this[e(260)]++,s=this[e(260)]++;n[e(365)](e(356),t),o[e(365)](e(370),s),o[e(365)](e(356),r),this[e(359)][e(128)](t,{userId:i}),this[e(359)][e(128)](s,{userId:i})}}[rt(164)](t){const e=rt;if(!t[e(313)])return;const i=(t=this[e(259)](t,this[e(396)]))[e(166)]?t[e(166)][e(325)]:null,s=t[e(299)]?t[e(299)][e(325)]:null;i&&this[e(246)][e(127)](t[e(134)]),s&&this[e(246)][e(128)](t[e(134)],t[e(299)][e(288)]());const n=null===t[e(303)]?null:t[e(303)]||this[e(308)][e(346)][e(407)](e(319)).me.id,r=t[e(134)];if(!this[e(297)][e(402)](r))return void this[e(297)][e(128)](r,{range:t[e(166)],userId:n});const o=this[e(297)][e(407)](r),a=o[e(192)],c=t[e(299)];null==a&&null==c||a&&c&&a[e(194)](c)?this[e(297)][e(127)](t[e(134)]):o[e(226)]=n}[rt(300)](t,e){const i=rt;this[i(396)][i(402)](t[i(113)])?this[i(396)][i(407)](t[i(113)])[i(382)]=t[i(326)]:(this[i(396)][i(128)](t[i(113)],ht(t[i(113)],!0)),this[i(221)][i(128)](t[i(113)],{}),e&&this[i(241)][i(128)](t[i(113)],ht(t[i(113)],!0)));const s=null===t[i(303)]?null:t[i(303)]||this[i(308)][i(346)][i(407)](i(319)).me.id,n=this[i(149)][i(407)](t[i(113)]);n&&n[i(226)]===s?this[i(149)][i(127)](t[i(113)]):this[i(149)][i(128)](t[i(113)],{userId:s,isAttached:t[i(326)]})}[rt(179)](t){const e=rt,i=this[e(221)][e(407)](t[e(325)][e(113)]);null===t[e(253)]?delete i[t[e(188)]]:i[t[e(188)]]=t[e(253)]}}function lt(t){const e=rt,i=ht(t[e(113)],t[e(310)]());for(const s of t[e(144)]()){const t=s[e(353)](!0);i[e(175)](t)}return i}function ht(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(113)]=t,s[i(382)]=e,s[i(310)]=()=>s[i(382)],s}function dt(t,e,i){const s=rt,n=s(156)==t[s(256)]?i[s(184)](t[s(292)],s(168)):i[s(111)](t[s(292)]);return i[s(367)](e,n[s(124)],n[s(176)])}function ft(t,e,i){const s=rt,n=s(119)==t[s(256)]?i[s(184)](t[s(292)],0):i[s(173)](t[s(292)]);return i[s(367)](e,n[s(124)],n[s(176)])}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),Tt=i.n(St),Ot=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Tt();gt()(Ot.A,xt);Ot.A&&Ot.A.locals&&Ot.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=Tt();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Et;function Et(t,e){const i=Mt();return(Et=function(t,e){return i[t-=181]})(t,e)}function Mt(){const t=["keystrokes","_createRevisionNameInput","element","extendTemplate","revisionName","setTemplate","stopPropagation","errorText","trim","label","7EocvlA","set","7528482fUKTnA","optional","1862892pplGEg","arrowdown","1666989aUAVmV","606ITfHEf","arrowleft","3270848QVCMBT","689490aEDBmd","render","listenTo","ck-responsive-form","ck-revision-history-save-revision-form","revisionNameInputValue","add","1889EEfytS","reset","fieldView","focusTracker","value","locale","focus","form","Name of the revision","arrowright","1224204nteQea","input","220","revisionNameInputView","arrowup"];return(Mt=function(){return t})()}!function(t){const e=Et,i=t();for(;;)try{if(310879===-parseInt(e(181))/1*(-parseInt(e(213))/2)+-parseInt(e(212))/3+-parseInt(e(191))/4+-parseInt(e(216))/5+-parseInt(e(210))/6*(-parseInt(e(206))/7)+-parseInt(e(215))/8+parseInt(e(208))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Vt extends pt.View{[At(184)];[At(196)];[At(194)];constructor(e,i){const s=At;super(e),this[s(184)]=new t.FocusTracker,this[s(196)]=new t.KeystrokeHandler,this[s(207)](s(221),""),this[s(194)]=this[s(197)](i),this[s(201)]({tag:s(188),attributes:{class:["ck",s(220),s(219)],tabindex:"-1"},children:[this[s(194)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(217)](){const t=At;super[t(217)](),(0,pt.submitHandler)({view:this}),this[t(184)][t(222)](this[t(194)][t(198)]),this[t(196)][t(218)](this[t(198)]);const e=e=>e[t(202)]();this[t(196)][t(207)](t(190),e),this[t(196)][t(207)](t(214),e),this[t(196)][t(207)](t(195),e),this[t(196)][t(207)](t(211),e)}[At(187)](){const t=At;this[t(194)][t(187)]()}get[At(200)](){const t=At;return this[t(194)][t(183)][t(198)][t(185)][t(204)]()}set[At(200)](t){const e=At;this[e(194)][e(183)][e(198)][e(185)]=t[e(204)]()}[At(182)](){const t=At;this[t(194)][t(183)][t(198)][t(185)]="",this[t(194)][t(203)]=null}[At(197)](t){const e=At,i=new pt.LabeledFieldView(this[e(186)],pt.createLabeledInputText),s=i[e(183)];s[e(199)]({attributes:{maxlength:e(193)}});let n=X(this[e(186)],e(189));return!t&&(n+=" ("+X(this[e(186)],e(209))+")"),i[e(205)]=n,s.on(e(192),(()=>{const t=e;this[t(221)]=s[t(198)][t(185)][t(204)]()})),i}}const Dt=Ft;function Ct(){const t=["show","reset","saveRevision","1222880kcEaxS","bind","_registerMenuComponent","componentFactory","plugins","addMany","Revision history","8128nHwogq","isPremiumPlugin","editor","revisionSave","role","editing","execute","panelView","873110mwEbEu","isOfficialPlugin","children","submit","view","432978WghxkC","isReadOnly","3tnFaXD","_createSaveRevisionFormView","requires","revisionName","ck-button-action","Open revision history","isReady","get","revisionNameInputView","add","config","pluginName","Save current revision","focus","isOpen","menuBar:revisionHistory","init","1639756yUGWpo","buttonView","revisionHistory.requireRevisionName","menu","delegate","1548tJFdjl","revisionHistory","isEnabled","The revision name cannot be empty.","errorText","RevisionHistoryUI","13588200VBQLjU","showRevisionViewerCallback","set","Cancel","Accept","locale","RevisionTracker","_showDialog","hide","menuitem","render","_saveRevisionFormView","items","20268zeRwvI","Dialog","623BWLLQp"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=425]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(232488===-parseInt(e(426))/1+-parseInt(e(490))/2*(-parseInt(e(428))/3)+-parseInt(e(445))/4+-parseInt(e(475))/5+parseInt(e(469))/6*(-parseInt(e(471))/7)+parseInt(e(482))/8*(-parseInt(e(450))/9)+parseInt(e(456))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class Lt extends U.Plugin{static get[Dt(439)](){return Dt(455)}static get[Dt(491)](){return!0}static get[Dt(483)](){return!0}static get[Dt(430)](){return[ct]}[Dt(467)];[Dt(444)](){const t=Dt,e=this[t(484)],i=e[t(479)][t(435)](t(462));e.ui[t(478)][t(437)](t(451),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(489)][n(492)],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(476)](n(452)).to(i,n(434),i,n(452),e,n(427),((t,e,i)=>t&&e&&!i)),r[n(446)][n(458)]({icon:mt.IconHistory,label:X(s,n(481)),tooltip:!0}),u[n(458)]({label:X(s,n(440)),withText:!0,role:n(465)}),u[n(476)](n(452)).to(i,n(434),i,n(452),e,n(427),((t,e,i)=>t&&e&&!i)),u.on(n(488),(()=>this[n(463)]())),h[n(458)]({label:X(s,n(433)),withText:!0,role:n(465)}),h[n(476)](n(452)).to(i,n(434),e,n(427),((t,e)=>t&&!e)),h.on(n(488),(()=>{const t=n;e[t(438)][t(435)](t(451))[t(457)](),r[t(442)]=!1,e[t(487)][t(425)][t(441)]()})),c[n(492)][n(437)](u),l[n(492)][n(437)](h),a[n(486)]=n(448),a[n(468)][n(480)]([c,l]),o[n(437)](a),r})),e.ui[t(478)][t(437)](t(443),(()=>this[t(477)]()))}[Dt(477)](){const t=Dt,e=this[t(484)],i=e[t(461)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(446)][t(458)]({icon:mt.IconHistory,label:X(i,t(481))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(458)]({label:X(i,t(440))}),o[t(449)](t(488)).to(s),o.on(t(488),(()=>{this[t(463)]()})),r[t(492)][t(437)](o),n[t(468)][t(437)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(458)]({label:X(i,t(433))}),c[t(449)](t(488)).to(s),c.on(t(488),(()=>{const i=t;e[i(438)][i(435)](i(451))[i(457)]()})),a[t(492)][t(437)](c),n[t(468)][t(437)](a),s[t(489)][t(492)][t(437)](n),s}[Dt(463)](){const t=Dt,e=this[t(484)],i=e[t(461)],s=e[t(479)][t(435)](t(470)),n=e[t(479)][t(435)](t(462));function r(n){const r=t;e[r(438)][r(435)](r(447))&&""===n[r(431)]?n[r(436)][r(454)]=X(i,r(453)):(e[r(479)][r(435)](ct)[r(474)]({name:n[r(431)]}),s[r(464)]())}this[t(467)]||(this[t(429)](),this[t(467)].on(t(493),(()=>r(this[t(467)])))),this[t(467)][t(473)](),s[t(472)]({id:t(485),title:X(i,t(440)),isModal:!0,content:this[t(467)],actionButtons:[{label:X(e[t(461)],t(459)),withText:!0,onExecute:()=>s[t(464)]()},{label:X(e[t(461)],t(460)),class:t(432),withText:!0,onCreate(i){const s=t;i[s(476)](s(452)).to(n,s(434),n,s(452),e,s(427),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(467)])}]})}[Dt(429)](){const t=Dt,e=this[t(484)],i=e[t(461)];this[t(467)]=new Vt(i,e[t(438)][t(435)](t(447))),this[t(467)][t(466)]()}}const jt=Pt;function Pt(t,e){const i=Wt();return(Pt=function(t,e){return i[t-=378]})(t,e)}function Wt(){const t=["1413352InBTPl","120387yFwCbV","element","198DygZJZ","type","3384205sqIERm","84776lzzClc","40sMmuWd","focus","7fnAHXj","span","Removed by","name","10IfVZGg","set","Suggested by","938082kITdqx","bindTemplate","ck-revision-change__","changeId","562484ySqhWA","isSuggestion","div","author","ck-revision-change__label","ck-annotation","data","7180durfqf","Added by","_model","add","ck-revision-change","setTemplate"];return(Wt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(222698===-parseInt(e(383))/1+-parseInt(e(397))/2+-parseInt(e(378))/3*(-parseInt(e(384))/4)+-parseInt(e(390))/5*(parseInt(e(393))/6)+-parseInt(e(386))/7*(-parseInt(e(410))/8)+-parseInt(e(380))/9*(-parseInt(e(404))/10)+parseInt(e(382))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class zt extends pt.View{[jt(396)];[jt(406)];constructor(t,e){const i=jt;super(t),this[i(406)]=e,this[i(396)]=e.id;const s=this[i(394)],n=X(t,e[i(403)][i(398)]?i(392):i(407)==e[i(381)]?i(405):i(388));this[i(391)](i(381),e[i(381)]),this[i(409)]({tag:i(399),attributes:{class:[i(402),i(408),s.to(i(381),(t=>i(395)+t))],tabindex:-1},children:[{tag:i(387),children:[{tag:i(387),attributes:{class:[i(401)]},children:[{text:n}]},{text:" "+e[i(400)][i(389)]}]}]})}[jt(385)](){const t=jt;this[t(379)][t(385)]()}}var Ut=Zt;function Zt(t,e){var i=Ht();return(Zt=function(t,e){return i[t-=182]})(t,e)}function Ht(){var t=["createdAt","2274372YaCfpm","type","1061240BbaGCJ","56EJhGkq","author","167388NTwbjM","set","250158dyrDeo","308648RZECoO","data","11708ywxQRb","1192535thIyFh","399Nochkg","toJSON","rootName"];return(Ht=function(){return t})()}!function(t){for(var e=Zt,i=t();;)try{if(194964===parseInt(e(197))/1+-parseInt(e(196))/2+-parseInt(e(185))/3*(parseInt(e(183))/4)+parseInt(e(184))/5+-parseInt(e(194))/6*(parseInt(e(192))/7)+parseInt(e(191))/8+parseInt(e(189))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class Bt extends((0,t.ObservableMixin)()){id;[Ut(193)];[Ut(190)];[Ut(182)];[Ut(187)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(193)]=e[i(193)],this[i(190)]=e[i(190)],this[i(182)]=e[i(182)]||{},this[i(187)]=e[i(187)],this[i(195)](i(188),e[i(188)])}[Ut(186)](){var t=Ut;return{id:this.id,authorId:this[t(193)].id,type:this[t(190)],data:this[t(182)],createdAt:this[t(188)]}}}function $t(t,e){const i=Yt();return($t=function(t,e){return i[t-=384]})(t,e)}const qt=$t;function Yt(){const t=["newRevisionId","changes","1268916xgtbTG","add","446920ZJTUCe","_setChanges","3062178ZeQEmA","3679686EnvtdI","oldRevisionId","6862232pIdUGT","257055bIhVUU","5HTZRcd","190696HzmuPU"];return(Yt=function(){return t})()}!function(t){const e=$t,i=t();for(;;)try{if(342491===-parseInt(e(393))/1+parseInt(e(395))/2+parseInt(e(385))/3+-parseInt(e(387))/4+parseInt(e(394))/5*(parseInt(e(390))/6)+parseInt(e(389))/7+-parseInt(e(392))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt{[qt(396)];[qt(391)];[qt(384)];constructor(e,i){const s=qt;this[s(396)]=e,this[s(391)]=i,this[s(384)]=new t.Collection}[qt(388)](t){const e=qt;for(const i of t)this[e(384)][e(386)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Tt();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Qt=se;!function(t){const e=se,i=t();for(;;)try{if(343128===parseInt(e(467))/1*(parseInt(e(401))/2)+parseInt(e(405))/3+parseInt(e(589))/4*(parseInt(e(692))/5)+-parseInt(e(575))/6*(parseInt(e(436))/7)+-parseInt(e(546))/8*(-parseInt(e(378))/9)+parseInt(e(706))/10*(parseInt(e(512))/11)+parseInt(e(620))/12*(-parseInt(e(532))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class Xt extends U.Plugin{[Qt(593)];[Qt(541)]=null;[Qt(524)];[Qt(421)];[Qt(380)];[Qt(618)];[Qt(548)];static get[Qt(516)](){return Qt(609)}static get[Qt(700)](){return!0}static get[Qt(559)](){return!0}static get[Qt(419)](){return[Z.Users,pt.ContextualBalloon,Y,G]}constructor(t){const e=Qt;super(t),this[e(593)]=this[e(500)][e(629)][e(596)](e(534)),this[e(524)]=this[e(500)][e(629)][e(596)](e(535)),this[e(573)](e(690),null),this[e(573)](e(554),null),this[e(421)]=null,this[e(573)](e(496),null),this[e(573)](e(605),!1),this[e(573)](e(563),!0),this.on(e(499),((t,i,s)=>{const n=e;this[n(690)]=null,this[n(554)]=null,this[n(500)][n(420)][n(510)][n(447)]((t=>{const e=n;for(const i of this[e(500)][e(420)][e(510)][e(603)][e(564)])s?t[e(561)](e(613),i):t[e(517)](e(613),i)}))})),this[e(683)](e(693)).to(this,e(690),(t=>null!==t)),this[e(683)](e(459)).to(this,e(605),this,e(496),this,e(690),((t,i,s)=>t&&s?i[e(502)][e(449)](s):0)),this[e(683)](e(578)).to(this,e(605),this,e(496),((t,i)=>t?i[e(502)][e(612)]:0)),this[e(380)]=null,this[e(618)]=new Map,this[e(548)]=this[e(500)][e(629)][e(596)](pt.ContextualBalloon)}[Qt(571)](){const t=Qt,e=this[t(500)],i=new ne(e,{direction:t(660)}),s=new ne(e,{direction:t(623)});e[t(641)][t(646)](t(582),i),e[t(641)][t(646)](t(509),s),e[t(641)][t(646)](t(696),new ee(e)),this.on(t(695),(()=>{const e=t;i[e(514)](),s[e(514)]()})),this[t(511)](),this[t(664)](),e[t(562)](t(673)),e[t(629)][t(576)](t(637))&&e[t(629)][t(596)](t(637))[t(506)](t(673))}async[Qt(442)](t){const e=Qt;return await this[e(524)][e(386)](t,this[e(541)]),this[e(524)][e(442)](t)}async[Qt(606)](t){const e=Qt;return await this[e(524)][e(386)](t,this[e(541)]),this[e(524)][e(606)](t)}async[Qt(704)](t,e,i=!1){const s=Qt;if(!this[s(563)])return;const n=this[s(496)],r=this[s(593)],o=s(639)==typeof t?r[s(456)](t):t,a=s(639)==typeof e?r[s(456)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(496)]&&this[s(496)][s(513)]===c&&this[s(496)][s(482)]===u)return Promise[s(397)]();this[s(605)]=!1,this[s(554)]=null,this[s(690)]=null,this[s(496)]=new Jt(c,u);const l=this[s(465)](o,a,!0)[s(607)]((t=>this[s(524)][s(386)](t,this[s(541)])));return l[s(634)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(431)](l)[s(478)]((()=>{const t=s;if(!this[t(563)])return;this[t(469)]();const e=this[t(489)](c,u);for(const i of e[t(502)])this[t(618)][t(573)](i.id,i);this[t(500)][t(549)][t(503)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(500)][s(549)][s(603)][s(569)]())i[s(630)](t);for(const t of Object[s(601)](e[s(549)])){const n=i[s(604)](t);for(const r of Object[s(601)](e[s(453)][t]))i[s(468)](r,e[s(453)][t][r],n);i[s(498)](e[s(549)][t],n,0)}})),this[t(496)][t(530)](this[t(703)](e[t(502)])),this[t(605)]=!0}))[s(477)]((t=>{const e=s;console[e(428)](t),this[e(469)](),n&&(this[e(496)]=n),this[e(605)]=!0}))}[Qt(457)](t,e){const i=Qt,s=this[i(593)][i(488)](t);return s.on(i(597),((t,i,n)=>e(i,n,s))),this[i(593)][i(389)](s),s}[Qt(469)](){const t=Qt;this[t(690)]=null,this[t(642)](),this[t(380)]&&this[t(380)][t(538)](),this[t(380)]=null,this[t(618)][t(649)](),this[t(500)][t(549)][t(503)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(500)][i(549)][i(603)][i(569)]())e[i(630)](t)}))}[Qt(703)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(500)][e(549)][e(603)][e(569)]()){const n=this[e(500)][e(420)][e(510)][e(429)](t);if(!n)continue;const r=n[e(670)]()[e(520)](0);r&&(i[e(634)](t),s[e(573)](t,r))}return i[e(645)](((t,i)=>{const n=e,r=s[n(596)](t),o=s[n(596)](i);return r.y-o.y||r.x-o.x})),(t=t[e(399)]((t=>i[e(679)](t[e(387)]))))[e(645)](((t,s)=>i[e(540)](t[e(387)])-i[e(540)](s[e(387)]))),t}[Qt(699)](t){const e=Qt,i=Array[e(492)](t[e(682)])[e(399)]((([t,i])=>t[e(470)](e(617))&&!i[e(388)])),s=Array[e(492)](this[e(500)][e(549)][e(446)](t)[e(526)]({singleCharacters:!0}));if(0!=i[e(612)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(697)](":");if(n[e(675)][e(452)](t[e(621)])&&i[e(669)](),(t[e(581)][e(452)](n[e(379)])||t[e(581)][e(529)](n[e(379)]))&&(e(657)==r?t[e(551)]={userId:o}:e(556)==r&&(t[e(579)]={userId:o})),0==i[e(612)])break}return s}[Qt(615)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(612)];s++)e(598)===t[s][e(474)]?(t[s][e(520)][e(444)]=s,t[s][e(520)][e(521)]=s):(e(654)===t[s][e(474)]?t[s][e(520)][e(444)]=s:e(531)===t[s][e(474)]&&(t[s][e(520)][e(521)]=s),i[e(573)](t[s].id,s));for(const s of i[e(505)]())e(654)===t[s][e(474)]?t[s][e(520)][e(521)]=i[e(596)](t[s][e(518)]):e(531)===t[s][e(474)]&&(t[s][e(520)][e(444)]=i[e(596)](t[s][e(518)]))}[Qt(487)](t){const e=Qt;for(let i=0;i<t[e(612)];i++){if(e(654)===t[i][e(474)])t[i][e(520)][e(444)]=i;else if(e(531)===t[i][e(474)]){t[i][e(520)][e(521)]=i;const s=t[i][e(520)][e(444)];t[s][e(518)]=t[i].id,t[i][e(518)]=t[s].id}else t[i][e(520)][e(444)]=i,t[i][e(520)][e(521)]=i,t[i][e(518)]=null;t[i][e(418)]||(t[i][e(418)]=[],t[i][e(536)]=[])}}[Qt(504)](t,e){const i=Qt,s=t[i(399)]((t=>!t[i(551)]));for(let t=0;t<e[i(612)];t++)e[t][i(551)]&&(s[t][i(551)]=e[t][i(551)])}[Qt(489)](t,e=null){const i=Qt,s=this[i(593)][i(456)](t),n=e?this[i(593)][i(456)](e):null,r=this[i(465)](s,n),o=r[r[i(612)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(612)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(601)](e[i(414)]))if(e[i(414)][t][i(423)]){const s=e[i(414)][t][i(423)];s[i(508)]?(u[i(646)](t),l[i(576)](t)&&l[i(596)](t)[i(424)]==s[i(424)]?l[i(583)](t):l[i(573)](t,s)):l[i(576)](t)?(u[i(583)](t),l[i(583)](t)):(u[i(646)](t),l[i(573)](t,s))}else u[i(646)](t)}for(const t of u){const e=l[i(576)](t)&&!l[i(596)](t)[i(508)];let s=e?r[i(612)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(414)][t]){const s=e?o[i(414)][t][i(632)]:o[i(414)][t][i(455)];c[i(453)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(549)]={};for(const e of t[i(647)])a[i(573)](e.id,e);for(const e of u){const s=t[i(414)][e]?t[i(414)][e][i(587)]:"[]",n=t[i(414)][e]?t[i(414)][e][i(626)]:"[]";t[i(549)][e]={insertions:this[i(524)][i(527)](s),deletions:this[i(524)][i(527)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(492)](s[i(549)][t][i(587)][i(682)])[i(399)]((([t])=>!t[i(470)](i(617)))));let h=0;for(const o of r){const r=this[i(699)](o[i(549)][t][i(587)]);o==s?(e=r,n=e[i(612)],e[i(570)]((t=>{t.id=h++})),this[i(487)](e)):this[i(504)](e,r);const a=e[i(399)]((t=>!t[i(551)]))[i(607)]((t=>t.id));let c=0;const l=this[i(699)](o[i(549)][t][i(626)]);l[i(570)]((t=>{t[i(579)]?t.id=n++:t.id=a[c++]})),this[i(487)](l),this[i(643)](e,i(551)),this[i(643)](l,i(579)),o==s&&this[i(685)](e,u),e=this[i(396)](e,l),this[i(615)](e),this[i(643)](e,i(579))}e=e[i(399)]((t=>!(t[i(551)]&&t[i(579)])));const d=new Map(o[i(549)][t][i(626)][i(682)]),f=new Set(u[i(601)]());for(const t of d[i(601)]())f[i(583)](t);this[i(461)](e,f),this[i(616)](e),e=this[i(382)](e),e=this[i(653)](e),e=this[i(485)](e);const{root:m,changes:p}=this[i(705)](e,a,t);c[i(549)][t]=m;const v=l[i(596)](t);if(v){const e=a[i(596)](v[i(424)]),s=new Bt({author:e,type:v[i(508)]?i(646):i(385),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(415)](s),c[i(453)][t][i(438)]=s.id}c[i(502)]=c[i(502)][i(677)](p)}return c}[Qt(685)](t,e){const i=Qt;for(let s=0;s<t[i(612)];s++)for(const[n,r]of e)!r[i(388)]&&r[i(379)][i(452)](t[s][i(581)])&&t[s][i(418)][i(634)](n),r[i(675)][i(452)](t[s][i(621)])&&t[s][i(536)][i(634)](n)}[Qt(396)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(612)]||r<e[i(612)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(634)](o);else if(a[i(579)]&&o[i(551)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(445)](t,n,e,r);s=s[i(677)](o),n=a,r=c}else a[i(579)]?(r++,s[i(634)](a)):(n++,s[i(634)](o))}return s}[Qt(461)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(612)];o++){for(let r=0;r<t[o][i(418)][i(612)];r++){const a=t[o][i(418)][r];if(!e[i(576)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(533)!=c||i(657)!=u&&i(556)!=u||(s[i(415)]({type:u,name:a,userId:l}),t[o][i(418)][i(702)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(536)][i(612)];r++){const a=t[o][i(536)][r];if(!e[i(576)](a))continue;const{group:c,type:u}=n(a);if(i(533)!=c||i(657)!=u&&i(556)!=u)continue;t[o][i(536)][i(702)](r,1),r--;const l=s[i(395)]((t=>t[i(590)]==a));l>-1&&s[i(702)](l,1)}}function n(t){const e=i,s=t[e(697)](":");return{group:s[0],type:s[1],subType:s[e(612)]>=5?s[2]:null,id:s[e(612)]<5?s[2]:s[3],authorId:s[e(612)]<5?s[3]:s[4],markerCount:6==s[e(612)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(612)];i++){if(t[e(551)]&&e(657)==s[i][e(474)])return t[e(450)]=s[i],void delete t[e(551)];if(!t[e(551)]&&!t[e(579)]&&e(556)==s[i][e(474)])return void(t[e(671)]=s[i])}}}[Qt(643)](t,e){const i=Qt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(573)](o.id,s);for(let s=0;s<t[i(612)];s++){if(i(579)==e&&t[s][i(551)]||i(551)==e&&t[s][i(579)])continue;if(i(598)==t[s][i(474)]){t[s][i(484)]=0;continue}const n=r[i(596)](t[s][i(518)]),o=r[i(596)](t[s].id);t[s][i(484)]=n-o}}[Qt(465)](t,e,i=!1){const s=Qt,n=[];let r=this[s(593)][s(449)](t),o=this[s(593)][s(449)](e);for(-1==o&&(o=this[s(593)][s(402)][s(612)],i=!1);r<o;)n[s(634)](this[s(593)][s(456)](r)),r++;return i&&n[s(634)](this[s(593)][s(456)](r)),n}[Qt(445)](t,e,i,s){const n=Qt,r=this[n(500)][n(549)][n(522)];let o=e;for(;t[o]&&t[o][n(551)];)o++;let a=s;for(;i[a]&&i[a][n(579)];)a++;u(t,e,o),u(i,s,a);const c=i[n(408)](s,a)[n(677)](t[n(408)](e,o));return c[n(645)](((t,e)=>t[n(665)]!=e[n(665)]?t[n(665)]-e[n(665)]:t[n(542)]!=e[n(542)]?t[n(542)]-e[n(542)]:t[n(484)]!=e[n(484)]?e[n(484)]-t[n(484)]:!!t[n(551)]!=!!e[n(551)]?-1==t[n(665)]||0==t[n(665)]?t[n(551)]?-1:1:t[n(551)]?1:-1:t[n(497)]-e[n(497)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(550)],c=!0;for(let n=e;n<i;n++)if(r[s(454)](t[n][s(520)])||(c=!1),t[n][s(520)][s(444)]<e&&(o=n),t[n][s(520)][s(521)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(665)]=n<=o?-1:n<a?0:1,t[n][s(497)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(484)]?t[i][s(542)]=u:(u++,t[i][s(542)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(665)]&&(t[n][s(542)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(484)]?t[e][s(542)]=u:(u--,t[e][s(542)]=u,u--)}}[Qt(616)](t){const e=Qt,i=new Map,s=this[e(500)][e(549)][e(522)];for(let n=1;n<t[e(612)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(598)==c[e(474)])continue;if(c[e(474)]!=u[e(474)])continue;if(!s[e(694)](u[e(520)])||s[e(560)](u[e(520)]))continue;if(!s[e(694)](c[e(520)])||s[e(560)](c[e(520)]))continue;if((t[n][e(551)]||t[n][e(450)])&&t[n-1][e(579)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(579)]||!t[n-1][e(551)]&&!t[n-1][e(450)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(542)]==o[e(542)],h=Math[e(557)](r[e(542)])<Math[e(557)](o[e(542)])&&0==o[e(484)];(l||h)&&(i[e(573)](o.id,r.id),t[e(702)](a,1),n--,r[e(551)]=!1)}for(let s=0;s<t[e(612)];s++)i[e(576)](t[s][e(518)])&&(t[s][e(518)]=i[e(596)](t[s][e(518)]))}[Qt(382)](t){const e=Qt,i=new Set(t[e(607)]((t=>t.id)));for(let s=0;s<t[e(612)];s++)i[e(576)](t[s][e(518)])||0==t[s][e(484)]||(t[s][e(407)]=!0);return t[e(399)]((t=>!t[e(407)]))}[Qt(653)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(612)];s++){if(i[e(576)](t[s].id)&&t[s][e(579)]&&(t[s][e(407)]=!0),t[s][e(407)])continue;if(0==t[s][e(484)])continue;if(e(654)!=t[s][e(474)])continue;if(null==t[s][e(518)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(518)];)e(654)==t[n][e(474)]?r++:e(531)==t[n][e(474)]&&r--,n++;if(0!=r)if(t[s][e(579)])t[s][e(407)]=!0;else for(;n!=s;)t[n][e(579)]&&0!=t[n][e(484)]&&(t[n][e(407)]=!0,i[e(646)](t[n][e(518)])),n--}return t[e(399)]((t=>!t[e(407)]))}[Qt(485)](t){const e=Qt,i=this[e(500)][e(549)][e(522)];for(let s=0;s<t[e(612)];s++){if(!(t[s][e(551)]||t[s][e(450)]||t[s][e(579)]||t[s][e(671)]))continue;if(0==t[s][e(484)])continue;const n=t[s][e(520)];i[e(694)](n)||i[e(560)](n)||(t[s][e(551)]&&delete t[s][e(551)],t[s][e(450)]&&delete t[s][e(450)],t[s][e(671)]&&delete t[s][e(671)],t[s][e(579)]&&(t[s][e(407)]=!0))}return t[e(399)]((t=>!t[e(407)]))}[Qt(705)](t,e,i){const s=Qt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(500)][s(549)],c=a[s(522)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(612)];e++)if(s(654)===t[e][s(474)]){t[e][s(581)]=a[s(409)](n,f);const i=new H.Element(t[e][s(520)][s(590)],t[e][s(520)][s(537)]());u[0][s(662)](i),f[s(634)](0),u[s(415)](i),t[e][s(621)]=a[s(409)](n,f)}else s(531)===t[e][s(474)]?(u[s(669)](),t[e][s(581)]=a[s(409)](n,f),f[s(565)](),f[f[s(612)]-1]++,t[e][s(621)]=a[s(409)](n,f)):(t[e][s(581)]=a[s(409)](n,f),d?d[s(448)]+=t[e][s(520)][s(404)]:d=new H.Text(t[e][s(520)][s(404)],t[e][s(520)][s(537)]()),t[e+1]&&s(598)===t[e+1][s(474)]&&v(d,t[e+1][s(520)])||(u[0][s(662)](d),d=null),f[f[s(612)]-1]+=t[e][s(520)][s(600)],t[e][s(621)]=a[s(409)](n,f));for(let e=0;e<t[s(612)];e++){const i=t[e][s(581)],n=t[e][s(621)];for(const n of t[e][s(418)])o[s(573)](n,{start:i,end:null});m(s(671),e,i,n),m(s(450),e,i,n),m(s(579),e,i,n),m(s(551),e,i,n);for(const i of t[e][s(536)]){const t=o[s(596)](i);t?t[s(675)]=n:o[s(573)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(500)][s(549)][s(458)](e[s(379)],e[s(675)]);n[s(682)][s(573)](t,i)}return r[s(645)](((t,e)=>{const i=s,r=n[i(682)][i(596)](i(617)+t.id),o=n[i(682)][i(596)](i(617)+e.id);return r[i(379)][i(460)](o[i(379)])?-1:r[i(379)][i(529)](o[i(379)])?1:r[i(675)][i(460)](o[i(675)])?-1:r[i(675)][i(529)](o[i(675)])?1:i(646)===t[i(474)]?-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(424)]:null,d=i===t[o(612)]-1,f=h[e][0],m=c[o(668)](t[i][o(520)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(675)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(424)]!==u&&(l[e][o(675)]=n,f&&f[o(424)]===l[e][o(424)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(654)!==t[i][o(474)]||f&&f[o(424)]===u||h[e][o(415)]({userId:u,object:t[i][o(520)],change:l[e]}),o(531)===t[i][o(474)]&&f&&f[o(384)]===t[i][o(520)]&&(h[e][o(669)](),l[e]=f[o(447)])),l[e]&&d&&(l[e][o(675)]=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(520)],f=a[h(522)][h(694)](d)&&!a[h(522)][h(560)](d),m=t[h(553)]==o[h(580)]&&o[h(676)];if(f&&m)return;const p=a[h(458)](t,o),v=e[h(596)](u),g=new Bt({author:v,type:h(551)==l||h(450)==l?h(646):h(385),data:{isSuggestion:h(450)==l||h(671)==l},createdAt:new Date,rootName:i});r[h(634)](g),n[h(682)][h(573)](h(617)+g.id,p)}function v(t,e){const i=s,n=t[i(537)](),r=e[i(537)]();for(const t of n){if(t[1]!==e[i(687)](t[0]))return!1;r[i(592)]()}return r[i(592)]()[i(406)]}}[Qt(511)](){const t=Qt;this[t(500)][t(466)][t(574)](t(390))[t(622)]({view:t(543)}),this[t(500)][t(466)][t(574)](t(515))[t(650)]({model:t(543),view:e=>{const i=t,s=e[i(680)][i(697)](":")[1],n=this[i(663)](s);if(!n)return null;const r=i(646)==n[i(474)]?i(657):i(556),o=[i(412),i(430)+r];return n[i(404)][i(586)]&&o[i(634)](i(430)+r+i(558)),this[i(690)]==n&&o[i(634)](i(636)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(500)][t(466)][t(574)](t(390))[t(646)]((e=>{const i=t;e.on(i(628),((t,e,s)=>{const n=i,r=e[n(686)][n(635)](0);if(!r||!r.is(n(595),n(528)))return;if(!s[n(619)][n(568)](r,{attributes:[n(434),n(608)]}))return;const o=e[n(486)][n(379)][n(553)];s[n(591)][n(468)](n(434),r[n(687)](n(434)),o),s[n(591)][n(468)](n(608),r[n(687)](n(608)),o)}),{priority:i(501)})})),this[t(500)][t(466)][t(574)](t(390))[t(646)]((e=>{const i=t;e.on(i(595),((t,e,s)=>{const n=i;if(!s[n(619)][n(568)](e[n(686)],{attributes:[n(434),n(608)]}))return;if(e[n(486)][n(388)])return;const r=e[n(486)][n(379)][n(553)];r[n(648)](n(434))||r[n(648)](n(701))||(s[n(591)][n(468)](n(434),e[n(686)][n(687)](n(434)),r),s[n(591)][n(468)](n(608),e[n(686)][n(687)](n(608)),r))}),{priority:i(501)})})),this[t(500)][t(466)][t(574)](t(390))[t(494)]({view:{name:t(577),attributes:{vid:!0}},model:{key:t(701),value:e=>e[t(687)](t(701))}}),this[t(500)][t(549)][t(522)].on(t(381),((e,[,i])=>{const s=t;[s(434),s(608),s(701)][s(679)](i)&&(e[s(435)]=!0,e[s(555)]())}),{priority:t(383)}),this[t(500)][t(466)][t(574)](t(633))[t(646)]((e=>{const i=t;e.on(i(525),((t,e,s)=>{const n=i;if(" "!=e[n(520)][n(404)]||e[n(520)][n(580)][n(625)]>1)return;if(!s[n(619)][n(568)](e[n(520)],t[n(590)]))return;const r=s[n(591)],o=s[n(417)][n(493)](e[n(545)]);r[n(655)](o,r[n(463)](n(577)))}))})),this[t(500)][t(466)][t(574)](t(633))[t(566)]({model:t(543)}),this[t(500)][t(420)][t(666)].on(t(519),function(e){const i=t,s=e[i(629)][i(596)](i(609));return(t,n,r)=>{const o=i,a=n[o(680)][o(697)](":")[1],c=s[o(663)](a);if(!c)return null;const u=o(646)==c[o(474)]?o(697):o(684);if(!r[o(619)][o(658)](n[o(688)],t[o(590)]))return;const l=n[o(688)][o(526)](),h=n[o(688)][o(379)],d=e[o(549)][o(522)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(520)];p=p||d[o(403)](e);const i=r[o(417)][o(638)](e);if(i&&i[o(439)](o(400)))return;o(531)==t[o(474)]&&d[o(694)](e)&&!d[o(560)](e)&&(e[o(394)]||h[o(611)]?f&&f[o(580)]==e||(f=e,g(t[o(581)]),v=!0):m=m||t[o(581)])}function g(t){const e=o,i=r[e(591)][e(585)](e(577),{class:e(430)+u}),a=r[e(417)][e(659)](t);c[e(404)][e(586)]&&r[e(591)][e(517)](e(430)+u+e(558),i),s[e(690)]==c&&r[e(591)][e(517)](e(636),i),r[e(591)][e(498)](a,i),r[e(417)][e(451)](i,n[e(680)])}p||v||!m||g(m)}}(this[t(500)]),{priority:t(631)}),this[t(500)][t(420)][t(666)].on(t(462),((e,i,s)=>{const n=t,r=s[n(417)][n(491)](i[n(680)]);if(r)for(const t of r)(t[n(443)](n(667))||t[n(443)](n(584)))&&(s[n(417)][n(416)](t,i[n(680)]),s[n(591)][n(385)](t))}),{priority:t(631)}),this[t(500)][t(420)][t(666)].on(t(519),((e,i,s)=>{const n=t,r=i[n(680)][n(697)](":")[1],o=this[n(663)](r);if(!o)return null;const a=n(646)==o[n(474)]?n(697):n(684);if(s[n(619)][n(658)](i[n(688)],e[n(590)]))for(const t of i[n(688)][n(393)]()){if(!t.is(n(595),n(610)))continue;const e=s[n(591)][n(585)](n(577),{class:n(430)+a}),r=s[n(417)][n(659)](this[n(500)][n(549)][n(539)](t));o[n(404)][n(586)]&&s[n(591)][n(517)](n(430)+a+n(558),e),this[n(690)]==o&&s[n(591)][n(517)](n(636),e),s[n(591)][n(498)](r,e),s[n(417)][n(451)](e,i[n(680)])}}),{priority:t(631)}),this[t(500)][t(549)][t(603)].on(t(447),(()=>{const e=t;this[e(500)][e(420)][e(510)][e(447)]((t=>{const i=e;for(const e of this[i(500)][i(549)][i(603)][i(569)]()){const s=this[i(500)][i(549)][i(603)][i(495)](e),n=this[i(500)][i(420)][i(510)][i(603)][i(495)](e);if(n){const e=s[i(687)](i(438));if(t[i(547)](i(602),n),t[i(561)](i(640),n),t[i(561)](i(391),n),t[i(561)](i(624),n),e){const s=this[i(663)](e);if(!s)return null;t[i(468)](i(602),e,n),t[i(517)](i(507)+s[i(474)],n),this[i(690)]==s&&t[i(517)](i(624),n)}}}}))})),this[t(500)][t(466)][t(574)](t(390))[t(622)]({view:t(440),model:e=>t(652)+e,converterPriority:t(383)}),this[t(500)][t(466)][t(574)](t(390))[t(622)]({view:t(472),model:e=>t(544)+e,converterPriority:t(383)}),this[t(500)][t(466)][t(574)](t(633))[t(566)]({model:t(533),view:e=>({name:t(594)+e,group:t(533)}),converterPriority:t(383)}),this[t(500)][t(466)][t(574)](t(515))[t(650)]({model:t(533),view:e=>{const i=t,s=e[i(680)][i(697)](":")[1];return i(657)!=s&&i(556)!=s?null:{classes:[i(481),i(427)+s]}}}),this[t(500)][t(420)][t(666)].on(t(432),te(this[t(500)],t(684)),{priority:t(631)}),this[t(500)][t(420)][t(666)].on(t(479),te(this[t(500)],t(697)),{priority:t(631)}),this[t(500)][t(420)][t(666)].on(t(392),((e,i,s)=>{const n=t,r=s[n(417)][n(491)](i[n(680)]);if(r)for(const t of r)t.is(n(599))&&(s[n(417)][n(416)](t,i[n(680)]),s[n(591)][n(385)](t))}),{priority:t(631)})}[Qt(663)](t){const e=Qt;return this[e(618)][e(596)](t)}[Qt(523)](t){const e=Qt;return this[e(380)]&&this[e(380)][e(538)](),this[e(380)]=new zt(this[e(500)][e(614)],t),this[e(380)]}[Qt(664)](){const t=Qt;this[t(500)][t(549)][t(603)][t(437)][t(672)](t(543)),this.on(t(678),((e,i,s,n)=>{const r=t;n&&this[r(548)][r(385)](n),s&&(this[r(548)][r(646)]({view:s,stackId:r(588),position:{target:()=>{const t=r,e=this[t(500)][t(420)],i=this[t(663)](s[t(441)]);let n;if(i[t(404)][t(691)]){const s=e[t(510)][t(429)](i[t(387)]);n=Array[t(492)](s[t(670)]())}else{const i=this[t(500)][t(549)][t(682)][t(596)](t(617)+s[t(441)]);n=Array[t(492)](e[t(417)][t(491)](i[t(590)]))[t(607)]((i=>e[t(510)][t(471)][t(398)](i)))[t(607)]((e=>Array[t(492)](e[t(670)]())))[t(656)]()}return this[t(421)]&&n[t(661)]((e=>e[t(627)]-3<=this[t(421)].y&&e[t(567)]+3>=this[t(421)].y&&e[t(413)]-3<=this[t(421)].x&&e[t(490)]+3>=this[t(421)].x))||n[0]}}}),this[r(548)][r(681)](r(588)))})),this.on(t(410),((e,i,s,n)=>{const r=t;this[r(554)]=s?this[r(523)](s):null,this[r(500)][r(549)][r(447)]((()=>{const t=r,e=this[t(500)][t(420)];n&&(n[t(404)][t(691)]?e[t(510)][t(447)]((i=>{const s=t;i[s(561)](s(624),e[s(510)][s(603)][s(495)](n[s(387)]))})):e[t(475)](t(617)+n.id)),s&&(s[t(404)][t(691)]?e[t(510)][t(447)]((i=>{const n=t;i[n(517)](n(624),e[n(510)][n(603)][n(495)](s[n(387)]))})):e[t(475)](t(617)+s.id))}))})),this[t(698)](this[t(500)][t(420)][t(510)][t(603)],t(480),((e,i)=>{const s=t;if(this[s(690)])return;const n=this[s(473)](i[s(476)]),r=this[s(618)][s(596)](n);r?(this[s(421)]={x:i[s(411)].x,y:i[s(411)].y},this[s(554)]=this[s(523)](r)):(this[s(421)]=null,this[s(554)]=null)})),this[t(698)](this[t(500)][t(420)][t(510)][t(603)],t(425),((e,i)=>{const s=t,n=this[s(473)](i[s(476)]),r=this[s(618)][s(596)](n);r?(this[s(421)]={x:i[s(411)].x,y:i[s(411)].y},r===this[s(690)]?this[s(548)][s(433)]():this[s(690)]=r):(this[s(421)]=null,this[s(690)]=null)}))}[Qt(473)](t){const e=Qt;do{const i=t[e(687)](e(602));if(i)return i;t=t[e(580)]}while(t);return null}[Qt(642)](){const t=Qt;this[t(500)][t(549)][t(447)]((e=>{const i=t;for(const t of this[i(500)][i(549)][i(682)])e[i(644)](t)}))}}function te(t,e){return(i,s,n)=>{const r=se;if(!n[r(619)][r(658)](s[r(688)],i[r(590)]))return;const o=s[r(688)][r(526)](),a=s[r(688)][r(379)],c=t[r(549)][r(522)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(520)];h=h||c[r(403)](e);const i=n[r(417)][r(638)](e);if(i&&i[r(439)](r(400)))return;r(531)==t[r(474)]&&c[r(694)](e)&&!c[r(560)](e)&&(e[r(394)]||a[r(611)]?u&&u[r(580)]==e||(u=e,f(t[r(581)]),d=!0):l=l||t[r(581)])}function f(t){const i=r,o=n[i(417)][i(659)](t),a=n[i(591)][i(585)](i(577),{class:i(427)+e});n[i(591)][i(498)](o,a),n[i(417)][i(451)](a,s[i(680)])}h||d||!l||f(l)}}class ee extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(629)][e(596)](Xt);this[e(572)]=!1,this[e(698)](i,e(483),(()=>this[e(514)]())),this[e(698)](i,e(499),(()=>this[e(514)]()))}[Qt(651)](){const t=Qt,e=this[t(500)],i=e[t(629)][t(596)](Xt),s=i[t(605)]?i[t(496)][t(513)]:null;e[t(552)][t(596)](t(464))[t(422)](s)}[Qt(514)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(500)][t(629)][t(596)](Xt),r=n&&s[t(674)](n[t(513)]);this[t(563)]=e&&i&&Boolean(r)}}function ie(){const t=["consume","getRootNames","forEach","init","affectsData","set","for","1703580SFMXWH","has","span","numberOfChanges","isRemoved","parent","previousPosition","showPreviousChange","delete","ck-suggestion-marker-merge","createUIElement","isSuggestion","insertions","revisionHistoryLabel","1588WvEXwb","name","writer","next","repository","suggestion:","element","get","_update","text","uiElement","offsetSize","keys","data-change-id","document","addRoot","isReady","getRevisionRootsAttributes","map","vid_end","RevisionViewer","softBreak","isAtEnd","length","ck-editor__editable__overlay","locale","_refreshStartEndIndex","_fixObsoleteTags","revision:","_changeIdToChange","consumable","3648492OBxCUU","nextPosition","dataToMarker","forward","ck-revision-history-root--active","maxOffset","deletions","top","element:pre","plugins","detachRoot","high","attributesBefore","dataDowncast","push","getChild","ck-suggestion-marker--active","WidgetToolbarRepository","toViewElement","string","ck-revision-history-root-add","commands","_cleanMarkers","_setDistance","removeMarker","sort","add","authors","hasAttribute","clear","markerToHighlight","execute","revision-comment:","_markMismatchedRemovedTags","elementStart","wrap","flat","insertion","test","toViewPosition","backward","find","_appendChild","_getChangeFromId","_initInteractions","side","downcastDispatcher","ck-suggestion-marker-split","isObject","shift","getClientRects","isRemoveSuggestion","observeMarkers","revision-viewer","getLaterVisibleRevision","end","isAtStart","concat","change:activeView","includes","markerName","showStack","markers","bind","merge","_markMarkers","viewItem","getAttribute","markerRange","first","activeChange","isOnRoot","5970DSLzXn","isNavigationMode","isBlock","change:numberOfChanges","restoreRevision","split","listenTo","_makeTape","isOfficialPlugin","vid","splice","_sortAndFilterDiffChanges","compare","_makeModelFromTape","3421910Cfrnti","1602mPchrx","start","_changeView","checkAttribute","_removeMissingPairs","highest","object","remove","loadRevisionData","rootName","isCollapsed","addRevision","upcast","ck-revision-history-root-remove","removeMarker:revision-suggestion","getItems","nextSibling","findIndex","_joinTapes","resolve","mapViewToDom","filter","addHighlight","1938wdZFRX","_revisions","isContent","data","347439rNkQHE","done","isIncorrect","slice","createPositionFromPath","change:activeChange","domEvent","ck-suggestion-marker","left","diffData","unshift","unbindElementFromMarkerName","mapper","markersStart","requires","editing","_activeViewTarget","restoreRevisionCallback","attachChange","userId","mousedown","_step","ck-suggestion-preview-marker-","error","getDomRoot","ck-suggestion-marker-","all","addMarker:revision-suggestion:deletion","updatePosition","vid_start","return","14ytwbet","selection","revisionHistoryAttachChange","getCustomProperty","comment","changeId","getRevisionDocumentData","hasClass","startIndex","_threeWayMerge","createRangeIn","change","_data","getIndex","isAddSuggestion","bindElementToMarker","isEqual","attributes","isInline","attributesAfter","getRevision","addRevisionData","createRange","currentChangeNumber","isBefore","_markSuggestions","removeMarker:revision","createAttributeElement","revisionHistory","_getRevisionsRange","conversion","117wLWSAB","setAttribute","_cleanUp","startsWith","domConverter","suggestion","_findChangeIdFromDomTarget","type","reconvertMarker","target","catch","then","addMarker:revision-suggestion:insertion","mouseover","ck-suggestion-preview-marker","oldRevisionId","change:isReady","distance","_removeUnsupportedChanges","modelRange","_processTape","createRevision","_getDiff","right","markerNameToElements","from","toViewRange","elementToAttribute","getRoot","diff","index","insert","change:isEnabled","editor","low","changes","enqueueChange","_markInsertions","values","forceDisabled","ck-revision-history-root-","isAttached","showNextChange","view","_setConversion","11yMWyRW","newRevisionId","refresh","editingDowncast","pluginName","addClass","pairId","addMarker:revision","item","endIndex","schema","_getViewForChange","_utils","attribute:vid","getWalker","_makeModelFromViewString","code","isAfter","_setChanges","elementEnd","13hdvQru","revision-suggestion","RevisionsRepository","RevisionHistoryUtils","markersEnd","getAttributes","destroy","createPositionBefore","indexOf","adapter","level","revision","revision-suggestion:","range","7624WKWXsA","removeAttribute","_balloon","model","POSITIVE_INFINITY","isAdded","config","nodeAfter","activeView","stop","deletion","abs","-new","isPremiumPlugin","isLimit","removeClass","enableReadOnlyMode","isEnabled","roots","pop","markerToData","bottom"];return(ie=function(){return t})()}function se(t,e){const i=ie();return(se=function(t,e){return i[t-=378]})(t,e)}class ne extends U.Command{[Qt(426)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(629)][i(596)](Xt);this[i(572)]=!1,this[i(426)]=i(623)===e?1:-1,this[i(698)](s,i(483),(()=>this[i(514)]())),this[i(698)](s,i(499),(()=>this[i(514)]())),this[i(698)](s,i(410),(()=>this[i(514)]()))}[Qt(651)](){const e=Qt,i=this[e(500)],s=i[e(629)][e(596)](Xt),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(690)]=n?s[e(496)][e(502)][e(596)](r+this[e(426)]):s[e(496)][e(502)][e(689)],s[e(690)][e(404)][e(691)])o=i[e(420)][e(510)][e(429)](s[e(690)][e(387)]);else{const t=i[e(549)][e(682)][e(596)](e(617)+s[e(690)].id);o=(0,Z.getMarkerDomElement)(i[e(420)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(514)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(500)][t(629)][t(596)](Xt);this[t(563)]=!!(r&&n&&s)&&(!e||(1===this[t(426)]?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=Tt();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["isReady","ck-revision-history-ui__changes-navigation__wrapper","5633910nKoJOS","Show next change","6313850YrLYSK","backward","isForwardNavigationEnabled","set","forward","currentChangeNumber","3926279hmVkVt","Loading...","X_OF_Y_CHANGES","_statusText","18slWrnE","isBackwardNavigationEnabled","6397944ZiMjoI","No changes","123167oltNFB","_isStatusLabelVisible","numberOfChanges","isNavigationMode","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui","setTemplate","Total","span","ck-hidden","68NhzOLb","EDIT_X_OF_Y_REVISIONS","fire","18JsyNUh","div","148653rRBKYW","Show previous change","NUMBER_OF_CHANGES","bindTemplate","isEnabled","832091bHdlGc","execute","bind","2etxsRB","ck-revision-history-ui__changes-navigation"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=492]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(955161===parseInt(e(495))/1*(-parseInt(e(498))/2)+parseInt(e(534))/3*(-parseInt(e(529))/4)+-parseInt(e(502))/5+-parseInt(e(514))/6*(-parseInt(e(510))/7)+parseInt(e(516))/8+parseInt(e(532))/9*(parseInt(e(504))/10)+parseInt(e(518))/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(493)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(507)](e(521),!1),this[e(507)](e(500),!1),this[e(507)](e(509),0),this[e(507)](e(520),0),this[e(507)](e(506),!1),this[e(507)](e(515),!1),this[e(497)](e(519)).to(this,e(500),this,e(520),((t,e)=>t&&e>0)),this[e(497)](e(513)).to(this,e(500),this,e(509),this,e(520),this,e(521),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(511));if(!n)return X(t,o(517));const a=X(t,o(492),n);return r?X(t,o(512),[s+1,n]):a})),s[e(507)]({label:X(t,e(535)),tooltip:!0,icon:mt.IconChevronUp}),n[e(507)]({label:X(t,e(503)),tooltip:!0,icon:mt.IconChevronDown}),s[e(497)](e(494)).to(this,e(515)),n[e(497)](e(494)).to(this,e(506)),s.on(e(496),(()=>this[e(531)](e(496),e(505)))),n.on(e(496),(()=>this[e(531)](e(496),e(508)))),this[e(525)]({tag:e(533),attributes:{class:["ck",e(524),e(499)]},children:[{tag:e(527),attributes:{class:[e(501)]},children:[{tag:e(527),attributes:{class:[e(522),i.if(e(519),e(528),(t=>!t))]},children:[{text:i.to(e(521),(i=>i?X(t,e(530))+": ":X(t,e(526))+": "))}]},{text:i.to(e(513))}]},new pt.ToolbarSeparatorView,{tag:e(533),attributes:{class:[e(523)]},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=Tt();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=fe;function fe(t,e){const i=me();return(fe=function(t,e){return i[t-=495]})(t,e)}function me(){const t=["683760ALRarG","26930daTziD","document","RevisionViewerLoadingOverlay","9CuYjWm","removeClass","6942120EUhIhz","2474xuuewR","addClass","10693928anJhYZ","4wTiooE","ck-editor__editable__loading-overlay","isPremiumPlugin","isOfficialPlugin","roots","view","20zCWvMi","pluginName","editing","editor","show","409266oFBegz","37478254oQaTRa","274RHcIIM","hide","change"];return(me=function(){return t})()}!function(t){const e=fe,i=t();for(;;)try{if(989432===parseInt(e(516))/1*(-parseInt(e(506))/2)+parseInt(e(504))/3*(-parseInt(e(519))/4)+parseInt(e(499))/5*(parseInt(e(509))/6)+-parseInt(e(518))/7+-parseInt(e(515))/8+-parseInt(e(513))/9*(parseInt(e(510))/10)+parseInt(e(505))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const pe=de(520);class ve extends U.Plugin{static get[de(500)](){return de(512)}static get[de(496)](){return!0}static get[de(495)](){return!0}[de(503)](){const t=de,e=this[t(502)][t(501)][t(498)];e[t(508)]((i=>{const s=t;for(const t of e[s(511)][s(497)])i[s(517)](pe,t)}))}[de(507)](){const t=de,e=this[t(502)][t(501)][t(498)];e[t(508)]((i=>{const s=t;for(const t of e[s(511)][s(497)])i[s(514)](pe,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=366]})(t,e)}function ke(){const t=["112FLjcoq","13SkNlpJ","editor","bind","isOfficialPlugin","5WZxgCM","pluginName","isReady","exitToEditing","isBackwardNavigationEnabled","show","showPreviousChange","Back to editing","commands","changesNavigation","3170849cTYTBX","config","revisionHistory","isEnabled","139792DXrrBb","showNextChange","6317166wgqsTe","currentChangeNumber","change:isReady","isPremiumPlugin","forward","plugins","requires","1203430DrEEbK","get","set","5511240DoWLLl","numberOfChanges","isNavigationMode","hide","componentFactory","execute","ck-revision-history-ui__back-to-editing","closeRevisionViewerCallback","4823072dJJZTe","init","isForwardNavigationEnabled","add","9807OufxKu","restoreRevision","RevisionViewerUI","9FjTfbk","Restore this revision","listenTo"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(540357===parseInt(e(402))/1*(parseInt(e(371))/2)+parseInt(e(395))/3*(parseInt(e(401))/4)+-parseInt(e(406))/5*(parseInt(e(373))/6)+parseInt(e(383))/7+-parseInt(e(391))/8*(parseInt(e(398))/9)+parseInt(e(380))/10+parseInt(e(367))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(407)](){return ge(397)}static get[ge(405)](){return!0}static get[ge(376)](){return!0}static get[ge(379)](){return[Xt,ve]}[ge(392)](){const t=ge,e=this[t(403)],i=e[t(378)][t(381)](Xt),s=e[t(378)][t(381)](ve);e.ui[t(387)][t(394)](t(409),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(382)]({label:X(i,s(413)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(389)}),this[s(400)](n,s(388),(()=>{const t=s;e[t(368)][t(381)](t(369))[t(390)]()})),n})),e.ui[t(387)][t(394)](t(396),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(382)]({label:X(i,s(399)),withText:!0,tooltip:!0}),n[s(404)](s(370)).to(e[s(414)][s(381)](s(396))),this[s(400)](n,s(388),(()=>e[s(388)](s(396)))),n})),e.ui[t(387)][t(394)](t(366),(s=>{const n=t,r=new ue(s),o=e[n(414)][n(381)](n(412)),a=e[n(414)][n(381)](n(372));return r[n(404)](n(410)).to(o,n(370)),r[n(404)](n(393)).to(a,n(370)),r[n(404)](n(408),n(374),n(384),n(385)).to(i),this[n(400)](r,n(388),((t,i)=>{const s=n;e[s(388)](s(377)===i?s(372):s(412))})),r})),s[t(411)](),i.on(t(375),((e,i,n)=>{const r=t;n?s[r(386)]():s[r(411)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Tt();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;function Ie(){const t=["value","element","737233frnnLk","256586UWeOQl","_updateTooltipText","fieldView","destroy","18ceEGhg","listenTo","344tOwCpQ","67325QNHvxG","49834nDRFKR","690bYuIEI","clientWidth","input","1349262xZuYgV","2385156cueyxn","set","ck-revision-history-sidebar__revision-name","Enter the revision name","span","placeholder","bindTemplate","extendTemplate","Revision name","_tooltipString","render","ck-tooltip_multi-line","128421hclZeI","scrollWidth","_resizeObserver","320AeeKvh"];return(Ie=function(){return t})()}const Se=Te;function Te(t,e){const i=Ie();return(Te=function(t,e){return i[t-=112]})(t,e)}!function(t){const e=Te,i=t();for(;;)try{if(589945===-parseInt(e(137))/1+parseInt(e(141))/2+parseInt(e(142))/3+parseInt(e(125))/4*(parseInt(e(136))/5)+parseInt(e(133))/6*(parseInt(e(128))/7)+-parseInt(e(135))/8*(parseInt(e(122))/9)+parseInt(e(138))/10*(-parseInt(e(129))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);class Oe extends pt.LabeledFieldView{[Se(124)]=null;constructor(t,e){const i=Se;super(t,e);const s=this[i(116)];this[i(143)]({label:X(t,i(118)),_tooltipString:""}),this[i(131)][i(115)]=X(t,i(113)),this[i(117)]({tag:i(114),attributes:{class:[i(112)],"data-cke-tooltip-text":s.to(i(119)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(121)}})}[Se(120)](){const e=Se;super[e(120)](),this[e(124)]=new t.ResizeObserver(this[e(131)][e(127)],(()=>this[e(130)]())),this[e(134)](this[e(131)],e(140),(()=>this[e(130)]()))}[Se(132)](){const t=Se;super[t(132)](),this[t(124)]&&this[t(124)][t(132)]()}[Se(130)](){const t=Se,e=this[t(131)][t(127)];this[t(119)]=e[t(123)]>e[t(139)]&&e[t(126)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Tt();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(t,e){const i=Ee();return(Re=function(t,e){return i[t-=263]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(951138===parseInt(e(269))/1*(-parseInt(e(263))/2)+-parseInt(e(281))/3+parseInt(e(271))/4*(parseInt(e(273))/5)+-parseInt(e(279))/6*(parseInt(e(276))/7)+parseInt(e(266))/8*(parseInt(e(278))/9)+-parseInt(e(285))/10+parseInt(e(280))/11*(parseInt(e(283))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class Ae extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(277)]({content:mt.IconUser,viewBox:s(267)});const r=["ck",s(282)];i&&r[s(264)](s(284));const o=[{tag:s(275),attributes:{class:["ck",s(272)],title:X(t,s(i?265:274))},children:[n,e[s(268)]]}];this[s(270)]({tag:"li",attributes:{class:r},children:o})}}function Ee(){const t=["202848gMxIaZ","ck-revision-history-sidebar__revision-author_creator","4380930BUqjma","32beRxtO","push","Revision creator","3912nxjqbN","0 0 11 10","name","30801AvgDMM","setTemplate","1969928wCkAdc","ck-revision-history-sidebar__revision-author__name","5HaMdiP","Revision author","span","14441tucGCy","set","7299LMOhIe","6fByLeo","1276TpBMXn","2897445mVrqlB","ck-revision-history-sidebar__revision-author"];return(Ee=function(){return t})()}function Me(){var t=["936963CSZQer","636205YOdepu","1313298HHpfJT","32NHzSbB","3553gHTjLp","1125732nesyQt","3390394Rugdwi","30110zGptfz","toLocaleTimeString","41439516jgMQiy","48pTkzwp","numeric","long","6zZcwLQ","2xWYwou","toLocaleDateString"];return(Me=function(){return t})()}function Ve(t,e){var i=Me();return(Ve=function(t,e){return i[t-=344]})(t,e)}!function(t){for(var e=Ve,i=t();;)try{if(509903===-parseInt(e(354))/1+-parseInt(e(352))/2*(-parseInt(e(359))/3)+parseInt(e(357))/4*(-parseInt(e(355))/5)+-parseInt(e(351))/6*(-parseInt(e(344))/7)+parseInt(e(348))/8*(-parseInt(e(356))/9)+-parseInt(e(345))/10*(parseInt(e(358))/11)+parseInt(e(347))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Tt();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=274]})(t,e)}function Le(){const t=["ck-revision-history-sidebar__revision__actions","Show more items","buttonView","bind","19877535zxdQgh","ck-on","menu","first","Restore this revision","bindTemplate","menuitem","4159854EiSPqX","isActionsDropdownOpen","4482051LdrJVo","Compare against selected","1823448zGEeFN","listenTo","panelPosition","stopPropagation","isVisible","3084093PuaaNE","add","name","3330hTShPG","277134WePFwq","set","children","source","find","action","isEnabled","button","class","extendTemplate","model","change:isActionsDropdownOpen","execute","Name this revision","function","listView","map","_action","5816neHtaL","isOpen","items","locale","4REjlcg","isReady"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(516963===-parseInt(e(309))/1*(-parseInt(e(287))/2)+parseInt(e(283))/3+parseInt(e(305))/4*(parseInt(e(286))/5)+-parseInt(e(274))/6+parseInt(e(276))/7+parseInt(e(278))/8+-parseInt(e(315))/9)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=Tt();gt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=500]})(t,e)}const ze=We;function Ue(){const t=["extendTemplate","2618484yMTzBE","3749490gpkqlV","ck-revision-history-sidebar__revision_highlighted","change",".ck-thread__remove-confirm","select","deselect","name","set","length","element","isSelected","ck-reset","bindTemplate","_revision","isReady","fire","authors","fieldView","unshift","uiLanguage","highlight","map","isEnabled","7600472UWCLiR","bind","10040iVxtGI","7xOFvdj","ck-revision-history-sidebar__actions_dropdown_open","isHighlighted","render","revisionNameView","isActionsDropdownOpen","21753BqOWBB","setName","closest","495959cKThTZ","ck-disabled","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","unhighlight","ck-revision-history-sidebar__revision-authors","value","_createdAtFormatted","revisionActionsView","span","1259808upUykg","createdAt","div","from","ck-revision-history-sidebar__revision_selected","12gavygA","srcElement","listenTo","ck-revision-history-sidebar__revision","filter","1089112VeGSen","ck-revision-history-sidebar__revision__date","_requireRevisionName","ck-revision-history-sidebar__revision__controls-wrapper","setTemplate","220","ck-revision-history-sidebar__revision-wrapper","isConfirm","creator"];return(Ue=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(567036===parseInt(e(541))/1+-parseInt(e(550))/2+parseInt(e(555))/3*(-parseInt(e(560))/4)+parseInt(e(506))/5+-parseInt(e(505))/6+parseInt(e(532))/7*(-parseInt(e(529))/8)+-parseInt(e(538))/9*(-parseInt(e(531))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(536)];[ze(548)];[ze(519)];[ze(562)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(518)],a=function(t,e){const i=r,s=Array[i(553)](e[i(522)])[i(559)]((t=>t!=e[i(503)]));return e[i(503)]&&s[i(524)](e[i(503)]),s[i(527)]((s=>new Ae(t,s,s==e[i(503)])))}(e,i);this.id=i.id,this[r(519)]=i,this[r(562)]=n,this[r(530)](r(512),r(551)).to(i),this[r(530)](r(547)).to(this,r(551),(t=>{return i=e[r(525)],(s=t)[(n=Ve)(353)](i,{month:n(350),day:n(349)})+", "+s[n(346)](i,{hour:n(349),minute:n(349)});var i,s,n})),this[r(513)](r(516),!1),this[r(513)](r(534),!1),this[r(513)](r(537),!1),this[r(513)](r(520),!1),this[r(513)](r(528),!1),this[r(536)]=new Oe(e,pt.createLabeledInputText),this[r(536)][r(523)][r(504)]({attributes:{maxlength:r(500)}}),this[r(536)][r(523)][r(530)](r(546)).to(this,r(512),(t=>t||this[r(547)])),this[r(536)][r(530)](r(528)).to(this,r(516),this,r(528),((t,e)=>t&&e)),this[r(548)]=s&&s[r(514)]?function(e,i){const s=Fe,n=e[s(320)],r=e[s(308)],o=(0,pt.createDropdown)(r);o[s(280)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(308)],n={"Compare against selected":X(s,i(277)),"Name this revision":X(s,i(300)),"Restore this revision":X(s,i(319))};return e[i(303)]((t=>{const e=i,s=n[t[e(285)]];return s&&s!==t[e(285)]&&(t[e(285)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(294),model:new pt.ViewModel({label:t[n(285)],class:t[n(295)],withText:!0,role:n(321),_action:t[n(292)]})};i[n(297)][n(314)](n(293)).to(e,n(275),(i=>n(301)!=typeof t[n(293)]||!i||t[n(293)](e))),o[n(284)](i)}return o}(e,i);return e[s(314)](s(275)).to(o,s(306)),o[s(313)][s(288)]({label:X(r,s(312)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(296)]({attributes:{class:[s(311),n.if(s(275),s(316))]},on:{click:n.to((t=>t[s(281)]()))}}),o.on(s(299),(t=>{const i=s;e[i(310)]&&i(301)==typeof t[i(290)][i(304)]&&t[i(290)][i(304)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(317)}),o[s(279)](e,s(298),((t,n,r)=>{const a=s;if(r)for(const t of o[a(302)][a(307)]){const s=t[a(289)][a(318)],n=i[a(291)]((t=>t[a(292)]===s[a(304)]))[a(282)];t[a(282)]=void 0===n||n(e)}})),o}(this,s):"",this[r(548)]&&this[r(548)][r(530)](r(528)).to(this),this[r(564)]({tag:r(552),attributes:{class:["ck",r(517),r(501),o.if(r(502),r(543))]},children:[{tag:r(552),attributes:{class:["ck",r(517),r(558),o.if(r(528),r(542),(t=>!t)),o.if(r(516),r(554)),o.if(r(534),r(507)),o.if(r(537),r(533))]},children:[this[r(536)],{tag:r(549),attributes:{class:["ck",r(561)]},children:[{text:o.to(r(547))}]},{tag:r(552),attributes:{class:["ck",r(563)]},children:[{tag:"ul",attributes:{class:["ck",r(545)]},children:a}]},this[r(548)]],on:{click:o.to((t=>{const e=r;t[e(556)][e(540)](e(509))||this[e(520)]&&this[e(528)]&&this[e(521)](e(510),{id:this.id})}))}}]})}[ze(535)](){const t=ze;super[t(535)]();const e=this[t(536)][t(523)][t(515)];this[t(557)](e,t(508),(()=>{const i=t;this[i(562)]&&!e[i(546)]||this[i(521)](i(539),{id:this.id,name:e[i(546)]}),e[i(546)]||(e[i(546)]=this[i(512)]?this[i(512)]:this[i(547)])}))}[ze(510)](){this[ze(516)]=!0}[ze(511)](){this[ze(516)]=!1}[ze(526)](){this[ze(534)]=!0}[ze(544)](){this[ze(534)]=!1}}class He extends Error{}class Be extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class qe extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Je extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Ti extends Ii{static get instance(){return null===Si&&(Si=new Ti),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},Oi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i,this.name)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_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 Ei={};function Mi(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 Vi={};let Di={};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=Vi[i];return s||(s=new Intl.NumberFormat(t,e),Vi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Es(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=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Wi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ts()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[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={},Vi={},Di={}}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=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?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,Qs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Li(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Li(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Li(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new 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:Os()?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 Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${qs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${qs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return qs(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 Bi 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?Ti.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Bi(t)}const qi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=qi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${qi[i]}${e}`)),Gi[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Ti.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=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=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 Ts(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("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 Ge("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 Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Vs(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(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 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(Ls(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Bs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Bs(n)}return i}function qs(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 Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return 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 Qs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(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 Tn(t,e,i){const s=t[e];return _s(s)?i:Ms(s)}function On(t,e){return[{hours:Tn(t,e,0),minutes:Tn(t,e+1,0),seconds:Tn(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?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(Vs(i)),months:d(Vs(s)),weeks:d(Vs(n)),days:d(Vs(r)),hours:d(Vs(o)),minutes:d(Vs(a)),seconds:d(Vs(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Ms(e)):Ms(e),month:Gs.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(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=Vn(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Hs(l,h),[d,new Hi(f)]}const 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[Vn(e,n,s,i,r,o,a),Hi.utcInstance]}function Wn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,a,i,s,n,r,o),Hi.utcInstance]}const zn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),Bn=mn((function(t,e){return[{year:Tn(t,e),month:Tn(t,e+1,1),day:Tn(t,e+2,1)},null,e+3]}),On,xn,Nn),$n=mn(wn,On,xn,Nn),qn=mn(_n,On,xn,Nn),Yn=mn(On,xn,Nn);const Jn=mn(On);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Qn=mn(On,xn,Nn);const Xn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[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,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=Bs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return 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:Ts(),localeWeek:Os()}}}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(qi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Tr=null;function Or(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=Or(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ds(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((Tr||(Tr=io.fromMillis(1555555555555)),Tr)),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 Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Vr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(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 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 Zr(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 Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Br={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},qr=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of qr)_s(t[e])&&(t[e]=Hr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Qr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Lr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Mr(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 Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Lr(a,c);m?(p=Yr,v=Br,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=qr,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,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,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,[zn,Bn],[Un,$n],[Zn,qn],[Hn,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),[Dn,Cn])}(t);return Wr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,Wn])}(t);return Wr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):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,[Gn,Bn],[Kn,Qn])}(t);return Wr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(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 Or(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?Vr(this).weekYear:NaN}get weekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get weekday(){return this.isValid?Vr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(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?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(Hi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return 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":"")+Zr(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),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):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 Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=oo();return(no=function(t,e){return i[t-=194]})(t,e)}function ro(t,e){const i=no,s=io[i(215)](t)[i(210)](e),n=io[i(214)](),r=n[i(213)]({days:1})[i(195)](i(205));let o,a;return s[i(197)](n,i(205))?(o=s[i(195)](i(205))[i(206)](),a=s[i(199)]()):s[i(197)](r,i(205))?(o=r[i(206)](),a=s[i(199)]()):s[i(197)](n,i(207))?(o=s[i(195)](i(207))[i(206)](),a=s[i(211)]||""):s[i(197)](n,i(198))?(o=s[i(195)](i(201))[i(206)](),a=s[i(209)]||""):(o=s[i(195)](i(198))[i(206)](),a=String(s[i(198)])),{startDate:o,localizedPeriodName:a}}function oo(){const t=["toJSDate","week","39utyuHq","monthLong","setLocale","weekdayLong","2269995iWxIPp","minus","local","fromJSDate","2291298cIwcYB","1378620wYrvXU","startOf","61518osxJOR","hasSame","year","toRelativeCalendar","924408mNSGJY","month","14skKTKP","246414IPzyqV","2276536ZVfOxl","day"];return(oo=function(){return t})()}!function(t){const e=no,i=t();for(;;)try{if(311368===-parseInt(e(203))/1+-parseInt(e(196))/2*(parseInt(e(208))/3)+-parseInt(e(194))/4+parseInt(e(212))/5+parseInt(e(216))/6+-parseInt(e(202))/7*(-parseInt(e(204))/8)+-parseInt(e(200))/9)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=Tt();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;function uo(t,e){const i=ho();return(uo=function(t,e){return i[t-=243]})(t,e)}const lo=uo;function ho(){const t=["localizedPeriodName","93930TmGwrK","15672GKmEtN","add","revisionViews","21513vDOxJo","_revisionActions","111slQyeM","ck-revision-history-sidebar__time-period__label","uiLanguage","removeRevision","2739CEtcbQ","2919vndOtM","find","div","1847188auJWns","_requireRevisionName","24396eUgqyH","select","3105765ewXNfE","addRevision","65urZDPS","setTemplate","ck-revision-history-sidebar__time-period__revisions","remove","locale","startDate","delegate","createCollection","setName","ck-revision-history-sidebar__time-period","span","78018ZRIldr"];return(ho=function(){return t})()}!function(t){const e=uo,i=t();for(;;)try{if(959874===parseInt(e(271))/1+parseInt(e(265))/2*(-parseInt(e(273))/3)+parseInt(e(248))/4+parseInt(e(254))/5*(parseInt(e(250))/6)+-parseInt(e(245))/7*(parseInt(e(268))/8)+parseInt(e(252))/9+-parseInt(e(267))/10*(-parseInt(e(244))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[lo(259)];[lo(270)];[lo(272)];[lo(249)];constructor(t,e,i,s){const n=lo;super(t);const r=ro(e,this[n(258)][n(275)])[n(266)];this[n(259)]=e,this[n(270)]=this[n(261)](),this[n(272)]=i,this[n(249)]=s,this[n(270)][n(260)](n(251)).to(this),this[n(270)][n(260)](n(262)).to(this),this[n(255)]({tag:n(247),attributes:{class:["ck",n(263)]},children:[{tag:n(264),attributes:{class:["ck",n(274)]},children:[{text:r}]},{tag:n(247),attributes:{class:["ck",n(256)]},children:this[n(270)]}]})}[lo(253)](t){const e=lo,i=new Ze(this[e(258)],t,this[e(272)],this[e(249)]);this[e(270)][e(269)](i)}[lo(243)](t){const e=lo,i=this[e(270)][e(246)]((e=>e.id===t.id));this[e(270)][e(257)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Tt();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["ck-revision-history-sidebar__header__label","3DZWcGQ","1166805BfeeuC","13868344sfnvFh","Revision history","2503940WSjrgU","span","ck-reset_all","114KuSggj","div","5109939TyMVEZ","8145740aKTfZH","content","7tzhAqL","37725UdivPC","752542vAAlQj","ck-revision-history-sidebar__header","setTemplate"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=350]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(919900===-parseInt(e(353))/1+-parseInt(e(366))/2+-parseInt(e(352))/3*(-parseInt(e(356))/4)+-parseInt(e(365))/5*(parseInt(e(359))/6)+parseInt(e(364))/7*(parseInt(e(354))/8)+-parseInt(e(361))/9+parseInt(e(362))/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(363)]=mt.IconHistory,this[e(350)]({tag:e(360),attributes:{class:["ck",e(358),e(367)]},children:[i,{tag:e(357),attributes:{class:["ck",e(351)]},children:[X(t,e(355))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Tt();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=Io;function _o(){const t=["ck-reset","uiLanguage","ck-revision-history-sidebar","bindTemplate","3905154hdHHeC","_addRevision","unhighlight","createCollection","getTime","940722bkCziH","isEnabled","selectRevision","render","128567HVGFRy","add","get","344TwlKqu","fire","remove","ck-rounded-corners","_revisionActions","_getTimePeriodViewByStartDate","set","map","13374BfiTdi","removeRevision","createdAt","setTemplate","revisionViews","deselect","highlightRevisions","revisionSetName","514064okinHr","addRevision","timePeriodViews","136MoziQn","select","locale","ck-disabled","delegate","find","highlight","revisionSelected","some","flat","_removeRevision","setName","startDate","6909ZaLKjt","2531705RVEvnP","_revisions","ck-revision-history-sidebar__timeline","div","_requireRevisionName"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=432]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(420808===parseInt(e(470))/1+parseInt(e(435))/2+parseInt(e(481))/3*(-parseInt(e(438))/4)+parseInt(e(452))/5+parseInt(e(466))/6+parseInt(e(451))/7*(-parseInt(e(473))/8)+-parseInt(e(461))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(437)];[wo(453)];[wo(477)];[wo(456)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(460)];this[n(437)]=this[n(464)](),this[n(437)][n(442)](n(439)).to(this),this[n(437)][n(442)](n(449)).to(this),this[n(453)]=e,this[n(477)]=i,this[n(456)]=s,this.on(n(439),((t,e)=>{const i=n;this[i(474)](i(445),e)})),this.on(n(449),((t,e)=>{const i=n;this[i(474)](i(434),e)})),this[n(479)](n(467),!1),this[n(484)]({tag:n(455),attributes:{class:["ck",n(457),n(476),n(459)]},children:[new yo(t),{tag:n(455),attributes:{class:["ck",n(454),r.if(n(467),n(441),(t=>!t))]},children:this[n(437)]}]})}[wo(469)](){const t=wo;super[t(469)]();for(const e of this[t(453)])this[t(462)](e);this[t(453)].on(t(471),((e,i)=>{this[t(462)](i)})),this[t(453)].on(t(475),((e,i)=>{this[t(448)](i)}))}get[wo(485)](){const t=wo;return this[t(437)][t(480)]((e=>e[t(485)][t(480)]((t=>t))))[t(447)]()}[wo(468)](t){const e=wo;for(const i of this[e(485)])t&&t.id===i.id?i[e(439)]():i[e(432)]()}[wo(433)](t){const e=wo;for(const i of this[e(485)])t[e(446)]((({id:t})=>t===i.id))?i[e(444)]():i[e(463)]()}[wo(462)](t){const e=wo,i=ro(t[e(483)],this[e(440)][e(458)])[e(450)];let s=this[e(437)][e(472)](0);s&&s[e(450)][e(465)]()===i[e(465)]()||(s=new fo(this[e(440)],i,this[e(477)],this[e(456)]),this[e(437)][e(471)](s)),s[e(436)](t)}[wo(448)](t){const e=wo,i=ro(t[e(483)],this[e(440)][e(458)])[e(450)];this[e(478)](i)[e(482)](t)}[wo(478)](t){const e=wo;return this[e(437)][e(443)]((i=>i[e(450)][e(465)]()===t[e(465)]()))}}function To(){const t=["availableRevisionActions","_handleRevisionSelected","init","editor","setName","revisionHistory.viewerSidebarContainer","highlightRevisions","1455845MlZtvz","focus","24237EgBdwT","3632233vnzrif","Name this revision","isReady","isEnabled","747ByqIDx","4076ERcCxd","diff","isVisible","length","action","assign","bind","_revisionsRepository","repository","6IpErvb","revisionHistory.requireRevisionName","RevisionsSidebar","element","destroy","_createRevisionActions","isOfficialPlugin","isPremiumPlugin","570RjNSWb","appendChild","map","compare","config","data","_handleEditorDataReady","getLaterVisibleRevision","_revisionViewer","fieldView","_handleDiffChange","requires","_handleRevisionSetName","revisionSelected","getIndex","add","remove","44124MLisrJ","getRevisionsInDiff","nameRevision","compareAgainstSelected","19786cLDBnS","plugins","restoreRevision","newRevisionId","getEarlierVisibleRevision","revisionHistory","render","1209nzDIJe","select","locale","isSelected","ready","pluginName","revisionViews","_revisions","getRevision","get","23mdLjmL","revisionSetName","revisionHistory.revisionActions","Compare against selected","selectRevision","change:diff","1768lazZRS","restoreRevisionCallback","timePeriodViews","defaultRevisionActions","string","3374YNYUjm","_sidebarView","Restore this revision","name","listenTo"];return(To=function(){return t})()}const Oo=xo;function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=152]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(300198===-parseInt(e(194))/1*(-parseInt(e(177))/2)+-parseInt(e(224))/3*(parseInt(e(225))/4)+parseInt(e(217))/5*(parseInt(e(234))/6)+-parseInt(e(205))/7*(parseInt(e(200))/8)+parseInt(e(219))/9*(parseInt(e(156))/10)+parseInt(e(220))/11+-parseInt(e(173))/12*(parseInt(e(184))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends U.Plugin{[Oo(164)];[Oo(232)];[Oo(206)];static[Oo(203)]=[Oo(176),Oo(179),Oo(175)];static[Oo(210)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(197),action:({plugins:e},i)=>{const s=t,n=e[s(193)](Xt),r=n[s(233)];let o=n[s(226)][s(180)],a=i.id;r[s(170)](o)>r[s(170)](a)&&([o,a]=[a,o]),n[s(159)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(193)](Xt);return!(n[s(233)][s(174)](n[s(226)])[s(228)]>2||i[s(187)])}},restoreRevision:{name:t(207),action:(e,{id:i})=>{const s=t;e[s(160)][s(193)](s(182))[s(201)](i)},isVisible:({plugins:e},i)=>!!e[t(193)](Xt)[t(233)][t(163)](i.id)},nameRevision:{name:t(221),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(193)](Xt),o=r[n(233)][n(181)](i);r[n(159)](i,o),s[n(218)](),s[n(165)][n(185)]()}}}}();static get[Oo(189)](){return Oo(236)}static get[Oo(154)](){return!0}static get[Oo(155)](){return!0}static get[Oo(167)](){return[Xt]}constructor(t){const e=Oo;super(t),this[e(164)]=t[e(178)][e(193)](Xt),this[e(232)]=this[e(164)][e(233)],this[e(206)]=null}[Oo(212)](){const t=Oo,e=this[t(232)][t(191)],i=this[t(153)](),s=this[t(213)][t(160)][t(193)](t(215));this[t(206)]=new So(this[t(213)][t(186)],e,i,this[t(213)][t(160)][t(193)](t(235))),this[t(206)].on(t(169),this[t(211)][t(231)](this)),this[t(206)].on(t(195),this[t(168)][t(231)](this)),this[t(206)][t(231)](t(223)).to(this[t(164)]),this[t(206)][t(202)].on(t(171),((e,i)=>{const s=t;i[s(190)].on(s(171),((t,e)=>{const i=s;e[i(231)](i(223),i(222)).to(this[i(164)])}))})),this[t(206)][t(183)](),this[t(209)](this[t(213)][t(161)],t(188),this[t(162)][t(231)](this)),this[t(209)](this[t(164)],t(199),this[t(166)][t(231)](this)),s[t(157)](this[t(206)][t(237)])}[Oo(152)](){const t=Oo;this[t(206)][t(237)][t(172)](),this[t(206)][t(152)]()}[Oo(162)](){const t=Oo,e=this[t(232)][t(192)](0);if(e){const i=this[t(232)][t(181)](e.id);this[t(164)][t(159)](e,i)}}[Oo(211)](t,e){const i=Oo,s=this[i(232)][i(192)](e.id),n=this[i(232)][i(181)](s.id);this[i(164)][i(159)](s,n)}[Oo(168)](t,e){const i=Oo;this[i(232)][i(192)](e.id)[i(214)](e[i(208)])}[Oo(166)](t,e,i){const s=Oo,n=this[s(232)][s(174)](i);n[s(228)]>2?(this[s(206)][s(216)](n),this[s(206)][s(198)](null)):(this[s(206)][s(216)]([]),this[s(206)][s(198)](n[0]))}[Oo(153)](){const t=Oo,e=this[t(213)],i=No[t(210)],s=e[t(160)][t(193)](t(196))||No[t(203)];if(s[t(228)])return s[t(158)]((s=>{const n=t,r=n(204)==typeof s?Object[n(230)]({},i[s]):s;return r[n(229)]=r[n(229)][n(231)](this,e),r[n(227)]&&(r[n(227)]=r[n(227)][n(231)](this,e)),r}))}}const Ro=No;function Ao(){const t=["focusTracker","147684xZSHQK","_view","1037399PrpVIS","61224UtfPLM","42550QmtjPT","document","_toolbarConfig","25qrLOJk","4215TgCXSh","252hWXaPZ","fillFromConfig","598548KiyLSP","viewportOffset","isActive","bind","rootName","fire","get","_elementReplacer","724bFrguf","render","element","editing","config","destroy","componentFactory","viewportTopOffset","isFocused","ready","editor","addToolbar","toolbar","470876Hxxtew","editable","_initToolbar","limiterElement","replace","40qNSOCG","getRoot","setEditableElement","init","stickyPanel","name","detachDomRoot","view","restore","attachDomRoot"];return(Ao=function(){return t})()}const Eo=Mo;function Mo(t,e){const i=Ao();return(Mo=function(t,e){return i[t-=189]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(157739===-parseInt(e(225))/1+parseInt(e(232))/2+parseInt(e(229))/3*(parseInt(e(192))/4)+parseInt(e(228))/5*(-parseInt(e(221))/6)+-parseInt(e(205))/7+-parseInt(e(224))/8*(-parseInt(e(230))/9)+-parseInt(e(210))/10*(parseInt(e(223))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class Vo extends pt.EditorUI{[Eo(222)];[Eo(227)];[Eo(191)];get[Eo(217)](){return this[Eo(222)]}constructor(e,i){const s=Eo;super(e),this[s(222)]=i,this[s(227)]=(0,pt.normalizeToolbarConfig)(e[s(196)][s(190)](s(204))),this[s(191)]=new t.ElementReplacer}get[Eo(194)](){const t=Eo;return this[t(217)][t(194)]}[Eo(213)](t){const e=Eo,i=this[e(202)],s=this[e(217)],n=i[e(195)][e(217)],r=s[e(206)],o=n[e(226)][e(211)]();r[e(215)]=o[e(236)],s[e(193)]();const a=r[e(194)];this[e(212)](r[e(215)],a),s[e(206)][e(235)](e(200)).to(this[e(220)]),n[e(219)](a),this[e(191)][e(209)](t,this[e(194)]),this[e(207)](),this[e(189)](e(201))}[Eo(197)](){const t=Eo;super[t(197)]();const e=this[t(217)],i=this[t(202)][t(195)][t(217)];this[t(191)][t(218)](),i[t(216)](e[t(206)][t(215)]),e[t(197)]()}[Eo(207)](){const t=Eo,e=this[t(217)];e[t(214)][t(235)](t(234)).to(this[t(220)],t(200)),e[t(214)][t(208)]=e[t(194)],e[t(214)][t(235)](t(199)).to(this,t(233),(({top:t})=>t)),e[t(204)][t(231)](this[t(227)],this[t(198)]),this[t(203)](e[t(204)])}}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Tt();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;var Fo=jo;function Lo(){var t=["70076cFOeca","render","4384984DXRwgI","117890hmmpCU","stickyPanel","toolbar","editable","396440ruAohv","1151970fIhSWd","main","1163652JseCGQ","355497POSRrW","content","top","shouldToolbarGroupWhenFull","_editable","add","5epscZE"];return(Lo=function(){return t})()}function jo(t,e){var i=Lo();return(jo=function(t,e){return i[t-=396]})(t,e)}!function(t){for(var e=jo,i=t();;)try{if(175734===-parseInt(e(408))/1+-parseInt(e(411))/2+-parseInt(e(401))/3+-parseInt(e(397))/4+parseInt(e(407))/5*(-parseInt(e(398))/6)+parseInt(e(400))/7+parseInt(e(410))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Po extends pt.BoxedEditorUIView{[Fo(405)];[Fo(412)];[Fo(413)];get[Fo(396)](){return this[Fo(405)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(412)]=new pt.StickyPanelView(t),this[s(413)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(404)]}),this[s(405)]=new pt.InlineEditableUIView(t,e)}[Fo(409)](){var t=Fo;super[t(409)](),this[t(412)][t(402)][t(406)](this[t(413)]),this[t(403)][t(406)](this[t(412)]),this[t(399)][t(406)](this[t(396)])}}function Wo(){const t=["2hXwxSR","initialData","init","config","7Lbbdut","create","locale","get","213993GfYpMa","2591392MpWaLJ","6775410vLvIMd","model","updateSourceElement","ready","initPlugins","destroy","181729RITcZy","editing","35GyFuIr","fire","sourceElement","data","1854774SkGPHn","view","696672QXtSkA","_ui","document","createRoot","64384XYSOFk"];return(Wo=function(){return t})()}const zo=Uo;function Uo(t,e){const i=Wo();return(Uo=function(t,e){return i[t-=352]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(190150===-parseInt(e(366))/1*(-parseInt(e(379))/2)+-parseInt(e(358))/3+parseInt(e(378))/4*(parseInt(e(368))/5)+parseInt(e(372))/6*(-parseInt(e(354))/7)+-parseInt(e(359))/8+-parseInt(e(374))/9+parseInt(e(360))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[zo(375)];get ui(){return this[zo(375)]}constructor(t,e){const i=zo;super(e),this[i(370)]=t,this[i(361)][i(376)][i(377)]();const s=new Po(this[i(356)],this[i(367)][i(373)],{shouldToolbarGroupWhenFull:!0});this[i(375)]=new Vo(this,s)}[zo(365)](){const t=zo;return this[t(362)](),this.ui[t(365)](),super[t(365)]()}static async[zo(355)](t,e){const i=zo,s=new this(t,e);return await s[i(364)](),await s.ui[i(352)](t),await s[i(371)][i(352)](s[i(353)][i(357)](i(380))||""),s[i(369)](i(363)),s}}const Ho=Bo;function Bo(t,e){const i=qo();return(Bo=function(t,e){return i[t-=340]})(t,e)}!function(t){const e=Bo,i=t();for(;;)try{if(417332===-parseInt(e(393))/1*(-parseInt(e(362))/2)+-parseInt(e(459))/3+parseInt(e(399))/4*(parseInt(e(403))/5)+parseInt(e(415))/6+-parseInt(e(413))/7+parseInt(e(356))/8*(-parseInt(e(371))/9)+parseInt(e(375))/10*(-parseInt(e(430))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const $o=[Ho(384),Ho(465)];function qo(){const t=["PaginationLookup","saveRevision","getRevisionDocumentData","editor","revisionHistory.restoreRevisionCallback","isAttached","remove","_restoreRevision","view","revision-history-missing-configuration","document","getMarkersGroup","set","then","loadRevisionData","revisionHistory.requireRevisionName","setAttribute","exitToEditing","display","restrictedEditingException","refreshPositioning","Autosave","hide","RevisionHistory","RevisionViewerIntegration","_viewerEditor","creator","isRevisionViewerOpen","indexOf","238840PtodTa","refreshVisibility","join","long","toLocaleTimeString","repository","2SfjgpP","revisionHistory.editorContainer","_enhanceShowRevisionViewerCallback","getUser","includes","pluginName","setSelection","create","revisionHistory.viewerEditorElement","63jDORrR","removeSelectionAttribute","getRevisionRootsAttributes","getRoot","9780550kNOyJs","revisionHistory.showRevisionViewerCallback","lazyRoots","rootName","change","roots","$graveyard","isReady","RevisionViewer","RevisionHistoryUI","RevisionsRepository","fromCharCode","catch","disableReadOnlyMode","block","push","changesNavigation","none","680657phjSJC","removeAttribute","_cleanUp","_showRevisionViewer","isOpen","revisionHistory.viewerContainer","12BIotQw","from","DocumentOutline","detachRoot","379275UOxawa","config","_getRevisionViewerEditorConfig","bind","removeMarker","getRevision","createRangeIn","isEnabled","destroy","Annotations","27461RFyPIL","element","4470402gFtBCg","enqueueChange","RevisionTracker","requires","isReadOnly","isPremiumPlugin","isOfficialPlugin","parse","getRevisions","restoreRevision","Users","result","uiLanguage","revision-history-viewer-opened","insert","11YpAVvp","has","translations","init","getAttributeKeys","markers","error","Restored","revisionHistory.closeRevisionViewerCallback","createdAt","showRevisionViewerCallback","numeric","enableReadOnlyMode","save","closeRevisionViewerCallback","fromVersion","addRevisionData","_closeRevisionViewer","get","revisionHistory","toolbar","name","model","toLocaleDateString","selection","Dialog","style","plugins","end","134982cynEiK","adapter","addRoot","data","DocumentOutlineUI","map","RestrictedEditingMode","addUser","define","RevisionHistoryUtils","toJSON","update","toVersion","commands","_recalculatePageBreaks","_update","_enhanceCloseRevisionViewerCallback","locale","users","isAnonymous","keys"];return(qo=function(){return t})()}class Yo extends U.Plugin{[Ho(426)];static get[Ho(367)](){return Ho(351)}static get[Ho(421)](){return!0}static get[Ho(420)](){return!0}constructor(t){const e=Ho;function i(t){const e=Bo;return t[e(464)]((t=>String[e(386)](t)))[e(358)]("")}super(t),this[e(426)]=e(458),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Jo extends U.Plugin{[Ho(352)];static get[Ho(367)](){return Ho(350)}static get[Ho(421)](){return!0}static get[Ho(420)](){return!0}static get[Ho(418)](){return[ct,Lt]}constructor(e){const i=Ho;if(super(e),!this[i(483)][i(404)][i(448)](i(449)))throw new t.CKEditorError(i(489),this);this[i(352)]=null,this[i(492)](i(354),!1),this[i(483)][i(404)][i(467)](i(376),(t=>this[i(396)]({...t,translations:this[i(483)][i(476)][i(432)]}))),this[i(483)][i(404)][i(467)](i(438),(t=>this[i(447)](t))),this[i(483)][i(404)][i(467)](i(484),(t=>this[i(487)](t))),this[i(483)][i(404)][i(467)](i(342),!1),this[i(364)](),this[i(475)]()}set[Ho(460)](t){const e=Ho;this[e(483)][e(457)][e(448)](e(417))[e(460)]=t}get[Ho(460)](){const t=Ho;return this[t(483)][t(457)][t(448)](t(417))[t(460)]}[Ho(446)](t){const e=Ho;return this[e(483)][e(457)][e(448)](e(417))[e(446)](t)}[Ho(408)](t){const e=Ho;return this[e(483)][e(457)][e(448)](e(385))[e(408)](t)}[Ho(423)](t){const e=Ho;return this[e(483)][e(457)][e(448)](e(385))[e(423)](t||{toJSON:!1})}[Ho(405)](){const e=Ho,i=this[e(483)],s=(0,Z.sanitizeEditorConfig)(i,$o),n=i[e(457)][e(448)](e(417)),r=i[e(457)][e(448)](e(425))[e(477)];return s[e(450)]=[e(344),e(424),e(391)],delete s[e(377)],s[e(457)][e(390)](Yo,Xt,be,class extends U.Plugin{static get[e(418)](){return[Xt,e(425)]}[e(433)](){const s=e,o=this[s(483)][s(457)][s(448)](s(425));for(const t of r)t[s(478)]||o[s(365)](t.id)||o[s(466)](t);const a=n[s(361)][s(423)]();let c=null;const u=this[s(483)][s(457)][s(448)](s(383));u[s(460)]=n[s(460)],u[s(406)](s(410)).to(n),this[s(483)][s(472)][s(448)](s(424))[s(406)](s(410)).to(i,s(419),(t=>!t));for(const e of a){const i=null===e[s(353)];if(i&&e[s(471)]===e[s(445)])continue;const r=e[s(469)]();u[s(446)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(474)](r,o);else if(!o){const e=a[u(469)]();e.id=(0,t.uid)(),n[u(481)](e,a[u(471)])[u(340)]((t=>{c=t}))}}else e[u(474)](r,o)}))}}},Ro),s}[Ho(364)](){const t=Ho,e=this[t(483)][t(404)][t(448)](t(449))[t(440)];this[t(483)][t(404)][t(492)](t(376),(async()=>{const i=t;this[i(483)][i(442)](i(428));const s=this[i(483)][i(457)][i(448)](i(417));if(this[i(483)][i(457)][i(431)](i(348))){const t=this[i(483)][i(457)][i(448)](i(348));await t[i(443)]()}else await s[i(470)]();if(this[i(483)][i(457)][i(431)](i(480))&&this[i(483)][i(457)][i(448)](i(480))[i(473)](),this[i(483)][i(457)][i(431)](i(455))){const t=this[i(483)][i(457)][i(448)](i(455));t[i(397)]&&t[i(349)]()}const n=this[i(405)]();return e(n)[i(340)]((t=>{const e=i;return this[e(352)]=t,this[e(483)][e(457)][e(431)](e(412))&&this[e(483)][e(457)][e(448)](e(412))[e(357)](),this[e(483)][e(457)][e(431)](e(401))&&(this[e(483)][e(457)][e(448)](e(463))[e(488)][e(414)][e(456)][e(345)]=e(392)),t}))[i(387)]((t=>(console[i(436)](t),this[i(483)][i(388)](i(428)),null)))}))}[Ho(475)](){const t=Ho,e=this[t(483)][t(404)][t(448)](t(449))[t(444)];this[t(483)][t(404)][t(492)](t(438),(()=>(this[t(483)][t(457)][t(431)](t(480))&&this[t(483)][t(457)][t(448)](t(480))[t(473)](),this[t(483)][t(457)][t(431)](t(401))&&(this[t(483)][t(457)][t(448)](t(463))[t(488)][t(414)][t(456)][t(345)]=""),this[t(352)][t(457)][t(448)](t(383))[t(395)](),e(this[t(352)])[t(340)]((()=>{const e=t;if(this[e(483)][e(388)](e(428)),this[e(352)]=null,this[e(483)][e(457)][e(431)](e(412))){const t=this[e(483)][e(457)][e(448)](e(412));t[e(357)](),t[e(347)]()}})))))}[Ho(396)](t){const e=Ho,i=this[e(483)][e(404)][e(448)](e(363)),s=this[e(483)][e(404)][e(448)](e(398)),n=this[e(483)][e(404)][e(448)](e(370));return Zo[e(369)](n,t)[e(340)]((t=>(s[e(456)][e(345)]=e(389),i[e(456)][e(345)]=e(392),this[e(354)]=!0,t)))}[Ho(447)](t){const e=Ho,i=this[e(483)][e(404)][e(448)](e(363));return this[e(483)][e(404)][e(448)](e(398))[e(456)][e(345)]=e(392),i[e(456)][e(345)]="",this[e(354)]=!1,t[e(411)]()}async[Ho(487)](t){const e=Ho,i=this[e(483)],s=this[e(352)][e(457)][e(448)](e(383)),n=i[e(457)][e(448)](e(417)),r=i[e(457)][e(448)](e(468)),o=s[e(361)][e(408)](t);let a,c,u;try{await r[e(341)](o,this[e(460)]),a=r[e(482)](o),c=r[e(373)](o)}catch(t){return void console[e(436)](t)}i[e(452)][e(379)]((t=>{const s=e;for(const e of Array[s(400)](i[s(452)][s(435)][s(491)](s(346))))t[s(407)](e)})),s[e(382)]=!1,i[e(452)][e(416)]((t=>{const s=e;t[s(368)](null),t[s(372)](i[s(452)][s(490)][s(454)][s(434)]());const n=Object[s(479)](a);for(const e of i[s(452)][s(490)][s(380)])s(381)!=e[s(378)]&&e[s(485)]()&&!n[s(366)](e[s(378)])&&t[s(402)](e);for(const e of n){let n=i[s(452)][s(490)][s(374)](e);n&&n[s(485)]()||(n=t[s(461)](e));const r=c[e],o=Object[s(479)](r),u=a[e];for(const e of n[s(434)]())o[s(366)](e)||t[s(394)](e,n);for(const i of o)t[s(343)](i,c[e][i],n);t[s(486)](t[s(409)](n)),t[s(429)](i[s(462)][s(422)](u,n),n,0)}}));const l=X(i[e(476)],e(437));return u=o[e(451)]?-1==o[e(451)][e(355)](l)?l+": "+o[e(451)]:o[e(451)]:l+": "+o[e(439)][e(453)](i[e(476)][e(427)],{month:e(359),day:e(441)})+", "+o[e(439)][e(360)](i[e(476)][e(427)],{hour:e(441),minute:e(441)}),await n[e(481)]({name:u}),s[e(382)]=!0,i[e(404)][e(448)](e(449))[e(444)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=383]})(t,e)}function Ko(){var t=["2759090iUeWUz","420534BIYnSr","643707bEQiZA","438hZSbdK","1nsBImB","8562202UiOLHB","19377TTABQv","32459PoQXXq","81540JgXTeC","15CAndAj","104ICzLvq"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(201810===-parseInt(e(390))/1*(parseInt(e(387))/2)+-parseInt(e(388))/3+parseInt(e(383))/4*(-parseInt(e(384))/5)+parseInt(e(389))/6*(-parseInt(e(393))/7)+-parseInt(e(385))/8*(parseInt(e(392))/9)+parseInt(e(386))/10+parseInt(e(391))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();