@ckeditor/ckeditor5-revision-history 44.3.0-alpha.1 → 44.3.0-alpha.2

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 (177) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +10 -10
  148. package/src/changeitem.js +2 -2
  149. package/src/editor/revisionviewereditor.js +2 -2
  150. package/src/editor/revisionviewereditorui.js +1 -1
  151. package/src/editor/revisionviewereditoruiview.js +1 -1
  152. package/src/index.js +1 -1
  153. package/src/revision.js +2 -2
  154. package/src/revisiondiff.js +1 -1
  155. package/src/revisionhistory.js +1 -1
  156. package/src/revisionsrepository.js +1 -1
  157. package/src/revisiontracker.js +1 -1
  158. package/src/revisionviewer.js +1 -1
  159. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  160. package/src/ui/revision/revisionauthorview.js +1 -1
  161. package/src/ui/revision/revisionnameview.js +1 -1
  162. package/src/ui/revision/revisionview.js +2 -2
  163. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  164. package/src/ui/revision/subrevisionview.js +1 -1
  165. package/src/ui/revision/utils.js +1 -1
  166. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  167. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  168. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  169. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  170. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  172. package/src/ui/revisionssidebar/utils.js +1 -1
  173. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  174. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  175. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  176. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  177. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),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:()=>qi,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>On,RevisionViewer:()=>kr,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Pr,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 A=b?b.toStringTag:void 0;const N=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":A&&A in Object(t)?O(t):T(t)};const M=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const R=function(t){if(!M(t))return!1;var e=N(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const V=k["__core-js_shared__"];var E,D=(E=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||""))?"Symbol(src)_1."+E:"";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,Z=z.hasOwnProperty,U=RegExp("^"+W.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const $=function(t){return!(!M(t)||C(t))&&(R(t)?U:L).test(F(t))};const q=function(t,e){return null==t?void 0:t[e]};const H=function(t,e){var i=q(t,e);return $(i)?i:void 0};const B=H(k,"Map");const Y=H(Object,"create");const J=function(){this.__data__=Y?Y(null):{},this.size=0};const G=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=J,it.prototype.delete=G,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=H(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]"==N(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const At=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const Nt=Array.isArray;const Mt=function(){return!1};var Rt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Vt=Rt&&"object"==typeof module&&module&&!module.nodeType&&module,Et=Vt&&Vt.exports===Rt?k.Buffer:void 0;const Dt=(Et?Et.isBuffer:void 0)||Mt;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[N(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Zt=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Ut=Zt&&Zt.exports===Wt&&y.process;const $t=function(){try{var t=Zt&&Zt.require&&Zt.require("util").types;return t||Ut&&Ut.binding&&Ut.binding("util")}catch(t){}}();var qt=$t&&$t.isTypedArray;const Ht=qt?zt(qt):Pt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=Nt(t),n=!i&&At(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&Ht(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 Jt=Object.prototype;const Gt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Jt)};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(!Gt(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)&&!R(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(!M(t))return re(t);var e=Gt(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 Nt(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 Ae=H(k,"DataView");const Ne=H(k,"Promise");const Me=H(k,"Set");const Re=H(k,"WeakMap");var Ve="[object Map]",Ee="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ae),Le=F(B),Pe=F(Ne),ze=F(Me),We=F(Re),Ze=N;(Ae&&Ze(new Ae(new ArrayBuffer(1)))!=je||B&&Ze(new B)!=Ve||Ne&&Ze(Ne.resolve())!=Ee||Me&&Ze(new Me)!=De||Re&&Ze(new Re)!=Ce)&&(Ze=function(t){var e=N(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Le:return Ve;case Pe:return Ee;case ze:return De;case We:return Ce}return e});const Ue=Ze;var $e=Object.prototype.hasOwnProperty;const qe=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 He=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new He(e).set(new He(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 Je=/\w*$/;const Ge=function(t){var e=new t.constructor(t.source,Je.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 Ge(t);case"[object Symbol]":return Qe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!M(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||Gt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==Ue(t)};var oi=$t&&$t.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ue(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(!M(e))return e;var h=Nt(e);if(h){if(a=qe(e),!c)return me(e,a)}else{var d=Ue(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]"==N(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(Nt(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 Ai=b?b.prototype:void 0,Ni=Ai?Ai.toString:void 0;const Mi=function t(e){if("string"==typeof e)return e;if(Nt(e))return Ti(e,t)+"";if(yi(e))return Ni?Ni.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Ri=function(t){return null==t?"":Mi(t)};const Vi=function(t,e){return Nt(t)?t:bi(t,e)?[t]:xi(Ri(t))};const Ei=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(!M(t))return t;for(var r=-1,s=(e=Vi(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Ei(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=M(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=Vi(e,t)).length;null!=t&&i<n;)t=t[Ei(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=Vi(e,t),null==(t=Pi(t,e))||delete t[Ei(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)};function Zi(){const t=["46850VKyGIn","map","diffData","fromVersion","489595nmdDdH","toJSON","223792hMsGVx","authorsIds","creatorId","235919qpfzcS","name","setAttribute","fire","attributes","createdAt","36JrLICI","creator","2624312MfVWgi","_update","toVersion","setName","authors","removeAttribute","553446ROaDzG","4OsPjMo","set","11867768LLuzwi","12FnNpeq","7HdZuVZ"];return(Zi=function(){return t})()}const Ui=$i;function $i(t,e){const i=Zi();return($i=function(t,e){return i[t-=191]})(t,e)}!function(t){const e=$i,i=t();for(;;)try{if(253159===parseInt(e(206))/1*(-parseInt(e(192))/2)+-parseInt(e(191))/3+-parseInt(e(203))/4+-parseInt(e(201))/5*(-parseInt(e(195))/6)+-parseInt(e(196))/7*(parseInt(e(214))/8)+parseInt(e(212))/9*(parseInt(e(197))/10)+parseInt(e(194))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zi);class qi extends((0,t.ObservableMixin)()){constructor(e){const i=$i;super(),this.id=e.id||(0,t.uid)(),this[i(213)]=e[i(213)]||null,this[i(218)]=e[i(218)]||[],this[i(199)]=e[i(199)]||null,this[i(216)]=e[i(216)]||0,this[i(200)]=e[i(200)]||0,this[i(193)](i(207),e[i(207)]||""),this[i(193)](i(211),e[i(211)]||new Date),this[i(193)](i(210),e[i(210)]||{})}[Ui(217)](t){this[Ui(215)]({name:t})}[Ui(208)](t,e){const i=Ui,n=vi(this[i(210)]);Ci(n,t,e),this[i(215)]({attributes:n})}[Ui(219)](t){const e=Ui,i=vi(this[e(210)]);Wi(i,t),this[e(215)]({attributes:i})}[Ui(215)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(207),i(211),i(199),i(218),i(210),i(216),i(200),i(205)];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(218)]&&(r[i(204)]=r[i(218)][i(198)]((t=>t.id)),delete r[i(218)]),this[i(209)](i(215),r,e))}[Ui(202)](){const t=Ui;return{id:this.id,name:this[t(207)],creatorId:this[t(213)]?this[t(213)].id:null,authorsIds:this[t(218)][t(198)]((t=>t.id)),diffData:this[t(199)],createdAt:this[t(211)],attributes:this[t(210)],fromVersion:this[t(200)],toVersion:this[t(216)]}}}var Hi=i(782),Bi=i(211),Yi=i(783);const Ji=Ki;function Gi(){const t=["fromVersion","getUser","6TlGXXv","getRevision","RevisionsRepository","href","getRevisionsIterator","35976sjLzXX","addRevision","plugins","16XTafjm","oldRevisionId","add","length","data","Users","join","editor","later","creatorId","1219522uiAbnk","1325426jrzmyR","isNaN","diffData","404424ZiibuK","pluginName","attributes","createdAt","fromCharCode","get","push","getIndex","name","toVersion","map","isPremiumPlugin","985ZLbMLT","authorsIds","5415948JNNioh","toJSON","getEarlierVisibleRevision","createRevision","_revisions","getRevisions","getLaterVisibleRevision","isOfficialPlugin","from","newRevisionId","afterInit","7683830lJjakT","reverse","earlier","5662070vYlgbg","getRevisionsInDiff","requires"];return(Gi=function(){return t})()}function Ki(t,e){const i=Gi();return(Ki=function(t,e){return i[t-=357]})(t,e)}!function(t){const e=Ki,i=t();for(;;)try{if(725657===parseInt(e(373))/1+parseInt(e(372))/2*(-parseInt(e(409))/3)+-parseInt(e(376))/4+parseInt(e(388))/5*(parseInt(e(359))/6)+-parseInt(e(401))/7+-parseInt(e(362))/8*(-parseInt(e(390))/9)+-parseInt(e(404))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gi);class Xi extends Hi.Plugin{static get[Ji(406)](){return[Bi.Users]}static get[Ji(377)](){return Ji(411)}static get[Ji(397)](){return!0}static get[Ji(387)](){return!0}get[Ji(365)](){const t=Ji;return this[t(394)][t(365)]}constructor(e){const i=Ji;super(e),this[i(394)]=new t.Collection}[Ji(400)](){!async function(e){const i=k([116,49,88,121,79,114,74,103,75,98,119,56,118,99,111,104,66,108,70,120,73,87,81,106,85,97,67,65,105,113,100,89,86,76,84,55,71,112,80,69,115,48,82,83,51,53,102,117,107,54,57,68,50,101,109,78,72,77,110,52,122,90]),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=Ki;for(const e in window)if(window[k([78,117,109,98,101,114])][i(374)](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([116]);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=Ki;return t[e(386)]((t=>String[e(380)](t)))[e(368)]("")}!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:1740614400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Ki,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(357)]);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)}[Ji(393)](t){const e=Ji,i=this[e(369)][e(361)][e(381)](e(367));return new qi({id:t.id,name:t[e(384)],creator:t[e(371)]?i[e(408)](t[e(371)]):null,diffData:t[e(375)]||t[e(366)],authors:t[e(389)][e(386)]((t=>i[e(408)](t))),createdAt:new Date(t[e(379)]),attributes:t[e(378)],fromVersion:t[e(407)],toVersion:t[e(385)]})}[Ji(360)](t,e=0){const i=Ji;this[i(394)][i(364)](t,e)}[Ji(410)](t){const e=Ji;return this[e(394)][e(381)](t)}[Ji(395)](t={toJSON:!1}){const e=Ji,i=Array[e(398)](this[e(394)]);return i[e(402)](),t[e(391)]?i[e(386)]((t=>t[e(391)]())):i}[Ji(383)](t){const e=Ji;return this[e(394)][e(383)](t)}[Ji(392)](t){const e=Ji,[,i]=this[e(358)](t,{direction:e(403)});return i}[Ji(396)](t){const e=Ji,[,i]=this[e(358)](t,{direction:e(370)});return i}[Ji(405)](t){const e=Ji,i=[];for(const n of this[e(358)](t[e(399)]))if(i[e(382)](n),n.id===t[e(363)])break;return i}*[Ji(358)](t,{direction:e=Ji(403),filter:i=()=>!0}={}){const n=Ji,r=n(403)===e?1:-1;let s=this[n(394)][n(381)](t),o=this[n(383)](s);for(yield s;s;){if(o+=r,s=this[n(410)](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 He(t),new He(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=Nt(t),a=Nt(e),c=o?vn:Ue(t),u=a?vn:Ue(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||Ht(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)};function _n(){const t=["RevisionTracker","set","insertionPosition","_operations","add","element","sendBufferedUpdates","_authorId","previousPosition","_setConversion","data-revision-","_touchedMarkers","push","Users","_continueCurrentRevision","editing","_bufferUpdate","getRevisionRootsAttributes","editor-initial-data-replaced-with-revision-data","tableCell","_initialRevisionId","_removeRevisionMarkers","detachRoot","_touchedRoots","_prepareViewToSave","getOperation","revision:","_handleOperation","RevisionHistory","getRevisions","_getState","_startingRevisionId","isPremiumPlugin","rootsAttributes","forEach","_reset","fromVersion","fromEntries","currentRevision","trim","evaluationLimit","children","howMany","graveyardPosition","_isAttached","values","affectsData","insertions","setSource","addRevision","includes","licenseKey","targetPosition","revision-start","getRevisionDocumentData","getTransformedByOperation","roots","repository","createdAt","expired","max","toVersion","text","filter","_showLicenseError","slice","Initial revision","rootName","move","_isPendingUpdate","getRange","authors","usageLimit","_fixOperation","diffData","finally","isAttached","_handleInsertOperation","collaboration.channelId","_revisionId","attributes","item","_isInit","_replaceEditorDataWithRevisionData","keepParagraph","buildRevisionData","creatorId","_pendingAction","config","_source","_setAttribute","shift","1726996gNGBFO","split","reinsert","_addPendingAction","adapter","upcast","insert","newValue","saveRevision","_handleSplitOperation","domainLimit","isEqual","offset","resolve","dataDowncast","_idsRoots","_transformMarkers","revisionHistoryLicenseKeyNotAllowed","version","_cloneOperation","createRevision","_copyMarkers","getOperations","createPositionAt","stringify","4772072vgmZzu","createPositionBefore","addRevisionData","deletions","vid_end","RevisionsRepository","isReady","_loadedStateData","nodeAfter","getWalker","changeRootAttribute","_touched","_getVidAttributeName","_loadRevisionData","createPositionAfter","view","then","2922030BVtzii","removeRootAttribute","map","_findInsertionIndex","4701669lHWZIl","start","_bufferedUpdates","attributesAfter","destroy","_removeMetaData","updateRevisions","_appendChild","parse","getLatestVersion","marker","attributesBefore","getCurrentRevisionId","attachChange","getData","position","locale","trialLimit","init","sort","revision","PENDING_ACTION_REVISION_HISTORY","_diffRoots","_markers","isAdd","_makeModelFromViewString","conversion","default","_createInitialRevision","getChildren","_getBaseVids","createPositionFromPath","getTime","revisionHistoryLicenseKeyEvaluationLimit","_baseIdsRoots","name","marked","getUser","revisionHistoryLicenseKeyInvalid","_generateTape","get","markerToData","loadState","getAttributes","_removePendingAction","_insertChild","_handleRootOperation","afterInit","toData","size","requires","baseVersion","_markChanges","find","getRoot","_licenseKeyCheckInterval","insertion","startsWith","4379670mJOMsr","_clone","range","stickiness","_lastFrom","invalid","newRange","revisionHistoryLicenseKeyTrialLimit","update","_getPreviousFrom","isOfficialPlugin","reverse","type","model","createRangeIn","getMovedRangeStart","key","3646184FbOWsk","markers","_calculateMetaData","path","revisionHistory.resumeUnsavedRevision","getAncestors","PendingActions","toView","paragraph","elementStart","featureNotAllowed","isEnabled","parent","_baseRoots","processor","revisionHistoryLicenseKeyValid","getNodeByPath","remove","data","source","userId","clear","setRevisionData","vid_start","_applyOperations","_handleMarkerOperation","reInit","root","2753607UVZRLM","end","define","splitPosition","getChild","getAttribute","nodes","_getViewJson","revisionHistoryLicenseKeyUsageLimit","editor","has","offsetSize","for","revisionHistoryLicenseKeyDomainLimit","vid","oldRange","_update","getRootNames","getIndex","from","6BbiHvz","initialData","initial","_baseRootsAttributes","_revisionDataBuilder","creator","keys","childCount","hasContent","plugins","$graveyard","clone","addRoot","_diffRootsAttributes","length","some","_saveMetaData","revisionHistoryLicenseKeyExpired","NEGATIVE_INFINITY","$text","createRange","document","_loadState","_fixRange","history","authorsIds","deletion","_getFromVersion","sourcePosition","_handleMoveOperation","merge","_handleRootAttributeOperation","_makeRevision","revision-end","_savedMetaData","useFillerType","toModel","addRootAttribute","_execute","_createCurrentRevision","ready","bind","pluginName","Empty document","_fixPosition","elementEnd","_createFromRanges","dataToMarker","_makeIdsRoot","delete","getRevision","_handleMergeOperation","_startingVersion","_lastTo","string","documentFragment","_processRootBeforeSave","RealTimeCollaborationClient"];return(_n=function(){return t})()}const In=An;!function(t){const e=An,i=t();for(;;)try{if(926250===-parseInt(e(264))/1+-parseInt(e(306))/2+parseInt(e(413))/3+parseInt(e(289))/4+parseInt(e(368))/5+-parseInt(e(433))/6*(-parseInt(e(310))/7)+parseInt(e(385))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_n);const Sn={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class On extends Hi.Plugin{static get[In(475)](){return In(172)}static get[In(378)](){return!0}static get[In(204)](){return!0}static get[In(360)](){return[Bi.Users,Xi,Hi.PendingActions]}constructor(e){const i=In;super(e),this[i(268)]=null,this[i(210)]=null,this[i(437)]=new Tn(this[i(422)]),this[i(192)]=this[i(422)][i(260)][i(350)](i(250))||i(435),this[i(312)]=new Map,this[i(296)]=null;const n=(0,t.uid)();this[i(261)]={history:this[i(422)][i(381)][i(454)][i(457)],getLatestVersion:()=>Promise[i(277)](this[i(422)][i(381)][i(454)][i(282)]),getCurrentRevisionId:()=>n},this[i(173)](i(295),!1),this[i(173)](i(396),!0),this[i(173)](i(241),!1),this[i(422)][i(260)][i(415)](i(389),!0),this[i(422)][i(336)][i(425)](i(269))[i(480)]({view:i(330)})}[In(328)](){const t=In;this[t(229)]=this[t(422)][t(442)][t(350)](t(294)),this[t(181)](),this[t(422)][t(403)].on(t(473),(()=>{const e=t,i=this[e(229)][e(483)](0),n=i&&null===i[e(438)]?i:null;if(this[e(186)]=!!n&&this[e(422)][e(260)][e(350)](e(389)),this[e(422)][e(442)][e(423)](e(171))){const t=this[e(261)][e(322)](),r=this[e(229)][e(483)](t);if(r)this[e(485)]=r[e(208)],this[e(186)]=!1;else{const t=this[e(261)][e(457)][e(175)][e(363)]((t=>!t[e(254)])),r=t?t[e(361)]:this[e(261)][e(457)][e(282)];i?(i[e(233)]<r&&i[e(429)]({toVersion:r}),this[e(186)]?(this[e(261)][e(322)]=()=>n.id,this[e(485)]=n[e(208)]):(this[e(485)]=i[e(233)],this[e(186)]=!1)):(this[e(485)]=r,this[e(186)]=!1)}}else n&&(this[e(422)][e(381)][e(454)][e(457)][e(282)]=Math[e(232)](n[e(233)],this[e(422)][e(381)][e(454)][e(457)][e(282)]),n[e(208)]===n[e(233)]?(0!==n[e(208)]&&(this[e(261)][e(322)]=()=>n.id),this[e(186)]=!1):this[e(186)]&&(this[e(261)][e(322)]=()=>n.id,this[e(485)]=n[e(208)])),this[e(186)]||(this[e(485)]=this[e(422)][e(381)][e(454)][e(282)]);this[e(437)][e(328)](this[e(261)][e(457)]),this[e(338)](this[e(485)]),this[e(472)](this[e(485)]),this[e(268)]&&this[e(178)]()})),this[t(474)](t(295)).to(this,t(241),(t=>!t)),this[t(223)]=this[t(422)][t(260)][t(350)](t(223));const e=this[t(422)];this[t(365)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(400)==s||i(348)==s||i(450)==s||i(426)==s||i(281)==s||i(343)==s||i(375)==s||i(421)==s){delete e[r],n=s,clearInterval(this[i(365)]),this[i(365)]=void 0;break}}i(348)==n&&e[i(236)](i(373)),i(450)==n&&e[i(236)](i(231)),i(426)==n&&e[i(236)](i(274)),i(281)==n&&e[i(236)](i(395),i(200)),i(343)==n&&e[i(236)](i(212)),i(375)==n&&e[i(236)](i(327)),i(421)==n&&e[i(236)](i(244))}),1e3)}async[In(357)](){const t=In;if(this[t(229)][t(447)]>0){const e=this[t(229)][t(483)](0),i=await this[t(226)](e),n=await this[t(189)](e);this[t(255)](i,n)}}[In(314)](){const t=In;super[t(314)](),this[t(365)]&&clearInterval(this[t(365)])}[In(220)](t){this[In(261)]=t}async[In(376)](){const t=In,e=await this[t(261)][t(319)]();if(e>this[t(210)][t(233)]){await this[t(455)]();const i=this[t(257)]({revision:this[t(210)],to:e});i[t(243)]=i[t(458)][t(308)]((e=>this[t(422)][t(442)][t(350)](t(185))[t(347)](e))),this[t(210)][t(429)](i)}}async[In(455)](){const t=In;this[t(186)]&&!this[t(296)]&&(await this[t(302)](this[t(210)]),this[t(437)][t(352)](this[t(210)]),this[t(296)]={fromVersion:this[t(210)][t(208)],authors:this[t(210)][t(243)][t(237)]()})}async[In(272)](e={},i=null){const n=In,r=[];await this[n(455)](),this[n(186)]=!1,i>this[n(210)][n(233)]&&(i=null),null===i&&(i=await this[n(261)][n(319)]());const s=this[n(460)](i),o=this[n(257)]({from:s,to:i});if(this[n(210)][n(233)]<i){const t=this[n(257)]({revision:this[n(210)],from:i,to:i});t[n(243)]=[],t[n(458)]=[],t.id=this[n(210)].id,this[n(210)][n(429)](t,!0),delete t[n(243)],r[n(184)](t)}e[n(258)]=this[n(422)][n(442)][n(350)](n(185)).me.id,e[n(345)]=e[n(345)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(291)](e);r[n(184)](e);const c=this[n(229)][n(431)](a);if(0!==c){const t=this[n(229)][n(483)](c-1);if(t[n(208)]!==i){const s=this[n(437)][n(324)](i,t[n(233)]),o={id:t.id,diffData:s[n(246)],authorsIds:s[n(458)],authors:s[n(458)][n(308)]((t=>this[n(422)][n(442)][n(350)](n(185))[n(347)](t))),fromVersion:i};t===this[n(210)]&&(o[n(230)]=new Date(e[n(230)][n(342)]()+10)),t[n(429)](o,!0),delete o[n(243)],r[n(184)](o)}}if(this[n(268)]){for(const t of r)this[n(188)](t.id,t,!0);this[n(178)]()}return a}[In(291)](t){const e=In,i=this[e(229)][e(284)](t);return this[e(268)]&&i.on(e(429),((t,i,n)=>{const r=e;n||(this[r(188)](i.id,i,!0),this[r(178)]())})),this[e(229)][e(221)](i,this[e(309)](i)),i}async[In(226)](t){const e=In;await this[e(302)](t);const i={};for(const n in t[e(246)]){if(t[e(246)][n][e(323)]&&!t[e(246)][n][e(323)][e(248)])continue;const r=this[e(193)](JSON[e(318)](t[e(246)][n][e(219)])),s=this[e(422)][e(187)][e(304)][e(454)],o=new Yi.ViewDocumentFragment(s,r[e(308)]((t=>xn(t,this[e(422)]))));this[e(422)][e(403)][e(399)][e(468)](e(346)),i[n]=this[e(422)][e(403)][e(399)][e(358)](o),this[e(422)][e(403)][e(399)][e(468)](e(337))}return i}async[In(189)](t){const e=In;await this[e(302)](t);const i={};for(const n in t[e(246)])t[e(246)][n][e(323)]&&!t[e(246)][n][e(323)][e(248)]||(i[n]=t[e(246)][n][e(313)]||{});return i}[In(178)](){const t=In;if(0===this[t(312)][t(359)])return;if(this[t(241)])return;let e=Array[t(432)](this[t(312)][t(217)]());this[t(312)][t(406)]();for(let i=0;i<e[t(447)];i++){const n=e[i];let r=!1;for(const e of Object[t(439)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(235)]((t=>null!==t)),!e[t(447)])return;for(let i=0;i<e[t(447)];i++){const n=e[i];void 0!==n[t(208)]&&void 0===n[t(233)]&&(n[t(233)]=this[t(229)][t(483)](n.id)[t(233)]),void 0!==n[t(233)]&&void 0===n[t(208)]&&(n[t(208)]=this[t(229)][t(483)](n.id)[t(208)])}const i=this[t(422)][t(260)][t(350)](t(250));this[t(241)]=!0,this[t(267)](),this[t(268)][t(316)](e,i)[t(247)]((()=>{this[t(241)]=!1}))[t(305)]((e=>{const i=t;if(e)for(const t of e)this[i(407)]({id:t.id,createdAt:t[i(230)]});this[i(354)](),this[i(178)]()}))}[In(255)](e,i){const n=In;let r=this[n(422)][n(260)][n(350)](n(434)),s=this[n(422)][n(260)][n(350)](n(205));if(void 0===r){r={};for(const t of this[n(422)][n(381)][n(454)][n(430)]())r[t]=""}if(n(168)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(422)][n(381)][n(454)][n(430)]())s[t]={}}let o=!1;const a=Object[n(439)](r),c=Object[n(439)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(211)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(439)](s[t])[n(447)]>0){o=!0;break}}o||(o=c[n(448)]((t=>!this[n(422)][n(381)][n(454)][n(364)](t)))),o&&(0,t.logWarning)(n(190),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(422)][n(260)][n(173)](n(434),e),this[n(422)][n(260)][n(173)](n(205),i)}[In(267)](){const t=In;if(!this[t(259)]){const e=this[t(422)][t(442)][t(350)](t(391));this[t(259)]=e[t(176)](Qi(this[t(422)][t(326)],t(331)))}}[In(354)](){const t=In;this[t(259)]&&(this[t(422)][t(442)][t(350)](t(391))[t(402)](this[t(259)]),this[t(259)]=null)}[In(309)](t){const e=In,i=this[e(229)][e(201)]();i[e(379)]();let n=0;for(;n<i[e(447)];){const r=i[n];if(r===this[e(210)]){n++;continue}if(r.id===this[e(192)])break;const s=t[e(233)]-r[e(233)]||t[e(208)]-r[e(208)];if(s>0)break;if(s<0)n++;else{if(!t[e(438)]&&r[e(438)])break;if(r[e(438)]||!t[e(438)]){if(t[e(230)]>r[e(230)])break;n++}else n++}}return n}[In(407)](t){const e=In,i=this[e(229)][e(483)](t.id);if(t[e(230)]&&(t[e(230)]=new Date(t[e(230)])),t[e(458)]){const i=this[e(422)][e(442)][e(350)](e(185));t[e(243)]=t[e(458)][e(308)]((t=>i[e(347)](t)))}i[e(429)](t,!0)}[In(257)]({revision:t=null,from:e=null,to:i=null}){const n=In;e=null!==e?e:t[n(208)],i=null!==i?i:t[n(233)];const r=this[n(437)][n(324)](e,i),s={diffData:r[n(246)],authorsIds:r[n(458)],fromVersion:e,toVersion:i};if(!t||i!==t[n(233)]){const t=i-1,e=this[n(261)][n(457)][n(197)](t);s[n(230)]=e&&e[n(230)]||new Date}if(this[n(296)]&&e===this[n(296)][n(208)])for(const t of this[n(296)][n(243)])s[n(458)][n(222)](t.id)||s[n(458)][n(184)](t.id);return s}[In(302)](t){const e=In;if(!t||t[e(246)])return Promise[e(277)]();{const i=this[e(422)][e(260)][e(350)](e(250));return this[e(268)][e(483)]({channelId:i,revisionId:t.id})[e(305)]((i=>{const n=e;t[n(246)]=i[n(246)]}))}}[In(188)](t,e,i){const n=In;if(this[n(312)][n(423)](t)){const r=this[n(312)][n(350)](t);e=i?{...r,...e}:{...e,...r}}this[n(312)][n(173)](t,e)}[In(460)](t){const e=In,i=this[e(229)][e(201)]();i[e(379)](),i[e(263)]();const n=i[e(363)]((i=>i[e(233)]<=t))[e(233)];return n<this[e(485)]?this[e(485)]:n}[In(338)](t){const e=In,i=this[e(229)][e(483)](this[e(229)][e(447)]-1);if(i)this[e(192)]=i.id;else{const i=!this[e(422)][e(381)][e(454)][e(228)][e(363)]((t=>this[e(422)][e(381)][e(441)](t))),n=this[e(422)][e(442)][e(350)](e(185)).me.id,r=Qi(this[e(422)][e(326)],e(i?476:238));this[e(465)]({from:t,to:t,id:this[e(192)],name:r,creatorId:n})}}[In(472)](t){const e=In,i=this[e(261)][e(322)]();this[e(210)]=this[e(229)][e(483)](i),this[e(210)]||(this[e(210)]=this[e(465)]({from:t,to:t,id:i,name:"",creatorId:null}))}[In(465)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=In,o=this[s(257)]({from:e,to:i});o[s(345)]=t,o[s(258)]=n,o.id=r;const a=this[s(291)](o);return this[s(268)]&&this[s(188)](o.id,o,!0),a}[In(181)](){const t=In;this[t(422)][t(336)][t(425)](t(278))[t(351)]({model:t(330)})}[In(193)](t){const e=In;return(t=t[e(235)]((t=>!t[e(345)]||e(225)!==t[e(345)]&&e(466)!==t[e(345)])))[e(206)]((t=>{const i=e;i(168)!=typeof t&&(t[i(213)]=this[i(193)](t[i(213)]),t[i(252)]=t[i(252)][i(235)]((t=>!t[0][i(367)](i(182)))))})),t}}function xn(t,e){const i=In,n=e[i(187)][i(304)][i(454)];if(i(168)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(213)][i(308)]((t=>xn(t,e)));return new(Sn[t[i(380)]]||Yi.ViewElement)(n,t[i(345)],t[i(252)],r)}}class Tn{constructor(t){const e=In;this[e(422)]=t,this[e(467)]=new Map,this[e(372)]=-1,this[e(167)]=-1,this[e(333)]=new Map,this[e(332)]=new Map,this[e(446)]=new Map,this[e(398)]=new Map,this[e(436)]=new Map,this[e(279)]=new Map,this[e(344)]=new Map,this[e(300)]=new Map,this[e(183)]=new Map,this[e(195)]=new Map,this[e(251)]=1}[In(328)](t){const e=In;this[e(404)]=t;const i=new Map,n=new Map,r=this[e(422)][e(381)][e(454)][e(228)][e(308)]((t=>t[e(239)]));for(const t of r){const r=this[e(422)][e(381)][e(454)][e(364)](t),s=Nn(r);i[e(173)](t,s),n[e(173)](t,Object[e(209)](r[e(353)]()))}const s=Array[e(432)](this[e(422)][e(381)][e(386)])[e(308)]((t=>[t[e(345)],t[e(242)]()])),o=this[e(404)][e(282)];this[e(449)](o,i,s,n),this[e(203)]=this[e(251)];const a=new Map,c=new Map;for(const t of r){const i=Mn(t);a[e(173)](t,i),c[e(173)](t,{})}this[e(449)](Number[e(451)],a,[],c)}[In(324)](t,e){const i=In;if(this[i(372)]===t&&this[i(167)]<=e)this[i(467)][i(359)]>1&&this[i(315)](this[i(167)]),this[i(409)](this[i(167)],e,!0);else{if(!this[i(467)][i(423)](t)){const e=this[i(377)](t);this[i(387)](e,t,!1)}this[i(387)](t,e,!0)}return this[i(372)]=t,this[i(167)]=e,this[i(202)]()}[In(352)](t){const e=In;this[e(207)](),this[e(372)]=t[e(208)],this[e(167)]=t[e(233)];for(const i in t[e(246)]){const n=t[e(246)][i][e(323)],r=vi(t[e(246)][i][e(321)])||{},s=this[e(335)](t[e(246)][i][e(292)]);s[e(239)]=i,s[e(216)]=!n||!n[e(248)],s[e(248)]=()=>s[e(216)],this[e(398)][e(173)](i,s),this[e(436)][e(173)](i,r),n&&this[e(195)][e(173)](i,n);const o=this[e(481)](s);this[e(344)][e(173)](i,o);for(const[t,i]of s[e(386)]){if(!t[e(367)](e(198)))continue;const n=t[e(265)](":")[2];for(const t of i[e(298)]({singleCharacters:!0})){const i=this[e(301)](t),r=e(478)==t[e(380)]?t[e(180)][e(388)][e(237)](0,-1):t[e(180)][e(388)],s=o[e(401)](r)[e(418)](i);this[e(300)][e(173)](s,{userId:n})}}}this[e(203)]=this[e(251)];const i=[...Array(this[e(251)])[e(439)]()][e(237)](1)[e(235)]((t=>!this[e(300)][e(423)](t)));let n=0;const r=new Map;for(const s in t[e(246)]){const o=t[e(246)][s][e(323)],a=vi(t[e(246)][s][e(313)])||{},c=this[e(335)](t[e(246)][s][e(219)]);c[e(239)]=s,c[e(216)]=!o||o[e(248)],c[e(248)]=()=>c[e(216)],this[e(332)][e(173)](s,c),this[e(446)][e(173)](s,a);const u=this[e(481)](c,Number[e(451)]);this[e(279)][e(173)](s,u),r[e(173)](s,c[e(248)]()?a:{});for(const[t,i]of c[e(386)]){if(!t[e(367)](e(198)))continue;const n=t[e(265)](":")[2];for(const t of i[e(298)]({singleCharacters:!0})){const i=this[e(301)](t),r=this[e(251)]++,s=e(478)==t[e(380)]?t[e(180)][e(388)][e(237)](0,-1):t[e(180)][e(388)];u[e(401)](s)[e(262)](i,r),this[e(300)][e(173)](r,{userId:n})}}for(const t of this[e(422)][e(381)][e(382)](c)[e(298)]({singleCharacters:!0})){const r=this[e(301)](t),s=e(478)==t[e(380)]?t[e(180)][e(388)][e(237)](0,-1):t[e(180)][e(388)],o=u[e(401)](s);o[e(418)](r)>0||o[e(262)](r,i[n++])}for(const[t,i]of c[e(386)])t[e(367)](e(198))||this[e(333)][e(173)](t,i)}const s=Mn(e(443));this[e(398)][e(173)](e(443),s),this[e(344)][e(173)](e(443),this[e(481)](s,1));const o=Mn(e(443));this[e(332)][e(173)](e(443),o),this[e(279)][e(173)](e(443),this[e(481)](o,1));const a=Array[e(432)](this[e(332)])[e(308)]((([t,e])=>[t,Nn(e)]));this[e(449)](this[e(167)],a,this[e(333)],r)}[In(335)](t){const e=In,i=JSON[e(318)](t),n=this[e(422)][e(187)][e(304)][e(454)],r=new Yi.ViewDocumentFragment(n,i[e(308)]((t=>xn(t,this[e(422)]))));return this[e(422)][e(403)][e(469)](r)}[In(449)](t,e,i,n){const r=In,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(173)](t,{start:e[r(311)][r(444)](),end:e[r(414)][r(444)](),rootName:e[r(412)][r(239)]});this[r(467)][r(173)](t,{roots:s,markers:a,rootsAttributes:o})}[In(315)](t){const e=In;this[e(467)][e(482)](t)}[In(411)](){const t=In;this[t(207)](),this[t(372)]=-1,this[t(167)]=-1,this[t(467)][t(406)](),this[t(328)](this[t(404)])}[In(207)](){const t=In;this[t(300)][t(406)](),this[t(183)][t(406)](),this[t(195)][t(406)](),this[t(332)][t(406)](),this[t(446)][t(406)](),this[t(398)][t(406)](),this[t(436)][t(406)](),this[t(279)][t(406)](),this[t(344)][t(406)](),this[t(333)][t(406)](),this[t(251)]=1,this[t(203)]=this[t(251)]}[In(481)](t,e=null){const i=In;let n=null;t.is(i(169))||(n=new Yi.Element(t[i(345)],{vid_start:null===e?this[i(251)]++:e++}));const r=[];for(const n of t[i(339)]())if(n.is(i(177))){r[i(184)](this[i(481)](n,e));const t=r[r[i(447)]-1];null!==e&&(e=t.is(i(177),i(452))?t[i(418)](i(427))+1:t[i(418)](i(293))+1)}else for(let t=0;t<n[i(424)];t++)r[i(184)](new Yi.Element(i(452),{vid:null===e?this[i(251)]++:e++}));if(t.is(i(169))){const e=Mn(t[i(239)]);return e[i(355)](0,r),e}return n[i(262)](i(293),null===e?this[i(251)]++:e++),n[i(355)](0,r),n}[In(387)](t,e,i){const n=In;this[n(207)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(467)][n(350)](t);this[n(398)]=new Map(r),this[n(436)]=new Map(vi(o));for(const[t,e]of this[n(398)])if(n(443)!==t&&(this[n(332)][n(173)](t,Nn(e)),this[n(446)]=new Map(vi(o)),i)){const i=this[n(251)];this[n(279)][n(173)](t,this[n(481)](e)),this[n(344)][n(173)](t,this[n(481)](e,i))}this[n(203)]=this[n(251)],this[n(332)][n(173)](n(443),Nn(this[n(398)][n(350)](n(443)))),i&&this[n(279)][n(173)](n(443),this[n(481)](this[n(398)][n(350)](n(443))));for(const[t,e]of s){const i=this[n(398)][n(350)](e[n(239)]),r=this[n(332)][n(350)](e[n(239)]),s=new Yi.Range(this[n(477)](e[n(311)],i),this[n(477)](e[n(414)],i)),o=this[n(456)](s,r);i[n(386)][n(173)](t,s),this[n(333)][n(173)](t,o)}this[n(409)](t,e,i)}[In(409)](t,e,i){const n=In;for(const r of this[n(404)][n(286)](t,e))this[n(199)](r,i);for(const t of this[n(332)][n(217)]())t[n(386)][n(406)]();for(const[t,e]of this[n(333)])this[n(332)][n(350)](e[n(412)][n(239)])[n(386)][n(173)](t,e[n(444)]());const r=new Map,s=new Map;for(const[t,e]of this[n(332)])r[n(173)](t,Nn(e)),s[n(173)](t,this[n(446)][n(350)](t));this[n(449)](e,r,this[n(333)],s)}[In(377)](t){const e=In,i=Array[e(432)](this[e(467)][e(439)]());i[e(329)](((t,e)=>t-e)),i[e(379)]();for(const e of i)if(e<t)return e;return Number[e(451)]}[In(285)](t,e){const i=In,n=Array[i(432)](e[i(386)])[i(308)]((([e,n])=>[e,this[i(456)](n,t)]));t[i(386)]=new Map(n)}[In(280)](t){const e=In;for(const i of this[e(333)][e(217)]()){const n=i[e(227)](t),r=Yi.Range[e(479)](n);i[e(311)]=r[e(311)],i[e(414)]=r[e(414)]}}[In(199)](t,e){const i=In;if(i(445)!=t[i(380)]&&i(194)!=t[i(380)]){if(i(270)==t[i(380)]){const n=t[i(325)][i(412)][i(239)];this[i(332)][i(423)](n)||(this[i(332)][i(173)](n,Mn(n,!0)),this[i(446)][i(173)](n,{}),e&&this[i(279)][i(173)](n,Mn(n,!0)))}else{if(i(470)==t[i(380)]||i(307)==t[i(380)]||i(299)==t[i(380)])return void this[i(464)](t);i(320)==t[i(380)]&&this[i(410)](t)}if(i(320)!==t[i(380)]){const e=this[i(283)](t,this[i(332)]);e[i(471)](),this[i(280)](e)}if(e)switch(t[i(380)]){case i(270):this[i(249)](t);break;case i(240):case i(402):case i(266):this[i(462)](t);break;case i(463):this[i(484)](t);break;case i(265):this[i(273)](t)}}else this[i(356)](t,e)}[In(283)](t,e){const i=In,n=t[i(444)]();return n[i(179)]=t[i(179)],this[i(245)](n,e),n}[In(340)](t){const e=In;return t[e(308)]((t=>{const i=e,n=this[i(301)](t);return Number(t[i(253)][i(418)](n))}))}[In(349)](t,e){const i=In;if(t.is(i(177),i(452)))e[i(184)]({item:t,type:i(234)});else{t.is(i(177))&&e[i(184)]({item:t,type:i(394)});for(const n of t[i(339)]())this[i(349)](n,e);t.is(i(177))&&e[i(184)]({item:t,type:i(478)})}return e}[In(202)](){const t=In,e=new Map(this[t(300)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(398)][t(439)](),...this[t(332)][t(439)]()]);a[t(482)](t(443));for(const e of a){const i=this[t(332)][t(350)](e)||Mn(e,!1),n=this[t(398)][t(350)](e)||Mn(e,!1);i[t(248)]()||n[t(248)]()?(r[t(219)][e]=Nn(i),r[t(292)][e]=Nn(n),this[t(285)](r[t(292)][e],n),this[t(285)](r[t(219)][e],i),s[t(219)][e]=this[t(349)](this[t(279)][t(350)](e),[]),s[t(292)][e]=this[t(349)](this[t(344)][t(350)](e)||Mn(e,!1),[])):a[t(482)](e)}for(const r of a){const o=s[t(219)][r];for(const r of o){const s=this[t(301)](r),o=r[t(253)][t(418)](s);i[t(482)](o),o>=this[t(203)]&&n[t(173)](o,e[t(350)](o))}}for(const r of a){const a=s[t(219)][r],c=this[t(340)](s[t(292)][r]);let u=0;for(const r of a){const s=this[t(301)](r),a=r[t(253)][t(418)](s);if(!n[t(423)](a)&&!o[t(423)](a))if(i[t(423)](a))u++;else{if(a!=c[u]){const n=e[t(350)](a)||e[t(350)](c[u]);for(;a!=c[u];)i[t(423)](c[u])||(o[t(173)](c[u],n),e[t(173)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(219)][e];for(const e of r){const r=this[t(301)](e),s=e[t(253)][t(418)](r);if(o[t(423)](s)){const e=o[t(350)](s);i[t(423)](s)||i[t(173)](s,{...e}),n[t(173)](s,{...e})}}}for(const e of i[t(439)]())e>=this[t(203)]&&i[t(482)](e);const c=new Map;for(const e of a){let r=s[t(219)][e];for(const e of r)if(e[t(253)].is(t(177),t(191))){const i=this[t(301)](e),r=e[t(253)][t(418)](i);if(n[t(423)](r)){const i=e[t(253)][t(397)][t(397)][t(418)](t(408)),s=c[t(350)](i)||new Set;s[t(176)](n[t(350)](r)[t(405)]),c[t(173)](i,s)}}r=s[t(292)][e];for(const e of r)if(e[t(253)].is(t(177),t(191))){const n=this[t(301)](e),r=e[t(253)][t(418)](n);if(i[t(423)](r)){const n=e[t(253)][t(397)][t(397)][t(418)](t(408)),s=c[t(350)](n)||new Set;s[t(176)](i[t(350)](r)[t(405)]),c[t(173)](n,s)}}for(const e of c[t(439)]())(n[t(423)](e)||i[t(423)](e))&&c[t(482)](e)}for(const e of a){const r=s[t(219)][e];let o=null,a=null;for(const e of r){const r=this[t(301)](e),s=e[t(253)][t(418)](r),u=c[t(350)](s);u&&t(394)==e[t(380)]&&(o=Array[t(432)](u)[0],a=e[t(253)][t(418)](t(293))),o&&(i[t(173)](s,{userId:o}),n[t(173)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(292)][e],a=r[t(219)][e];for(const{userId:e}of this[t(183)][t(217)]())null!==e&&l[t(176)](e);for(const{userId:e}of this[t(195)][t(217)]())null!==e&&l[t(176)](e);this[t(362)](a,s[t(219)][e],n,t(366),l),this[t(362)](o,s[t(292)][e],i,t(459),l),u[e]={insertions:this[t(196)](a),deletions:this[t(196)](o),attachChange:this[t(195)][t(350)](e)||null,attributesBefore:vi(this[t(436)][t(350)](e))||{},attributesAfter:vi(this[t(446)][t(350)](e))}}return{diffData:u,authorsIds:Array[t(432)](l)}}[In(170)](t){const e=In;for(const[,i]of t[e(386)]){const t=i[e(311)][e(390)]()[e(235)]((t=>e(191)==t[e(345)]));for(const i of t)1==i[e(440)]&&i[e(417)](0).is(e(177),e(393))&&i[e(417)](0)[e(262)](e(256),!0)}}[In(196)](t){const e=In;this[e(170)](t);const i=this[e(422)][e(403)][e(392)](t,{}),n=Array[e(432)](i[e(339)]())[e(308)]((t=>this[e(420)](t)));return JSON[e(288)](n)}[In(420)](t){const e=In;if(t.is(e(452)))return t[e(403)];{const i=t;return{type:Object[e(439)](Sn)[e(363)]((e=>t instanceof Sn[e])),name:i[e(345)],attributes:Array[e(432)](i[e(353)]()),children:Array[e(432)](i[e(339)]())[e(308)]((t=>this[e(420)](t)))}}}[In(362)](t,e,i,n,r){const s=In;let o=null,a=null,c=0;const u=this[s(422)][s(381)];for(let n=0;n<e[s(447)];n++){const r=this[s(301)](e[n]),c=e[n][s(253)][s(418)](r),h=i[s(350)](c),d=n==e[s(447)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(405)]!=o[s(405)])&&(l(h,Rn(a,t,u),Rn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Rn(a,t,u),Vn(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(405)],d=l(198)+n+":"+h+":"+c++,f=u[l(453)](i,a);t[l(386)][l(173)](d,f),null!==h&&r[l(176)](h)}}[In(301)](t){const e=In;switch(t[e(380)]){case e(394):return e(408);case e(478):return e(293);default:return e(427)}}[In(245)](t,e){const i=In;t[i(361)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(350)](r[i(412)][i(239)]);t[n]=this[i(477)](r,s)}if(r instanceof Yi.Range){const s=e[i(350)](r[i(412)][i(239)]);t[n]=this[i(456)](r,s)}i(412)===n&&(t[i(412)]=e[i(350)](t[i(412)][i(239)]))}}[In(456)](t,e){const i=In;return this[i(422)][i(381)][i(453)](this[i(477)](t[i(311)],e),this[i(477)](t[i(414)],e))}[In(477)](t,e){const i=In;return this[i(422)][i(381)][i(341)](e,t[i(388)],t[i(371)])}[In(249)](t){const e=In,i=this[e(279)][e(350)](t[e(325)][e(412)][e(239)]),n=this[e(477)](t[e(325)],i),r=null===t[e(179)]?null:t[e(179)]||this[e(422)][e(442)][e(350)](e(185)).me.id,s=n[e(397)],o=this[e(251)],a=[];for(const i of t[e(419)])if(i.is(e(177)))a[e(184)](this[e(481)](i));else for(let t=0;t<i[e(424)];t++)a[e(184)](new Yi.Element(e(452),{vid:this[e(251)]++}));const c=this[e(251)];for(let t=o;t<c;t++)this[e(300)][e(173)](t,{userId:r});s[e(355)](n[e(276)],a)}[In(462)](t){const e=In;(t=this[e(283)](t,this[e(279)]))[e(471)]();const i=null===t[e(179)]?null:t[e(179)]||this[e(422)][e(442)][e(350)](e(185)).me.id,n=t[e(383)](),r=n[e(397)],s=n[e(276)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(417)](e);s.is(a(177),a(452))?n[a(173)](s[a(418)](a(427)),{userId:i}):(n[a(173)](s[a(418)](a(408)),{userId:i}),t(n,s,0,s[a(440)]),n[a(173)](s[a(418)](a(293)),{userId:i}))}}(this[e(300)],r,s,s+t[e(214)])}[In(484)](t){const e=In,i=null===(t=this[e(283)](t,this[e(279)]))[e(179)]?null:t[e(179)]||this[e(422)][e(442)][e(350)](e(185)).me.id,n=t[e(224)][e(397)],r=t[e(461)][e(397)],s=n[e(418)](e(293)),o=r[e(418)](e(408));n[e(262)](e(293),r[e(418)](e(293))),r[e(262)](e(293),s),this[e(300)][e(173)](o,{userId:i}),this[e(300)][e(173)](s,{userId:i}),t[e(471)]()}[In(273)](t){const e=In,i=null===(t=this[e(283)](t,this[e(279)]))[e(179)]?null:t[e(179)]||this[e(422)][e(442)][e(350)](e(185)).me.id,n=t[e(215)],r=t[e(416)][e(397)];t[e(471)]();const s=r[e(418)](e(293)),o=t[e(174)][e(297)];if(n){const t=o[e(418)](e(293)),n=r[e(418)](e(293));r[e(262)](e(293),t),o[e(262)](e(293),n),this[e(300)][e(173)](r[e(418)](e(293)),{userId:i}),this[e(300)][e(173)](o[e(418)](e(408)),{userId:i})}else{const t=this[e(251)]++,n=this[e(251)]++;r[e(262)](e(293),t),o[e(262)](e(408),n),o[e(262)](e(293),s),this[e(300)][e(173)](t,{userId:i}),this[e(300)][e(173)](n,{userId:i})}}[In(410)](t){const e=In;if(!t[e(218)])return;const i=(t=this[e(283)](t,this[e(332)]))[e(428)]?t[e(428)][e(412)]:null,n=t[e(374)]?t[e(374)][e(412)]:null;i&&this[e(333)][e(482)](t[e(345)]),n&&this[e(333)][e(173)](t[e(345)],t[e(374)][e(444)]());const r=null===t[e(179)]?null:t[e(179)]||this[e(422)][e(442)][e(350)](e(185)).me.id,s=t[e(345)];if(!this[e(183)][e(423)](s))return void this[e(183)][e(173)](s,{range:t[e(428)],userId:r});const o=this[e(183)][e(350)](s),a=o[e(370)],c=t[e(374)];null==a&&null==c||a&&c&&a[e(275)](c)?this[e(183)][e(482)](t[e(345)]):o[e(405)]=r}[In(356)](t,e){const i=In;this[i(332)][i(423)](t[i(239)])?this[i(332)][i(350)](t[i(239)])[i(216)]=t[i(334)]:(this[i(332)][i(173)](t[i(239)],Mn(t[i(239)],!0)),this[i(446)][i(173)](t[i(239)],{}),e&&this[i(279)][i(173)](t[i(239)],Mn(t[i(239)],!0)));const n=null===t[i(179)]?null:t[i(179)]||this[i(422)][i(442)][i(350)](i(185)).me.id,r=this[i(195)][i(350)](t[i(239)]);r&&r[i(405)]===n?this[i(195)][i(482)](t[i(239)]):this[i(195)][i(173)](t[i(239)],{userId:n,isAttached:t[i(334)]})}[In(464)](t){const e=In,i=this[e(446)][e(350)](t[e(412)][e(239)]);null===t[e(271)]?delete i[t[e(384)]]:i[t[e(384)]]=t[e(271)]}}function An(t,e){const i=_n();return(An=function(t,e){return i[t-=167]})(t,e)}function Nn(t){const e=In,i=Mn(t[e(239)],t[e(248)]());for(const n of t[e(339)]()){const t=n[e(369)](!0);i[e(317)](t)}return i}function Mn(t,e=!0){const i=In,n=new Yi.DocumentFragment;return n[i(239)]=t,n[i(216)]=e,n[i(248)]=()=>n[i(216)],n}function Rn(t,e,i){const n=In,r=n(478)==t[n(380)]?i[n(287)](t[n(253)],n(414)):i[n(290)](t[n(253)]);return i[n(341)](e,r[n(388)],r[n(371)])}function Vn(t,e,i){const n=In,r=n(394)==t[n(380)]?i[n(287)](t[n(253)],0):i[n(303)](t[n(253)]);return i[n(341)](e,r[n(388)],r[n(371)])}var En=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),Zn=i(357),Un=i.n(Zn),$n=i(426),qn={attributes:{"data-cke":!0}};qn.setAttributes=Wn(),qn.insert=Pn().bind(null,"head"),qn.domAPI=Fn(),qn.insertStyleElement=Un();Cn()($n.A,qn);$n.A&&$n.A.locals&&$n.A.locals;var Hn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Pn().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Un();Cn()(Hn.A,Bn);Hn.A&&Hn.A.locals&&Hn.A.locals;const Yn=Gn;function Jn(){const t=["380679rhcyHv","2151873CxqBdr","14bTTyOm","label","arrowup","2188388evkKOb","1553019AYNJmN","ck-revision-history-save-revision-form","reset","keystrokes","listenTo","revisionNameInputValue","locale","Name of the revision","34810sBGpFv","arrowright","set","17919984CSNtLN","_createRevisionNameInput","focus","form","value","stopPropagation","focusTracker","input","optional","extendTemplate","1037757FogeTz","add","arrowleft","fieldView","arrowdown","trim","77pGfVDN","revisionName","element","ck-responsive-form","5ZwDJNq","render","24hpqxcJ","revisionNameInputView","72bOKRnr","220","setTemplate","errorText"];return(Jn=function(){return t})()}function Gn(t,e){const i=Jn();return(Gn=function(t,e){return i[t-=423]})(t,e)}!function(t){const e=Gn,i=t();for(;;)try{if(915569===parseInt(e(445))/1+-parseInt(e(441))/2*(-parseInt(e(439))/3)+parseInt(e(444))/4*(-parseInt(e(431))/5)+-parseInt(e(435))/6*(parseInt(e(466))/7)+parseInt(e(433))/8*(-parseInt(e(440))/9)+parseInt(e(453))/10*(parseInt(e(427))/11)+parseInt(e(456))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jn);class Kn extends En.View{constructor(e,i){const n=Gn;super(e),this[n(462)]=new t.FocusTracker,this[n(448)]=new t.KeystrokeHandler,this[n(455)](n(450),""),this[n(434)]=this[n(457)](i),this[n(437)]({tag:n(459),attributes:{class:["ck",n(446),n(430)],tabindex:"-1"},children:[this[n(434)]]}),(0,En.injectCssTransitionDisabler)(this)}[Yn(432)](){const t=Yn;super[t(432)](),(0,En.submitHandler)({view:this}),this[t(462)][t(467)](this[t(434)][t(429)]),this[t(448)][t(449)](this[t(429)]);const e=e=>e[t(461)]();this[t(448)][t(455)](t(454),e),this[t(448)][t(455)](t(423),e),this[t(448)][t(455)](t(443),e),this[t(448)][t(455)](t(425),e)}[Yn(458)](){const t=Yn;this[t(434)][t(458)]()}get[Yn(428)](){const t=Yn;return this[t(434)][t(424)][t(429)][t(460)][t(426)]()}set[Yn(428)](t){const e=Yn;this[e(434)][e(424)][e(429)][e(460)]=t[e(426)]()}[Yn(447)](){const t=Yn;this[t(434)][t(424)][t(429)][t(460)]="",this[t(434)][t(438)]=null}[Yn(457)](t){const e=Yn,i=new En.LabeledFieldView(this[e(451)],En.createLabeledInputText),n=i[e(424)];n[e(465)]({attributes:{maxlength:e(436)}});let r=Qi(this[e(451)],e(452));return!t&&(r+=" ("+Qi(this[e(451)],e(464))+")"),i[e(442)]=r,n.on(e(463),(()=>{const t=e;this[t(450)]=n[t(429)][t(460)][t(426)]()})),i}}const Xn=tr;function Qn(){const t=["componentFactory","set","The revision name cannot be empty.","history","pluginName","_createSaveRevisionFormView","Dialog","Open revision history","Accept","menuitem","isOpen","items","38288459uOstzo","Save current revision","revisionName","reset","isOfficialPlugin","revisionNameInputView","12FhraoA","menu","render","revisionSave","isPremiumPlugin","revisionHistory","add","16528YaTPgc","requires","_showDialog","editor","saveRevision","4514244AjTWDU","panelView","locale","delegate","show","init","_registerMenuComponent","Cancel","79595Dlsixt","RevisionTracker","revisionHistory.requireRevisionName","3143fIBYcF","hide","Revision history","config","view","menuBar:revisionHistory","bind","1kajDTR","_saveRevisionFormView","showRevisionViewerCallback","submit","role","editing","execute","get","10aHIlhv","errorText","2717434ctFGdC","isReadOnly","children","plugins","12rPHIeF","isEnabled","focus","467202YnAgMq","addMany","RevisionHistoryUI","isReady","14452335jYfewI","buttonView","ck-button-action"];return(Qn=function(){return t})()}function tr(t,e){const i=Qn();return(tr=function(t,e){return i[t-=364]})(t,e)}!function(t){const e=tr,i=t();for(;;)try{if(841060===parseInt(e(392))/1*(-parseInt(e(402))/2)+parseInt(e(409))/3+parseInt(e(374))/4+parseInt(e(382))/5*(-parseInt(e(406))/6)+-parseInt(e(385))/7*(parseInt(e(369))/8)+parseInt(e(413))/9*(-parseInt(e(400))/10)+-parseInt(e(428))/11*(-parseInt(e(434))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qn);class er extends Hi.Plugin{static get[Xn(420)](){return Xn(411)}static get[Xn(432)](){return!0}static get[Xn(366)](){return!0}static get[Xn(370)](){return[On]}[Xn(379)](){const t=Xn,e=this[t(372)],i=e[t(405)][t(399)](t(383));e.ui[t(416)][t(368)](t(367),(n=>{const r=t,s=(0,En.createDropdown)(n),o=s[r(375)][r(404)],a=new En.ListView(n),c=new En.ListItemView(n),u=new En.ButtonView(n),l=new En.ListItemView(n),h=new En.ButtonView(n);return s[r(391)](r(407)).to(i,r(412),i,r(407),e,r(403),((t,e,i)=>t&&e&&!i)),s[r(414)][r(417)]({icon:Hi.icons[r(419)],label:Qi(n,r(387)),tooltip:!0}),u[r(417)]({label:Qi(n,r(429)),withText:!0,role:r(425)}),u[r(391)](r(407)).to(i,r(412),i,r(407),e,r(403),((t,e,i)=>t&&e&&!i)),u.on(r(398),(()=>this[r(371)]())),h[r(417)]({label:Qi(n,r(423)),withText:!0,role:r(425)}),h[r(391)](r(407)).to(i,r(412),e,r(403),((t,e)=>t&&!e)),h.on(r(398),(()=>{const t=r;e[t(388)][t(399)](t(367))[t(394)](),s[t(426)]=!1,e[t(397)][t(389)][t(408)]()})),c[r(404)][r(368)](u),l[r(404)][r(368)](h),a[r(396)]=r(435),a[r(427)][r(410)]([c,l]),o[r(368)](a),s})),e.ui[t(416)][t(368)](t(390),(()=>this[t(380)]()))}[Xn(380)](){const t=Xn,e=this[t(372)],i=e[t(376)],n=new En.MenuBarMenuView(i),r=new En.MenuBarMenuListView(i);n[t(414)][t(417)]({icon:Hi.icons[t(419)],label:Qi(i,t(387))});const s=new En.MenuBarMenuListItemView(i,n),o=new En.MenuBarMenuListItemButtonView(i);o[t(417)]({label:Qi(i,t(429))}),o[t(377)](t(398)).to(n),o.on(t(398),(()=>{this[t(371)]()})),s[t(404)][t(368)](o),r[t(427)][t(368)](s);const a=new En.MenuBarMenuListItemView(i,n),c=new En.MenuBarMenuListItemButtonView(i);return c[t(417)]({label:Qi(i,t(423))}),c[t(377)](t(398)).to(n),c.on(t(398),(()=>{const i=t;e[i(388)][i(399)](i(367))[i(394)]()})),a[t(404)][t(368)](c),r[t(427)][t(368)](a),n[t(375)][t(404)][t(368)](r),n}[Xn(371)](){const t=Xn,e=this[t(372)],i=e[t(376)],n=e[t(405)][t(399)](t(422)),r=e[t(405)][t(399)](t(383));function s(r){const s=t;e[s(388)][s(399)](s(384))&&""===r[s(430)]?r[s(433)][s(401)]=Qi(i,s(418)):(e[s(405)][s(399)](On)[s(373)]({name:r[s(430)]}),n[s(386)]())}this[t(393)]||(this[t(421)](),this[t(393)].on(t(395),(()=>s(this[t(393)])))),this[t(393)][t(431)](),n[t(378)]({id:t(365),title:Qi(i,t(429)),isModal:!0,content:this[t(393)],actionButtons:[{label:Qi(e[t(376)],t(381)),withText:!0,onExecute:()=>n[t(386)]()},{label:Qi(e[t(376)],t(424)),class:t(415),withText:!0,onCreate(i){const n=t;i[n(391)](n(407)).to(r,n(412),r,n(407),e,n(403),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(393)])}]})}[Xn(421)](){const t=Xn,e=this[t(372)],i=e[t(376)];this[t(393)]=new Kn(i,e[t(388)][t(399)](t(384))),this[t(393)][t(364)]()}}const ir=rr;function nr(){const t=["focus","name","changeId","2219195XLeTYC","45CvMXcj","ck-annotation","ck-revision-change__","div","author","span","ck-revision-change__label","Removed by","9237900ZjSlWb","1690460sBYnfQ","Suggested by","set","12OPqdQl","element","setTemplate","1616ftPcpr","isSuggestion","3797568XxlMLf","bindTemplate","78bhfWlq","2066816jByZmp","type","data","Added by","_model","337208OqBbLe","add","ck-revision-change"];return(nr=function(){return t})()}function rr(t,e){const i=nr();return(rr=function(t,e){return i[t-=143]})(t,e)}!function(t){const e=rr,i=t();for(;;)try{if(729416===parseInt(e(169))/1+parseInt(e(159))/2*(parseInt(e(163))/3)+-parseInt(e(164))/4+parseInt(e(143))/5*(parseInt(e(156))/6)+-parseInt(e(152))/7+parseInt(e(161))/8+parseInt(e(144))/9*(parseInt(e(153))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nr);class sr extends En.View{constructor(t,e){const i=rr;super(t),this[i(168)]=e,this[i(174)]=e.id;const n=this[i(162)],r=Qi(t,e[i(166)][i(160)]?i(154):i(170)==e[i(165)]?i(167):i(151));this[i(155)](i(165),e[i(165)]),this[i(158)]({tag:i(147),attributes:{class:[i(145),i(171),n.to(i(165),(t=>i(146)+t))],tabindex:-1},children:[{tag:i(149),children:[{tag:i(149),attributes:{class:[i(150)]},children:[{text:r}]},{text:" "+e[i(148)][i(173)]}]}]})}[ir(172)](){const t=ir;this[t(157)][t(172)]()}}function or(t,e){var i=cr();return(or=function(t,e){return i[t-=323]})(t,e)}var ar=or;function cr(){var t=["73200BazVZt","2064360mjNhyx","createdAt","author","7fBtpdl","1969ILCXua","toJSON","type","data","10717yALPWx","126pPyBIq","set","66684lhRntj","165iSjHOG","276YyLPZp","54252DeMmjd","14793AdoPTL","rootName","498274mQYWqa"];return(cr=function(){return t})()}!function(t){for(var e=or,i=t();;)try{if(332471===-parseInt(e(327))/1+-parseInt(e(336))/2+parseInt(e(334))/3*(-parseInt(e(332))/4)+parseInt(e(331))/5*(parseInt(e(333))/6)+parseInt(e(341))/7*(-parseInt(e(338))/8)+-parseInt(e(328))/9*(parseInt(e(337))/10)+parseInt(e(323))/11*(parseInt(e(330))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(cr);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=or;super(),this.id=e.id||(0,t.uid)(),this[i(340)]=e[i(340)],this[i(325)]=e[i(325)],this[i(326)]=e[i(326)]||{},this[i(335)]=e[i(335)],this[i(329)](i(339),e[i(339)])}[ar(324)](){var t=ar;return{id:this.id,authorId:this[t(340)].id,type:this[t(325)],data:this[t(326)],createdAt:this[t(339)]}}}const lr=hr;function hr(t,e){const i=fr();return(hr=function(t,e){return i[t-=130]})(t,e)}!function(t){const e=hr,i=t();for(;;)try{if(109297===parseInt(e(135))/1*(parseInt(e(132))/2)+-parseInt(e(142))/3+parseInt(e(138))/4+-parseInt(e(133))/5+-parseInt(e(136))/6*(parseInt(e(143))/7)+-parseInt(e(144))/8*(parseInt(e(139))/9)+parseInt(e(134))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fr);class dr{constructor(e,i){const n=hr;this[n(140)]=e,this[n(130)]=i,this[n(141)]=new t.Collection}[lr(131)](t){const e=lr;for(const i of t)this[e(141)][e(137)](i)}}function fr(){const t=["261314ciekog","695245POfJAi","4455250WckPTz","1DvliLt","522CCnzQQ","add","319332DETKSl","9esayAY","newRevisionId","changes","599934gbQmEv","3241WYBLDZ","1339280NIebdy","oldRevisionId","_setChanges"];return(fr=function(){return t})()}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Pn().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Un();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=wr;function yr(){const t=["updatePosition","_removeUnsupportedChanges","_getDiff","destroy","next","mousedown","isAttached","createRevision","test","startIndex","revision-suggestion:","adapter","oldRevisionId","roots","change:isReady","parse","ck-revision-history-root-add","uiElement","WidgetToolbarRepository","isCollapsed","isObject","isNavigationMode","suggestion","ck-suggestion-marker--active","isRemoved","reconvertMarker","getClientRects","removeAttribute","set","init","commands","error","ck-suggestion-marker","model","restoreRevision","values","getIndex","text","mapViewToDom","listenTo","attributesBefore","createPositionBefore","change","push","newRevisionId","addHighlight","editor","activeView","requires","isIncorrect","getAttribute","diff","execute","bind","_refreshStartEndIndex","isReady","_findChangeIdFromDomTarget","nodeAfter","markerToHighlight","type","getItems","done","getCustomProperty","getRevisionRootsAttributes","unbindElementFromMarkerName","_makeTape","isAtStart","comment","insertions","removeMarker","createRangeIn","item","_fixObsoleteTags","isAtEnd","_setDistance","revision-comment:","_markMismatchedRemovedTags","get","revisionHistory","data-change-id","_joinTapes","span","isBefore","toViewRange","bottom","showPreviousChange","_cleanMarkers","keys","vid","add","modelRange","revision-viewer","_getRevisionsRange","object","maxOffset","hasClass","loadRevisionData","getChild","addMarker:revision","getRevisionData","insert","remove","schema","_markMarkers","addMarker:revision-suggestion:deletion","_makeModelFromTape","isRemoveSuggestion","stop","top","detachRoot","markerNameToElements","viewItem","level","_balloon","conversion","all","revisionHistoryLabel","dataToMarker","toData","config","revision-end","createAttributeElement","change:activeView","_data","markerRange","POSITIVE_INFINITY","attributes","forEach","1284606ZeMvWA","code","addRevision","parent","element","_getViewForChange","index","_threeWayMerge","_changeIdToChange","getRevision","rootName","element:pre","_setChanges","name","change:activeChange","checkAttribute","writer","map","document","getRoot","pairId","insertion","authors","slice","splice","ck-editor__editable__overlay","refresh","high","endIndex","revision:","getAttributes","children","getDomRoot","markerName","selection","unshift","diffData","markers","consumable","removeMarker:revision-suggestion","mouseover","backward","_removeMissingPairs","showStack","revision-start","elementEnd","resolve","domConverter","upcast","isOfficialPlugin","1442600BgiaVh","highest","right","getWalker","markersEnd","getLaterVisibleRevision","end","includes","_makeModelFromViewString","forward","affectsData","24DtveaV","data","_update","dataDowncast","RevisionsRepository","isPremiumPlugin","side","4146bAAKEt","attachChange","_activeViewTarget","activeChange","data-revision-","83PAdlsc","deletions","toViewElement","catch","-new","setAttribute","createUIElement","isSuggestion","wrap","numberOfChanges","target","isEnabled","hasAttribute","abs","isEqual","low","compare","sort","createPositionFromPath","_changeView","nextSibling","length","pop","left","suggestion:","toViewPosition","_step","default","_markInsertions","distance","range","1209960NqfzMN","_setConversion","ck-suggestion-preview-marker","editing","isInline","editingDowncast","changes","plugins","_cleanUp","_appendChild","find","_getViewObj","previousPosition","then","return","addClass","clear","shift","mapper","downcastDispatcher","from","addRevisionData","startsWith","filter","attribute:vid","offsetSize","findIndex","_removeRevisionMarkers","isLimit","revision-suggestion","enqueueChange","showNextChange","attributesAfter","isBlock","view","1116450dwDYYi","change:numberOfChanges","collaboration.channelId","revision","merge","markersStart","isContent","has","isAfter","marked","deletion","ck-revision-history-root-remove","ck-revision-history-root--active","isOnRoot","_processTape","_getChangeFromId","changeId","change:isEnabled","revisionHistoryAttachChange","useFillerType","_markSuggestions","for","restoreRevisionCallback","ck-revision-history-root-","elementToAttribute","isAddSuggestion","ck-suggestion-marker-split","nextPosition","forceDisabled","string","ck-suggestion-preview-marker-","processor","locale","domEvent","pluginName","observeMarkers","repository","delete","split","first","ck-suggestion-marker-","RevisionViewer","_initInteractions","_sortAndFilterDiffChanges","addMarker:revision-suggestion:insertion","addRoot","start","ck-suggestion-marker-merge","1454010AVWuJe","325094kxDVko","isAdded","vid_start","toModel","enableReadOnlyMode","indexOf","removeClass","flat","bindElementToMarker","softBreak","createRange","markerToData","getRootNames","_revisions","elementStart","concat","consume","removeMarker:revision","userId","currentChangeNumber","vid_end"];return(yr=function(){return t})()}!function(t){const e=wr,i=t();for(;;)try{if(259992===parseInt(e(398))/1*(-parseInt(e(393))/2)+-parseInt(e(662))/3+parseInt(e(375))/4+parseInt(e(429))/5+parseInt(e(512))/6+parseInt(e(513))/7*(parseInt(e(386))/8)+-parseInt(e(464))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yr);const gr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class kr extends Hi.Plugin{static get[vr(498)](){return vr(505)}static get[vr(374)](){return!0}static get[vr(391)](){return!0}static get[vr(582)](){return[Bi.Users,En.ContextualBalloon,Xi]}constructor(t){const e=vr;super(t),this[e(500)]=this[e(580)][e(436)][e(611)](e(390)),this[e(562)](e(396),null),this[e(562)](e(581),null),this[e(395)]=null,this[e(562)](e(585),null),this[e(562)](e(589),!1),this[e(562)](e(409),!0),this.on(e(481),((t,i,n)=>{const r=e;this[r(396)]=null,this[r(581)]=null,this[r(580)][r(432)][r(463)][r(576)]((t=>{const e=r;for(const i of this[e(580)][e(432)][e(463)][e(343)][e(547)])n?t[e(519)](e(350),i):t[e(444)](e(350),i)}))})),this[e(587)](e(555)).to(this,e(396),(t=>null!==t)),this[e(587)](e(532)).to(this,e(589),this,e(585),this,e(396),((t,i,n)=>t&&n?i[e(435)][e(570)](n):0)),this[e(587)](e(407)).to(this,e(589),this,e(585),((t,i)=>t?i[e(435)][e(419)]:0)),this[e(417)]=null,this[e(670)]=new Map,this[e(545)]=null,this[e(647)]=this[e(580)][e(436)][e(611)](En.ContextualBalloon)}[vr(563)](){const t=vr,e=this[t(580)],i=new Ir(e,{direction:t(366)}),n=new Ir(e,{direction:t(384)});e[t(564)][t(623)](t(619),i),e[t(564)][t(623)](t(460),n),e[t(564)][t(623)](t(568),new _r(e)),this.on(t(465),(()=>{const e=t;i[e(351)](),n[e(351)]()})),this[t(430)](),this[t(506)](),e[t(517)](t(625)),e[t(436)][t(471)](t(552))&&e[t(436)][t(611)](t(552))[t(492)](t(625))}async[vr(633)](t){const e=vr;await this[e(630)](t);const i={};for(const n in t[e(361)]){if(t[e(361)][n][e(394)]&&!t[e(361)][n][e(394)][e(540)])continue;const r=this[e(456)](JSON[e(549)](t[e(361)][n][e(602)])),s=this[e(580)][e(432)][e(463)][e(343)],o=new Yi.ViewDocumentFragment(s,r[e(679)]((t=>this[e(440)](t))));this[e(580)][e(387)][e(495)][e(483)](e(473)),i[n]=this[e(580)][e(387)][e(495)][e(652)](o),this[e(580)][e(387)][e(495)][e(483)](e(425))}return i}async[vr(597)](t){const e=vr;await this[e(630)](t);const i={};for(const n in t[e(361)])t[e(361)][n][e(394)]&&!t[e(361)][n][e(394)][e(540)]||(i[n]=t[e(361)][n][e(461)]||{});return i}[vr(456)](t){const e=vr;return(t=t[e(452)]((t=>!t[e(675)]||e(369)!==t[e(675)]&&e(654)!==t[e(675)])))[e(661)]((t=>{const i=e;i(493)!=typeof t&&(t[i(356)]=this[i(456)](t[i(356)]),t[i(660)]=t[i(660)][i(452)]((t=>!t[0][i(451)](i(397)))))})),t}async[vr(414)](t,e,i=!1){const n=vr;if(!this[n(409)])return;const r=this[n(585)],s=this[n(500)],o=n(493)==typeof t?s[n(671)](t):t,a=n(493)==typeof e?s[n(671)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(585)]&&this[n(585)][n(578)]===c&&this[n(585)][n(546)]===u)return Promise[n(371)]();this[n(589)]=!1,this[n(581)]=null,this[n(396)]=null,this[n(585)]=new dr(c,u);const l=this[n(626)](o,a,!0)[n(679)]((t=>this[n(630)](t)));return l[n(577)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(649)](l)[n(442)]((()=>{const t=n;if(!this[t(409)])return;this[t(437)]();const e=this[t(536)](c,u);for(const i of e[t(435)])this[t(670)][t(562)](i.id,i);this[t(580)][t(567)][t(459)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(580)][n(567)][n(343)][n(525)]())i[n(643)](t);for(const t of Object[n(621)](e[n(567)])){const r=i[n(509)](t);for(const s of Object[n(621)](e[n(660)][t]))i[n(403)](s,e[n(660)][t][s],r);i[n(634)](e[n(567)][t],r,0)}})),this[t(585)][t(674)](this[t(507)](e[t(435)])),this[t(589)]=!0}))[n(401)]((t=>{const e=n;console[e(565)](t),this[e(437)](),r&&(this[e(585)]=r),this[e(589)]=!0}))}[vr(450)](t,e){const i=vr,n=this[i(500)][i(541)](t);return n.on(i(388),((t,i,r)=>e(i,r,n))),this[i(500)][i(664)](n),n}[vr(630)](t){const e=vr;if(!t||t[e(361)])return Promise[e(371)]();{const i=this[e(580)][e(653)][e(611)](e(466));return this[e(545)][e(671)]({channelId:i,revisionId:t.id})[e(442)]((i=>{const n=e;t[n(388)]({diffData:i[n(361)]},!0)}))}}[vr(437)](){const t=vr;this[t(396)]=null,this[t(620)](),this[t(417)]&&this[t(417)][t(537)](),this[t(417)]=null,this[t(670)][t(445)](),this[t(580)][t(567)][t(459)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(580)][i(567)][i(343)][i(525)]())e[i(643)](t)}))}[vr(507)](t){const e=vr,i=[],n=new Map;for(const t of this[e(580)][e(567)][e(343)][e(525)]()){const r=this[e(580)][e(432)][e(463)][e(357)](t);if(!r)continue;const s=r[e(560)]()[e(605)](0);s&&(i[e(577)](t),n[e(562)](t,s))}return i[e(415)](((t,i)=>{const r=e,s=n[r(611)](t),o=n[r(611)](i);return s.y-o.y||s.x-o.x})),(t=t[e(452)]((t=>i[e(382)](t[e(672)]))))[e(415)](((t,n)=>i[e(518)](t[e(672)])-i[e(518)](n[e(672)]))),t}[vr(599)](t){const e=vr,i=Array[e(449)](t[e(362)])[e(452)]((([t,i])=>t[e(451)](e(354))&&!i[e(553)])),n=Array[e(449)](this[e(580)][e(567)][e(604)](t)[e(378)]({singleCharacters:!0}));if(0!=i[e(419)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(502)](":");if(r[e(381)][e(412)](t[e(491)])&&i[e(446)](),(t[e(441)][e(412)](r[e(510)])||t[e(441)][e(472)](r[e(510)]))&&(e(346)==s?t[e(514)]={userId:o}:e(474)==s&&(t[e(558)]={userId:o})),0==i[e(419)])break}return n}[vr(588)](t){const e=vr,i=new Map;for(let n=0;n<t[e(419)];n++)e(571)===t[n][e(593)]?(t[n][e(605)][e(543)]=n,t[n][e(605)][e(353)]=n):(e(527)===t[n][e(593)]?t[n][e(605)][e(543)]=n:e(370)===t[n][e(593)]&&(t[n][e(605)][e(353)]=n),i[e(562)](t[n].id,n));for(const n of i[e(569)]())e(527)===t[n][e(593)]?t[n][e(605)][e(353)]=i[e(611)](t[n][e(345)]):e(370)===t[n][e(593)]&&(t[n][e(605)][e(543)]=i[e(611)](t[n][e(345)]))}[vr(478)](t){const e=vr;for(let i=0;i<t[e(419)];i++){if(e(527)===t[i][e(593)])t[i][e(605)][e(543)]=i;else if(e(370)===t[i][e(593)]){t[i][e(605)][e(353)]=i;const n=t[i][e(605)][e(543)];t[n][e(345)]=t[i].id,t[i][e(345)]=t[n].id}else t[i][e(605)][e(543)]=i,t[i][e(605)][e(353)]=i,t[i][e(345)]=null;t[i][e(469)]||(t[i][e(469)]=[],t[i][e(379)]=[])}}[vr(426)](t,e){const i=vr,n=t[i(452)]((t=>!t[i(514)]));for(let t=0;t<e[i(419)];t++)e[t][i(514)]&&(n[t][i(514)]=e[t][i(514)])}[vr(383)](t){const e=vr,i=JSON[e(549)](t),n=this[e(580)][e(432)][e(463)][e(343)],r=new Yi.ViewDocumentFragment(n,i[e(679)]((t=>this[e(440)](t))));return this[e(580)][e(387)][e(516)](r)}[vr(440)](t){const e=vr,i=this[e(580)][e(432)][e(463)][e(343)];if(e(493)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(356)][e(679)]((t=>this[e(440)](t)));return new(gr[t[e(593)]]||Yi.ViewElement)(i,t[e(675)],t[e(660)],n)}}[vr(536)](t,e=null){const i=vr,n=this[i(500)][i(671)](t),r=e?this[i(500)][i(671)](e):null,s=this[i(626)](n,r),o=s[s[i(419)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(419)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(621)](e[i(361)]))if(e[i(361)][t][i(394)]){const n=e[i(361)][t][i(394)];n[i(540)]?(u[i(623)](t),l[i(471)](t)&&l[i(611)](t)[i(531)]==n[i(531)]?l[i(501)](t):l[i(562)](t,n)):l[i(471)](t)?(u[i(501)](t),l[i(501)](t)):(u[i(623)](t),l[i(562)](t,n))}else u[i(623)](t)}for(const t of u){const e=l[i(471)](t)&&!l[i(611)](t)[i(540)];let n=e?s[i(419)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(361)][t]){const n=e?o[i(361)][t][i(574)]:o[i(361)][t][i(461)];c[i(660)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(567)]={};for(const e of t[i(347)])a[i(562)](e.id,e);for(const e of u){const n=t[i(361)][e]?t[i(361)][e][i(602)]:"[]",r=t[i(361)][e]?t[i(361)][e][i(399)]:"[]";t[i(567)][e]={insertions:this[i(383)](n),deletions:this[i(383)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(449)](n[i(567)][t][i(602)][i(362)])[i(452)]((([t])=>!t[i(451)](i(354)))));let h=0;for(const o of s){const s=this[i(599)](o[i(567)][t][i(602)]);o==n?(e=s,r=e[i(419)],e[i(661)]((t=>{t.id=h++})),this[i(478)](e)):this[i(426)](e,s);const a=e[i(452)]((t=>!t[i(514)]))[i(679)]((t=>t.id));let c=0;const l=this[i(599)](o[i(567)][t][i(399)]);l[i(661)]((t=>{t[i(558)]?t.id=r++:t.id=a[c++]})),this[i(478)](l),this[i(608)](e,i(514)),this[i(608)](l,i(558)),o==n&&this[i(637)](e,u),e=this[i(614)](e,l),this[i(588)](e),this[i(608)](e,i(558))}e=e[i(452)]((t=>!(t[i(514)]&&t[i(558)])));const d=new Map(o[i(567)][t][i(399)][i(362)]),f=new Set(u[i(621)]());for(const t of d[i(621)]())f[i(501)](t);this[i(484)](e,f),this[i(606)](e),e=this[i(367)](e),e=this[i(610)](e),e=this[i(535)](e);const{root:m,changes:p}=this[i(639)](e,a,t);c[i(567)][t]=m;const v=l[i(611)](t);if(v){const e=a[i(611)](v[i(531)]),n=new ur({author:e,type:v[i(540)]?i(623):i(635),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(360)](n),c[i(660)][t][i(482)]=n.id}c[i(435)]=c[i(435)][i(528)](p)}return c}[vr(637)](t,e){const i=vr;for(let n=0;n<t[i(419)];n++)for(const[r,s]of e)s[i(510)][i(412)](t[n][i(441)])&&t[n][i(469)][i(577)](r),s[i(381)][i(412)](t[n][i(491)])&&t[n][i(379)][i(577)](r)}[vr(614)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(419)]||s<e[i(419)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(577)](o);else if(a[i(558)]&&o[i(514)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(669)](t,r,e,s);n=n[i(528)](o),r=a,s=c}else a[i(558)]?(s++,n[i(577)](a)):(r++,n[i(577)](o))}return n}[vr(484)](t,e){const i=vr,n=[];for(let o=0;o<t[i(419)];o++){for(let s=0;s<t[o][i(469)][i(419)];s++){const a=t[o][i(469)][s];if(!e[i(471)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(458)!=c||i(346)!=u&&i(474)!=u||(n[i(360)]({type:u,name:a,userId:l}),t[o][i(469)][i(349)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(379)][i(419)];s++){const a=t[o][i(379)][s];if(!e[i(471)](a))continue;const{group:c,type:u}=r(a);if(i(458)!=c||i(346)!=u&&i(474)!=u)continue;t[o][i(379)][i(349)](s,1),s--;const l=n[i(455)]((t=>t[i(675)]==a));l>-1&&n[i(349)](l,1)}}function r(t){const e=i,n=t[e(502)](":");return{group:n[0],type:n[1],subType:n[e(419)]>=5?n[2]:null,id:n[e(419)]<5?n[2]:n[3],authorId:n[e(419)]<5?n[3]:n[4],markerCount:6==n[e(419)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(419)];i++){if(t[e(514)]&&e(346)==n[i][e(593)])return t[e(489)]=n[i],void delete t[e(514)];if(!t[e(514)]&&!t[e(558)]&&e(474)==n[i][e(593)])return void(t[e(640)]=n[i])}}}[vr(608)](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(562)](o.id,n);for(let n=0;n<t[i(419)];n++){if(i(558)==e&&t[n][i(514)]||i(514)==e&&t[n][i(558)])continue;if(i(571)==t[n][i(593)]){t[n][i(427)]=0;continue}const r=s[i(611)](t[n][i(345)]),o=s[i(611)](t[n].id);t[n][i(427)]=r-o}}[vr(626)](t,e,i=!1){const n=vr,r=[];let s=this[n(500)][n(570)](t),o=this[n(500)][n(570)](e);for(-1==o&&(o=this[n(500)][n(526)][n(419)],i=!1);s<o;)r[n(577)](this[n(500)][n(671)](s)),s++;return i&&r[n(577)](this[n(500)][n(671)](s)),r}[vr(669)](t,e,i,n){const r=vr,s=this[r(580)][r(567)][r(636)];let o=e;for(;t[o]&&t[o][r(514)];)o++;let a=n;for(;i[a]&&i[a][r(558)];)a++;u(t,e,o),u(i,n,a);const c=i[r(348)](n,a)[r(528)](t[r(348)](e,o));return c[r(415)](((t,e)=>t[r(392)]!=e[r(392)]?t[r(392)]-e[r(392)]:t[r(646)]!=e[r(646)]?t[r(646)]-e[r(646)]:t[r(427)]!=e[r(427)]?e[r(427)]-t[r(427)]:!!t[r(514)]!=!!e[r(514)]?-1==t[r(392)]||0==t[r(392)]?t[r(514)]?-1:1:t[r(514)]?1:-1:t[r(668)]-e[r(668)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(659)],c=!0;for(let r=e;r<i;r++)if(s[n(433)](t[r][n(605)])||(c=!1),t[r][n(605)][n(543)]<e&&(o=r),t[r][n(605)][n(353)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(392)]=r<=o?-1:r<a?0:1,t[r][n(668)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(427)]?t[i][n(646)]=u:(u++,t[i][n(646)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(392)]&&(t[r][n(646)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(427)]?t[e][n(646)]=u:(u--,t[e][n(646)]=u,u--)}}[vr(606)](t){const e=vr,i=new Map,n=this[e(580)][e(567)][e(636)];for(let r=1;r<t[e(419)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(571)==c[e(593)])continue;if(c[e(593)]!=u[e(593)])continue;if(!n[e(462)](u[e(605)])||n[e(457)](u[e(605)]))continue;if(!n[e(462)](c[e(605)])||n[e(457)](c[e(605)]))continue;if((t[r][e(514)]||t[r][e(489)])&&t[r-1][e(558)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(558)]||!t[r-1][e(514)]&&!t[r-1][e(489)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(646)]==o[e(646)],h=Math[e(411)](s[e(646)])<Math[e(411)](o[e(646)])&&0==o[e(427)];(l||h)&&(i[e(562)](o.id,s.id),t[e(349)](a,1),r--,s[e(514)]=!1)}for(let n=0;n<t[e(419)];n++)i[e(471)](t[n][e(345)])&&(t[n][e(345)]=i[e(611)](t[n][e(345)]))}[vr(367)](t){const e=vr,i=new Set(t[e(679)]((t=>t.id)));for(let n=0;n<t[e(419)];n++)i[e(471)](t[n][e(345)])||0==t[n][e(427)]||(t[n][e(583)]=!0);return t[e(452)]((t=>!t[e(583)]))}[vr(610)](t){const e=vr,i=new Set;for(let n=0;n<t[e(419)];n++){if(i[e(471)](t[n].id)&&t[n][e(558)]&&(t[n][e(583)]=!0),t[n][e(583)])continue;if(0==t[n][e(427)])continue;if(e(527)!=t[n][e(593)])continue;if(null==t[n][e(345)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(345)];)e(527)==t[r][e(593)]?s++:e(370)==t[r][e(593)]&&s--,r++;if(0!=s)if(t[n][e(558)])t[n][e(583)]=!0;else for(;r!=n;)t[r][e(558)]&&0!=t[r][e(427)]&&(t[r][e(583)]=!0,i[e(623)](t[r][e(345)])),r--}return t[e(452)]((t=>!t[e(583)]))}[vr(535)](t){const e=vr,i=this[e(580)][e(567)][e(636)];for(let n=0;n<t[e(419)];n++){if(!(t[n][e(514)]||t[n][e(489)]||t[n][e(558)]||t[n][e(640)]))continue;if(0==t[n][e(427)])continue;const r=t[n][e(605)];i[e(462)](r)||i[e(457)](r)||(t[n][e(514)]&&delete t[n][e(514)],t[n][e(489)]&&delete t[n][e(489)],t[n][e(640)]&&delete t[n][e(640)],t[n][e(558)]&&(t[n][e(583)]=!0))}return t[e(452)]((t=>!t[e(583)]))}[vr(639)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(580)][n(567)],c=a[n(636)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(419)];e++)if(n(527)===t[e][n(593)]){t[e][n(441)]=a[n(416)](r,f);const i=new Yi.Element(t[e][n(605)][n(675)],t[e][n(605)][n(355)]());u[0][n(438)](i),f[n(577)](0),u[n(360)](i),t[e][n(491)]=a[n(416)](r,f)}else n(370)===t[e][n(593)]?(u[n(446)](),t[e][n(441)]=a[n(416)](r,f),f[n(420)](),f[f[n(419)]-1]++,t[e][n(491)]=a[n(416)](r,f)):(t[e][n(441)]=a[n(416)](r,f),d?d[n(657)]+=t[e][n(605)][n(387)]:d=new Yi.Text(t[e][n(605)][n(387)],t[e][n(605)][n(355)]()),t[e+1]&&n(571)===t[e+1][n(593)]&&v(d,t[e+1][n(605)])||(u[0][n(438)](d),d=null),f[f[n(419)]-1]+=t[e][n(605)][n(454)],t[e][n(491)]=a[n(416)](r,f));for(let e=0;e<t[n(419)];e++){const i=t[e][n(441)],r=t[e][n(491)];for(const r of t[e][n(469)])o[n(562)](r,{start:i,end:null});m(n(640),e,i,r),m(n(489),e,i,r),m(n(558),e,i,r),m(n(514),e,i,r);for(const i of t[e][n(379)])o[n(611)](i)[n(381)]=r}for(const[t,e]of o){const i=this[n(580)][n(567)][n(523)](e[n(510)],e[n(381)]);r[n(362)][n(562)](t,i)}return s[n(415)](((t,e)=>{const i=n,s=r[i(362)][i(611)](i(354)+t.id),o=r[i(362)][i(611)](i(354)+e.id);return s[i(510)][i(616)](o[i(510)])?-1:s[i(510)][i(472)](o[i(510)])?1:s[i(381)][i(616)](o[i(381)])?-1:s[i(381)][i(472)](o[i(381)])?1:i(623)===t[i(593)]?-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(531)]:null,d=i===t[o(419)]-1,f=h[e][0],m=c[o(554)](t[i][o(605)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(381)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(531)]!==u&&(l[e][o(381)]=r,f&&f[o(531)]===l[e][o(531)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(527)!==t[i][o(593)]||f&&f[o(531)]===u||h[e][o(360)]({userId:u,object:t[i][o(605)],change:l[e]}),o(370)===t[i][o(593)]&&f&&f[o(627)]===t[i][o(605)]&&(h[e][o(446)](),l[e]=f[o(576)])),l[e]&&d&&(l[e][o(381)]=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(605)],f=a[h(636)][h(462)](d)&&!a[h(636)][h(457)](d),m=t[h(591)]==o[h(665)]&&o[h(600)];if(f&&m)return;const p=a[h(523)](t,o),v=e[h(611)](u),y=new ur({author:v,type:h(514)==l||h(489)==l?h(623):h(635),data:{isSuggestion:h(489)==l||h(640)==l},createdAt:new Date,rootName:i});s[h(577)](y),r[h(362)][h(562)](h(354)+y.id,p)}function v(t,e){const i=n,r=t[i(355)](),s=e[i(355)]();for(const t of r){if(t[1]!==e[i(584)](t[0]))return!1;s[i(538)]()}return s[i(538)]()[i(595)]}}[vr(430)](){const t=vr;this[t(580)][t(648)][t(485)](t(373))[t(651)]({view:t(467)}),this[t(580)][t(648)][t(485)](t(434))[t(592)]({model:t(467),view:e=>{const i=t,n=e[i(358)][i(502)](":")[1],r=this[i(479)](n);if(!r)return null;const s=i(623)==r[i(593)]?i(346):i(474),o=[i(566),i(504)+s];return r[i(387)][i(405)]&&o[i(577)](i(504)+s+i(402)),this[i(396)]==r&&o[i(577)](i(557)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(580)][t(648)][t(485)](t(373))[t(623)]((e=>{const i=t;e.on(i(673),((t,e,n)=>{const r=i,s=e[r(645)][r(631)](0);if(!s||!s.is(r(666),r(663)))return;if(!n[r(363)][r(529)](s,{attributes:[r(515),r(533)]}))return;const o=e[r(624)][r(510)][r(591)];n[r(678)][r(403)](r(515),s[r(584)](r(515)),o),n[r(678)][r(403)](r(533),s[r(584)](r(533)),o)}),{priority:i(413)})})),this[t(580)][t(648)][t(485)](t(373))[t(623)]((e=>{const i=t;e.on(i(666),((t,e,n)=>{const r=i;if(!n[r(363)][r(529)](e[r(645)],{attributes:[r(515),r(533)]}))return;if(e[r(624)][r(553)])return;const s=e[r(624)][r(510)][r(591)];s[r(410)](r(515))||s[r(410)](r(622))||(n[r(678)][r(403)](r(515),e[r(645)][r(584)](r(515)),s),n[r(678)][r(403)](r(533),e[r(645)][r(584)](r(533)),s))}),{priority:i(413)})})),this[t(580)][t(648)][t(485)](t(373))[t(488)]({view:{name:t(615),attributes:{vid:!0}},model:{key:t(622),value:e=>e[t(584)](t(622))}}),this[t(580)][t(567)][t(636)].on(t(677),((e,[,i])=>{const n=t;[n(515),n(533),n(622)][n(382)](i)&&(e[n(443)]=!0,e[n(641)]())}),{priority:t(376)}),this[t(580)][t(648)][t(485)](t(389))[t(623)]((e=>{const i=t;e.on(i(453),((t,e,n)=>{const r=i;if(" "!=e[r(605)][r(387)]||e[r(605)][r(665)][r(628)]>1)return;if(!n[r(363)][r(529)](e[r(605)],t[r(675)]))return;const s=n[r(678)],o=n[r(447)][r(617)](e[r(428)]);s[r(406)](o,s[r(655)](r(615)))}))})),this[t(580)][t(648)][t(485)](t(389))[t(524)]({model:t(467)}),this[t(580)][t(432)][t(448)].on(t(632),function(e){const i=t,n=e[i(436)][i(611)](i(505));return(t,r,s)=>{const o=i,a=r[o(358)][o(502)](":")[1],c=n[o(479)](a);if(!c)return null;const u=o(623)==c[o(593)]?o(502):o(468);if(!s[o(363)][o(542)](r[o(658)],t[o(675)]))return;const l=r[o(658)][o(378)](),h=r[o(658)][o(510)],d=e[o(567)][o(636)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(605)];p=p||d[o(470)](e);const i=s[o(447)][o(400)](e);if(i&&i[o(596)](o(579)))return;o(370)==t[o(593)]&&d[o(462)](e)&&!d[o(457)](e)&&(e[o(418)]||h[o(607)]?f&&f[o(665)]==e||(f=e,y(t[o(441)]),v=!0):m=m||t[o(441)])}function y(t){const e=o,i=s[e(678)][e(404)](e(615),{class:e(504)+u}),a=s[e(447)][e(423)](t);c[e(387)][e(405)]&&s[e(678)][e(444)](e(504)+u+e(402),i),n[e(396)]==c&&s[e(678)][e(444)](e(557),i),s[e(678)][e(634)](a,i),s[e(447)][e(521)](i,r[e(358)])}p||v||!m||y(m)}}(this[t(580)]),{priority:t(352)}),this[t(580)][t(432)][t(448)].on(t(530),((e,i,n)=>{const r=t,s=n[r(447)][r(644)](i[r(358)]);if(s)for(const t of s)(t[r(629)](r(490))||t[r(629)](r(511)))&&(n[r(447)][r(598)](t,i[r(358)]),n[r(678)][r(635)](t))}),{priority:t(352)}),this[t(580)][t(432)][t(448)].on(t(632),((e,i,n)=>{const r=t,s=i[r(358)][r(502)](":")[1],o=this[r(479)](s);if(!o)return null;const a=r(623)==o[r(593)]?r(502):r(468);if(n[r(363)][r(542)](i[r(658)],e[r(675)]))for(const t of i[r(658)][r(594)]()){if(!t.is(r(666),r(522)))continue;const e=n[r(678)][r(404)](r(615),{class:r(504)+a}),s=n[r(447)][r(423)](this[r(580)][r(567)][r(575)](t));o[r(387)][r(405)]&&n[r(678)][r(444)](r(504)+a+r(402),e),this[r(396)]==o&&n[r(678)][r(444)](r(557),e),n[r(678)][r(634)](s,e),n[r(447)][r(521)](e,i[r(358)])}}),{priority:t(352)}),this[t(580)][t(567)][t(343)].on(t(576),(()=>{const e=t;this[e(580)][e(432)][e(463)][e(576)]((t=>{const i=e;for(const e of this[i(580)][i(567)][i(343)][i(525)]()){const n=this[i(580)][i(567)][i(343)][i(344)](e),r=this[i(580)][i(432)][i(463)][i(343)][i(344)](e);if(r){const e=n[i(584)](i(482));if(t[i(561)](i(613),r),t[i(519)](i(550),r),t[i(519)](i(475),r),t[i(519)](i(476),r),e){const n=this[i(479)](e);if(!n)return null;t[i(403)](i(613),e,r),t[i(444)](i(487)+n[i(593)],r),this[i(396)]==n&&t[i(444)](i(476),r)}}}}))})),this[t(580)][t(648)][t(485)](t(373))[t(651)]({view:t(601),model:e=>t(609)+e,converterPriority:t(376)}),this[t(580)][t(648)][t(485)](t(373))[t(651)]({view:t(556),model:e=>t(544)+e,converterPriority:t(376)}),this[t(580)][t(648)][t(485)](t(389))[t(524)]({model:t(458),view:e=>({name:t(422)+e,group:t(458)}),converterPriority:t(376)}),this[t(580)][t(648)][t(485)](t(434))[t(592)]({model:t(458),view:e=>{const i=t,n=e[i(358)][i(502)](":")[1];return i(346)!=n&&i(474)!=n?null:{classes:[i(431),i(494)+n]}}}),this[t(580)][t(432)][t(448)].on(t(638),br(this[t(580)],t(468)),{priority:t(352)}),this[t(580)][t(432)][t(448)].on(t(508),br(this[t(580)],t(502)),{priority:t(352)}),this[t(580)][t(432)][t(448)].on(t(364),((e,i,n)=>{const r=t,s=n[r(447)][r(644)](i[r(358)]);if(s)for(const t of s)t.is(r(551))&&(n[r(447)][r(598)](t,i[r(358)]),n[r(678)][r(635)](t))}),{priority:t(352)})}[vr(479)](t){const e=vr;return this[e(670)][e(611)](t)}[vr(667)](t){const e=vr;return this[e(417)]&&this[e(417)][e(537)](),this[e(417)]=new sr(this[e(580)][e(496)],t),this[e(417)]}[vr(506)](){const t=vr;this[t(580)][t(567)][t(343)][t(359)][t(499)](t(467)),this.on(t(656),((e,i,n,r)=>{const s=t;r&&this[s(647)][s(635)](r),n&&(this[s(647)][s(623)]({view:n,stackId:s(650),position:{target:()=>{const t=s,e=this[t(580)][t(432)],i=this[t(479)](n[t(480)]);let r;if(i[t(387)][t(477)]){const n=e[t(463)][t(357)](i[t(672)]);r=Array[t(449)](n[t(560)]())}else{const i=this[t(580)][t(567)][t(362)][t(611)](t(354)+n[t(480)]);r=Array[t(449)](e[t(447)][t(644)](i[t(675)]))[t(679)]((i=>e[t(463)][t(372)][t(572)](i)))[t(679)]((e=>Array[t(449)](e[t(560)]())))[t(520)]()}return this[t(395)]&&r[t(439)]((e=>e[t(642)]-3<=this[t(395)].y&&e[t(618)]+3>=this[t(395)].y&&e[t(421)]-3<=this[t(395)].x&&e[t(377)]+3>=this[t(395)].x))||r[0]}}}),this[s(647)][s(368)](s(650)))})),this.on(t(676),((e,i,n,r)=>{const s=t;this[s(581)]=n?this[s(667)](n):null,this[s(580)][s(567)][s(576)]((()=>{const t=s,e=this[t(580)][t(432)];r&&(r[t(387)][t(477)]?e[t(463)][t(576)]((i=>{const n=t;i[n(519)](n(476),e[n(463)][n(343)][n(344)](r[n(672)]))})):e[t(559)](t(354)+r.id)),n&&(n[t(387)][t(477)]?e[t(463)][t(576)]((i=>{const r=t;i[r(444)](r(476),e[r(463)][r(343)][r(344)](n[r(672)]))})):e[t(559)](t(354)+n.id))}))})),this[t(573)](this[t(580)][t(432)][t(463)][t(343)],t(365),((e,i)=>{const n=t;if(this[n(396)])return;const r=this[n(590)](i[n(408)]),s=this[n(670)][n(611)](r);s?(this[n(395)]={x:i[n(497)].x,y:i[n(497)].y},this[n(581)]=this[n(667)](s)):(this[n(395)]=null,this[n(581)]=null)})),this[t(573)](this[t(580)][t(432)][t(463)][t(343)],t(539),((e,i)=>{const n=t,r=this[n(590)](i[n(408)]),s=this[n(670)][n(611)](r);s?(this[n(395)]={x:i[n(497)].x,y:i[n(497)].y},s===this[n(396)]?this[n(647)][n(534)]():this[n(396)]=s):(this[n(395)]=null,this[n(396)]=null)}))}[vr(590)](t){const e=vr;do{const i=t[e(584)](e(613));if(i)return i;t=t[e(665)]}while(t);return null}[vr(620)](){const t=vr;this[t(580)][t(567)][t(576)]((e=>{const i=t;for(const t of this[i(580)][i(567)][i(362)])e[i(603)](t)}))}}function br(t,e){return(i,n,r)=>{const s=wr;if(!r[s(363)][s(542)](n[s(658)],i[s(675)]))return;const o=n[s(658)][s(378)](),a=n[s(658)][s(510)],c=t[s(567)][s(636)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(605)];h=h||c[s(470)](e);const i=r[s(447)][s(400)](e);if(i&&i[s(596)](s(579)))return;s(370)==t[s(593)]&&c[s(462)](e)&&!c[s(457)](e)&&(e[s(418)]||a[s(607)]?u&&u[s(665)]==e||(u=e,f(t[s(441)]),d=!0):l=l||t[s(441)])}function f(t){const i=s,o=r[i(447)][i(423)](t),a=r[i(678)][i(404)](i(615),{class:i(494)+e});r[i(678)][i(634)](o,a),r[i(447)][i(521)](a,n[i(358)])}h||d||!l||f(l)}}function wr(t,e){const i=yr();return(wr=function(t,e){return i[t-=343]})(t,e)}class _r extends Hi.Command{constructor(t){const e=vr;super(t);const i=t[e(436)][e(611)](kr);this[e(385)]=!1,this[e(573)](i,e(548),(()=>this[e(351)]())),this[e(573)](i,e(481),(()=>this[e(351)]()))}[vr(586)](){const t=vr,e=this[t(580)],i=e[t(436)][t(611)](kr),n=i[t(589)]?i[t(585)][t(578)]:null;e[t(653)][t(611)](t(612))[t(486)](n)}[vr(351)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(580)][t(436)][t(611)](kr),s=r&&n[t(380)](r[t(578)]);this[t(409)]=e&&i&&Boolean(s)}}class Ir extends Hi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(436)][i(611)](kr);this[i(385)]=!1,this[i(424)]=i(384)===e?1:-1,this[i(573)](n,i(548),(()=>this[i(351)]())),this[i(573)](n,i(481),(()=>this[i(351)]())),this[i(573)](n,i(676),(()=>this[i(351)]()))}[vr(586)](){const e=vr,i=this[e(580)],n=i[e(436)][e(611)](kr),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(396)]=r?n[e(585)][e(435)][e(611)](s+this[e(424)]):n[e(585)][e(435)][e(503)],n[e(396)][e(387)][e(477)])o=i[e(432)][e(463)][e(357)](n[e(396)][e(672)]);else{const t=i[e(567)][e(362)][e(611)](e(354)+n[e(396)].id);o=(0,Bi.getMarkerDomElement)(i[e(432)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(351)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(580)][t(436)][t(611)](kr);this[t(409)]=!!(s&&r&&n)&&(!e||(1===this[t(424)]?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=Un();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(){const t=["895465dKXEJT","div","currentChangeNumber","forward","ck-revision-history-ui__changes-navigation","ck-revision-history-ui__changes-navigation__navigation","isNavigationMode","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__wrapper","execute","bind","isReady","ck-revision-history-ui","setTemplate","span","22fBhdfs","8LTWmMG","EDIT_X_OF_Y_REVISIONS","740131KYmkio","isEnabled","375VTzUPN","1679164pgMgTZ","Loading...","60tsMjjJ","6903261vTFbKv","numberOfChanges","NUMBER_OF_CHANGES","163887ChTNnA","bindTemplate","2828580oIchbz","_statusText","Total","X_OF_Y_CHANGES","backward","isBackwardNavigationEnabled","Show next change","ck-revision-history-ui__changes-navigation__label","ck-hidden","5416Zpwsmc","fire","_isStatusLabelVisible","set","No changes","Show previous change"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=208]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(554016===-parseInt(e(211))/1*(-parseInt(e(229))/2)+parseInt(e(218))/3+-parseInt(e(212))/4+parseInt(e(235))/5+parseInt(e(214))/6*(parseInt(e(209))/7)+parseInt(e(251))/8*(-parseInt(e(215))/9)+parseInt(e(220))/10*(-parseInt(e(250))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xr);class Ar extends En.View{constructor(t){const e=Tr;super(t);const i=this[e(219)],n=new En.ButtonView(t),r=new En.ButtonView(t);this[e(232)](e(241),!1),this[e(232)](e(246),!1),this[e(232)](e(237),0),this[e(232)](e(216),0),this[e(232)](e(242),!1),this[e(232)](e(225),!1),this[e(245)](e(231)).to(this,e(246),this,e(216),((t,e)=>t&&e>0)),this[e(245)](e(221)).to(this,e(246),this,e(237),this,e(216),this,e(241),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(213));if(!r)return Qi(t,o(233));const a=Qi(t,o(217),r);return s?Qi(t,o(223),[n+1,r]):a})),n[e(232)]({label:Qi(t,e(234)),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(232)]({label:Qi(t,e(226)),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(245)](e(210)).to(this,e(225)),r[e(245)](e(210)).to(this,e(242)),n.on(e(244),(()=>this[e(230)](e(244),e(224)))),r.on(e(244),(()=>this[e(230)](e(244),e(238)))),this[e(248)]({tag:e(236),attributes:{class:["ck",e(247),e(239)]},children:[{tag:e(249),attributes:{class:[e(243)]},children:[{tag:e(249),attributes:{class:[e(227),i.if(e(231),e(228),(t=>!t))]},children:[{text:i.to(e(241),(i=>i?Qi(t,e(208))+": ":Qi(t,e(222))+": "))}]},{text:i.to(e(221))}]},new En.ToolbarSeparatorView,{tag:e(236),attributes:{class:[e(240)]},children:[n,r]}]})}}var Nr=i(560),Mr={attributes:{"data-cke":!0}};Mr.setAttributes=Wn(),Mr.insert=Pn().bind(null,"head"),Mr.domAPI=Fn(),Mr.insertStyleElement=Un();Cn()(Nr.A,Mr);Nr.A&&Nr.A.locals&&Nr.A.locals;const Rr=Er;function Vr(){const t=["2361geWOSx","isPremiumPlugin","show","5994531UwTRpO","hide","pluginName","ck-editor__editable__loading-overlay","3188qHPDLv","document","85452AcJOAY","editor","isOfficialPlugin","8103704aMXQqQ","35KWUBio","2005703dmnyxa","RevisionViewerLoadingOverlay","addClass","175706wUNGOT","removeClass","roots","editing","6638800DYZsia","change","10RQEQbA","view"];return(Vr=function(){return t})()}function Er(t,e){const i=Vr();return(Er=function(t,e){return i[t-=387]})(t,e)}!function(t){const e=Er,i=t();for(;;)try{if(650298===parseInt(e(387))/1*(-parseInt(e(406))/2)+-parseInt(e(389))/3*(parseInt(e(396))/4)+-parseInt(e(402))/5*(-parseInt(e(398))/6)+-parseInt(e(403))/7+parseInt(e(401))/8+parseInt(e(392))/9+parseInt(e(410))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vr);const Dr=Rr(395);class Cr extends Hi.Plugin{static get[Rr(394)](){return Rr(404)}static get[Rr(400)](){return!0}static get[Rr(390)](){return!0}[Rr(391)](){const t=Rr,e=this[t(399)][t(409)][t(388)];e[t(411)]((i=>{const n=t;for(const t of e[n(397)][n(408)])i[n(405)](Dr,t)}))}[Rr(393)](){const t=Rr,e=this[t(399)][t(409)][t(388)];e[t(411)]((i=>{const n=t;for(const t of e[n(397)][n(408)])i[n(407)](Dr,t)}))}}function jr(t,e){const i=Lr();return(jr=function(t,e){return i[t-=269]})(t,e)}const Fr=jr;function Lr(){const t=["15hYXCML","isEnabled","componentFactory","1946928nrghfZ","restoreRevision","isForwardNavigationEnabled","isPremiumPlugin","config","isBackwardNavigationEnabled","2caYavW","listenTo","revisionHistory","numberOfChanges","3795270ySSNHe","get","RevisionViewerUI","undo","change:isReady","commands","948684UhIEMj","closeRevisionViewerCallback","9IvIYeD","isNavigationMode","plugins","ck-revision-history-ui__back-to-editing","exitToEditing","init","1205484KYtMVM","requires","set","756186alpzfi","add","changesNavigation","Restore this revision","currentChangeNumber","forward","show","execute","isReady","pluginName","editor","bind","showNextChange","hide","420324hYYKnA","isOfficialPlugin","322044gVcDXh","Back to editing","showPreviousChange"];return(Lr=function(){return t})()}!function(t){const e=jr,i=t();for(;;)try{if(233049===parseInt(e(312))/1+-parseInt(e(275))/2*(-parseInt(e(285))/3)+-parseInt(e(310))/4*(parseInt(e(315))/5)+-parseInt(e(296))/6+parseInt(e(293))/7+parseInt(e(269))/8+-parseInt(e(287))/9*(parseInt(e(279))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class Pr extends Hi.Plugin{static get[Fr(305)](){return Fr(281)}static get[Fr(311)](){return!0}static get[Fr(272)](){return!0}static get[Fr(294)](){return[kr,Cr]}[Fr(292)](){const t=Fr,e=this[t(306)],i=e[t(289)][t(280)](kr),n=e[t(289)][t(280)](Cr);e.ui[t(317)][t(297)](t(291),(i=>{const n=t,r=new En.ButtonView(i);return r[n(295)]({label:Qi(i,n(313)),icon:Hi.icons[n(282)],withText:!0,tooltip:!0,class:n(290)}),this[n(276)](r,n(303),(()=>{const t=n;e[t(273)][t(280)](t(277))[t(286)]()})),r})),e.ui[t(317)][t(297)](t(270),(i=>{const n=t,r=new En.ButtonView(i);return r[n(295)]({label:Qi(i,n(299)),withText:!0,tooltip:!0}),r[n(307)](n(316)).to(e[n(284)][n(280)](n(270))),this[n(276)](r,n(303),(()=>e[n(303)](n(270)))),r})),e.ui[t(317)][t(297)](t(298),(n=>{const r=t,s=new Ar(n),o=e[r(284)][r(280)](r(314)),a=e[r(284)][r(280)](r(308));return s[r(307)](r(274)).to(o,r(316)),s[r(307)](r(271)).to(a,r(316)),s[r(307)](r(304),r(300),r(278),r(288)).to(i),this[r(276)](s,r(303),((t,i)=>{const n=r;e[n(303)](n(301)===i?n(308):n(314))})),s})),n[t(302)](),i.on(t(283),((e,i,r)=>{const s=t;r?n[s(309)]():n[s(302)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Pn().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Un();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Zr=Ur;function Ur(t,e){const i=qr();return(Ur=function(t,e){return i[t-=453]})(t,e)}!function(t){const e=Ur,i=t();for(;;)try{if(136156===-parseInt(e(480))/1+parseInt(e(478))/2+parseInt(e(481))/3+-parseInt(e(453))/4+-parseInt(e(472))/5+parseInt(e(468))/6+-parseInt(e(465))/7*(-parseInt(e(458))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qr);class $r extends En.LabeledFieldView{constructor(t,e){const i=Ur;super(t,e),this[i(457)]=null;const n=this[i(459)];this[i(464)]({label:Qi(t,i(454)),_tooltipString:""}),this[i(473)][i(476)]=Qi(t,i(463)),this[i(471)]({tag:i(456),attributes:{class:[i(462)],"data-cke-tooltip-text":n.to(i(470)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(479)}})}[Zr(466)](){const e=Zr;super[e(466)](),this[e(457)]=new t.ResizeObserver(this[e(473)][e(467)],(()=>this[e(474)]())),this[e(460)](this[e(473)],e(461),(()=>this[e(474)]()))}[Zr(477)](){const t=Zr;super[t(477)](),this[t(457)]&&this[t(457)][t(477)]()}[Zr(474)](){const t=Zr,e=this[t(473)][t(467)];this[t(470)]=e[t(475)]>e[t(469)]&&e[t(455)]||""}}function qr(){const t=["extendTemplate","1251265KDaUPc","fieldView","_updateTooltipText","scrollWidth","placeholder","destroy","114226umXPEc","ck-tooltip_multi-line","244513xPlkLy","273372pBDINa","994152ApxrKY","Revision name","value","span","_resizeObserver","8pLIpKY","bindTemplate","listenTo","input","ck-revision-history-sidebar__revision-name","Enter the revision name","set","4259094Akewxz","render","element","736686ourlFT","clientWidth","_tooltipString"];return(qr=function(){return t})()}var Hr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Pn().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Un();Cn()(Hr.A,Br);Hr.A&&Hr.A.locals&&Hr.A.locals;function Yr(){const t=["18KVClDK","146085xZQOGt","ck-revision-history-sidebar__revision-author","1320LJMkpr","10xlrkBH","span","625916szuZBX","787554rczLAa","setTemplate","Revision author","666618uABKYg","0 0 11 10","3787odQlIg","ck-revision-history-sidebar__revision-author__name","set","Revision creator","ck-revision-history-sidebar__revision-author_creator","5435160FInjlc","48718vhDatX","push","name"];return(Yr=function(){return t})()}function Jr(t,e){const i=Yr();return(Jr=function(t,e){return i[t-=238]})(t,e)}!function(t){const e=Jr,i=t();for(;;)try{if(140233===-parseInt(e(252))/1+-parseInt(e(248))/2*(parseInt(e(251))/3)+-parseInt(e(257))/4+-parseInt(e(255))/5*(-parseInt(e(240))/6)+parseInt(e(242))/7*(-parseInt(e(254))/8)+-parseInt(e(258))/9+parseInt(e(247))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yr);class Gr extends En.View{constructor(t,e,i){const n=Jr;super(t);const r=new En.IconView;r[n(244)]({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(241)});const s=["ck",n(253)];i&&s[n(249)](n(246));const o=[{tag:n(256),attributes:{class:["ck",n(243)],title:Qi(t,n(i?245:239))},children:[r,e[n(250)]]}];this[n(238)]({tag:"li",attributes:{class:s},children:o})}}function Kr(t,e){var i=Xr();return(Kr=function(t,e){return i[t-=409]})(t,e)}function Xr(){var t=["9259060ipXEyh","3356672tfNVgg","574179RbbZmw","280ZupOUc","4586712ExHzRq","2924118wsgiod","toLocaleTimeString","long","numeric","93570jQkVAN","540786iAJVRy","2VRjjfs","toLocaleDateString"];return(Xr=function(){return t})()}!function(t){for(var e=Kr,i=t();;)try{if(986674===parseInt(e(410))/1+-parseInt(e(411))/2*(parseInt(e(415))/3)+-parseInt(e(414))/4+parseInt(e(413))/5+parseInt(e(409))/6*(-parseInt(e(416))/7)+parseInt(e(417))/8+-parseInt(e(418))/9)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=Un();Cn()(Qr.A,ts);Qr.A&&Qr.A.locals&&Qr.A.locals;function es(t,e){const i=is();return(es=function(t,e){return i[t-=263]})(t,e)}function is(){const t=["isActionsDropdownOpen","class","1226268bMApsX","change:isActionsDropdownOpen","Compare against selected","stopPropagation","panelPosition","listenTo","menu","90jRRleA","threeVerticalDots","isVisible","Restore this revision","listView","find","first","14628FqnUNF","add","isReady","ck-revision-history-sidebar__revision__actions","model","15442fXVXjF","locale","name","action","source","Show more items","bindTemplate","369084SoCgNS","buttonView","menuitem","button","extendTemplate","isEnabled","items","_action","bind","function","map","set","execute","isOpen","312477UAXaOM","children","ck-on","712gKWYPG","536733QWleyq","7118PIeSuB","Name this revision"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(112940===parseInt(e(303))/1+-parseInt(e(284))/2+-parseInt(e(298))/3+parseInt(e(272))/4*(-parseInt(e(265))/5)+parseInt(e(307))/6+parseInt(e(277))/7*(parseInt(e(301))/8)+parseInt(e(302))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(is);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Pn().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Un();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=os;function os(t,e){const i=as();return(os=function(t,e){return i[t-=254]})(t,e)}function as(){const t=["revisionActionsView","ck-revision-history-sidebar__revision__date","220","element","fieldView","createdAt","ck-revision-history-sidebar__revision","name","closest","uiLanguage","ck-reset","extendTemplate","56555eLWPwu","setName","1435983SAUuPK","ck-revision-history-sidebar__actions_dropdown_open","bindTemplate","17446790mFPypv","select","highlight","646037tARZTU","_revision","ck-disabled","151182vmpAKT","div","length","deselect","unhighlight","filter","556AQrLaZ","ck-revision-history-sidebar__revision_highlighted","isEnabled","isConfirm","ck-revision-history-sidebar__revision__controls-wrapper","creator","revisionNameView","_requireRevisionName","render","srcElement","bind","5405688MLnIPv","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","_createdAtFormatted","change","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision-authors","2812782BmIHIm","span","map","isReady","102eTCngd","isActionsDropdownOpen","unshift","from","value","fire",".ck-thread__remove-confirm","setTemplate","ck-revision-history-sidebar__revision_selected","authors","9gJOLOH","listenTo","set","isSelected","isHighlighted"];return(as=function(){return t})()}!function(t){const e=os,i=t();for(;;)try{if(970548===parseInt(e(308))/1+parseInt(e(266))/2+parseInt(e(299))/3+-parseInt(e(314))/4*(-parseInt(e(297))/5)+-parseInt(e(270))/6*(parseInt(e(305))/7)+parseInt(e(260))/8+parseInt(e(280))/9*(-parseInt(e(302))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(as);class cs extends((0,Bi.ConfirmMixin)(En.View)){constructor(e,i,n,r){const s=os;super(e);const o=this[s(301)],a=function(t,e){const i=s,n=Array[i(273)](e[i(279)])[i(313)]((t=>t!=e[i(254)]));return e[i(254)]&&n[i(272)](e[i(254)]),n[i(268)]((n=>new Gr(t,n,n==e[i(254)])))}(e,i);this.id=i.id,this[s(306)]=i,this[s(256)]=r,this[s(259)](s(292),s(290)).to(i),this[s(259)](s(262)).to(this,s(290),(t=>{return i=e[s(294)],(n=t)[(r=Kr)(412)](i,{month:r(420),day:r(421)})+", "+n[r(419)](i,{hour:r(421),minute:r(421)});var i,n,r})),this[s(282)](s(283),!1),this[s(282)](s(284),!1),this[s(282)](s(271),!1),this[s(282)](s(269),!1),this[s(282)](s(316),!1),this[s(255)]=new $r(e,En.createLabeledInputText),this[s(255)][s(289)][s(296)]({attributes:{maxlength:s(287)}}),this[s(255)][s(289)][s(259)](s(274)).to(this,s(292),(t=>t||this[s(262)])),this[s(255)][s(259)](s(316)).to(this,s(283),this,s(316),((t,e)=>t&&e)),this[s(285)]=n&&n[s(310)]?function(e,i){const n=es,r=e[n(283)],s=e[n(278)],o=(0,En.createDropdown)(s);o[n(311)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(278)],r={"Compare against selected":Qi(n,i(309)),"Name this revision":Qi(n,i(304)),"Restore this revision":Qi(n,i(268))};return e[i(294)]((t=>{const e=i,n=r[t[e(279)]];return n&&n!==t[e(279)]&&(t[e(279)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(287),model:new En.ViewModel({label:t[r(279)],class:t[r(306)],withText:!0,role:r(286),_action:t[r(280)]})};i[r(276)][r(292)](r(289)).to(e,r(305),(i=>r(293)!=typeof t[r(289)]||!i||t[r(289)](e))),o[r(273)](i)}return o}(e,i);return e[n(292)](n(305)).to(o,n(297)),o[n(285)][n(295)]({label:Qi(s,n(282)),tooltip:!0,tooltipPosition:"sw",icon:Hi.icons[n(266)]}),o[n(288)]({attributes:{class:[n(275),r.if(n(305),n(300))]},on:{click:r.to((t=>t[n(310)]()))}}),o.on(n(296),(t=>{const i=n;e[i(274)]&&i(293)==typeof t[i(281)][i(291)]&&t[i(281)][i(291)](e)})),(0,En.addListToDropdown)(o,a,{role:n(264)}),o[n(263)](e,n(308),((t,r,s)=>{const a=n;if(s)for(const t of o[a(269)][a(290)]){const n=t[a(299)][a(271)],r=i[a(270)]((t=>t[a(280)]===n[a(291)]))[a(267)];t[a(267)]=void 0===r||r(e)}})),o}(this,n):"",this[s(285)]&&this[s(285)][s(259)](s(316)).to(this),this[s(277)]({tag:s(309),attributes:{class:["ck",s(295),s(264),o.if(s(317),s(261))]},children:[{tag:s(309),attributes:{class:["ck",s(295),s(291),o.if(s(316),s(307),(t=>!t)),o.if(s(283),s(278)),o.if(s(284),s(315)),o.if(s(271),s(300))]},children:[this[s(255)],{tag:s(267),attributes:{class:["ck",s(286)]},children:[{text:o.to(s(262))}]},{tag:s(309),attributes:{class:["ck",s(318)]},children:[{tag:"ul",attributes:{class:["ck",s(265)]},children:a}]},this[s(285)]],on:{click:o.to((t=>{const e=s;t[e(258)][e(293)](e(276))||this[e(269)]&&this[e(316)]&&this[e(275)](e(303),{id:this.id})}))}}]})}[ss(257)](){const t=ss;super[t(257)]();const e=this[t(255)][t(289)][t(288)];this[t(281)](e,t(263),(()=>{const i=t;this[i(256)]&&!e[i(274)]||this[i(275)](i(298),{id:this.id,name:e[i(274)]}),e[i(274)]||(e[i(274)]=this[i(292)]?this[i(292)]:this[i(262)])}))}[ss(303)](){this[ss(283)]=!0}[ss(311)](){this[ss(283)]=!1}[ss(304)](){this[ss(284)]=!0}[ss(312)](){this[ss(284)]=!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},As={hour:ys,minute:ys,second:ys,timeZoneName:ks},Ns={hour:ys,minute:ys,hourCycle:"h23"},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Vs={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Es={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 Zs{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 Us=null;class $s extends Zs{static get instance(){return null===Us&&(Us=new $s),Us}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 qs={};const Hs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Ys extends Zs{static create(t){return Bs[t]||(Bs[t]=new Ys(t)),Bs[t]}static resetCache(){Bs={},qs={}}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,qs[n]||(qs[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"})),qs[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=Hs[e];"era"===e?n[s]=r:Zo(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 Js={};let Gs={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Gs[i];return n||(n=new Intl.DateTimeFormat(t,e),Gs[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&&qo()&&(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=Jo(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Gs={},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,Jo(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=Js[i];return n||(n=new Intl.ListFormat(t,e),Js[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:Ho()?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 Zs{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 Zs{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(Zo(t)||null===t)return e;if(t instanceof Zs)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 Uo(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=Jo(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 Ao=[0,31,59,90,120,151,181,212,243,273,304,334],No=[0,31,60,91,121,152,182,213,244,274,305,335];function Mo(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Ro(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 Vo(t,e,i){return i+(ia(t)?No:Ao)[e-1]}function Eo(t,e){const i=ia(t)?No:Ao,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=Vo(n,r,s),a=Do(Ro(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(Ro(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}=Eo(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:Vo(e,i,n),...ma(t)}}function Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Eo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Po(t,e){if(!Zo(t.localWeekday)||!Zo(t.localWeekNumber)||!Zo(t.localWeekYear)){if(!Zo(t.weekday)||!Zo(t.weekNumber)||!Zo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Zo(t.localWeekday)||(t.weekday=t.localWeekday),Zo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Zo(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=Go(t.month,1,12),n=Go(t.day,1,ra(t.year,t.month));return e?i?!n&&Mo("day",t.day):Mo("month",t.month):Mo("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Go(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Go(i,0,59),a=Go(n,0,59),c=Go(r,0,999);return s?o?a?!c&&Mo("millisecond",r):Mo("second",n):Mo("minute",i):Mo("hour",e)}function Zo(t){return void 0===t}function Uo(t){return"number"==typeof t}function $o(t){return"number"==typeof t&&t%1==0}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ho(){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 Jo(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Go(t.firstDay,1,7)||!Go(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Go(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Go(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 Zo(t)||null===t||""===t?void 0:parseInt(t,10)}function Qo(t){return Zo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Zo(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(Ro(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 Aa(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Na={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:As,T:Ns,TT:Ms,TTT:Rs,TTTT:Vs,f:Es,ff:Cs,fff:Ls,ffff:zs,F:Ds,FF:js,FFF:Ps,FFFF:Ws};class Ma{static create(t,e={}){return new Ma(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 Na[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=Ma.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 Aa(Ma.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=Ma.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Aa(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 Ra=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Va(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Ea(...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}?(?:\\[(${Ra.source})\\])?)?`}`),Pa=RegExp(`(?:T${La.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Za=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ra.source}))?`),Ua=RegExp(`(?: ${Za.source})?`);function $a(t,e,i){const n=t[e];return Zo(n)?i:Xo(n)}function qa(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 Ha(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}$`),Ja=/^-?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 Ga(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=Va(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Pa),ac=Va(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Pa),cc=Va(/(\d{4})-?(\d{3})/,Pa),uc=Va(La),lc=Ea((function(t,e){return[{year:$a(t,e),month:$a(t,e+1,1),day:$a(t,e+2,1)},null,e+3]}),qa,Ha,Ba),hc=Ea(za,qa,Ha,Ba),dc=Ea(Wa,qa,Ha,Ba),fc=Ea(qa,Ha,Ba);const mc=Ea(qa);const pc=Va(/(\d{4})-(\d\d)-(\d\d)/,Ua),vc=Va(Za),yc=Ea(qa,Ha,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 Nc(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 Ac(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Zo(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(Zo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Nc{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 Nc.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 Nc({values:da(t,Nc.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Uo(t))return Nc.fromMillis(t);if(Nc.isDuration(t))return t;if("object"==typeof t)return Nc.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[Ja,Ga])}(t);return i?Nc.fromObject(i,e):Nc.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?Nc.fromObject(i,e):Nc.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 Nc({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?Ma.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 Zo(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=Nc.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=Nc.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[Nc.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Nc.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 Ac(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=>Nc.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;Uo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Uo(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 Ac(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 Mc="Invalid Interval";class Rc{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 Rc({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?Rc.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:Rc.invalid("missing or invalid end"):Rc.invalid("missing or invalid start")}(i,n);return null==r?new Rc({start:i,end:n}):r}static after(t,e){const i=Nc.fromDurationLike(e),n=_u(t);return Rc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Nc.fromDurationLike(e),n=_u(t);return Rc.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 Rc.fromDateTimes(t,s);if(r){const i=Nc.fromISO(n,e);if(i.isValid)return Rc.after(t,i)}else if(o){const t=Nc.fromISO(i,e);if(t.isValid)return Rc.before(s,t)}}return Rc.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?Rc.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(Rc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Nc.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(Rc.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:Rc.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 Rc.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(Rc.fromDateTimes(e,t.time)),e=null);return Rc.merge(n)}difference(...t){return Rc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Mc}[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?Ma.create(this.s.loc.clone(e),t).formatInterval(this):Mc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Mc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Mc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Mc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Mc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Nc.invalid(this.invalidReason)}mapEndpoints(t){return Rc.fromDateTimes(t(this.s),t(this.e))}}class Vc{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:qo(),localeWeek:Ho()}}}function Ec(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Nc.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=Ec(t,e);return(i-i%7)/7}],["days",Ec]],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=Nc.fromObject(s,n);return u.length>0?Nc.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 Zc(t){return{regex:t,deser:([t])=>t}}const Uc={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 qc(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ma.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Hc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=qc(Ma.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 Zc(l);case"uu":return Zc(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 Zc(/[a-z_+-/]{1,256}?/i);case" ":return Zc(/[^\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;Zo(t.z)||(i=Ys.create(t.z)),Zo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Zo(t.q)||(t.M=3*(t.q-1)+1),Zo(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),Zo(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 Hc(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ma.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=Uc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Jc="Invalid DateTime",Gc=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=Nc.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?Ma.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(Zo(t.year))r=xo.now();else{for(const e of du)Zo(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=!!Zo(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=Zo(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=Uo(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(Uo(t))return t<-Gc||t>Gc?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(Uo(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=Zo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Zo(r.ordinal),l=!Zo(r.year),h=!Zo(r.month)||!Zo(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){Zo(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=Go(t.weekNumber,1,aa(t.weekYear,e,i)),s=Go(t.weekday,1,7);return n?r?!s&&Mo("weekday",t.weekday):Mo("week",t.weekNumber):Mo("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=$o(t.year),i=Go(t.ordinal,1,na(t.year));return e?!i&&Mo("ordinal",t.ordinal):Mo("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(Zo(t)||Zo(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 qc(Ma.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?Vc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Vc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Vc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Vc.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}=Ma.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=!Zo(e.weekYear)||!Zo(e.weekNumber)||!Zo(e.weekday),s=!Zo(e.ordinal),o=!Zo(e.year),a=!Zo(e.month)||!Zo(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):Zo(e.ordinal)?(l={...this.toObject(),...e},Zo(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,Nc.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Nc.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Nc.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?Ma.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Jc}toLocaleString(t=bs,e={}){return this.isValid?Ma.create(this.loc.clone(e),t).formatDateTime(this):Jc}toLocaleParts(t={}){return this.isValid?Ma.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():Jc}[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 Nc.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(Nc.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?Rc.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 Hc(r,t)}static fromFormatParser(t,e,i={}){if(Zo(t)||Zo(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 As}static get TIME_24_SIMPLE(){return Ns}static get TIME_24_WITH_SECONDS(){return Ms}static get TIME_24_WITH_SHORT_OFFSET(){return Rs}static get TIME_24_WITH_LONG_OFFSET(){return Vs}static get DATETIME_SHORT(){return Es}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&&Uo(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=Ou();return(Iu=function(t,e){return i[t-=379]})(t,e)}function Su(t,e){const i=Iu,n=wu[i(383)](t)[i(398)](e),r=wu[i(380)](),s=r[i(397)]({days:1})[i(390)](i(401));let o,a;return n[i(402)](r,i(401))?(o=n[i(390)](i(401))[i(395)](),a=n[i(403)]()):n[i(402)](s,i(401))?(o=s[i(395)](),a=n[i(403)]()):n[i(402)](r,i(389))?(o=n[i(390)](i(389))[i(395)](),a=n[i(392)]||""):n[i(402)](r,i(379))?(o=n[i(390)](i(381))[i(395)](),a=n[i(386)]||""):(o=n[i(390)](i(379))[i(395)](),a=String(n[i(379)])),{startDate:o,localizedPeriodName:a}}function Ou(){const t=["weekdayLong","30QTxAka","2394480QOlitq","toJSDate","1480965WZJqyD","minus","setLocale","135782sGydeA","2025558nhfXDO","day","hasSame","toRelativeCalendar","year","local","month","1570WGVEig","fromJSDate","6853IgNuLZ","320DMzYiL","monthLong","9322038UTPxjM","10LvQOlH","week","startOf","6420noOLDB"];return(Ou=function(){return t})()}!function(t){const e=Iu,i=t();for(;;)try{if(441949===-parseInt(e(399))/1*(parseInt(e(388))/2)+parseInt(e(396))/3+-parseInt(e(394))/4+-parseInt(e(382))/5*(parseInt(e(391))/6)+-parseInt(e(384))/7*(-parseInt(e(385))/8)+parseInt(e(400))/9*(parseInt(e(393))/10)+parseInt(e(387))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ou);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Pn().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Un();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Au=Nu;function Nu(t,e){const i=Mu();return(Nu=function(t,e){return i[t-=325]})(t,e)}function Mu(){const t=["ck-revision-history-sidebar__time-period","uiLanguage","6KegyrV","287sqSMUr","div","10378395XThZjd","109967PcpXee","ck-revision-history-sidebar__time-period__label","6110XDcfon","3788656CrImxt","ck-revision-history-sidebar__time-period__revisions","setTemplate","select","startDate","delegate","remove","setName","29WuCSNh","addRevision","1010lPjTuG","6119735iKwyLU","span","383073qIVvFK","localizedPeriodName","_revisionActions","createCollection","find","removeRevision","revisionViews","157096VNUhUM","locale","add","_requireRevisionName"];return(Mu=function(){return t})()}!function(t){const e=Nu,i=t();for(;;)try{if(632696===parseInt(e(325))/1*(parseInt(e(349))/2)+-parseInt(e(330))/3+parseInt(e(350))/4+parseInt(e(328))/5*(-parseInt(e(343))/6)+parseInt(e(344))/7*(parseInt(e(337))/8)+parseInt(e(346))/9+parseInt(e(327))/10*(-parseInt(e(347))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mu);class Ru extends En.View{constructor(t,e,i,n){const r=Nu;super(t);const s=Su(e,this[r(338)][r(342)])[r(331)];this[r(354)]=e,this[r(336)]=this[r(333)](),this[r(332)]=i,this[r(340)]=n,this[r(336)][r(355)](r(353)).to(this),this[r(336)][r(355)](r(357)).to(this),this[r(352)]({tag:r(345),attributes:{class:["ck",r(341)]},children:[{tag:r(329),attributes:{class:["ck",r(348)]},children:[{text:s}]},{tag:r(345),attributes:{class:["ck",r(351)]},children:this[r(336)]}]})}[Au(326)](t){const e=Au,i=new cs(this[e(338)],t,this[e(332)],this[e(340)]);this[e(336)][e(339)](i)}[Au(335)](t){const e=Au,i=this[e(336)][e(334)]((e=>e.id===t.id));this[e(336)][e(356)](i)}}var Vu=i(173),Eu={attributes:{"data-cke":!0}};Eu.setAttributes=Wn(),Eu.insert=Pn().bind(null,"head"),Eu.domAPI=Fn(),Eu.insertStyleElement=Un();Cn()(Vu.A,Eu);Vu.A&&Vu.A.locals&&Vu.A.locals;!function(t){const e=Cu,i=t();for(;;)try{if(374288===parseInt(e(316))/1+parseInt(e(321))/2*(parseInt(e(319))/3)+-parseInt(e(332))/4+parseInt(e(335))/5*(-parseInt(e(331))/6)+parseInt(e(325))/7*(parseInt(e(324))/8)+-parseInt(e(320))/9+parseInt(e(322))/10*(-parseInt(e(327))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ju);class Du extends En.View{constructor(t){const e=Cu;super(t);const i=new En.IconView;i[e(328)]=Hi.icons[e(326)],this[e(333)]({tag:e(329),attributes:{class:["ck",e(318),e(330)]},children:[i,{tag:e(323),attributes:{class:["ck",e(317)]},children:[Qi(t,e(334))]}]})}}function Cu(t,e){const i=ju();return(Cu=function(t,e){return i[t-=316]})(t,e)}function ju(){const t=["951952WwiXam","setTemplate","Revision history","169025dabWDa","601530yHOVLP","ck-revision-history-sidebar__header__label","ck-reset_all","504270hPEiwO","1086381yeeiMX","2mwXSwr","10AMMxLc","span","5170336jSmkpS","7cWVwFw","history","3049937QUAMZt","content","div","ck-revision-history-sidebar__header","72kdvSky"];return(ju=function(){return t})()}var Fu=i(722),Lu={attributes:{"data-cke":!0}};Lu.setAttributes=Wn(),Lu.insert=Pn().bind(null,"head"),Lu.domAPI=Fn(),Lu.insertStyleElement=Un();Cn()(Fu.A,Lu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Pu=Wu;function zu(){const t=["getTime","timePeriodViews","5930771HWjXlm","_requireRevisionName","unhighlight","deselect","fire","find","_getTimePeriodViewByStartDate","get","render","highlightRevisions","delegate","map","removeRevision","uiLanguage","7ikadCc","add","ck-revision-history-sidebar","revisionViews","bindTemplate","remove","_removeRevision","createdAt","locale","highlight","isEnabled","select","ck-disabled","setTemplate","_addRevision","ck-revision-history-sidebar__timeline","1260068vaKbSd","668XFfRtE","startDate","40juBMpc","div","selectRevision","_revisionActions","set","setName","_revisions","8YZEcMo","ck-reset","createCollection","revisionSelected","11185zaqXnt","flat","3166266bBxxSG","1576128fvQKoH","addRevision","ck-rounded-corners","some","revisionSetName","2490087wsEfaG","2989449XNrmkL"];return(zu=function(){return t})()}function Wu(t,e){const i=zu();return(Wu=function(t,e){return i[t-=150]})(t,e)}!function(t){const e=Wu,i=t();for(;;)try{if(807128===-parseInt(e(164))/1+parseInt(e(203))/2+parseInt(e(169))/3+parseInt(e(204))/4*(-parseInt(e(161))/5)+parseInt(e(163))/6*(-parseInt(e(187))/7)+-parseInt(e(157))/8*(parseInt(e(170))/9)+parseInt(e(150))/10*(parseInt(e(173))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zu);class Zu extends En.View{constructor(t,e,i,n){const r=Wu;super(t);const s=this[r(191)];this[r(172)]=this[r(159)](),this[r(172)][r(183)](r(198)).to(this),this[r(172)][r(183)](r(155)).to(this),this[r(156)]=e,this[r(153)]=i,this[r(174)]=n,this.on(r(198),((t,e)=>{const i=r;this[i(177)](i(160),e)})),this.on(r(155),((t,e)=>{const i=r;this[i(177)](i(168),e)})),this[r(154)](r(197),!1),this[r(200)]({tag:r(151),attributes:{class:["ck",r(158),r(166),r(189)]},children:[new Du(t),{tag:r(151),attributes:{class:["ck",r(202),s.if(r(197),r(199),(t=>!t))]},children:this[r(172)]}]})}[Pu(181)](){const t=Pu;super[t(181)]();for(const e of this[t(156)])this[t(201)](e);this[t(156)].on(t(188),((e,i)=>{this[t(201)](i)})),this[t(156)].on(t(192),((e,i)=>{this[t(193)](i)}))}get[Pu(190)](){const t=Pu;return this[t(172)][t(184)]((e=>e[t(190)][t(184)]((t=>t))))[t(162)]()}[Pu(152)](t){const e=Pu;for(const i of this[e(190)])t&&t.id===i.id?i[e(198)]():i[e(176)]()}[Pu(182)](t){const e=Pu;for(const i of this[e(190)])t[e(167)]((({id:t})=>t===i.id))?i[e(196)]():i[e(175)]()}[Pu(201)](t){const e=Pu,i=Su(t[e(194)],this[e(195)][e(186)])[e(205)];let n=this[e(172)][e(180)](0);n&&n[e(205)][e(171)]()===i[e(171)]()||(n=new Ru(this[e(195)],i,this[e(153)],this[e(174)]),this[e(172)][e(188)](n)),n[e(165)](t)}[Pu(193)](t){const e=Pu,i=Su(t[e(194)],this[e(195)][e(186)])[e(205)];this[e(179)](i)[e(185)](t)}[Pu(179)](t){const e=Pu;return this[e(172)][e(178)]((i=>i[e(205)][e(171)]()===t[e(171)]()))}}const Uu=$u;function $u(t,e){const i=qu();return($u=function(t,e){return i[t-=280]})(t,e)}function qu(){const t=["name","getEarlierVisibleRevision","_handleEditorDataReady","editor","revisionHistory.revisionActions","isPremiumPlugin","revisionHistory.requireRevisionName","revisionHistory","restoreRevisionCallback","14867850ucdwrh","9zTrATR","getIndex","locale","pluginName","_handleRevisionSelected","13688iohgUX","Name this revision","listenTo","data","change:diff","getRevisionsInDiff","getRevision","isReady","546EsGYic","28XbECLk","743950sIWroA","init","386187rlQJPy","render","_handleRevisionSetName","element","remove","isSelected","nameRevision","_handleDiffChange","revisionViews","revisionHistory.viewerSidebarContainer","1154824tBRkHf","add","timePeriodViews","requires","_sidebarView","revisionSelected","31325KtyNLN","select","setName","length","_revisions","Restore this revision","availableRevisionActions","166622kJtZoT","compareAgainstSelected","getLaterVisibleRevision","compare","destroy","config","plugins","Compare against selected","assign","focus","diff","highlightRevisions","bind","_revisionsRepository","action","revisionSetName","fieldView","restoreRevision","isEnabled","repository","isVisible","isOfficialPlugin","newRevisionId","appendChild","ready","_createRevisionActions","RevisionsSidebar","_revisionViewer","map","string","selectRevision","get","defaultRevisionActions"];return(qu=function(){return t})()}!function(t){const e=$u,i=t();for(;;)try{if(300726===parseInt(e(291))/1+-parseInt(e(349))/2+-parseInt(e(351))/3+-parseInt(e(361))/4+parseInt(e(284))/5*(-parseInt(e(347))/6)+-parseInt(e(348))/7*(-parseInt(e(339))/8)+-parseInt(e(334))/9*(-parseInt(e(333))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qu);class Hu extends Hi.Plugin{static get[Uu(337)](){return Uu(317)}static get[Uu(312)](){return!0}static get[Uu(329)](){return!0}static get[Uu(281)](){return[kr]}constructor(t){const e=Uu;super(t),this[e(318)]=t[e(297)][e(322)](kr),this[e(304)]=this[e(318)][e(310)],this[e(282)]=null}[Uu(350)](){const t=Uu,e=this[t(304)][t(288)],i=this[t(316)](),n=this[t(327)][t(296)][t(322)](t(360));this[t(282)]=new Zu(this[t(327)][t(336)],e,i,this[t(327)][t(296)][t(322)](t(330))),this[t(282)].on(t(283),this[t(338)][t(303)](this)),this[t(282)].on(t(306),this[t(353)][t(303)](this)),this[t(282)][t(303)](t(309)).to(this[t(318)]),this[t(282)][t(280)].on(t(362),((e,i)=>{const n=t;i[n(359)].on(n(362),((t,e)=>{const i=n;e[i(303)](i(309),i(346)).to(this[i(318)])}))})),this[t(282)][t(352)](),this[t(341)](this[t(327)][t(342)],t(315),this[t(326)][t(303)](this)),this[t(341)](this[t(318)],t(343),this[t(358)][t(303)](this)),n[t(314)](this[t(282)][t(354)])}[Uu(295)](){const t=Uu;this[t(282)][t(354)][t(355)](),this[t(282)][t(295)]()}[Uu(326)](){const t=Uu,e=this[t(304)][t(345)](0);if(e){const i=this[t(304)][t(325)](e.id);this[t(318)][t(294)](e,i)}}[Uu(338)](t,e){const i=Uu,n=this[i(304)][i(345)](e.id),r=this[i(304)][i(325)](n.id);this[i(318)][i(294)](n,r)}[Uu(353)](t,e){const i=Uu;this[i(304)][i(345)](e.id)[i(286)](e[i(324)])}[Uu(358)](t,e,i){const n=Uu,r=this[n(304)][n(344)](i);r[n(287)]>2?(this[n(282)][n(302)](r),this[n(282)][n(321)](null)):(this[n(282)][n(302)]([]),this[n(282)][n(321)](r[0]))}[Uu(316)](){const t=Uu,e=this[t(327)],i=Hu[t(290)],n=e[t(296)][t(322)](t(328))||Hu[t(323)];if(n[t(287)])return n[t(319)]((n=>{const r=t,s=r(320)==typeof n?Object[r(299)]({},i[n]):n;return s[r(305)]=s[r(305)][r(303)](this,e),s[r(311)]&&(s[r(311)]=s[r(311)][r(303)](this,e)),s}))}}Hu[Uu(323)]=[Uu(292),Uu(308),Uu(357)],Hu[Uu(290)]={compareAgainstSelected:{name:Uu(298),action:({plugins:t},e)=>{const i=Uu,n=t[i(322)](kr),r=n[i(310)];let s=n[i(301)][i(313)],o=e.id;r[i(335)](s)>r[i(335)](o)&&([s,o]=[o,s]),n[i(294)](s,o)},isVisible:({plugins:t},e)=>{const i=Uu,n=t[i(322)](kr);return!(n[i(310)][i(344)](n[i(301)])[i(287)]>2||e[i(356)])}},restoreRevision:{name:Uu(289),action:(t,{id:e})=>{const i=Uu;t[i(296)][i(322)](i(331))[i(332)](e)},isVisible:({plugins:t},e)=>!!t[Uu(322)](kr)[Uu(310)][Uu(293)](e.id)},nameRevision:{name:Uu(340),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Uu,r=t[n(322)](kr),s=r[n(310)][n(325)](e);r[n(294)](e,s),i[n(300)](),i[n(307)][n(285)]()}}};const Bu=Hu,Yu=Gu;function Ju(){const t=["limiterElement","view","element","componentFactory","focusTracker","33330ZeICXQ","_view","1516092VPHCJS","9lrNvwg","get","getRoot","ready","editor","233891qvFgFm","_elementReplacer","32ypxqKd","fillFromConfig","9465080CqOJZd","config","isFocused","editing","_toolbarConfig","replace","384618NpTjwL","_initToolbar","viewportTopOffset","restore","destroy","toolbar","stickyPanel","fire","detachDomRoot","30FiJuTn","attachDomRoot","1835430GoHerr","document","addToolbar","481578KwugpS","render","init","editable","isActive","rootName","bind","viewportOffset","setEditableElement","name"];return(Ju=function(){return t})()}function Gu(t,e){const i=Ju();return(Gu=function(t,e){return i[t-=491]})(t,e)}!function(t){const e=Gu,i=t();for(;;)try{if(193262===-parseInt(e(521))/1+-parseInt(e(530))/2*(parseInt(e(503))/3)+parseInt(e(505))/4+-parseInt(e(532))/5+-parseInt(e(535))/6+parseInt(e(511))/7*(-parseInt(e(513))/8)+parseInt(e(506))/9*(parseInt(e(515))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ju);class Ku extends En.EditorUI{get[Yu(499)](){return this[Yu(504)]}constructor(e,i){const n=Yu;super(e),this[n(504)]=i,this[n(519)]=(0,En.normalizeToolbarConfig)(e[n(516)][n(507)](n(526))),this[n(512)]=new t.ElementReplacer}get[Yu(500)](){const t=Yu;return this[t(499)][t(500)]}[Yu(537)](t){const e=Yu,i=this[e(510)],n=this[e(499)],r=i[e(518)][e(499)],s=n[e(491)],o=r[e(533)][e(508)]();s[e(497)]=o[e(493)],n[e(536)]();const a=s[e(500)];this[e(496)](s[e(497)],a),n[e(491)][e(494)](e(517)).to(this[e(502)]),r[e(531)](a),this[e(512)][e(520)](t,this[e(500)]),this[e(522)](),this[e(528)](e(509))}[Yu(525)](){const t=Yu;super[t(525)]();const e=this[t(499)],i=this[t(510)][t(518)][t(499)];this[t(512)][t(524)](),i[t(529)](e[t(491)][t(497)]),e[t(525)]()}[Yu(522)](){const t=Yu,e=this[t(499)];e[t(527)][t(494)](t(492)).to(this[t(502)],t(517)),e[t(527)][t(498)]=e[t(500)],e[t(527)][t(494)](t(523)).to(this,t(495),(({top:t})=>t)),e[t(526)][t(514)](this[t(519)],this[t(501)]),this[t(534)](e[t(526)])}}var Xu=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=Pn().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Un();Cn()(Xu.A,Qu);Xu.A&&Xu.A.locals&&Xu.A.locals;var tl=el;function el(t,e){var i=il();return(el=function(t,e){return i[t-=150]})(t,e)}function il(){var t=["10MAgIgX","toolbar","_editable","21234rbheiU","159rqJtCT","content","5172612gqUEgU","add","1540WqVvCv","shouldToolbarGroupWhenFull","render","2298895qoGOQG","editable","12075858MhFgMN","735125eLvFAG","main","top","23448wEyowh","641168Nasggl","stickyPanel"];return(il=function(){return t})()}!function(t){for(var e=el,i=t();;)try{if(446725===-parseInt(e(162))/1+parseInt(e(151))/2*(-parseInt(e(152))/3)+parseInt(e(166))/4+parseInt(e(159))/5+-parseInt(e(154))/6+parseInt(e(156))/7*(parseInt(e(165))/8)+-parseInt(e(161))/9*(-parseInt(e(168))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(il);class nl extends En.BoxedEditorUIView{get[tl(160)](){return this[tl(150)]}constructor(t,e,i={}){var n=tl;super(t),this[n(167)]=new En.StickyPanelView(t),this[n(169)]=new En.ToolbarView(t,{shouldGroupWhenFull:i[n(157)]}),this[n(150)]=new En.InlineEditableUIView(t,e)}[tl(158)](){var t=tl;super[t(158)](),this[t(167)][t(153)][t(155)](this[t(169)]),this[t(164)][t(155)](this[t(167)]),this[t(163)][t(155)](this[t(160)])}}function rl(){const t=["editing","init","3267824dBaEDU","document","get","createRoot","create","_ui","12cPEfcR","view","1730095McKstk","1419668BMjcCQ","16379512Lzrnkq","sourceElement","1421416YIKoHA","ready","destroy","config","initialData","2332188EMbqix","fire","model","data","updateSourceElement","488726kWCmYu","locale","initPlugins"];return(rl=function(){return t})()}const sl=ol;function ol(t,e){const i=rl();return(ol=function(t,e){return i[t-=489]})(t,e)}!function(t){const e=ol,i=t();for(;;)try{if(467938===parseInt(e(510))/1+-parseInt(e(500))/2+-parseInt(e(505))/3+-parseInt(e(497))/4+-parseInt(e(496))/5*(parseInt(e(494))/6)+parseInt(e(515))/7+parseInt(e(498))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rl);class al extends((0,Hi.ElementApiMixin)(Hi.Editor)){get ui(){return this[ol(493)]}constructor(t,e){const i=ol;super(e),this[i(499)]=t,this[i(507)][i(489)][i(491)]();const n=new nl(this[i(511)],this[i(513)][i(495)],{shouldToolbarGroupWhenFull:!0});this[i(493)]=new Ku(this,n)}[sl(502)](){const t=sl;return this[t(509)](),this.ui[t(502)](),super[t(502)]()}static async[sl(492)](t,e){const i=sl,n=new this(t,e);return await n[i(512)](),await n.ui[i(514)](t),await n[i(508)][i(514)](n[i(503)][i(490)](i(504))||""),n[i(506)](i(501)),n}}function cl(){const t=["plugins","revisionHistory.closeRevisionViewerCallback","getRoot","revisionHistory.showRevisionViewerCallback","repository","_restoreRevision","init","getRevision","createRangeIn","enqueueChange","revisionHistory","removeMarker","3872658GatVYJ","change","revision-history-missing-configuration","includes","isOfficialPlugin","result","locale","Users","RevisionTracker","destroy","toolbar","RevisionViewerIntegration","uiLanguage","none","_showRevisionViewer","setAttribute","get","Annotations","_cleanUp","disableReadOnlyMode","indexOf","getAttributeKeys","parse","catch","setSelection","toJSON","enableReadOnlyMode","isAttached","RevisionHistory","map","isReady","data","display","18968kdcIwa","from","fromVersion","refreshVisibility","_enhanceShowRevisionViewerCallback","addUser","toLocaleTimeString","getMarkersGroup","closeRevisionViewerCallback","2420088duJZpd","isPremiumPlugin","push","name","addRevisionData","revision-history-viewer-opened","revisionHistory.viewerContainer","4512081dNxvrk","insert","set","51WdWESu","remove","PaginationLookup","addRoot","pluginName","revisionHistory.editorContainer","rootName","create","getUser","document","Restored","8LPKctO","bind","isReadOnly","showRevisionViewerCallback","revisionHistory.viewerEditorElement","lazyRoots","adapter","createdAt","translations","_recalculatePageBreaks","revisionHistory.restoreRevisionCallback","Dialog","getRevisions","removeAttribute","toVersion","hide","exitToEditing","isOpen","markers","251510sTlgEP","update","_getRevisionViewerEditorConfig","isAnonymous","join","getRevisionRootsAttributes","_closeRevisionViewer","restrictedEditingException","then","revisionHistory.requireRevisionName","getRevisionData","saveRevision","roots","$graveyard","model","RevisionsRepository","restoreRevision","style","refreshPositioning","creator","error","4537548UYjafF","end","isEnabled","_update","Autosave","users","_viewerEditor","detachRoot","requires","commands","RevisionHistoryUI","fromCharCode","toLocaleDateString","715606JDTIem","editor","define","RestrictedEditingMode","selection","_enhanceCloseRevisionViewerCallback","save","removeSelectionAttribute","numeric","long","keys","has","block","config","changesNavigation","RevisionViewer","5itkBPj"];return(cl=function(){return t})()}const ul=ll;function ll(t,e){const i=cl();return(ll=function(t,e){return i[t-=479]})(t,e)}!function(t){const e=ll,i=t();for(;;)try{if(951673===parseInt(e(547))/1+-parseInt(e(609))/2*(-parseInt(e(483))/3)+parseInt(e(618))/4+parseInt(e(563))/5*(-parseInt(e(576))/6)+-parseInt(e(480))/7*(-parseInt(e(494))/8)+-parseInt(e(534))/9+-parseInt(e(513))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(cl);const hl=[ul(544),ul(550)];class dl extends Hi.Plugin{static get[ul(487)](){return ul(587)}static get[ul(580)](){return!0}static get[ul(619)](){return!0}constructor(t){const e=ul;function i(t){const e=ll;return t[e(605)]((t=>String[e(545)](t)))[e(517)]("")}super(t),this[e(581)]=e(535),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 Hi.Plugin{static get[ul(487)](){return ul(604)}static get[ul(580)](){return!0}static get[ul(619)](){return!0}static get[ul(542)](){return[On,er]}constructor(e){const i=ul;if(super(e),!this[i(548)][i(560)][i(592)](i(574)))throw new t.CKEditorError(i(578),this);this[i(540)]=null,this[i(548)][i(560)][i(549)](i(567),(t=>this[i(590)]({...t,translations:this[i(548)][i(582)][i(502)]}))),this[i(548)][i(560)][i(549)](i(565),(t=>this[i(519)](t))),this[i(548)][i(560)][i(549)](i(504),(t=>this[i(569)](t))),this[i(548)][i(560)][i(549)](i(522),!1),this[i(613)](),this[i(552)]()}set[ul(500)](t){const e=ul;this[e(548)][e(564)][e(592)](e(584))[e(500)]=t}get[ul(500)](){const t=ul;return this[t(548)][t(564)][t(592)](t(584))[t(500)]}[ul(622)](t){const e=ul;return this[e(548)][e(564)][e(592)](e(584))[e(622)](t)}[ul(571)](t){const e=ul;return this[e(548)][e(564)][e(592)](e(528))[e(571)](t)}[ul(506)](t){const e=ul;return this[e(548)][e(564)][e(592)](e(528))[e(506)](t||{toJSON:!1})}[ul(515)](){const e=ul,i=this[e(548)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(564)][e(592)](e(584)),s=i[e(564)][e(592)](e(583))[e(539)];return n[e(586)]=[e(510),e(529),e(561)],delete n[e(499)],n[e(564)][e(620)](dl,kr,Pr,class extends Hi.Plugin{static get[e(542)](){return[kr,e(583)]}[e(570)](){const n=e,o=this[n(548)][n(564)][n(592)](n(583));for(const t of s)t[n(516)]||o[n(491)](t.id)||o[n(614)](t);const a=r[n(568)][n(506)]();let c=null;const u=this[n(548)][n(564)][n(592)](n(562));u[n(500)]=r[n(500)],u[n(495)](n(536)).to(r),this[n(548)][n(543)][n(592)](n(529))[n(495)](n(536)).to(i,n(496),(t=>!t));for(const e of a){const i=null===e[n(532)];if(i&&e[n(508)]===e[n(611)])continue;const s=e[n(601)]();u[n(622)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(537)](s,o);else if(!o){const e=a[u(601)]();e.id=(0,t.uid)(),r[u(524)](e,a[u(508)])[u(521)]((t=>{c=t}))}}else e[u(537)](s,o)}))}}},Bu),n}[ul(613)](){const t=ul,e=this[t(548)][t(560)][t(592)](t(574))[t(497)];this[t(548)][t(560)][t(482)](t(567),(async()=>{const i=t;this[i(548)][i(602)](i(623));const n=this[i(548)][i(564)][i(592)](i(584));if(this[i(548)][i(564)][i(558)](i(538))){const t=this[i(548)][i(564)][i(592)](i(538));await t[i(553)]()}else await n[i(514)]();if(this[i(548)][i(564)][i(558)](i(485))&&this[i(548)][i(564)][i(592)](i(485))[i(503)](),this[i(548)][i(564)][i(558)](i(505))){const t=this[i(548)][i(564)][i(592)](i(505));t[i(511)]&&t[i(509)]()}const r=this[i(515)]();return e(r)[i(521)]((t=>{const e=i;return this[e(540)]=t,this[e(548)][e(564)][e(558)](e(593))&&this[e(548)][e(564)][e(592)](e(593))[e(612)](),t}))[i(599)]((t=>(console[i(533)](t),this[i(548)][i(595)](i(623)),null)))}))}[ul(552)](){const t=ul,e=this[t(548)][t(560)][t(592)](t(574))[t(617)];this[t(548)][t(560)][t(482)](t(565),(()=>(this[t(548)][t(564)][t(558)](t(485))&&this[t(548)][t(564)][t(592)](t(485))[t(503)](),this[t(540)][t(564)][t(592)](t(562))[t(594)](),e(this[t(540)])[t(521)]((()=>{const e=t;if(this[e(548)][e(595)](e(623)),this[e(540)]=null,this[e(548)][e(564)][e(558)](e(593))){const t=this[e(548)][e(564)][e(592)](e(593));t[e(612)](),t[e(531)]()}})))))}[ul(590)](t){const e=ul,i=this[e(548)][e(560)][e(592)](e(488)),n=this[e(548)][e(560)][e(592)](e(479)),r=this[e(548)][e(560)][e(592)](e(498));return al[e(490)](r,t)[e(521)]((t=>(n[e(530)][e(608)]=e(559),i[e(530)][e(608)]=e(589),t)))}[ul(519)](t){const e=ul,i=this[e(548)][e(560)][e(592)](e(488));return this[e(548)][e(560)][e(592)](e(479))[e(530)][e(608)]=e(589),i[e(530)][e(608)]="",t[e(585)]()}async[ul(569)](t){const e=ul,i=this[e(548)],n=this[e(540)][e(564)][e(592)](e(562)),r=i[e(564)][e(592)](e(584)),s=n[e(568)][e(571)](t);let o,a,c;try{o=await n[e(523)](s),a=await n[e(518)](s)}catch(t){return void console[e(533)](t)}i[e(527)][e(577)]((t=>{const n=e;for(const e of Array[n(610)](i[n(527)][n(512)][n(616)](n(520))))t[n(575)](e)})),n[e(606)]=!1,i[e(527)][e(573)]((t=>{const n=e;t[n(600)](null),t[n(554)](i[n(527)][n(492)][n(551)][n(597)]());const r=Object[n(557)](o);for(const e of i[n(527)][n(492)][n(525)])n(526)!=e[n(489)]&&e[n(603)]()&&!r[n(579)](e[n(489)])&&t[n(541)](e);for(const e of r){let r=i[n(527)][n(492)][n(566)](e);r&&r[n(603)]()||(r=t[n(486)](e));const s=a[e],c=Object[n(557)](s),u=o[e];for(const e of r[n(597)]())c[n(579)](e)||t[n(507)](e,r);for(const i of c)t[n(591)](i,a[e][i],r);t[n(484)](t[n(572)](r)),t[n(481)](i[n(607)][n(598)](u,r),r,0)}}));const u=Qi(i[e(582)],e(493));return c=s[e(621)]?-1==s[e(621)][e(596)](u)?u+": "+s[e(621)]:s[e(621)]:u+": "+s[e(501)][e(546)](i[e(582)][e(588)],{month:e(556),day:e(555)})+", "+s[e(501)][e(615)](i[e(582)][e(588)],{hour:e(555),minute:e(555)}),await r[e(524)]({name:c}),n[e(606)]=!0,i[e(560)][e(592)](e(574))[e(617)]()}}function ml(){var t=["2298024AAjkAd","8000195kNrJOC","1957956zrAHfW","4671066jrlAFR","1627572MPtgae","2349165PjWQJE","5hoCRYx","48AMKAwh","1140598CEuOAk"];return(ml=function(){return t})()}function pl(t,e){var i=ml();return(pl=function(t,e){return i[t-=321]})(t,e)}!function(t){for(var e=pl,i=t();;)try{if(603922===-parseInt(e(321))/1+parseInt(e(324))/2+parseInt(e(327))/3+-parseInt(e(326))/4+-parseInt(e(328))/5*(-parseInt(e(325))/6)+parseInt(e(323))/7+parseInt(e(329))/8*(-parseInt(e(322))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ml)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
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:()=>xn,RevisionViewer:()=>br,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Pr,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 x=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 O=Object.prototype.toString;const T=function(t){return O.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)?x(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const V=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 M=k["__core-js_shared__"];var E,D=(E=/[^.]+$/.exec(M&&M.keys&&M.keys.IE_PROTO||""))?"Symbol(src)_1."+E:"";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 H=function(t){return!(!R(t)||C(t))&&(V(t)?Z:L).test(F(t))};const $=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=$(t,e);return H(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 xt=Object.prototype,Ot=xt.hasOwnProperty,Tt=xt.propertyIsEnumerable;const Nt=St(function(){return arguments}())?St:function(t){return It(t)&&Ot.call(t,"callee")&&!Tt.call(t,"callee")};const At=Array.isArray;const Rt=function(){return!1};var Vt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Mt=Vt&&"object"==typeof module&&module&&!module.nodeType&&module,Et=Mt&&Mt.exports===Vt?k.Buffer:void 0;const Dt=(Et?Et.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 Ht=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}();var $t=Ht&&Ht.isTypedArray;const qt=$t?zt($t):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)&&!V(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 xe=function(t,e,i){var n=e(t);return At(t)?n:we(n,i(t))};const Oe=function(t){return xe(t,ie,ke)};const Te=function(t){return xe(t,ae,Ie)};const Ne=q(k,"DataView");const Ae=q(k,"Promise");const Re=q(k,"Set");const Ve=q(k,"WeakMap");var Me="[object Map]",Ee="[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(Ve),Ue=A;(Ne&&Ue(new Ne(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Me||Ae&&Ue(Ae.resolve())!=Ee||Re&&Ue(new Re)!=De||Ve&&Ue(new Ve)!=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 Me;case Pe:return Ee;case ze:return De;case We:return Ce}return e});const Ze=Ue;var He=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&He.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=Ht&&Ht.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=Ht&&Ht.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=$e(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:Oe: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,xi=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 Oi=xi;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 Vi=function(t){return null==t?"":Ri(t)};const Mi=function(t,e){return At(t)?t:bi(t,e)?[t]:Oi(Vi(t))};const Ei=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=Mi(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Ei(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=Mi(e,t)).length;null!=t&&i<n;)t=t[Ei(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=Mi(e,t),null==(t=Pi(t,e))||delete t[Ei(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)},Ui=Zi;function Zi(t,e){const i=$i();return(Zi=function(t,e){return i[t-=416]})(t,e)}!function(t){const e=Zi,i=t();for(;;)try{if(520147===parseInt(e(440))/1*(parseInt(e(435))/2)+-parseInt(e(427))/3+parseInt(e(420))/4+parseInt(e(434))/5+parseInt(e(437))/6+parseInt(e(430))/7*(parseInt(e(424))/8)+-parseInt(e(422))/9*(parseInt(e(432))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($i);class Hi extends((0,t.ObservableMixin)()){constructor(e){const i=Zi;super(),this.id=e.id||(0,t.uid)(),this[i(443)]=e[i(443)]||null,this[i(428)]=e[i(428)]||[],this[i(431)]=e[i(431)]||null,this[i(423)]=e[i(423)]||0,this[i(417)]=e[i(417)]||0,this[i(442)](i(429),e[i(429)]||""),this[i(442)](i(439),e[i(439)]||new Date),this[i(442)](i(433),e[i(433)]||{})}[Ui(426)](t){this[Ui(421)]({name:t})}[Ui(441)](t,e){const i=Ui,n=vi(this[i(433)]);Ci(n,t,e),this[i(421)]({attributes:n})}[Ui(419)](t){const e=Ui,i=vi(this[e(433)]);Wi(i,t),this[e(421)]({attributes:i})}[Ui(421)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(429),i(439),i(431),i(428),i(433),i(423),i(417),i(436)];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(428)]&&(r[i(416)]=r[i(428)][i(438)]((t=>t.id)),delete r[i(428)]),this[i(418)](i(421),r,e))}[Ui(425)](){const t=Ui;return{id:this.id,name:this[t(429)],creatorId:this[t(443)]?this[t(443)].id:null,authorsIds:this[t(428)][t(438)]((t=>t.id)),diffData:this[t(431)],createdAt:this[t(439)],attributes:this[t(433)],fromVersion:this[t(417)],toVersion:this[t(423)]}}}function $i(){const t=["authorsIds","fromVersion","fire","removeAttribute","3966132FhsCfo","_update","387oJBiEJ","toVersion","168eVGEjO","toJSON","setName","1023792lqIqYd","authors","name","44359LHpxLW","diffData","415030WFgBTs","attributes","1905210MQZWoA","837254zkLKpo","creatorId","1818804aLUsZL","map","createdAt","2EexqUz","setAttribute","set","creator"];return($i=function(){return t})()}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-=147]})(t,e)}function Ki(){const t=["toJSON","getLaterVisibleRevision","authorsIds","22606672GAohrW","createRevision","234535PNGzDc","_revisions","join","fromVersion","requires","createdAt","from","RevisionsRepository","117177PfdbWU","28DVxDyr","reverse","2973462oEejXQ","fromCharCode","length","1733834mEGIvT","1456120VyxqUz","getUser","map","diffData","isOfficialPlugin","href","isNaN","getRevision","plugins","push","editor","toVersion","getRevisionsInDiff","getRevisionsIterator","oldRevisionId","9ywTAqI","newRevisionId","attributes","isPremiumPlugin","later","data","getIndex","earlier","add","addRevision","creatorId","getRevisions","pluginName","name","1078005hirVvC","get","getEarlierVisibleRevision","afterInit","Users"];return(Ki=function(){return t})()}!function(t){const e=Ji,i=t();for(;;)try{if(778347===-parseInt(e(162))/1+-parseInt(e(186))/2+-parseInt(e(180))/3*(parseInt(e(181))/4)+-parseInt(e(187))/5+parseInt(e(183))/6+-parseInt(e(172))/7+parseInt(e(170))/8*(parseInt(e(148))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ki);class Xi extends qi.Plugin{static get[Gi(176)](){return[Bi.Users]}static get[Gi(160)](){return Gi(179)}static get[Gi(191)](){return!0}static get[Gi(151)](){return!0}get[Gi(185)](){const t=Gi;return this[t(173)][t(185)]}constructor(e){const i=Gi;super(e),this[i(173)]=new t.Collection}[Gi(165)](){!async function(e){const i=k([107,87,88,115,114,100,74,82,111,102,80,50,56,104,83,68,48,85,106,84,105,73,86,117,120,53,52,81,89,55,103,78,90,77,118,66,119,79,110,109,116,57,49,121,54,67,97,51,122,75,69,108,65,76,71,98,72,112,99,70,113,101]),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(193)](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([107]);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(189)]((t=>String[e(184)](t)))[e(174)]("")}!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:1740700800;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(192)]);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(171)](t){const e=Gi,i=this[e(197)][e(195)][e(163)](e(166));return new Hi({id:t.id,name:t[e(161)],creator:t[e(158)]?i[e(188)](t[e(158)]):null,diffData:t[e(190)]||t[e(153)],authors:t[e(169)][e(189)]((t=>i[e(188)](t))),createdAt:new Date(t[e(177)]),attributes:t[e(150)],fromVersion:t[e(175)],toVersion:t[e(198)]})}[Gi(157)](t,e=0){const i=Gi;this[i(173)][i(156)](t,e)}[Gi(194)](t){const e=Gi;return this[e(173)][e(163)](t)}[Gi(159)](t={toJSON:!1}){const e=Gi,i=Array[e(178)](this[e(173)]);return i[e(182)](),t[e(167)]?i[e(189)]((t=>t[e(167)]())):i}[Gi(154)](t){const e=Gi;return this[e(173)][e(154)](t)}[Gi(164)](t){const e=Gi,[,i]=this[e(200)](t,{direction:e(155)});return i}[Gi(168)](t){const e=Gi,[,i]=this[e(200)](t,{direction:e(152)});return i}[Gi(199)](t){const e=Gi,i=[];for(const n of this[e(200)](t[e(149)]))if(i[e(196)](n),n.id===t[e(147)])break;return i}*[Gi(200)](t,{direction:e=Gi(155),filter:i=()=>!0}={}){const n=Gi,r=n(155)===e?1:-1;let s=this[n(173)][n(163)](t),o=this[n(154)](s);for(yield s;s;){if(o+=r,s=this[n(194)](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=Oe(t),c=a.length;if(c!=Oe(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=In;function In(t,e){const i=On();return(In=function(t,e){return i[t-=393]})(t,e)}!function(t){const e=In,i=t();for(;;)try{if(804921===-parseInt(e(691))/1*(parseInt(e(594))/2)+parseInt(e(622))/3+-parseInt(e(646))/4+parseInt(e(587))/5+-parseInt(e(473))/6*(parseInt(e(440))/7)+parseInt(e(577))/8+parseInt(e(599))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(On);const Sn={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class xn extends qi.Plugin{static get[_n(595)](){return _n(444)}static get[_n(711)](){return!0}static get[_n(496)](){return!0}static get[_n(584)](){return[Bi.Users,Xi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(712)]=null,this[i(563)]=null,this[i(604)]=new Nn(this[i(504)]),this[i(657)]=this[i(504)][i(710)][i(452)](i(642))||i(572),this[i(635)]=new Map,this[i(478)]=null;const n=(0,t.uid)();this[i(410)]={history:this[i(504)][i(695)][i(623)][i(654)],getLatestVersion:()=>Promise[i(445)](this[i(504)][i(695)][i(623)][i(615)]),getCurrentRevisionId:()=>n},this[i(630)](i(592),!1),this[i(630)](i(530),!0),this[i(630)](i(583),!1),this[i(504)][i(710)][i(441)](i(543),!0),this[i(504)][i(401)][i(529)](i(697))[i(618)]({view:i(631)})}[_n(643)](){const t=_n;this[t(682)]=this[t(504)][t(539)][t(452)](t(464)),this[t(701)](),this[t(504)][t(658)].on(t(653),(()=>{const e=t,i=this[e(682)][e(663)](0),n=i&&null===i[e(409)]?i:null;if(this[e(679)]=!!n&&this[e(504)][e(710)][e(452)](e(543)),this[e(504)][e(539)][e(628)](e(569))){const t=this[e(410)][e(709)](),r=this[e(682)][e(663)](t);if(r)this[e(562)]=r[e(397)],this[e(679)]=!1;else{const t=this[e(410)][e(654)][e(611)][e(596)]((t=>!t[e(422)])),r=t?t[e(414)]:this[e(410)][e(654)][e(615)];i?(i[e(488)]<r&&i[e(677)]({toVersion:r}),this[e(679)]?(this[e(410)][e(709)]=()=>n.id,this[e(562)]=n[e(397)]):(this[e(562)]=i[e(488)],this[e(679)]=!1)):(this[e(562)]=r,this[e(679)]=!1)}}else n&&(this[e(504)][e(695)][e(623)][e(654)][e(615)]=Math[e(511)](n[e(488)],this[e(504)][e(695)][e(623)][e(654)][e(615)]),n[e(397)]===n[e(488)]?(0!==n[e(397)]&&(this[e(410)][e(709)]=()=>n.id),this[e(679)]=!1):this[e(679)]&&(this[e(410)][e(709)]=()=>n.id,this[e(562)]=n[e(397)])),this[e(679)]||(this[e(562)]=this[e(504)][e(695)][e(623)][e(615)]);this[e(604)][e(643)](this[e(410)][e(654)]),this[e(538)](this[e(562)]),this[e(498)](this[e(562)]),this[e(712)]&&this[e(396)]()})),this[t(632)](t(592)).to(this,t(583),(t=>!t)),this[t(558)]=this[t(504)][t(710)][t(452)](t(558));const e=this[t(504)];this[t(448)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(523)==s||i(652)==s||i(548)==s||i(455)==s||i(600)==s||i(532)==s||i(471)==s||i(533)==s){delete e[r],n=s,clearInterval(this[i(448)]),this[i(448)]=void 0;break}}i(652)==n&&e[i(573)](i(660)),i(548)==n&&e[i(573)](i(700)),i(455)==n&&e[i(573)](i(637)),i(600)==n&&e[i(573)](i(689),i(490)),i(532)==n&&e[i(573)](i(705)),i(471)==n&&e[i(573)](i(394)),i(533)==n&&e[i(573)](i(687))}),1e3)}async[_n(443)](){const t=_n;if(this[t(682)][t(578)]>0){const e=this[t(682)][t(663)](0),i=await this[t(560)](e),n=await this[t(475)](e);this[t(694)](i,n)}}[_n(674)](){const t=_n;super[t(674)](),this[t(448)]&&clearInterval(this[t(448)])}[_n(692)](t){this[_n(410)]=t}async[_n(458)](){const t=_n,e=await this[t(410)][t(698)]();if(e>this[t(563)][t(488)]){await this[t(693)]();const i=this[t(634)]({revision:this[t(563)],to:e});i[t(659)]=i[t(551)][t(456)]((e=>this[t(504)][t(539)][t(452)](t(412))[t(670)](e))),this[t(563)][t(677)](i)}}async[_n(693)](){const t=_n;this[t(679)]&&!this[t(478)]&&(await this[t(470)](this[t(563)]),this[t(604)][t(536)](this[t(563)]),this[t(478)]={fromVersion:this[t(563)][t(397)],authors:this[t(563)][t(659)][t(684)]()})}async[_n(406)](e={},i=null){const n=_n,r=[];await this[n(693)](),this[n(679)]=!1,i>this[n(563)][n(488)]&&(i=null),null===i&&(i=await this[n(410)][n(698)]());const s=this[n(648)](i),o=this[n(634)]({from:s,to:i});if(this[n(563)][n(488)]<i){const t=this[n(634)]({revision:this[n(563)],from:i,to:i});t[n(659)]=[],t[n(551)]=[],t.id=this[n(563)].id,this[n(563)][n(677)](t,!0),delete t[n(659)],r[n(436)](t)}e[n(665)]=this[n(504)][n(539)][n(452)](n(412)).me.id,e[n(446)]=e[n(446)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(641)](e);r[n(436)](e);const c=this[n(682)][n(706)](a);if(0!==c){const t=this[n(682)][n(663)](c-1);if(t[n(397)]!==i){const s=this[n(604)][n(421)](i,t[n(488)]),o={id:t.id,diffData:s[n(597)],authorsIds:s[n(551)],authors:s[n(551)][n(456)]((t=>this[n(504)][n(539)][n(452)](n(412))[n(670)](t))),fromVersion:i};t===this[n(563)]&&(o[n(459)]=new Date(e[n(459)][n(408)]()+10)),t[n(677)](o,!0),delete o[n(659)],r[n(436)](o)}}if(this[n(712)]){for(const t of r)this[n(428)](t.id,t,!0);this[n(396)]()}return a}[_n(641)](t){const e=_n,i=this[e(682)][e(601)](t);return this[e(712)]&&i.on(e(677),((t,i,n)=>{const r=e;n||(this[r(428)](i.id,i,!0),this[r(396)]())})),this[e(682)][e(449)](i,this[e(517)](i)),i}async[_n(560)](t){const e=_n;await this[e(470)](t);const i={};for(const n in t[e(597)]){if(t[e(597)][n][e(399)]&&!t[e(597)][n][e(399)][e(625)])continue;const r=this[e(430)](JSON[e(403)](t[e(597)][n][e(644)])),s=this[e(504)][e(662)][e(457)][e(623)],o=new Yi.ViewDocumentFragment(s,r[e(456)]((t=>Tn(t,this[e(504)]))));this[e(504)][e(658)][e(483)][e(522)](e(557)),i[n]=this[e(504)][e(658)][e(483)][e(553)](o),this[e(504)][e(658)][e(483)][e(522)](e(402))}return i}async[_n(475)](t){const e=_n;await this[e(470)](t);const i={};for(const n in t[e(597)])t[e(597)][n][e(399)]&&!t[e(597)][n][e(399)][e(625)]||(i[n]=t[e(597)][n][e(435)]||{});return i}[_n(396)](){const t=_n;if(0===this[t(635)][t(534)])return;if(this[t(583)])return;let e=Array[t(505)](this[t(635)][t(508)]());this[t(635)][t(503)]();for(let i=0;i<e[t(578)];i++){const n=e[i];let r=!1;for(const e of Object[t(500)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(499)]((t=>null!==t)),!e[t(578)])return;for(let i=0;i<e[t(578)];i++){const n=e[i];void 0!==n[t(397)]&&void 0===n[t(488)]&&(n[t(488)]=this[t(682)][t(663)](n.id)[t(488)]),void 0!==n[t(488)]&&void 0===n[t(397)]&&(n[t(397)]=this[t(682)][t(663)](n.id)[t(397)])}const i=this[t(504)][t(710)][t(452)](t(642));this[t(583)]=!0,this[t(476)](),this[t(712)][t(549)](e,i)[t(586)]((()=>{this[t(583)]=!1}))[t(393)]((e=>{const i=t;if(e)for(const t of e)this[i(419)]({id:t.id,createdAt:t[i(459)]});this[i(585)](),this[i(396)]()}))}[_n(694)](e,i){const n=_n;let r=this[n(504)][n(710)][n(452)](n(491)),s=this[n(504)][n(710)][n(452)](n(507));if(void 0===r){r={};for(const t of this[n(504)][n(695)][n(623)][n(411)]())r[t]=""}if(n(469)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(504)][n(695)][n(623)][n(411)]())s[t]={}}let o=!1;const a=Object[n(500)](r),c=Object[n(500)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(429)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(500)](s[t])[n(578)]>0){o=!0;break}}o||(o=c[n(451)]((t=>!this[n(504)][n(695)][n(623)][n(486)](t)))),o&&(0,t.logWarning)(n(556),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(504)][n(710)][n(630)](n(491),e),this[n(504)][n(710)][n(630)](n(507),i)}[_n(476)](){const t=_n;if(!this[t(624)]){const e=this[t(504)][t(539)][t(452)](t(673));this[t(624)]=e[t(524)](Qi(this[t(504)][t(666)],t(651)))}}[_n(585)](){const t=_n;this[t(624)]&&(this[t(504)][t(539)][t(452)](t(673))[t(477)](this[t(624)]),this[t(624)]=null)}[_n(517)](t){const e=_n,i=this[e(682)][e(453)]();i[e(559)]();let n=0;for(;n<i[e(578)];){const r=i[n];if(r===this[e(563)]){n++;continue}if(r.id===this[e(657)])break;const s=t[e(488)]-r[e(488)]||t[e(397)]-r[e(397)];if(s>0)break;if(s<0)n++;else{if(!t[e(409)]&&r[e(409)])break;if(r[e(409)]||!t[e(409)]){if(t[e(459)]>r[e(459)])break;n++}else n++}}return n}[_n(419)](t){const e=_n,i=this[e(682)][e(663)](t.id);if(t[e(459)]&&(t[e(459)]=new Date(t[e(459)])),t[e(551)]){const i=this[e(504)][e(539)][e(452)](e(412));t[e(659)]=t[e(551)][e(456)]((t=>i[e(670)](t)))}i[e(677)](t,!0)}[_n(634)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(397)],i=null!==i?i:t[n(488)];const r=this[n(604)][n(421)](e,i),s={diffData:r[n(597)],authorsIds:r[n(551)],fromVersion:e,toVersion:i};if(!t||i!==t[n(488)]){const t=i-1,e=this[n(410)][n(654)][n(494)](t);s[n(459)]=e&&e[n(459)]||new Date}if(this[n(478)]&&e===this[n(478)][n(397)])for(const t of this[n(478)][n(659)])s[n(551)][n(527)](t.id)||s[n(551)][n(436)](t.id);return s}[_n(470)](t){const e=_n;if(!t||t[e(597)])return Promise[e(445)]();{const i=this[e(504)][e(710)][e(452)](e(642));return this[e(712)][e(663)]({channelId:i,revisionId:t.id})[e(393)]((i=>{const n=e;t[n(597)]=i[n(597)]}))}}[_n(428)](t,e,i){const n=_n;if(this[n(635)][n(628)](t)){const r=this[n(635)][n(452)](t);e=i?{...r,...e}:{...e,...r}}this[n(635)][n(630)](t,e)}[_n(648)](t){const e=_n,i=this[e(682)][e(453)]();i[e(559)](),i[e(708)]();const n=i[e(596)]((i=>i[e(488)]<=t))[e(488)];return n<this[e(562)]?this[e(562)]:n}[_n(538)](t){const e=_n,i=this[e(682)][e(663)](this[e(682)][e(578)]-1);if(i)this[e(657)]=i.id;else{const i=!this[e(504)][e(695)][e(623)][e(561)][e(596)]((t=>this[e(504)][e(695)][e(432)](t))),n=this[e(504)][e(539)][e(452)](e(412)).me.id,r=Qi(this[e(504)][e(666)],e(i?535:479));this[e(699)]({from:t,to:t,id:this[e(657)],name:r,creatorId:n})}}[_n(498)](t){const e=_n,i=this[e(410)][e(709)]();this[e(563)]=this[e(682)][e(663)](i),this[e(563)]||(this[e(563)]=this[e(699)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(699)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(634)]({from:e,to:i});o[s(446)]=t,o[s(665)]=n,o.id=r;const a=this[s(641)](o);return this[s(712)]&&this[s(428)](o.id,o,!0),a}[_n(701)](){const t=_n;this[t(504)][t(401)][t(529)](t(606))[t(521)]({model:t(631)})}[_n(430)](t){const e=_n;return(t=t[e(499)]((t=>!t[e(446)]||e(480)!==t[e(446)]&&e(431)!==t[e(446)])))[e(526)]((t=>{const i=e;i(469)!=typeof t&&(t[i(547)]=this[i(430)](t[i(547)]),t[i(591)]=t[i(591)][i(499)]((t=>!t[0][i(489)](i(468)))))})),t}}function On(){const t=["revision","bind","offset","buildRevisionData","_bufferedUpdates","_baseRootsAttributes","domainLimit","$text","parent","howMany","addRevisionData","collaboration.channelId","init","insertions","toView","2332744Wcobbm","_touched","_getFromVersion","getRange","_saveMetaData","PENDING_ACTION_REVISION_HISTORY","revisionHistoryLicenseKeyInvalid","ready","history","_startingRevisionId","_revisionId","_initialRevisionId","data","authors","invalid","getTransformedByOperation","editing","getRevision","_touchedMarkers","creatorId","locale","sort","_diffRootsAttributes","_setAttribute","getUser","_createFromRanges","insert","PendingActions","destroy","_handleOperation","getOperations","_update","oldRange","_continueCurrentRevision","getChildren","_appendChild","repository","attributesBefore","slice","detachRoot","_handleSplitOperation","usageLimit","insertionPosition","featureNotAllowed","fromEntries","1NUoZbZ","setSource","_loadState","_replaceEditorDataWithRevisionData","model","_calculateMetaData","upcast","getLatestVersion","_makeRevision","expired","_setConversion","markers","_authorId","_execute","evaluationLimit","getIndex","elementStart","shift","getCurrentRevisionId","config","isOfficialPlugin","adapter","then","trialLimit","delete","sendBufferedUpdates","fromVersion","type","attachChange","targetPosition","conversion","default","parse","nodes","createPositionBefore","saveRevision","move","getTime","creator","_source","getRootNames","Users","splitPosition","baseVersion","_markChanges","tableCell","_getViewJson","toModel","setRevisionData","offsetSize","getData","_isInit","_lastFrom","merge","createPositionFromPath","start","isEqual","_bufferUpdate","trim","_removeRevisionMarkers","revision-end","hasContent","sourcePosition","_copyMarkers","attributesAfter","push","deletion","_handleMoveOperation","key","7MzyCMB","define","insertion","afterInit","RevisionTracker","resolve","name","_transformMarkers","_licenseKeyCheckInterval","addRevision","vid_end","some","get","getRevisions","getChild","revisionHistoryLicenseKeyDomainLimit","map","view","update","createdAt","createRange","split","nodeAfter","NEGATIVE_INFINITY","RevisionsRepository","previousPosition","createPositionAt","childCount","data-revision-","string","_loadRevisionData","revisionHistoryLicenseKeyTrialLimit","getMovedRangeStart","8204934NGbwNP","range","getRevisionRootsAttributes","_addPendingAction","remove","_loadedStateData","Initial revision","revision-start","getAttributes","_processRootBeforeSave","processor","marker","_diffRoots","getRoot","keepParagraph","toVersion","startsWith","RevisionHistory","initialData","clone","_applyOperations","getOperation","reinsert","isPremiumPlugin","isAdd","_createCurrentRevision","filter","keys","newRange","createPositionAfter","clear","editor","from","getWalker","rootsAttributes","values","_touchedRoots","element","max","_makeIdsRoot","addRootAttribute","reInit","_prepareViewToSave","vid","_findInsertionIndex","_makeModelFromViewString","_getState","_savedMetaData","markerToData","useFillerType","revisionHistoryLicenseKeyValid","add","newValue","forEach","includes","_getBaseVids","for","isEnabled","documentFragment","revisionHistoryLicenseKeyEvaluationLimit","revisionHistoryLicenseKeyUsageLimit","size","Empty document","loadState","_baseIdsRoots","_createInitialRevision","plugins","getAncestors","_handleInsertOperation","source","revisionHistory.resumeUnsavedRevision","paragraph","addRoot","_clone","children","revisionHistoryLicenseKeyExpired","updateRevisions","_getVidAttributeName","authorsIds","_handleRootAttributeOperation","toData","stringify","end","editor-initial-data-replaced-with-revision-data","marked","licenseKey","reverse","getRevisionDocumentData","roots","_startingVersion","currentRevision","_markers","elementEnd","_removeMetaData","getNodeByPath","_idsRoots","RealTimeCollaborationClient","root","item","initial","_showLicenseError","rootName","_reset","path","3680832PrWoqS","length","_fixOperation","_handleMergeOperation","_handleMarkerOperation","affectsData","_isPendingUpdate","requires","_removePendingAction","finally","2214405vyCKnk","createRangeIn","_generateTape","graveyardPosition","attributes","isReady","revision:","2522174YqRNVG","pluginName","find","diffData","_fixRange","26286849xHbODq","revisionHistoryLicenseKeyNotAllowed","createRevision","_cloneOperation","_fixPosition","_revisionDataBuilder","_insertChild","dataDowncast","vid_start","_lastTo","changeRootAttribute","deletions","_operations","_handleRootOperation","position","userId","version","removeRootAttribute","_baseRoots","dataToMarker","stickiness","$graveyard","text","578811wCaNEo","document","_pendingAction","isAttached","_isAttached","getAttribute","has","_getPreviousFrom","set"];return(On=function(){return t})()}function Tn(t,e){const i=_n,n=e[i(662)][i(457)][i(623)];if(i(469)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(547)][i(456)]((t=>Tn(t,e)));return new(Sn[t[i(398)]]||Yi.ViewElement)(n,t[i(446)],t[i(591)],r)}}class Nn{constructor(t){const e=_n;this[e(504)]=t,this[e(520)]=new Map,this[e(423)]=-1,this[e(608)]=-1,this[e(564)]=new Map,this[e(485)]=new Map,this[e(668)]=new Map,this[e(617)]=new Map,this[e(636)]=new Map,this[e(568)]=new Map,this[e(537)]=new Map,this[e(647)]=new Map,this[e(664)]=new Map,this[e(509)]=new Map,this[e(656)]=1}[_n(643)](t){const e=_n;this[e(542)]=t;const i=new Map,n=new Map,r=this[e(504)][e(695)][e(623)][e(561)][e(456)]((t=>t[e(574)]));for(const t of r){const r=this[e(504)][e(695)][e(623)][e(486)](t),s=An(r);i[e(630)](t,s),n[e(630)](t,Object[e(690)](r[e(481)]()))}const s=Array[e(505)](this[e(504)][e(695)][e(702)])[e(456)]((t=>[t[e(446)],t[e(649)]()])),o=this[e(542)][e(615)];this[e(650)](o,i,s,n),this[e(655)]=this[e(656)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(630)](t,i),c[e(630)](t,{})}this[e(650)](Number[e(463)],a,[],c)}[_n(421)](t,e){const i=_n;if(this[i(423)]===t&&this[i(608)]<=e)this[i(520)][i(534)]>1&&this[i(566)](this[i(608)]),this[i(493)](this[i(608)],e,!0);else{if(!this[i(520)][i(628)](t)){const e=this[i(629)](t);this[i(696)](e,t,!1)}this[i(696)](t,e,!0)}return this[i(423)]=t,this[i(608)]=e,this[i(519)]()}[_n(536)](t){const e=_n;this[e(575)](),this[e(423)]=t[e(397)],this[e(608)]=t[e(488)];for(const i in t[e(597)]){const n=t[e(597)][i][e(399)],r=vi(t[e(597)][i][e(683)])||{},s=this[e(518)](t[e(597)][i][e(610)]);s[e(574)]=i,s[e(626)]=!n||!n[e(625)],s[e(625)]=()=>s[e(626)],this[e(617)][e(630)](i,s),this[e(636)][e(630)](i,r),n&&this[e(509)][e(630)](i,n);const o=this[e(512)](s);this[e(537)][e(630)](i,o);for(const[t,i]of s[e(702)]){if(!t[e(489)](e(593)))continue;const n=t[e(461)](":")[2];for(const t of i[e(506)]({singleCharacters:!0})){const i=this[e(550)](t),r=e(565)==t[e(398)]?t[e(465)][e(576)][e(684)](0,-1):t[e(465)][e(576)],s=o[e(567)](r)[e(627)](i);this[e(647)][e(630)](s,{userId:n})}}}this[e(655)]=this[e(656)];const i=[...Array(this[e(656)])[e(500)]()][e(684)](1)[e(499)]((t=>!this[e(647)][e(628)](t)));let n=0;const r=new Map;for(const s in t[e(597)]){const o=t[e(597)][s][e(399)],a=vi(t[e(597)][s][e(435)])||{},c=this[e(518)](t[e(597)][s][e(644)]);c[e(574)]=s,c[e(626)]=!o||o[e(625)],c[e(625)]=()=>c[e(626)],this[e(485)][e(630)](s,c),this[e(668)][e(630)](s,a);const u=this[e(512)](c,Number[e(463)]);this[e(568)][e(630)](s,u),r[e(630)](s,c[e(625)]()?a:{});for(const[t,i]of c[e(702)]){if(!t[e(489)](e(593)))continue;const n=t[e(461)](":")[2];for(const t of i[e(506)]({singleCharacters:!0})){const i=this[e(550)](t),r=this[e(656)]++,s=e(565)==t[e(398)]?t[e(465)][e(576)][e(684)](0,-1):t[e(465)][e(576)];u[e(567)](s)[e(669)](i,r),this[e(647)][e(630)](r,{userId:n})}}for(const t of this[e(504)][e(695)][e(588)](c)[e(506)]({singleCharacters:!0})){const r=this[e(550)](t),s=e(565)==t[e(398)]?t[e(465)][e(576)][e(684)](0,-1):t[e(465)][e(576)],o=u[e(567)](s);o[e(627)](r)>0||o[e(669)](r,i[n++])}for(const[t,i]of c[e(702)])t[e(489)](e(593))||this[e(564)][e(630)](t,i)}const s=Rn(e(620));this[e(617)][e(630)](e(620),s),this[e(537)][e(630)](e(620),this[e(512)](s,1));const o=Rn(e(620));this[e(485)][e(630)](e(620),o),this[e(568)][e(630)](e(620),this[e(512)](o,1));const a=Array[e(505)](this[e(485)])[e(456)]((([t,e])=>[t,An(e)]));this[e(650)](this[e(608)],a,this[e(564)],r)}[_n(518)](t){const e=_n,i=JSON[e(403)](t),n=this[e(504)][e(662)][e(457)][e(623)],r=new Yi.ViewDocumentFragment(n,i[e(456)]((t=>Tn(t,this[e(504)]))));return this[e(504)][e(658)][e(418)](r)}[_n(650)](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(630)](t,{start:e[r(426)][r(492)](),end:e[r(555)][r(492)](),rootName:e[r(570)][r(574)]});this[r(520)][r(630)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(566)](t){const e=_n;this[e(520)][e(395)](t)}[_n(514)](){const t=_n;this[t(575)](),this[t(423)]=-1,this[t(608)]=-1,this[t(520)][t(503)](),this[t(643)](this[t(542)])}[_n(575)](){const t=_n;this[t(647)][t(503)](),this[t(664)][t(503)](),this[t(509)][t(503)](),this[t(485)][t(503)](),this[t(668)][t(503)](),this[t(617)][t(503)](),this[t(636)][t(503)](),this[t(568)][t(503)](),this[t(537)][t(503)](),this[t(564)][t(503)](),this[t(656)]=1,this[t(655)]=this[t(656)]}[_n(512)](t,e=null){const i=_n;let n=null;t.is(i(531))||(n=new Yi.Element(t[i(446)],{vid_start:null===e?this[i(656)]++:e++}));const r=[];for(const n of t[i(680)]())if(n.is(i(510))){r[i(436)](this[i(512)](n,e));const t=r[r[i(578)]-1];null!==e&&(e=t.is(i(510),i(638))?t[i(627)](i(516))+1:t[i(627)](i(450))+1)}else for(let t=0;t<n[i(420)];t++)r[i(436)](new Yi.Element(i(638),{vid:null===e?this[i(656)]++:e++}));if(t.is(i(531))){const e=Rn(t[i(574)]);return e[i(605)](0,r),e}return n[i(669)](i(450),null===e?this[i(656)]++:e++),n[i(605)](0,r),n}[_n(696)](t,e,i){const n=_n;this[n(575)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(520)][n(452)](t);this[n(617)]=new Map(r),this[n(636)]=new Map(vi(o));for(const[t,e]of this[n(617)])if(n(620)!==t&&(this[n(485)][n(630)](t,An(e)),this[n(668)]=new Map(vi(o)),i)){const i=this[n(656)];this[n(568)][n(630)](t,this[n(512)](e)),this[n(537)][n(630)](t,this[n(512)](e,i))}this[n(655)]=this[n(656)],this[n(485)][n(630)](n(620),An(this[n(617)][n(452)](n(620)))),i&&this[n(568)][n(630)](n(620),this[n(512)](this[n(617)][n(452)](n(620))));for(const[t,e]of s){const i=this[n(617)][n(452)](e[n(574)]),r=this[n(485)][n(452)](e[n(574)]),s=new Yi.Range(this[n(603)](e[n(426)],i),this[n(603)](e[n(555)],i)),o=this[n(598)](s,r);i[n(702)][n(630)](t,s),this[n(564)][n(630)](t,o)}this[n(493)](t,e,i)}[_n(493)](t,e,i){const n=_n;for(const r of this[n(542)][n(676)](t,e))this[n(675)](r,i);for(const t of this[n(485)][n(508)]())t[n(702)][n(503)]();for(const[t,e]of this[n(564)])this[n(485)][n(452)](e[n(570)][n(574)])[n(702)][n(630)](t,e[n(492)]());const r=new Map,s=new Map;for(const[t,e]of this[n(485)])r[n(630)](t,An(e)),s[n(630)](t,this[n(668)][n(452)](t));this[n(650)](e,r,this[n(564)],s)}[_n(629)](t){const e=_n,i=Array[e(505)](this[e(520)][e(500)]());i[e(667)](((t,e)=>t-e)),i[e(559)]();for(const e of i)if(e<t)return e;return Number[e(463)]}[_n(434)](t,e){const i=_n,n=Array[i(505)](e[i(702)])[i(456)]((([e,n])=>[e,this[i(598)](n,t)]));t[i(702)]=new Map(n)}[_n(447)](t){const e=_n;for(const i of this[e(564)][e(508)]()){const n=i[e(661)](t),r=Yi.Range[e(671)](n);i[e(426)]=r[e(426)],i[e(555)]=r[e(555)]}}[_n(675)](t,e){const i=_n;if(i(545)!=t[i(398)]&&i(685)!=t[i(398)]){if(i(672)==t[i(398)]){const n=t[i(613)][i(570)][i(574)];this[i(485)][i(628)](n)||(this[i(485)][i(630)](n,Rn(n,!0)),this[i(668)][i(630)](n,{}),e&&this[i(568)][i(630)](n,Rn(n,!0)))}else{if(i(513)==t[i(398)]||i(616)==t[i(398)]||i(609)==t[i(398)])return void this[i(552)](t);i(484)==t[i(398)]&&this[i(581)](t)}if(i(484)!==t[i(398)]){const e=this[i(602)](t,this[i(485)]);e[i(704)](),this[i(447)](e)}if(e)switch(t[i(398)]){case i(672):this[i(541)](t);break;case i(407):case i(477):case i(495):this[i(438)](t);break;case i(424):this[i(580)](t);break;case i(461):this[i(686)](t)}}else this[i(612)](t,e)}[_n(602)](t,e){const i=_n,n=t[i(492)]();return n[i(703)]=t[i(703)],this[i(579)](n,e),n}[_n(528)](t){const e=_n;return t[e(456)]((t=>{const i=e,n=this[i(550)](t);return Number(t[i(571)][i(627)](n))}))}[_n(589)](t,e){const i=_n;if(t.is(i(510),i(638)))e[i(436)]({item:t,type:i(621)});else{t.is(i(510))&&e[i(436)]({item:t,type:i(707)});for(const n of t[i(680)]())this[i(589)](n,e);t.is(i(510))&&e[i(436)]({item:t,type:i(565)})}return e}[_n(519)](){const t=_n,e=new Map(this[t(647)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(617)][t(500)](),...this[t(485)][t(500)]()]);a[t(395)](t(620));for(const e of a){const i=this[t(485)][t(452)](e)||Rn(e,!1),n=this[t(617)][t(452)](e)||Rn(e,!1);i[t(625)]()||n[t(625)]()?(r[t(644)][e]=An(i),r[t(610)][e]=An(n),this[t(434)](r[t(610)][e],n),this[t(434)](r[t(644)][e],i),s[t(644)][e]=this[t(589)](this[t(568)][t(452)](e),[]),s[t(610)][e]=this[t(589)](this[t(537)][t(452)](e)||Rn(e,!1),[])):a[t(395)](e)}for(const r of a){const o=s[t(644)][r];for(const r of o){const s=this[t(550)](r),o=r[t(571)][t(627)](s);i[t(395)](o),o>=this[t(655)]&&n[t(630)](o,e[t(452)](o))}}for(const r of a){const a=s[t(644)][r],c=this[t(528)](s[t(610)][r]);let u=0;for(const r of a){const s=this[t(550)](r),a=r[t(571)][t(627)](s);if(!n[t(628)](a)&&!o[t(628)](a))if(i[t(628)](a))u++;else{if(a!=c[u]){const n=e[t(452)](a)||e[t(452)](c[u]);for(;a!=c[u];)i[t(628)](c[u])||(o[t(630)](c[u],n),e[t(630)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(644)][e];for(const e of r){const r=this[t(550)](e),s=e[t(571)][t(627)](r);if(o[t(628)](s)){const e=o[t(452)](s);i[t(628)](s)||i[t(630)](s,{...e}),n[t(630)](s,{...e})}}}for(const e of i[t(500)]())e>=this[t(655)]&&i[t(395)](e);const c=new Map;for(const e of a){let r=s[t(644)][e];for(const e of r)if(e[t(571)].is(t(510),t(416))){const i=this[t(550)](e),r=e[t(571)][t(627)](i);if(n[t(628)](r)){const i=e[t(571)][t(639)][t(639)][t(627)](t(607)),s=c[t(452)](i)||new Set;s[t(524)](n[t(452)](r)[t(614)]),c[t(630)](i,s)}}r=s[t(610)][e];for(const e of r)if(e[t(571)].is(t(510),t(416))){const n=this[t(550)](e),r=e[t(571)][t(627)](n);if(i[t(628)](r)){const n=e[t(571)][t(639)][t(639)][t(627)](t(607)),s=c[t(452)](n)||new Set;s[t(524)](i[t(452)](r)[t(614)]),c[t(630)](n,s)}}for(const e of c[t(500)]())(n[t(628)](e)||i[t(628)](e))&&c[t(395)](e)}for(const e of a){const r=s[t(644)][e];let o=null,a=null;for(const e of r){const r=this[t(550)](e),s=e[t(571)][t(627)](r),u=c[t(452)](s);u&&t(707)==e[t(398)]&&(o=Array[t(505)](u)[0],a=e[t(571)][t(627)](t(450))),o&&(i[t(630)](s,{userId:o}),n[t(630)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(610)][e],a=r[t(644)][e];for(const{userId:e}of this[t(664)][t(508)]())null!==e&&l[t(524)](e);for(const{userId:e}of this[t(509)][t(508)]())null!==e&&l[t(524)](e);this[t(415)](a,s[t(644)][e],n,t(442),l),this[t(415)](o,s[t(610)][e],i,t(437),l),u[e]={insertions:this[t(515)](a),deletions:this[t(515)](o),attachChange:this[t(509)][t(452)](e)||null,attributesBefore:vi(this[t(636)][t(452)](e))||{},attributesAfter:vi(this[t(668)][t(452)](e))}}return{diffData:u,authorsIds:Array[t(505)](l)}}[_n(482)](t){const e=_n;for(const[,i]of t[e(702)]){const t=i[e(426)][e(540)]()[e(499)]((t=>e(416)==t[e(446)]));for(const i of t)1==i[e(467)]&&i[e(454)](0).is(e(510),e(544))&&i[e(454)](0)[e(669)](e(487),!0)}}[_n(515)](t){const e=_n;this[e(482)](t);const i=this[e(504)][e(658)][e(645)](t,{}),n=Array[e(505)](i[e(680)]())[e(456)]((t=>this[e(417)](t)));return JSON[e(554)](n)}[_n(417)](t){const e=_n;if(t.is(e(638)))return t[e(658)];{const i=t;return{type:Object[e(500)](Sn)[e(596)]((e=>t instanceof Sn[e])),name:i[e(446)],attributes:Array[e(505)](i[e(481)]()),children:Array[e(505)](i[e(680)]())[e(456)]((t=>this[e(417)](t)))}}}[_n(415)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(504)][s(695)];for(let n=0;n<e[s(578)];n++){const r=this[s(550)](e[n]),c=e[n][s(571)][s(627)](r),h=i[s(452)](c),d=n==e[s(578)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(614)]!=o[s(614)])&&(l(h,Vn(a,t,u),Vn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Vn(a,t,u),Mn(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(614)],d=l(593)+n+":"+h+":"+c++,f=u[l(460)](i,a);t[l(702)][l(630)](d,f),null!==h&&r[l(524)](h)}}[_n(550)](t){const e=_n;switch(t[e(398)]){case e(707):return e(607);case e(565):return e(450);default:return e(516)}}[_n(579)](t,e){const i=_n;t[i(414)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(452)](r[i(570)][i(574)]);t[n]=this[i(603)](r,s)}if(r instanceof Yi.Range){const s=e[i(452)](r[i(570)][i(574)]);t[n]=this[i(598)](r,s)}i(570)===n&&(t[i(570)]=e[i(452)](t[i(570)][i(574)]))}}[_n(598)](t,e){const i=_n;return this[i(504)][i(695)][i(460)](this[i(603)](t[i(426)],e),this[i(603)](t[i(555)],e))}[_n(603)](t,e){const i=_n;return this[i(504)][i(695)][i(425)](e,t[i(576)],t[i(619)])}[_n(541)](t){const e=_n,i=this[e(568)][e(452)](t[e(613)][e(570)][e(574)]),n=this[e(603)](t[e(613)],i),r=null===t[e(703)]?null:t[e(703)]||this[e(504)][e(539)][e(452)](e(412)).me.id,s=n[e(639)],o=this[e(656)],a=[];for(const i of t[e(404)])if(i.is(e(510)))a[e(436)](this[e(512)](i));else for(let t=0;t<i[e(420)];t++)a[e(436)](new Yi.Element(e(638),{vid:this[e(656)]++}));const c=this[e(656)];for(let t=o;t<c;t++)this[e(647)][e(630)](t,{userId:r});s[e(605)](n[e(633)],a)}[_n(438)](t){const e=_n;(t=this[e(602)](t,this[e(568)]))[e(704)]();const i=null===t[e(703)]?null:t[e(703)]||this[e(504)][e(539)][e(452)](e(412)).me.id,n=t[e(472)](),r=n[e(639)],s=n[e(633)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(454)](e);s.is(a(510),a(638))?n[a(630)](s[a(627)](a(516)),{userId:i}):(n[a(630)](s[a(627)](a(607)),{userId:i}),t(n,s,0,s[a(467)]),n[a(630)](s[a(627)](a(450)),{userId:i}))}}(this[e(647)],r,s,s+t[e(640)])}[_n(580)](t){const e=_n,i=null===(t=this[e(602)](t,this[e(568)]))[e(703)]?null:t[e(703)]||this[e(504)][e(539)][e(452)](e(412)).me.id,n=t[e(400)][e(639)],r=t[e(433)][e(639)],s=n[e(627)](e(450)),o=r[e(627)](e(607));n[e(669)](e(450),r[e(627)](e(450))),r[e(669)](e(450),s),this[e(647)][e(630)](o,{userId:i}),this[e(647)][e(630)](s,{userId:i}),t[e(704)]()}[_n(686)](t){const e=_n,i=null===(t=this[e(602)](t,this[e(568)]))[e(703)]?null:t[e(703)]||this[e(504)][e(539)][e(452)](e(412)).me.id,n=t[e(590)],r=t[e(413)][e(639)];t[e(704)]();const s=r[e(627)](e(450)),o=t[e(688)][e(462)];if(n){const t=o[e(627)](e(450)),n=r[e(627)](e(450));r[e(669)](e(450),t),o[e(669)](e(450),n),this[e(647)][e(630)](r[e(627)](e(450)),{userId:i}),this[e(647)][e(630)](o[e(627)](e(607)),{userId:i})}else{const t=this[e(656)]++,n=this[e(656)]++;r[e(669)](e(450),t),o[e(669)](e(607),n),o[e(669)](e(450),s),this[e(647)][e(630)](t,{userId:i}),this[e(647)][e(630)](n,{userId:i})}}[_n(581)](t){const e=_n;if(!t[e(582)])return;const i=(t=this[e(602)](t,this[e(485)]))[e(678)]?t[e(678)][e(570)]:null,n=t[e(501)]?t[e(501)][e(570)]:null;i&&this[e(564)][e(395)](t[e(446)]),n&&this[e(564)][e(630)](t[e(446)],t[e(501)][e(492)]());const r=null===t[e(703)]?null:t[e(703)]||this[e(504)][e(539)][e(452)](e(412)).me.id,s=t[e(446)];if(!this[e(664)][e(628)](s))return void this[e(664)][e(630)](s,{range:t[e(678)],userId:r});const o=this[e(664)][e(452)](s),a=o[e(474)],c=t[e(501)];null==a&&null==c||a&&c&&a[e(427)](c)?this[e(664)][e(395)](t[e(446)]):o[e(614)]=r}[_n(612)](t,e){const i=_n;this[i(485)][i(628)](t[i(574)])?this[i(485)][i(452)](t[i(574)])[i(626)]=t[i(497)]:(this[i(485)][i(630)](t[i(574)],Rn(t[i(574)],!0)),this[i(668)][i(630)](t[i(574)],{}),e&&this[i(568)][i(630)](t[i(574)],Rn(t[i(574)],!0)));const n=null===t[i(703)]?null:t[i(703)]||this[i(504)][i(539)][i(452)](i(412)).me.id,r=this[i(509)][i(452)](t[i(574)]);r&&r[i(614)]===n?this[i(509)][i(395)](t[i(574)]):this[i(509)][i(630)](t[i(574)],{userId:n,isAttached:t[i(497)]})}[_n(552)](t){const e=_n,i=this[e(668)][e(452)](t[e(570)][e(574)]);null===t[e(525)]?delete i[t[e(439)]]:i[t[e(439)]]=t[e(525)]}}function An(t){const e=_n,i=Rn(t[e(574)],t[e(625)]());for(const n of t[e(680)]()){const t=n[e(546)](!0);i[e(681)](t)}return i}function Rn(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(574)]=t,n[i(626)]=e,n[i(625)]=()=>n[i(626)],n}function Vn(t,e,i){const n=_n,r=n(565)==t[n(398)]?i[n(466)](t[n(571)],n(555)):i[n(405)](t[n(571)]);return i[n(425)](e,r[n(576)],r[n(619)])}function Mn(t,e,i){const n=_n,r=n(707)==t[n(398)]?i[n(466)](t[n(571)],0):i[n(502)](t[n(571)]);return i[n(425)](e,r[n(576)],r[n(619)])}var En=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),Hn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Pn().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Zn();Cn()(Hn.A,$n);Hn.A&&Hn.A.locals&&Hn.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;const Yn=Gn;function Gn(t,e){const i=Jn();return(Gn=function(t,e){return i[t-=331]})(t,e)}function Jn(){const t=["setTemplate","revisionName","Name of the revision","ck-responsive-form","form","14098743mLPfay","listenTo","8VwVwgE","errorText","27602FDdfZw","reset","extendTemplate","542552arfqrG","220","focusTracker","label","keystrokes","focus","100IkGguw","add","arrowup","33yNaTJl","arrowleft","6949350KQBXCO","fieldView","74aprBnv","9701909dEpYNt","1516163CYEFmA","render","locale","revisionNameInputValue","revisionNameInputView","_createRevisionNameInput","9831504nUrxqM","input","trim","set","stopPropagation","value","arrowdown","element","ck-revision-history-save-revision-form","arrowright","optional"];return(Jn=function(){return t})()}!function(t){const e=Gn,i=t();for(;;)try{if(839412===-parseInt(e(372))/1*(-parseInt(e(344))/2)+parseInt(e(340))/3*(-parseInt(e(331))/4)+parseInt(e(342))/5+-parseInt(e(352))/6+-parseInt(e(345))/7+-parseInt(e(370))/8*(-parseInt(e(368))/9)+parseInt(e(337))/10*(parseInt(e(346))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jn);class Kn extends En.View{constructor(e,i){const n=Gn;super(e),this[n(333)]=new t.FocusTracker,this[n(335)]=new t.KeystrokeHandler,this[n(355)](n(349),""),this[n(350)]=this[n(351)](i),this[n(363)]({tag:n(367),attributes:{class:["ck",n(360),n(366)],tabindex:"-1"},children:[this[n(350)]]}),(0,En.injectCssTransitionDisabler)(this)}[Yn(347)](){const t=Yn;super[t(347)](),(0,En.submitHandler)({view:this}),this[t(333)][t(338)](this[t(350)][t(359)]),this[t(335)][t(369)](this[t(359)]);const e=e=>e[t(356)]();this[t(335)][t(355)](t(361),e),this[t(335)][t(355)](t(341),e),this[t(335)][t(355)](t(339),e),this[t(335)][t(355)](t(358),e)}[Yn(336)](){const t=Yn;this[t(350)][t(336)]()}get[Yn(364)](){const t=Yn;return this[t(350)][t(343)][t(359)][t(357)][t(354)]()}set[Yn(364)](t){const e=Yn;this[e(350)][e(343)][e(359)][e(357)]=t[e(354)]()}[Yn(373)](){const t=Yn;this[t(350)][t(343)][t(359)][t(357)]="",this[t(350)][t(371)]=null}[Yn(351)](t){const e=Yn,i=new En.LabeledFieldView(this[e(348)],En.createLabeledInputText),n=i[e(343)];n[e(374)]({attributes:{maxlength:e(332)}});let r=Qi(this[e(348)],e(365));return!t&&(r+=" ("+Qi(this[e(348)],e(362))+")"),i[e(334)]=r,n.on(e(353),(()=>{const t=e;this[t(349)]=n[t(359)][t(357)][t(354)]()})),i}}const Xn=Qn;function Qn(t,e){const i=tr();return(Qn=function(t,e){return i[t-=124]})(t,e)}function tr(){const t=["revisionHistory","show","requires","editing","saveRevision","errorText","8634SKkuUW","delegate","_registerMenuComponent","render","revisionName","init","142kEYPyy","menuitem","view","46652HbdkNQ","execute","RevisionTracker","12854Vtacqd","plugins","isEnabled","addMany","reset","revisionNameInputView","515MqZCzJ","bind","history","add","ck-button-action","Cancel","showRevisionViewerCallback","pluginName","Revision history","isReady","focus","menu","hide","items","2602500DWaPGp","children","set","revisionHistory.requireRevisionName","submit","get","The revision name cannot be empty.","isPremiumPlugin","_saveRevisionFormView","615550goOIsl","Dialog","menuBar:revisionHistory","8147864kgKeop","revisionSave","Save current revision","12660637kjWbWD","isOpen","Accept","editor","buttonView","_showDialog","_createSaveRevisionFormView","isReadOnly","panelView","2422OLLfGF","role","Open revision history","locale","isOfficialPlugin","config","RevisionHistoryUI","9CLSBaD","componentFactory"];return(tr=function(){return t})()}!function(t){const e=Qn,i=t();for(;;)try{if(882700===parseInt(e(184))/1*(parseInt(e(178))/2)+parseInt(e(133))/3+-parseInt(e(181))/4*(parseInt(e(190))/5)+-parseInt(e(172))/6*(-parseInt(e(157))/7)+parseInt(e(145))/8+parseInt(e(164))/9*(-parseInt(e(142))/10)+-parseInt(e(148))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends qi.Plugin{static get[Xn(126)](){return Xn(163)}static get[Xn(161)](){return!0}static get[Xn(140)](){return!0}static get[Xn(168)](){return[xn]}[Xn(177)](){const t=Xn,e=this[t(151)],i=e[t(185)][t(138)](t(183));e.ui[t(165)][t(193)](t(166),(n=>{const r=t,s=(0,En.createDropdown)(n),o=s[r(156)][r(134)],a=new En.ListView(n),c=new En.ListItemView(n),u=new En.ButtonView(n),l=new En.ListItemView(n),h=new En.ButtonView(n);return s[r(191)](r(186)).to(i,r(128),i,r(186),e,r(155),((t,e,i)=>t&&e&&!i)),s[r(152)][r(135)]({icon:qi.icons[r(192)],label:Qi(n,r(127)),tooltip:!0}),u[r(135)]({label:Qi(n,r(147)),withText:!0,role:r(179)}),u[r(191)](r(186)).to(i,r(128),i,r(186),e,r(155),((t,e,i)=>t&&e&&!i)),u.on(r(182),(()=>this[r(153)]())),h[r(135)]({label:Qi(n,r(159)),withText:!0,role:r(179)}),h[r(191)](r(186)).to(i,r(128),e,r(155),((t,e)=>t&&!e)),h.on(r(182),(()=>{const t=r;e[t(162)][t(138)](t(166))[t(125)](),s[t(149)]=!1,e[t(169)][t(180)][t(129)]()})),c[r(134)][r(193)](u),l[r(134)][r(193)](h),a[r(158)]=r(130),a[r(132)][r(187)]([c,l]),o[r(193)](a),s})),e.ui[t(165)][t(193)](t(144),(()=>this[t(174)]()))}[Xn(174)](){const t=Xn,e=this[t(151)],i=e[t(160)],n=new En.MenuBarMenuView(i),r=new En.MenuBarMenuListView(i);n[t(152)][t(135)]({icon:qi.icons[t(192)],label:Qi(i,t(127))});const s=new En.MenuBarMenuListItemView(i,n),o=new En.MenuBarMenuListItemButtonView(i);o[t(135)]({label:Qi(i,t(147))}),o[t(173)](t(182)).to(n),o.on(t(182),(()=>{this[t(153)]()})),s[t(134)][t(193)](o),r[t(132)][t(193)](s);const a=new En.MenuBarMenuListItemView(i,n),c=new En.MenuBarMenuListItemButtonView(i);return c[t(135)]({label:Qi(i,t(159))}),c[t(173)](t(182)).to(n),c.on(t(182),(()=>{const i=t;e[i(162)][i(138)](i(166))[i(125)]()})),a[t(134)][t(193)](c),r[t(132)][t(193)](a),n[t(156)][t(134)][t(193)](r),n}[Xn(153)](){const t=Xn,e=this[t(151)],i=e[t(160)],n=e[t(185)][t(138)](t(143)),r=e[t(185)][t(138)](t(183));function s(r){const s=t;e[s(162)][s(138)](s(136))&&""===r[s(176)]?r[s(189)][s(171)]=Qi(i,s(139)):(e[s(185)][s(138)](xn)[s(170)]({name:r[s(176)]}),n[s(131)]())}this[t(141)]||(this[t(154)](),this[t(141)].on(t(137),(()=>s(this[t(141)])))),this[t(141)][t(188)](),n[t(167)]({id:t(146),title:Qi(i,t(147)),isModal:!0,content:this[t(141)],actionButtons:[{label:Qi(e[t(160)],t(124)),withText:!0,onExecute:()=>n[t(131)]()},{label:Qi(e[t(160)],t(150)),class:t(194),withText:!0,onCreate(i){const n=t;i[n(191)](n(186)).to(r,n(128),r,n(186),e,n(155),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(141)])}]})}[Xn(154)](){const t=Xn,e=this[t(151)],i=e[t(160)];this[t(141)]=new Kn(i,e[t(162)][t(138)](t(136))),this[t(141)][t(175)]()}}function ir(t,e){const i=rr();return(ir=function(t,e){return i[t-=150]})(t,e)}const nr=ir;function rr(){const t=["changeId","20505450sDrugP","3046347bcDZMB","140vFYNQj","name","set","Suggested by","data","Removed by","_model","ck-revision-change__label","add","6440zhDjHY","isSuggestion","author","focus","ck-revision-change__","6pbInkh","974032nqmpoz","11eCbbTi","setTemplate","ck-revision-change","Added by","element","4460290jZSoRc","4xDaghb","type","ck-annotation","bindTemplate","2147547FRAmgl","div","766720QKiGAP","span"];return(rr=function(){return t})()}!function(t){const e=ir,i=t();for(;;)try{if(456515===parseInt(e(178))/1+parseInt(e(165))/2+-parseInt(e(176))/3*(-parseInt(e(172))/4)+parseInt(e(171))/5*(parseInt(e(164))/6)+-parseInt(e(150))/7*(parseInt(e(159))/8)+-parseInt(e(182))/9+-parseInt(e(181))/10*(parseInt(e(166))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rr);class sr extends En.View{constructor(t,e){const i=ir;super(t),this[i(156)]=e,this[i(180)]=e.id;const n=this[i(175)],r=Qi(t,e[i(154)][i(160)]?i(153):i(158)==e[i(173)]?i(169):i(155));this[i(152)](i(173),e[i(173)]),this[i(167)]({tag:i(177),attributes:{class:[i(174),i(168),n.to(i(173),(t=>i(163)+t))],tabindex:-1},children:[{tag:i(179),children:[{tag:i(179),attributes:{class:[i(157)]},children:[{text:r}]},{text:" "+e[i(161)][i(151)]}]}]})}[nr(162)](){const t=nr;this[t(170)][t(162)]()}}function or(){var t=["createdAt","set","1501852RLDrVU","3ZcoKVz","toJSON","author","type","rootName","803130JeXqIr","408NCzdfx","10GOemTM","890246oJvPUB","data","229936UoPUkh","22eYBpUd","225nkbWsB","128968VUNaiq","2890330KEblcx","738924AgQMvL"];return(or=function(){return t})()}function ar(t,e){var i=or();return(ar=function(t,e){return i[t-=352]})(t,e)}var cr=ar;!function(t){for(var e=ar,i=t();;)try{if(814404===-parseInt(e(365))/1+parseInt(e(352))/2*(parseInt(e(357))/3)+-parseInt(e(356))/4*(-parseInt(e(364))/5)+-parseInt(e(363))/6*(parseInt(e(370))/7)+-parseInt(e(367))/8*(-parseInt(e(369))/9)+-parseInt(e(362))/10+parseInt(e(368))/11*(parseInt(e(353))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(or);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=ar;super(),this.id=e.id||(0,t.uid)(),this[i(359)]=e[i(359)],this[i(360)]=e[i(360)],this[i(366)]=e[i(366)]||{},this[i(361)]=e[i(361)],this[i(355)](i(354),e[i(354)])}[cr(358)](){var t=cr;return{id:this.id,authorId:this[t(359)].id,type:this[t(360)],data:this[t(366)],createdAt:this[t(354)]}}}const lr=dr;function hr(){const t=["_setChanges","8NYNfjW","newRevisionId","158409HwGFpm","160tMGrVm","292QczkHL","162510Rzcpfm","28668iHpPTh","60fTQPuB","changes","8tIxKdM","277151VmpjyQ","oldRevisionId","add","9195GmBzbN","871959kGipkF","134036bQvHOm"];return(hr=function(){return t})()}function dr(t,e){const i=hr();return(dr=function(t,e){return i[t-=347]})(t,e)}!function(t){const e=dr,i=t();for(;;)try{if(143394===-parseInt(e(351))/1+-parseInt(e(353))/2*(parseInt(e(359))/3)+-parseInt(e(357))/4*(-parseInt(e(349))/5)+parseInt(e(358))/6+-parseInt(e(363))/7*(-parseInt(e(362))/8)+parseInt(e(355))/9*(-parseInt(e(356))/10)+-parseInt(e(350))/11*(-parseInt(e(360))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(hr);class fr{constructor(e,i){const n=dr;this[n(354)]=e,this[n(347)]=i,this[n(361)]=new t.Collection}[lr(352)](t){const e=lr;for(const i of t)this[e(361)][e(348)](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=gr();return(yr=function(t,e){return i[t-=461]})(t,e)}function gr(){const t=["9TBvXAP","addMarker:revision","bottom","pop","slice","newRevisionId","_balloon","ck-revision-history-root-","showPreviousChange","1470730NuUEZl","flat","revision-comment:","_revisions","revision","span","forward","deletion","element:pre","getDomRoot","isBlock","find","mouseover","index","getClientRects","348774rmaOlh","7mNXRWV","getAttributes","isAfter","data-revision-","isOnRoot","_getRevisionsRange","adapter","range","markerName","mapper","markerNameToElements","toViewPosition","attributesBefore","text","done","unshift","elementToAttribute","view","collaboration.channelId","change:numberOfChanges","test","16rlVaSZ","previousPosition","refresh","revision-suggestion","suggestion","left","listenTo","findIndex","_joinTapes","_markMarkers","plugins","markers","abs","revisionHistoryAttachChange","remove","_changeIdToChange","isPremiumPlugin","attachChange","RevisionsRepository","offsetSize","delete","ck-revision-history-root--active","removeAttribute","indexOf","_step","_getDiff","_markSuggestions","selection","_markInsertions","getRevisionRootsAttributes","isBefore","bind","change:activeChange","insert","revision:","_getViewForChange","createRevision","isReady","isCollapsed","data-change-id","insertion","sort","_activeViewTarget","change:isReady","dataDowncast","_makeTape","pairId","revision-end","_makeModelFromViewString","shift","merge","33cqnZFI","getAttribute","backward","isAtStart","clear","getRoot","elementEnd","add","commands","1659144VuRKWd","ck-suggestion-marker","createAttributeElement","_threeWayMerge","deletions","from","isContent","includes","wrap","_cleanMarkers","_setConversion","children","editor","changes","reconvertMarker","addRevisionData","vid","_update","showNextChange","_appendChild","_findChangeIdFromDomTarget","-new","execute","code","updatePosition","RevisionViewer","isAddSuggestion","isInline","removeMarker:revision-suggestion","set","push","highest","removeClass","elementStart","isEnabled","createPositionFromPath","3075655JdFMuS","object","authors","distance","revisionHistory","_removeMissingPairs","getWalker","ck-suggestion-marker-","getIndex","item","schema","split","markersEnd","_removeUnsupportedChanges","element","ck-suggestion-marker--active","createPositionBefore","error","_markMismatchedRemovedTags","name","_getViewObj","revision-start","14koXHsD","level","for","setAttribute","processor","default","nodeAfter","attributesAfter","getChild","change:isEnabled","forEach","18stGMGj","removeMarker:revision","createRange","isSuggestion","conversion","addMarker:revision-suggestion:insertion","parse","model","oldRevisionId","bindElementToMarker","editing","_cleanUp","string","change","domConverter","22413781moDXLC","markerToData","return","useFillerType","affectsData","document","roots","vid_end","nextPosition","keys","resolve","isIncorrect","enableReadOnlyMode","filter","low","splice","map","ck-revision-history-root-add","concat","catch","top","vid_start","detachRoot","isObject","removeMarker","start","isEqual","rootName","startIndex","writer","_setDistance","6WUgHEY","upcast","getRootNames","first","init","toModel","WidgetToolbarRepository","compare","_setChanges","destroy","_sortAndFilterDiffChanges","end","markerRange","576XVEZjF","forceDisabled","_removeRevisionMarkers","high","diffData","changeId","revisionHistoryLabel","showStack","next","_processTape","_initInteractions","isRemoveSuggestion","suggestion:","_data","side","numberOfChanges","restoreRevisionCallback","isAttached","domEvent","getLaterVisibleRevision","activeView","ck-suggestion-preview-marker-","markerToHighlight","modelRange","addHighlight","editingDowncast","toViewElement","hasAttribute","260808avYoxZ","endIndex","restoreRevision","ck-suggestion-marker-merge","comment","maxOffset","attribute:vid","markersStart","toViewRange","_getChangeFromId","hasClass","pluginName","then","addMarker:revision-suggestion:deletion","ck-suggestion-marker-split","has","consumable","isAdded","userId","all","ck-suggestion-preview-marker","isOfficialPlugin","type","change:activeView","locale","diff","isNavigationMode","target","_makeModelFromTape","activeChange","_fixObsoleteTags","createRangeIn","ck-revision-history-root-remove","softBreak","data","values","length","unbindElementFromMarkerName","attributes","startsWith","_changeView","repository","observeMarkers","getRevision","dataToMarker","addRevision","revision-suggestion:","insertions","stop","loadRevisionData","isAtEnd","nextSibling","POSITIVE_INFINITY","isRemoved","isLimit","getCustomProperty","getRevisionData","get","addClass","consume","mousedown","getItems","ck-editor__editable__overlay","revision-viewer","_refreshStartEndIndex","right","enqueueChange","uiElement","marked","viewItem","requires","mapViewToDom","config","currentChangeNumber","parent","downcastDispatcher","toData","checkAttribute","createUIElement","addRoot"];return(gr=function(){return t})()}!function(t){const e=yr,i=t();for(;;)try{if(348844===-parseInt(e(777))/1*(-parseInt(e(718))/2)+-parseInt(e(567))/3*(parseInt(e(589))/4)+-parseInt(e(685))/5*(parseInt(e(764))/6)+parseInt(e(568))/7*(-parseInt(e(463))/8)+parseInt(e(543))/9*(parseInt(e(552))/10)+parseInt(e(640))/11*(-parseInt(e(649))/12)+parseInt(e(733))/13*(parseInt(e(707))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(gr);const kr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class br extends qi.Plugin{static get[vr(474)](){return vr(674)}static get[vr(484)](){return!0}static get[vr(605)](){return!0}static get[vr(533)](){return[Bi.Users,En.ContextualBalloon,Xi]}constructor(t){const e=vr;super(t),this[e(504)]=this[e(661)][e(599)][e(520)](e(607)),this[e(678)](e(492),null),this[e(678)](e(797),null),this[e(631)]=null,this[e(678)](e(488),null),this[e(678)](e(626),!1),this[e(678)](e(683),!0),this.on(e(716),((t,i,n)=>{const r=e;this[r(492)]=null,this[r(797)]=null,this[r(661)][r(728)][r(585)][r(731)]((t=>{const e=r;for(const i of this[e(661)][e(728)][e(585)][e(738)][e(739)])n?t[e(681)](e(525),i):t[e(521)](e(525),i)}))})),this[e(620)](e(489)).to(this,e(492),(t=>null!==t)),this[e(620)](e(536)).to(this,e(626),this,e(488),this,e(492),((t,i,n)=>t&&n?i[e(662)][e(693)](n):0)),this[e(620)](e(792)).to(this,e(626),this,e(488),((t,i)=>t?i[e(662)][e(499)]:0)),this[e(503)]=null,this[e(604)]=new Map,this[e(574)]=null,this[e(549)]=this[e(661)][e(599)][e(520)](En.ContextualBalloon)}[vr(768)](){const t=vr,e=this[t(661)],i=new Ir(e,{direction:t(642)}),n=new Ir(e,{direction:t(558)});e[t(648)][t(647)](t(551),i),e[t(648)][t(647)](t(667),n),e[t(648)][t(647)](t(465),new _r(e)),this.on(t(587),(()=>{const e=t;i[e(591)](),n[e(591)]()})),this[t(659)](),this[t(787)](),e[t(745)](t(526)),e[t(599)][t(478)](t(770))&&e[t(599)][t(520)](t(770))[t(778)](t(526))}async[vr(519)](t){const e=vr;await this[e(512)](t);const i={};for(const n in t[e(781)]){if(t[e(781)][n][e(606)]&&!t[e(781)][n][e(606)][e(794)])continue;const r=this[e(779)](JSON[e(724)](t[e(781)][n][e(510)])),s=this[e(661)][e(728)][e(585)][e(738)],o=new Yi.ViewDocumentFragment(s,r[e(749)]((t=>this[e(705)](t))));this[e(661)][e(497)][e(711)][e(736)](e(531)),i[n]=this[e(661)][e(497)][e(711)][e(539)](o),this[e(661)][e(497)][e(711)][e(736)](e(712))}return i}async[vr(618)](t){const e=vr;await this[e(512)](t);const i={};for(const n in t[e(781)])t[e(781)][n][e(606)]&&!t[e(781)][n][e(606)][e(794)]||(i[n]=t[e(781)][n][e(714)]||{});return i}[vr(779)](t){const e=vr;return(t=t[e(746)]((t=>!t[e(704)]||e(706)!==t[e(704)]&&e(636)!==t[e(704)])))[e(717)]((t=>{const i=e;i(730)!=typeof t&&(t[i(660)]=this[i(779)](t[i(660)]),t[i(501)]=t[i(501)][i(746)]((t=>!t[0][i(502)](i(571)))))})),t}async[vr(771)](t,e,i=!1){const n=vr;if(!this[n(683)])return;const r=this[n(488)],s=this[n(504)],o=n(730)==typeof t?s[n(506)](t):t,a=n(730)==typeof e?s[n(506)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(488)]&&this[n(488)][n(548)]===c&&this[n(488)][n(726)]===u)return Promise[n(743)]();this[n(626)]=!1,this[n(797)]=null,this[n(492)]=null,this[n(488)]=new fr(c,u);const l=this[n(573)](o,a,!0)[n(749)]((t=>this[n(512)](t)));return l[n(679)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(482)](l)[n(475)]((()=>{const t=n;if(!this[t(683)])return;this[t(729)]();const e=this[t(614)](c,u);for(const i of e[t(662)])this[t(604)][t(678)](i.id,i);this[t(661)][t(725)][t(529)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(661)][n(725)][n(738)][n(766)]())i[n(755)](t);for(const t of Object[n(742)](e[n(725)])){const r=i[n(542)](t);for(const s of Object[n(742)](e[n(501)][t]))i[n(710)](s,e[n(501)][t][s],r);i[n(622)](e[n(725)][t],r,0)}})),this[t(488)][t(772)](this[t(774)](e[t(662)])),this[t(626)]=!0}))[n(752)]((t=>{const e=n;console[e(702)](t),this[e(729)](),r&&(this[e(488)]=r),this[e(626)]=!0}))}[vr(664)](t,e){const i=vr,n=this[i(504)][i(625)](t);return n.on(i(666),((t,i,r)=>e(i,r,n))),this[i(504)][i(508)](n),n}[vr(512)](t){const e=vr;if(!t||t[e(781)])return Promise[e(743)]();{const i=this[e(661)][e(535)][e(520)](e(586));return this[e(574)][e(506)]({channelId:i,revisionId:t.id})[e(475)]((i=>{const n=e;t[n(666)]({diffData:i[n(781)]},!0)}))}}[vr(729)](){const t=vr;this[t(492)]=null,this[t(658)](),this[t(503)]&&this[t(503)][t(773)](),this[t(503)]=null,this[t(604)][t(644)](),this[t(661)][t(725)][t(529)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(661)][i(725)][i(738)][i(766)]())e[i(755)](t)}))}[vr(774)](t){const e=vr,i=[],n=new Map;for(const t of this[e(661)][e(725)][e(738)][e(766)]()){const r=this[e(661)][e(728)][e(585)][e(561)](t);if(!r)continue;const s=r[e(566)]()[e(694)](0);s&&(i[e(679)](t),n[e(678)](t,s))}return i[e(630)](((t,i)=>{const r=e,s=n[r(520)](t),o=n[r(520)](i);return s.y-o.y||s.x-o.x})),(t=t[e(746)]((t=>i[e(656)](t[e(760)]))))[e(630)](((t,n)=>i[e(612)](t[e(760)])-i[e(612)](n[e(760)]))),t}[vr(634)](t){const e=vr,i=Array[e(654)](t[e(600)])[e(746)]((([t,i])=>t[e(502)](e(623))&&!i[e(627)])),n=Array[e(654)](this[e(661)][e(725)][e(494)](t)[e(691)]({singleCharacters:!0}));if(0!=i[e(499)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(696)](":");if(r[e(775)][e(759)](t[e(741)])&&i[e(638)](),(t[e(590)][e(759)](r[e(758)])||t[e(590)][e(570)](r[e(758)]))&&(e(629)==s?t[e(480)]={userId:o}:e(559)==s&&(t[e(516)]={userId:o})),0==i[e(499)])break}return n}[vr(527)](t){const e=vr,i=new Map;for(let n=0;n<t[e(499)];n++)e(581)===t[n][e(485)]?(t[n][e(694)][e(761)]=n,t[n][e(694)][e(464)]=n):(e(682)===t[n][e(485)]?t[n][e(694)][e(761)]=n:e(646)===t[n][e(485)]&&(t[n][e(694)][e(464)]=n),i[e(678)](t[n].id,n));for(const n of i[e(498)]())e(682)===t[n][e(485)]?t[n][e(694)][e(464)]=i[e(520)](t[n][e(635)]):e(646)===t[n][e(485)]&&(t[n][e(694)][e(761)]=i[e(520)](t[n][e(635)]))}[vr(786)](t){const e=vr;for(let i=0;i<t[e(499)];i++){if(e(682)===t[i][e(485)])t[i][e(694)][e(761)]=i;else if(e(646)===t[i][e(485)]){t[i][e(694)][e(464)]=i;const n=t[i][e(694)][e(761)];t[n][e(635)]=t[i].id,t[i][e(635)]=t[n].id}else t[i][e(694)][e(761)]=i,t[i][e(694)][e(464)]=i,t[i][e(635)]=null;t[i][e(470)]||(t[i][e(470)]=[],t[i][e(697)]=[])}}[vr(617)](t,e){const i=vr,n=t[i(746)]((t=>!t[i(480)]));for(let t=0;t<e[i(499)];t++)e[t][i(480)]&&(n[t][i(480)]=e[t][i(480)])}[vr(637)](t){const e=vr,i=JSON[e(724)](t),n=this[e(661)][e(728)][e(585)][e(738)],r=new Yi.ViewDocumentFragment(n,i[e(749)]((t=>this[e(705)](t))));return this[e(661)][e(497)][e(769)](r)}[vr(705)](t){const e=vr,i=this[e(661)][e(728)][e(585)][e(738)];if(e(730)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(660)][e(749)]((t=>this[e(705)](t)));return new(kr[t[e(485)]]||Yi.ViewElement)(i,t[e(704)],t[e(501)],n)}}[vr(614)](t,e=null){const i=vr,n=this[i(504)][i(506)](t),r=e?this[i(504)][i(506)](e):null,s=this[i(573)](n,r),o=s[s[i(499)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(499)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(742)](e[i(781)]))if(e[i(781)][t][i(606)]){const n=e[i(781)][t][i(606)];n[i(794)]?(u[i(647)](t),l[i(478)](t)&&l[i(520)](t)[i(481)]==n[i(481)]?l[i(609)](t):l[i(678)](t,n)):l[i(478)](t)?(u[i(609)](t),l[i(609)](t)):(u[i(647)](t),l[i(678)](t,n))}else u[i(647)](t)}for(const t of u){const e=l[i(478)](t)&&!l[i(520)](t)[i(794)];let n=e?s[i(499)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(781)][t]){const n=e?o[i(781)][t][i(580)]:o[i(781)][t][i(714)];c[i(501)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(725)]={};for(const e of t[i(687)])a[i(678)](e.id,e);for(const e of u){const n=t[i(781)][e]?t[i(781)][e][i(510)]:"[]",r=t[i(781)][e]?t[i(781)][e][i(653)]:"[]";t[i(725)][e]={insertions:this[i(637)](n),deletions:this[i(637)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(654)](n[i(725)][t][i(510)][i(600)])[i(746)]((([t])=>!t[i(502)](i(623)))));let h=0;for(const o of s){const s=this[i(634)](o[i(725)][t][i(510)]);o==n?(e=s,r=e[i(499)],e[i(717)]((t=>{t.id=h++})),this[i(786)](e)):this[i(617)](e,s);const a=e[i(746)]((t=>!t[i(480)]))[i(749)]((t=>t.id));let c=0;const l=this[i(634)](o[i(725)][t][i(653)]);l[i(717)]((t=>{t[i(516)]?t.id=r++:t.id=a[c++]})),this[i(786)](l),this[i(763)](e,i(480)),this[i(763)](l,i(516)),o==n&&this[i(598)](e,u),e=this[i(597)](e,l),this[i(527)](e),this[i(763)](e,i(516))}e=e[i(746)]((t=>!(t[i(480)]&&t[i(516)])));const d=new Map(o[i(725)][t][i(653)][i(600)]),f=new Set(u[i(742)]());for(const t of d[i(742)]())f[i(609)](t);this[i(615)](e,f),this[i(493)](e),e=this[i(690)](e),e=this[i(703)](e),e=this[i(698)](e);const{root:m,changes:p}=this[i(491)](e,a,t);c[i(725)][t]=m;const v=l[i(520)](t);if(v){const e=a[i(520)](v[i(481)]),n=new ur({author:e,type:v[i(794)]?i(647):i(603),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(583)](n),c[i(501)][t][i(602)]=n.id}c[i(662)]=c[i(662)][i(751)](p)}return c}[vr(598)](t,e){const i=vr;for(let n=0;n<t[i(499)];n++)for(const[r,s]of e)s[i(758)][i(759)](t[n][i(590)])&&t[n][i(470)][i(679)](r),s[i(775)][i(759)](t[n][i(741)])&&t[n][i(697)][i(679)](r)}[vr(597)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(499)]||s<e[i(499)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(679)](o);else if(a[i(516)]&&o[i(480)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(652)](t,r,e,s);n=n[i(751)](o),r=a,s=c}else a[i(516)]?(s++,n[i(679)](a)):(r++,n[i(679)](o))}return n}[vr(615)](t,e){const i=vr,n=[];for(let o=0;o<t[i(499)];o++){for(let s=0;s<t[o][i(470)][i(499)];s++){const a=t[o][i(470)][s];if(!e[i(478)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(592)!=c||i(629)!=u&&i(559)!=u||(n[i(583)]({type:u,name:a,userId:l}),t[o][i(470)][i(748)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(697)][i(499)];s++){const a=t[o][i(697)][s];if(!e[i(478)](a))continue;const{group:c,type:u}=r(a);if(i(592)!=c||i(629)!=u&&i(559)!=u)continue;t[o][i(697)][i(748)](s,1),s--;const l=n[i(596)]((t=>t[i(704)]==a));l>-1&&n[i(748)](l,1)}}function r(t){const e=i,n=t[e(696)](":");return{group:n[0],type:n[1],subType:n[e(499)]>=5?n[2]:null,id:n[e(499)]<5?n[2]:n[3],authorId:n[e(499)]<5?n[3]:n[4],markerCount:6==n[e(499)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(499)];i++){if(t[e(480)]&&e(629)==n[i][e(485)])return t[e(675)]=n[i],void delete t[e(480)];if(!t[e(480)]&&!t[e(516)]&&e(559)==n[i][e(485)])return void(t[e(788)]=n[i])}}}[vr(763)](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(678)](o.id,n);for(let n=0;n<t[i(499)];n++){if(i(516)==e&&t[n][i(480)]||i(480)==e&&t[n][i(516)])continue;if(i(581)==t[n][i(485)]){t[n][i(688)]=0;continue}const r=s[i(520)](t[n][i(635)]),o=s[i(520)](t[n].id);t[n][i(688)]=r-o}}[vr(573)](t,e,i=!1){const n=vr,r=[];let s=this[n(504)][n(693)](t),o=this[n(504)][n(693)](e);for(-1==o&&(o=this[n(504)][n(555)][n(499)],i=!1);s<o;)r[n(679)](this[n(504)][n(506)](s)),s++;return i&&r[n(679)](this[n(504)][n(506)](s)),r}[vr(652)](t,e,i,n){const r=vr,s=this[r(661)][r(725)][r(695)];let o=e;for(;t[o]&&t[o][r(480)];)o++;let a=n;for(;i[a]&&i[a][r(516)];)a++;u(t,e,o),u(i,n,a);const c=i[r(547)](n,a)[r(751)](t[r(547)](e,o));return c[r(630)](((t,e)=>t[r(791)]!=e[r(791)]?t[r(791)]-e[r(791)]:t[r(708)]!=e[r(708)]?t[r(708)]-e[r(708)]:t[r(688)]!=e[r(688)]?e[r(688)]-t[r(688)]:!!t[r(480)]!=!!e[r(480)]?-1==t[r(791)]||0==t[r(791)]?t[r(480)]?-1:1:t[r(480)]?1:-1:t[r(565)]-e[r(565)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(515)],c=!0;for(let r=e;r<i;r++)if(s[n(676)](t[r][n(694)])||(c=!1),t[r][n(694)][n(761)]<e&&(o=r),t[r][n(694)][n(464)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(791)]=r<=o?-1:r<a?0:1,t[r][n(565)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(688)]?t[i][n(708)]=u:(u++,t[i][n(708)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(791)]&&(t[r][n(708)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(688)]?t[e][n(708)]=u:(u--,t[e][n(708)]=u,u--)}}[vr(493)](t){const e=vr,i=new Map,n=this[e(661)][e(725)][e(695)];for(let r=1;r<t[e(499)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(581)==c[e(485)])continue;if(c[e(485)]!=u[e(485)])continue;if(!n[e(562)](u[e(694)])||n[e(517)](u[e(694)]))continue;if(!n[e(562)](c[e(694)])||n[e(517)](c[e(694)]))continue;if((t[r][e(480)]||t[r][e(675)])&&t[r-1][e(516)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(516)]||!t[r-1][e(480)]&&!t[r-1][e(675)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(708)]==o[e(708)],h=Math[e(601)](s[e(708)])<Math[e(601)](o[e(708)])&&0==o[e(688)];(l||h)&&(i[e(678)](o.id,s.id),t[e(748)](a,1),r--,s[e(480)]=!1)}for(let n=0;n<t[e(499)];n++)i[e(478)](t[n][e(635)])&&(t[n][e(635)]=i[e(520)](t[n][e(635)]))}[vr(690)](t){const e=vr,i=new Set(t[e(749)]((t=>t.id)));for(let n=0;n<t[e(499)];n++)i[e(478)](t[n][e(635)])||0==t[n][e(688)]||(t[n][e(744)]=!0);return t[e(746)]((t=>!t[e(744)]))}[vr(703)](t){const e=vr,i=new Set;for(let n=0;n<t[e(499)];n++){if(i[e(478)](t[n].id)&&t[n][e(516)]&&(t[n][e(744)]=!0),t[n][e(744)])continue;if(0==t[n][e(688)])continue;if(e(682)!=t[n][e(485)])continue;if(null==t[n][e(635)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(635)];)e(682)==t[r][e(485)]?s++:e(646)==t[r][e(485)]&&s--,r++;if(0!=s)if(t[n][e(516)])t[n][e(744)]=!0;else for(;r!=n;)t[r][e(516)]&&0!=t[r][e(688)]&&(t[r][e(744)]=!0,i[e(647)](t[r][e(635)])),r--}return t[e(746)]((t=>!t[e(744)]))}[vr(698)](t){const e=vr,i=this[e(661)][e(725)][e(695)];for(let n=0;n<t[e(499)];n++){if(!(t[n][e(480)]||t[n][e(675)]||t[n][e(516)]||t[n][e(788)]))continue;if(0==t[n][e(688)])continue;const r=t[n][e(694)];i[e(562)](r)||i[e(517)](r)||(t[n][e(480)]&&delete t[n][e(480)],t[n][e(675)]&&delete t[n][e(675)],t[n][e(788)]&&delete t[n][e(788)],t[n][e(516)]&&(t[n][e(744)]=!0))}return t[e(746)]((t=>!t[e(744)]))}[vr(491)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(661)][n(725)],c=a[n(695)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(499)];e++)if(n(682)===t[e][n(485)]){t[e][n(590)]=a[n(684)](r,f);const i=new Yi.Element(t[e][n(694)][n(704)],t[e][n(694)][n(569)]());u[0][n(668)](i),f[n(679)](0),u[n(583)](i),t[e][n(741)]=a[n(684)](r,f)}else n(646)===t[e][n(485)]?(u[n(638)](),t[e][n(590)]=a[n(684)](r,f),f[n(546)](),f[f[n(499)]-1]++,t[e][n(741)]=a[n(684)](r,f)):(t[e][n(590)]=a[n(684)](r,f),d?d[n(790)]+=t[e][n(694)][n(497)]:d=new Yi.Text(t[e][n(694)][n(497)],t[e][n(694)][n(569)]()),t[e+1]&&n(581)===t[e+1][n(485)]&&v(d,t[e+1][n(694)])||(u[0][n(668)](d),d=null),f[f[n(499)]-1]+=t[e][n(694)][n(608)],t[e][n(741)]=a[n(684)](r,f));for(let e=0;e<t[n(499)];e++){const i=t[e][n(590)],r=t[e][n(741)];for(const r of t[e][n(470)])o[n(678)](r,{start:i,end:null});m(n(788),e,i,r),m(n(675),e,i,r),m(n(516),e,i,r),m(n(480),e,i,r);for(const i of t[e][n(697)])o[n(520)](i)[n(775)]=r}for(const[t,e]of o){const i=this[n(661)][n(725)][n(720)](e[n(758)],e[n(775)]);r[n(600)][n(678)](t,i)}return s[n(630)](((t,e)=>{const i=n,s=r[i(600)][i(520)](i(623)+t.id),o=r[i(600)][i(520)](i(623)+e.id);return s[i(758)][i(619)](o[i(758)])?-1:s[i(758)][i(570)](o[i(758)])?1:s[i(775)][i(619)](o[i(775)])?-1:s[i(775)][i(570)](o[i(775)])?1:i(647)===t[i(485)]?-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(481)]:null,d=i===t[o(499)]-1,f=h[e][0],m=c[o(756)](t[i][o(694)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(775)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(481)]!==u&&(l[e][o(775)]=r,f&&f[o(481)]===l[e][o(481)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(682)!==t[i][o(485)]||f&&f[o(481)]===u||h[e][o(583)]({userId:u,object:t[i][o(694)],change:l[e]}),o(646)===t[i][o(485)]&&f&&f[o(686)]===t[i][o(694)]&&(h[e][o(638)](),l[e]=f[o(731)])),l[e]&&d&&(l[e][o(775)]=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(694)],f=a[h(695)][h(562)](d)&&!a[h(695)][h(517)](d),m=t[h(713)]==o[h(537)]&&o[h(643)];if(f&&m)return;const p=a[h(720)](t,o),v=e[h(520)](u),y=new ur({author:v,type:h(480)==l||h(675)==l?h(647):h(603),data:{isSuggestion:h(675)==l||h(788)==l},createdAt:new Date,rootName:i});s[h(679)](y),r[h(600)][h(678)](h(623)+y.id,p)}function v(t,e){const i=n,r=t[i(569)](),s=e[i(569)]();for(const t of r){if(t[1]!==e[i(641)](t[0]))return!1;s[i(785)]()}return s[i(785)]()[i(582)]}}[vr(659)](){const t=vr;this[t(661)][t(722)][t(709)](t(765))[t(507)]({view:t(556)}),this[t(661)][t(722)][t(709)](t(802))[t(799)]({model:t(556),view:e=>{const i=t,n=e[i(576)][i(696)](":")[1],r=this[i(472)](n);if(!r)return null;const s=i(647)==r[i(485)]?i(629):i(559),o=[i(650),i(692)+s];return r[i(497)][i(721)]&&o[i(679)](i(692)+s+i(670)),this[i(492)]==r&&o[i(679)](i(700)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(661)][t(722)][t(709)](t(765))[t(647)]((e=>{const i=t;e.on(i(560),((t,e,n)=>{const r=i,s=e[r(532)][r(715)](0);if(!s||!s.is(r(699),r(672)))return;if(!n[r(479)][r(522)](s,{attributes:[r(754),r(740)]}))return;const o=e[r(800)][r(758)][r(713)];n[r(762)][r(710)](r(754),s[r(641)](r(754)),o),n[r(762)][r(710)](r(740),s[r(641)](r(740)),o)}),{priority:i(747)})})),this[t(661)][t(722)][t(709)](t(765))[t(647)]((e=>{const i=t;e.on(i(699),((t,e,n)=>{const r=i;if(!n[r(479)][r(522)](e[r(532)],{attributes:[r(754),r(740)]}))return;if(e[r(800)][r(627)])return;const s=e[r(800)][r(758)][r(713)];s[r(462)](r(754))||s[r(462)](r(665))||(n[r(762)][r(710)](r(754),e[r(532)][r(641)](r(754)),s),n[r(762)][r(710)](r(740),e[r(532)][r(641)](r(740)),s))}),{priority:i(747)})})),this[t(661)][t(722)][t(709)](t(765))[t(584)]({view:{name:t(557),attributes:{vid:!0}},model:{key:t(665),value:e=>e[t(641)](t(665))}}),this[t(661)][t(725)][t(695)].on(t(540),((e,[,i])=>{const n=t;[n(754),n(740),n(665)][n(656)](i)&&(e[n(735)]=!0,e[n(511)]())}),{priority:t(680)}),this[t(661)][t(722)][t(709)](t(633))[t(647)]((e=>{const i=t;e.on(i(469),((t,e,n)=>{const r=i;if(" "!=e[r(694)][r(497)]||e[r(694)][r(537)][r(468)]>1)return;if(!n[r(479)][r(522)](e[r(694)],t[r(704)]))return;const s=n[r(762)],o=n[r(577)][r(471)](e[r(575)]);s[r(657)](o,s[r(651)](r(557)))}))})),this[t(661)][t(722)][t(709)](t(633))[t(734)]({model:t(556)}),this[t(661)][t(728)][t(538)].on(t(544),function(e){const i=t,n=e[i(599)][i(520)](i(674));return(t,r,s)=>{const o=i,a=r[o(576)][o(696)](":")[1],c=n[o(472)](a);if(!c)return null;const u=o(647)==c[o(485)]?o(696):o(639);if(!s[o(479)][o(588)](r[o(776)],t[o(704)]))return;const l=r[o(776)][o(691)](),h=r[o(776)][o(758)],d=e[o(725)][o(695)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(694)];p=p||d[o(655)](e);const i=s[o(577)][o(461)](e);if(i&&i[o(518)](o(801)))return;o(646)==t[o(485)]&&d[o(562)](e)&&!d[o(517)](e)&&(e[o(514)]||h[o(513)]?f&&f[o(537)]==e||(f=e,y(t[o(590)]),v=!0):m=m||t[o(590)])}function y(t){const e=o,i=s[e(762)][e(541)](e(557),{class:e(692)+u}),a=s[e(577)][e(579)](t);c[e(497)][e(721)]&&s[e(762)][e(521)](e(692)+u+e(670),i),n[e(492)]==c&&s[e(762)][e(521)](e(700),i),s[e(762)][e(622)](a,i),s[e(577)][e(727)](i,r[e(576)])}p||v||!m||y(m)}}(this[t(661)]),{priority:t(780)}),this[t(661)][t(728)][t(538)].on(t(719),((e,i,n)=>{const r=t,s=n[r(577)][r(578)](i[r(576)]);if(s)for(const t of s)(t[r(473)](r(477))||t[r(473)](r(466)))&&(n[r(577)][r(500)](t,i[r(576)]),n[r(762)][r(603)](t))}),{priority:t(780)}),this[t(661)][t(728)][t(538)].on(t(544),((e,i,n)=>{const r=t,s=i[r(576)][r(696)](":")[1],o=this[r(472)](s);if(!o)return null;const a=r(647)==o[r(485)]?r(696):r(639);if(n[r(479)][r(588)](i[r(776)],e[r(704)]))for(const t of i[r(776)][r(524)]()){if(!t.is(r(699),r(496)))continue;const e=n[r(762)][r(541)](r(557),{class:r(692)+a}),s=n[r(577)][r(579)](this[r(661)][r(725)][r(701)](t));o[r(497)][r(721)]&&n[r(762)][r(521)](r(692)+a+r(670),e),this[r(492)]==o&&n[r(762)][r(521)](r(700),e),n[r(762)][r(622)](s,e),n[r(577)][r(727)](e,i[r(576)])}}),{priority:t(780)}),this[t(661)][t(725)][t(738)].on(t(731),(()=>{const e=t;this[e(661)][e(728)][e(585)][e(731)]((t=>{const i=e;for(const e of this[i(661)][i(725)][i(738)][i(766)]()){const n=this[i(661)][i(725)][i(738)][i(645)](e),r=this[i(661)][i(728)][i(585)][i(738)][i(645)](e);if(r){const e=n[i(641)](i(602));if(t[i(611)](i(628),r),t[i(681)](i(750),r),t[i(681)](i(495),r),t[i(681)](i(610),r),e){const n=this[i(472)](e);if(!n)return null;t[i(710)](i(628),e,r),t[i(521)](i(550)+n[i(485)],r),this[i(492)]==n&&t[i(521)](i(610),r)}}}}))})),this[t(661)][t(722)][t(709)](t(765))[t(507)]({view:t(467),model:e=>t(554)+e,converterPriority:t(680)}),this[t(661)][t(722)][t(709)](t(765))[t(507)]({view:t(593),model:e=>t(509)+e,converterPriority:t(680)}),this[t(661)][t(722)][t(709)](t(633))[t(734)]({model:t(592),view:e=>({name:t(789)+e,group:t(592)}),converterPriority:t(680)}),this[t(661)][t(722)][t(709)](t(802))[t(799)]({model:t(592),view:e=>{const i=t,n=e[i(576)][i(696)](":")[1];return i(629)!=n&&i(559)!=n?null:{classes:[i(483),i(798)+n]}}}),this[t(661)][t(728)][t(538)].on(t(476),wr(this[t(661)],t(639)),{priority:t(780)}),this[t(661)][t(728)][t(538)].on(t(723),wr(this[t(661)],t(696)),{priority:t(780)}),this[t(661)][t(728)][t(538)].on(t(677),((e,i,n)=>{const r=t,s=n[r(577)][r(578)](i[r(576)]);if(s)for(const t of s)t.is(r(530))&&(n[r(577)][r(500)](t,i[r(576)]),n[r(762)][r(603)](t))}),{priority:t(780)})}[vr(472)](t){const e=vr;return this[e(604)][e(520)](t)}[vr(624)](t){const e=vr;return this[e(503)]&&this[e(503)][e(773)](),this[e(503)]=new sr(this[e(661)][e(487)],t),this[e(503)]}[vr(787)](){const t=vr;this[t(661)][t(725)][t(738)][t(616)][t(505)](t(556)),this.on(t(486),((e,i,n,r)=>{const s=t;r&&this[s(549)][s(603)](r),n&&(this[s(549)][s(647)]({view:n,stackId:s(783),position:{target:()=>{const t=s,e=this[t(661)][t(728)],i=this[t(472)](n[t(782)]);let r;if(i[t(497)][t(572)]){const n=e[t(585)][t(561)](i[t(760)]);r=Array[t(654)](n[t(566)]())}else{const i=this[t(661)][t(725)][t(600)][t(520)](t(623)+n[t(782)]);r=Array[t(654)](e[t(577)][t(578)](i[t(704)]))[t(749)]((i=>e[t(585)][t(732)][t(534)](i)))[t(749)]((e=>Array[t(654)](e[t(566)]())))[t(553)]()}return this[t(631)]&&r[t(563)]((e=>e[t(753)]-3<=this[t(631)].y&&e[t(545)]+3>=this[t(631)].y&&e[t(594)]-3<=this[t(631)].x&&e[t(528)]+3>=this[t(631)].x))||r[0]}}}),this[s(549)][s(784)](s(783)))})),this.on(t(621),((e,i,n,r)=>{const s=t;this[s(797)]=n?this[s(624)](n):null,this[s(661)][s(725)][s(731)]((()=>{const t=s,e=this[t(661)][t(728)];r&&(r[t(497)][t(572)]?e[t(585)][t(731)]((i=>{const n=t;i[n(681)](n(610),e[n(585)][n(738)][n(645)](r[n(760)]))})):e[t(663)](t(623)+r.id)),n&&(n[t(497)][t(572)]?e[t(585)][t(731)]((i=>{const r=t;i[r(521)](r(610),e[r(585)][r(738)][r(645)](n[r(760)]))})):e[t(663)](t(623)+n.id))}))})),this[t(595)](this[t(661)][t(728)][t(585)][t(738)],t(564),((e,i)=>{const n=t;if(this[n(492)])return;const r=this[n(669)](i[n(490)]),s=this[n(604)][n(520)](r);s?(this[n(631)]={x:i[n(795)].x,y:i[n(795)].y},this[n(797)]=this[n(624)](s)):(this[n(631)]=null,this[n(797)]=null)})),this[t(595)](this[t(661)][t(728)][t(585)][t(738)],t(523),((e,i)=>{const n=t,r=this[n(669)](i[n(490)]),s=this[n(604)][n(520)](r);s?(this[n(631)]={x:i[n(795)].x,y:i[n(795)].y},s===this[n(492)]?this[n(549)][n(673)]():this[n(492)]=s):(this[n(631)]=null,this[n(492)]=null)}))}[vr(669)](t){const e=vr;do{const i=t[e(641)](e(628));if(i)return i;t=t[e(537)]}while(t);return null}[vr(658)](){const t=vr;this[t(661)][t(725)][t(731)]((e=>{const i=t;for(const t of this[i(661)][i(725)][i(600)])e[i(757)](t)}))}}function wr(t,e){return(i,n,r)=>{const s=yr;if(!r[s(479)][s(588)](n[s(776)],i[s(704)]))return;const o=n[s(776)][s(691)](),a=n[s(776)][s(758)],c=t[s(725)][s(695)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(694)];h=h||c[s(655)](e);const i=r[s(577)][s(461)](e);if(i&&i[s(518)](s(801)))return;s(646)==t[s(485)]&&c[s(562)](e)&&!c[s(517)](e)&&(e[s(514)]||a[s(513)]?u&&u[s(537)]==e||(u=e,f(t[s(590)]),d=!0):l=l||t[s(590)])}function f(t){const i=s,o=r[i(577)][i(579)](t),a=r[i(762)][i(541)](i(557),{class:i(798)+e});r[i(762)][i(622)](o,a),r[i(577)][i(727)](a,n[i(576)])}h||d||!l||f(l)}}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(599)][e(520)](br);this[e(737)]=!1,this[e(595)](i,e(632),(()=>this[e(591)]())),this[e(595)](i,e(716),(()=>this[e(591)]()))}[vr(671)](){const t=vr,e=this[t(661)],i=e[t(599)][t(520)](br),n=i[t(626)]?i[t(488)][t(548)]:null;e[t(535)][t(520)](t(689))[t(793)](n)}[vr(591)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(661)][t(599)][t(520)](br),s=r&&n[t(796)](r[t(548)]);this[t(683)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(599)][i(520)](br);this[i(737)]=!1,this[i(613)]=i(558)===e?1:-1,this[i(595)](n,i(632),(()=>this[i(591)]())),this[i(595)](n,i(716),(()=>this[i(591)]())),this[i(595)](n,i(621),(()=>this[i(591)]()))}[vr(671)](){const e=vr,i=this[e(661)],n=i[e(599)][e(520)](br),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(492)]=r?n[e(488)][e(662)][e(520)](s+this[e(613)]):n[e(488)][e(662)][e(767)],n[e(492)][e(497)][e(572)])o=i[e(728)][e(585)][e(561)](n[e(492)][e(760)]);else{const t=i[e(725)][e(600)][e(520)](e(623)+n[e(492)].id);o=(0,Bi.getMarkerDomElement)(i[e(728)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(591)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(661)][t(599)][t(520)](br);this[t(683)]=!!(s&&r&&n)&&(!e||(1===this[t(613)]?i<n-1:i>0))}}var Sr=i(528),xr={attributes:{"data-cke":!0}};xr.setAttributes=Wn(),xr.insert=Pn().bind(null,"head"),xr.domAPI=Fn(),xr.insertStyleElement=Zn();Cn()(Sr.A,xr);Sr.A&&Sr.A.locals&&Sr.A.locals;function Or(t,e){const i=Tr();return(Or=function(t,e){return i[t-=444]})(t,e)}function Tr(){const t=["No changes","ck-revision-history-ui__changes-navigation","ck-revision-history-ui__changes-navigation__wrapper","291465iGMNGg","Show previous change","209717ARpwhJ","div","span","1452008DnRlKO","Loading...","isReady","isBackwardNavigationEnabled","isEnabled","3358920zghvxe","setTemplate","bindTemplate","isNavigationMode","EDIT_X_OF_Y_REVISIONS","bind","currentChangeNumber","NUMBER_OF_CHANGES","ck-revision-history-ui","57RxafJW","ck-hidden","2099538RpGaWC","7EYoAcy","ck-revision-history-ui__changes-navigation__navigation","_isStatusLabelVisible","_statusText","ck-revision-history-ui__changes-navigation__label","execute","forward","X_OF_Y_CHANGES","fire","Total","525946LKYsJV","set","numberOfChanges","backward","68552LWFgvJ","isForwardNavigationEnabled","Show next change"];return(Tr=function(){return t})()}!function(t){const e=Or,i=t();for(;;)try{if(465622===-parseInt(e(447))/1+parseInt(e(477))/2+-parseInt(e(464))/3*(-parseInt(e(481))/4)+-parseInt(e(445))/5+parseInt(e(455))/6+parseInt(e(467))/7*(-parseInt(e(450))/8)+-parseInt(e(466))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Tr);class Nr extends En.View{constructor(t){const e=Or;super(t);const i=this[e(457)],n=new En.ButtonView(t),r=new En.ButtonView(t);this[e(478)](e(458),!1),this[e(478)](e(452),!1),this[e(478)](e(461),0),this[e(478)](e(479),0),this[e(478)](e(482),!1),this[e(478)](e(453),!1),this[e(460)](e(469)).to(this,e(452),this,e(479),((t,e)=>t&&e>0)),this[e(460)](e(470)).to(this,e(452),this,e(461),this,e(479),this,e(458),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(451));if(!r)return Qi(t,o(484));const a=Qi(t,o(462),r);return s?Qi(t,o(474),[n+1,r]):a})),n[e(478)]({label:Qi(t,e(446)),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(478)]({label:Qi(t,e(483)),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(460)](e(454)).to(this,e(453)),r[e(460)](e(454)).to(this,e(482)),n.on(e(472),(()=>this[e(475)](e(472),e(480)))),r.on(e(472),(()=>this[e(475)](e(472),e(473)))),this[e(456)]({tag:e(448),attributes:{class:["ck",e(463),e(485)]},children:[{tag:e(449),attributes:{class:[e(444)]},children:[{tag:e(449),attributes:{class:[e(471),i.if(e(469),e(465),(t=>!t))]},children:[{text:i.to(e(458),(i=>i?Qi(t,e(459))+": ":Qi(t,e(476))+": "))}]},{text:i.to(e(470))}]},new En.ToolbarSeparatorView,{tag:e(448),attributes:{class:[e(468)]},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;const Vr=Dr;!function(t){const e=Dr,i=t();for(;;)try{if(438990===-parseInt(e(299))/1+parseInt(e(303))/2+parseInt(e(302))/3*(parseInt(e(310))/4)+-parseInt(e(309))/5+parseInt(e(315))/6+parseInt(e(298))/7*(-parseInt(e(312))/8)+-parseInt(e(295))/9*(-parseInt(e(297))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Er);const Mr=Vr(313);function Er(){const t=["1380142SMLrlE","pluginName","addClass","show","isOfficialPlugin","editing","3332820uPsitR","68YBxlHP","document","4205192GanIwY","ck-editor__editable__loading-overlay","roots","729516emQcOk","editor","view","RevisionViewerLoadingOverlay","change","9NbyDKe","hide","3752860mQFoAn","7sJRGGn","230351yUIFjs","removeClass","isPremiumPlugin","119049iLTxhp"];return(Er=function(){return t})()}function Dr(t,e){const i=Er();return(Dr=function(t,e){return i[t-=294]})(t,e)}class Cr extends qi.Plugin{static get[Vr(304)](){return Vr(318)}static get[Vr(307)](){return!0}static get[Vr(301)](){return!0}[Vr(306)](){const t=Vr,e=this[t(316)][t(308)][t(317)];e[t(294)]((i=>{const n=t;for(const t of e[n(311)][n(314)])i[n(305)](Mr,t)}))}[Vr(296)](){const t=Vr,e=this[t(316)][t(308)][t(317)];e[t(294)]((i=>{const n=t;for(const t of e[n(311)][n(314)])i[n(300)](Mr,t)}))}}const jr=Fr;function Fr(t,e){const i=Lr();return(Fr=function(t,e){return i[t-=222]})(t,e)}function Lr(){const t=["321987TTLzhF","119oczqEw","set","show","config","isForwardNavigationEnabled","showNextChange","showPreviousChange","Back to editing","ck-revision-history-ui__back-to-editing","undo","isNavigationMode","requires","add","revisionHistory","currentChangeNumber","isPremiumPlugin","execute","Restore this revision","isBackwardNavigationEnabled","forward","1728722vOPfEd","change:isReady","bind","RevisionViewerUI","listenTo","plugins","componentFactory","isEnabled","90152Nczuuo","exitToEditing","999696qhLRrJ","numberOfChanges","12UuVgpX","changesNavigation","3229600wqxeui","isOfficialPlugin","editor","restoreRevision","get","commands","15806637AUmZgK","isReady","closeRevisionViewerCallback","993421vTnTJN","init","hide","pluginName"];return(Lr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(580633===-parseInt(e(234))/1+-parseInt(e(259))/2+parseInt(e(238))/3*(-parseInt(e(223))/4)+parseInt(e(225))/5+parseInt(e(269))/6+parseInt(e(239))/7*(parseInt(e(267))/8)+parseInt(e(231))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class Pr extends qi.Plugin{static get[jr(237)](){return jr(262)}static get[jr(226)](){return!0}static get[jr(254)](){return!0}static get[jr(250)](){return[br,Cr]}[jr(235)](){const t=jr,e=this[t(227)],i=e[t(264)][t(229)](br),n=e[t(264)][t(229)](Cr);e.ui[t(265)][t(251)](t(268),(i=>{const n=t,r=new En.ButtonView(i);return r[n(240)]({label:Qi(i,n(246)),icon:qi.icons[n(248)],withText:!0,tooltip:!0,class:n(247)}),this[n(263)](r,n(255),(()=>{const t=n;e[t(242)][t(229)](t(252))[t(233)]()})),r})),e.ui[t(265)][t(251)](t(228),(i=>{const n=t,r=new En.ButtonView(i);return r[n(240)]({label:Qi(i,n(256)),withText:!0,tooltip:!0}),r[n(261)](n(266)).to(e[n(230)][n(229)](n(228))),this[n(263)](r,n(255),(()=>e[n(255)](n(228)))),r})),e.ui[t(265)][t(251)](t(224),(n=>{const r=t,s=new Nr(n),o=e[r(230)][r(229)](r(245)),a=e[r(230)][r(229)](r(244));return s[r(261)](r(257)).to(o,r(266)),s[r(261)](r(243)).to(a,r(266)),s[r(261)](r(232),r(253),r(222),r(249)).to(i),this[r(263)](s,r(255),((t,i)=>{const n=r;e[n(255)](n(258)===i?n(244):n(245))})),s})),n[t(241)](),i.on(t(260),((e,i,r)=>{const s=t;r?n[s(236)]():n[s(241)]()}))}}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=Hr;function Zr(){const t=["scrollWidth","destroy","1290006sQoEdM","bindTemplate","_tooltipString","ck-tooltip_multi-line","_updateTooltipText","input","Revision name","clientWidth","3PIWShZ","listenTo","value","930466ucPKnU","placeholder","element","fieldView","span","717941xIDWNn","set","9593586CocMQx","Enter the revision name","8PUSfsx","1317270gDbmMX","ck-revision-history-sidebar__revision-name","225002vHzeiG","render","36028pDfbHs","_resizeObserver","extendTemplate"];return(Zr=function(){return t})()}function Hr(t,e){const i=Zr();return(Hr=function(t,e){return i[t-=259]})(t,e)}!function(t){const e=Hr,i=t();for(;;)try{if(253712===parseInt(e(272))/1+parseInt(e(260))/2*(-parseInt(e(287))/3)+parseInt(e(274))/4+-parseInt(e(270))/5+-parseInt(e(279))/6+parseInt(e(265))/7*(-parseInt(e(269))/8)+parseInt(e(267))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zr);class $r extends En.LabeledFieldView{constructor(t,e){const i=Hr;super(t,e),this[i(275)]=null;const n=this[i(280)];this[i(266)]({label:Qi(t,i(285)),_tooltipString:""}),this[i(263)][i(261)]=Qi(t,i(268)),this[i(276)]({tag:i(264),attributes:{class:[i(271)],"data-cke-tooltip-text":n.to(i(281)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(282)}})}[Ur(273)](){const e=Ur;super[e(273)](),this[e(275)]=new t.ResizeObserver(this[e(263)][e(262)],(()=>this[e(283)]())),this[e(288)](this[e(263)],e(284),(()=>this[e(283)]()))}[Ur(278)](){const t=Ur;super[t(278)](),this[t(275)]&&this[t(275)][t(278)]()}[Ur(283)](){const t=Ur,e=this[t(263)][t(262)];this[t(281)]=e[t(277)]>e[t(286)]&&e[t(259)]||""}}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=["ck-revision-history-sidebar__revision-author_creator","54435sBxIrf","ck-revision-history-sidebar__revision-author__name","2EgaIqi","11066DmMfwv","30nxVYEd","342KvyCwp","991521jORwgZ","name","span","80IzQOyW","2035148boemzA","set","457375HysaUD","ck-revision-history-sidebar__revision-author","636IyrdSD","0 0 11 10","309274FuPbxq","Revision author","setTemplate","push","Revision creator","1733457cxPSaN"];return(Yr=function(){return t})()}function Gr(t,e){const i=Yr();return(Gr=function(t,e){return i[t-=433]})(t,e)}!function(t){const e=Gr,i=t();for(;;)try{if(427957===parseInt(e(436))/1+parseInt(e(449))/2*(parseInt(e(445))/3)+-parseInt(e(434))/4+parseInt(e(447))/5*(parseInt(e(452))/6)+parseInt(e(440))/7*(-parseInt(e(433))/8)+-parseInt(e(453))/9*(parseInt(e(451))/10)+-parseInt(e(450))/11*(-parseInt(e(438))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yr);class Jr extends En.View{constructor(t,e,i){const n=Gr;super(t);const r=new En.IconView;r[n(435)]({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(439)});const s=["ck",n(437)];i&&s[n(443)](n(446));const o=[{tag:n(455),attributes:{class:["ck",n(448)],title:Qi(t,n(i?444:441))},children:[r,e[n(454)]]}];this[n(442)]({tag:"li",attributes:{class:s},children:o})}}function Kr(t,e){var i=Xr();return(Kr=function(t,e){return i[t-=210]})(t,e)}function Xr(){var t=["4579110ZwXJpi","100HwJnbm","long","8dVXYhT","numeric","toLocaleDateString","32767UjzQvx","2845423avwIuw","2182810FKNdVf","4255515nXsdKg","toLocaleTimeString","777828yKdrtY","52SMrxlj","114796jWXlIT"];return(Xr=function(){return t})()}!function(t){for(var e=Kr,i=t();;)try{if(497244===parseInt(e(211))/1*(parseInt(e(217))/2)+-parseInt(e(216))/3+parseInt(e(218))/4*(-parseInt(e(220))/5)+parseInt(e(219))/6+-parseInt(e(212))/7*(-parseInt(e(222))/8)+-parseInt(e(214))/9+-parseInt(e(213))/10)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=["_action","bindTemplate","ck-revision-history-sidebar__revision__actions","stopPropagation","272cKVQBC","14bTgPuS","listenTo","function","700DWGMFN","menu","listView","Compare against selected","2224684IhOpbj","locale","items","isReady","change:isActionsDropdownOpen","1118IoveBw","Name this revision","source","495054AqaZZa","isOpen","button","execute","bind","150664HrjgcX","menuitem","add","model","327AczzOR","Show more items","threeVerticalDots","isEnabled","isVisible","children","find","set","name","action","ck-on","isActionsDropdownOpen","map","extendTemplate","class","864745CnBgEN","panelPosition","Restore this revision","320UMKaVP","first","52119dOjQSy","buttonView"];return(es=function(){return t})()}function is(t,e){const i=es();return(is=function(t,e){return i[t-=177]})(t,e)}!function(t){const e=is,i=t();for(;;)try{if(135281===parseInt(e(184))/1*(parseInt(e(222))/2)+parseInt(e(196))/3*(parseInt(e(226))/4)+-parseInt(e(211))/5+parseInt(e(187))/6+-parseInt(e(223))/7*(-parseInt(e(192))/8)+parseInt(e(216))/9*(-parseInt(e(214))/10)+parseInt(e(179))/11)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=["ck-revision-history-sidebar__revision-wrapper","revisionNameView","4681098LoFyTS","div","ck-revision-history-sidebar__actions_dropdown_open",".ck-thread__remove-confirm","isHighlighted","listenTo","639771ruykNS","isEnabled","closest","_revision","220","4017515YZFxEY","1244302ITMnfg","uiLanguage","ck-disabled","ck-revision-history-sidebar__revision","creator","12zEzJdh","unshift","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","authors","36008073LzCLyQ","unhighlight","map","extendTemplate","5006260ofOTaB","1WICZJs","filter","fire","deselect","setName","srcElement","render","revisionActionsView","131680gyCLuz","bind","createdAt","ck-revision-history-sidebar__revision_selected","change","isSelected","ck-revision-history-sidebar__revision__date","isConfirm","from","select","set","isActionsDropdownOpen","ck-revision-history-sidebar__revision_highlighted","isReady","setTemplate","bindTemplate","_requireRevisionName","ck-reset","name","element","ck-revision-history-sidebar__revision__controls-wrapper","length","highlight","span","fieldView","ck-revision-history-sidebar__revision-authors","_createdAtFormatted","value"];return(os=function(){return t})()}function as(t,e){const i=os();return(as=function(t,e){return i[t-=454]})(t,e)}!function(t){const e=as,i=t();for(;;)try{if(423649===parseInt(e(455))/1*(-parseInt(e(505))/2)+-parseInt(e(499))/3*(parseInt(e(510))/4)+-parseInt(e(504))/5+-parseInt(e(493))/6+-parseInt(e(454))/7+-parseInt(e(463))/8+parseInt(e(514))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(os);class cs extends((0,Bi.ConfirmMixin)(En.View)){constructor(e,i,n,r){const s=as;super(e);const o=this[s(478)],a=function(t,e){const i=s,n=Array[i(471)](e[i(513)])[i(456)]((t=>t!=e[i(509)]));return e[i(509)]&&n[i(511)](e[i(509)]),n[i(516)]((n=>new Jr(t,n,n==e[i(509)])))}(e,i);this.id=i.id,this[s(502)]=i,this[s(479)]=r,this[s(464)](s(481),s(465)).to(i),this[s(464)](s(489)).to(this,s(465),(t=>{return i=e[s(506)],(n=t)[(r=Kr)(210)](i,{month:r(221),day:r(223)})+", "+n[r(215)](i,{hour:r(223),minute:r(223)});var i,n,r})),this[s(473)](s(468),!1),this[s(473)](s(497),!1),this[s(473)](s(474),!1),this[s(473)](s(476),!1),this[s(473)](s(500),!1),this[s(492)]=new $r(e,En.createLabeledInputText),this[s(492)][s(487)][s(517)]({attributes:{maxlength:s(503)}}),this[s(492)][s(487)][s(464)](s(490)).to(this,s(481),(t=>t||this[s(489)])),this[s(492)][s(464)](s(500)).to(this,s(468),this,s(500),((t,e)=>t&&e)),this[s(462)]=n&&n[s(484)]?function(e,i){const n=is,r=e[n(219)],s=e[n(180)],o=(0,En.createDropdown)(s);o[n(212)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=is,n=t[i(180)],r={"Compare against selected":Qi(n,i(178)),"Name this revision":Qi(n,i(185)),"Restore this revision":Qi(n,i(213))};return e[i(208)]((t=>{const e=i,n=r[t[e(204)]];return n&&n!==t[e(204)]&&(t[e(204)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(189),model:new En.ViewModel({label:t[r(204)],class:t[r(210)],withText:!0,role:r(193),_action:t[r(205)]})};i[r(195)][r(191)](r(199)).to(e,r(207),(i=>r(225)!=typeof t[r(199)]||!i||t[r(199)](e))),o[r(194)](i)}return o}(e,i);return e[n(191)](n(207)).to(o,n(188)),o[n(217)][n(203)]({label:Qi(s,n(197)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(198)]}),o[n(209)]({attributes:{class:[n(220),r.if(n(207),n(206))]},on:{click:r.to((t=>t[n(221)]()))}}),o.on(n(190),(t=>{const i=n;e[i(182)]&&i(225)==typeof t[i(186)][i(218)]&&t[i(186)][i(218)](e)})),(0,En.addListToDropdown)(o,a,{role:n(227)}),o[n(224)](e,n(183),((t,r,s)=>{const a=n;if(s)for(const t of o[a(177)][a(181)]){const n=t[a(201)][a(215)],r=i[a(202)]((t=>t[a(205)]===n[a(218)]))[a(200)];t[a(200)]=void 0===r||r(e)}})),o}(this,n):"",this[s(462)]&&this[s(462)][s(464)](s(500)).to(this),this[s(477)]({tag:s(494),attributes:{class:["ck",s(480),s(491),o.if(s(470),s(512))]},children:[{tag:s(494),attributes:{class:["ck",s(480),s(508),o.if(s(500),s(507),(t=>!t)),o.if(s(468),s(466)),o.if(s(497),s(475)),o.if(s(474),s(495))]},children:[this[s(492)],{tag:s(486),attributes:{class:["ck",s(469)]},children:[{text:o.to(s(489))}]},{tag:s(494),attributes:{class:["ck",s(483)]},children:[{tag:"ul",attributes:{class:["ck",s(488)]},children:a}]},this[s(462)]],on:{click:o.to((t=>{const e=s;t[e(460)][e(501)](e(496))||this[e(476)]&&this[e(500)]&&this[e(457)](e(472),{id:this.id})}))}}]})}[ss(461)](){const t=ss;super[t(461)]();const e=this[t(492)][t(487)][t(482)];this[t(498)](e,t(467),(()=>{const i=t;this[i(479)]&&!e[i(490)]||this[i(457)](i(459),{id:this.id,name:e[i(490)]}),e[i(490)]||(e[i(490)]=this[i(481)]?this[i(481)]:this[i(489)])}))}[ss(472)](){this[ss(468)]=!0}[ss(458)](){this[ss(468)]=!1}[ss(485)](){this[ss(497)]=!0}[ss(515)](){this[ss(497)]=!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},xs={hour:ys,minute:ys},Os={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"},Vs={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Es={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 Hs extends Us{static get instance(){return null===Zs&&(Zs=new Hs),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 $s={};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={},$s={}}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,$s[n]||($s[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"})),$s[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&&$o()&&(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||Oo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||Oo.defaultNumberingSystem,c=i||Oo.defaultOutputCalendar,u=Go(n)||Oo.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?Hs.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,xo=null;class Oo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,Hs.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 xo}static set defaultWeekSettings(t){xo=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 Vo(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 Mo(t,e,i){return i+(ia(t)?Ao:No)[e-1]}function Eo(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=Mo(n,r,s),a=Do(Vo(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(Vo(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}=Eo(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:Mo(e,i,n),...ma(t)}}function Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Eo(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=Ho(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 Ho(t){return"number"==typeof t&&t%1==0}function $o(){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 Ho(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(Vo(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>Oo.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"],xa=["BC","AD"],Oa=["B","A"];function Ta(t){switch(t){case"narrow":return[...Oa];case"short":return[...xa];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:xs,tt:Os,ttt:Ts,tttt:Ns,T:As,TT:Rs,TTT:Vs,TTTT:Ms,f:Es,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 Va=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ma(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Ea(...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}?(?:\\[(${Va.source})\\])?)?`}`),Pa=RegExp(`(?:T${La.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Va.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function Ha(t,e,i){const n=t[e];return Uo(n)?i:Xo(n)}function $a(t,e){return[{hours:Ha(t,e,0),minutes:Ha(t,e+1,0),seconds:Ha(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=Ma(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Pa),ac=Ma(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Pa),cc=Ma(/(\d{4})-?(\d{3})/,Pa),uc=Ma(La),lc=Ea((function(t,e){return[{year:Ha(t,e),month:Ha(t,e+1,1),day:Ha(t,e+2,1)},null,e+3]}),$a,qa,Ba),hc=Ea(za,$a,qa,Ba),dc=Ea(Wa,$a,qa,Ba),fc=Ea($a,qa,Ba);const mc=Ea($a);const pc=Ma(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Ma(Ua),yc=Ea($a,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"],xc=Sc.slice(0).reverse();function Oc(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 xc.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(Oo.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 Oc(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 Oc(this,{values:e},!0)}get(t){return this[Ac.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return Oc(this,{values:{...this.values,...da(t,Ac.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return Oc(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),Oc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return Oc(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),Oc(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 Oc(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 Vc{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(Oo.throwOnInvalid)throw new hs(i);return new Vc({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?Vc.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:Vc.invalid("missing or invalid end"):Vc.invalid("missing or invalid start")}(i,n);return null==r?new Vc({start:i,end:n}):r}static after(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Vc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Vc.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 Vc.fromDateTimes(t,s);if(r){const i=Ac.fromISO(n,e);if(i.isValid)return Vc.after(t,i)}else if(o){const t=Ac.fromISO(i,e);if(t.isValid)return Vc.before(s,t)}}return Vc.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?Vc.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(Vc.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(Vc.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:Vc.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 Vc.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(Vc.fromDateTimes(e,t.time)),e=null);return Vc.merge(n)}difference(...t){return Vc.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 Vc.fromDateTimes(t(this.s),t(this.e))}}class Mc{static hasDST(t=Oo.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,Oo.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:$o(),localeWeek:qo()}}}function Ec(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=Ec(t,e);return(i-i%7)/7}],["days",Ec]],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 Hc=null;function $c(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=$c(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((Hc||(Hc=wu.fromMillis(1555555555555)),Hc)),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,Oo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(Uo(t.year))r=Oo.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=Oo.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||Oo.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new To("invalid input"):null)||(e.isValid?null:Kc(e));this.ts=Uo(t.ts)?Oo.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,Oo.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,Oo.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,Oo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,Oo.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=Oo.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=Ho(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=Ho(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(Oo.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 $c(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?Mc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Mc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Mc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Mc.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(Oo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,Oo.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?Vc.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 xs}static get TIME_WITH_SECONDS(){return Os}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 Vs}static get TIME_24_WITH_LONG_OFFSET(){return Ms}static get DATETIME_SHORT(){return Es}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=xu();return(Iu=function(t,e){return i[t-=480]})(t,e)}function Su(t,e){const i=Iu,n=wu[i(483)](t)[i(499)](e),r=wu[i(497)](),s=r[i(485)]({days:1})[i(493)](i(491));let o,a;return n[i(495)](r,i(491))?(o=n[i(493)](i(491))[i(484)](),a=n[i(481)]()):n[i(495)](s,i(491))?(o=s[i(484)](),a=n[i(481)]()):n[i(495)](r,i(494))?(o=n[i(493)](i(494))[i(484)](),a=n[i(490)]||""):n[i(495)](r,i(501))?(o=n[i(493)](i(482))[i(484)](),a=n[i(487)]||""):(o=n[i(493)](i(501))[i(484)](),a=String(n[i(501)])),{startDate:o,localizedPeriodName:a}}function xu(){const t=["290352gkjpyI","year","9ffUgzI","2IhSGzl","458030YIKxwU","51186NWxLMm","440mCjfiw","toRelativeCalendar","month","fromJSDate","toJSDate","minus","1454032bgHYcQ","monthLong","99564zxpwRR","5wzCYct","weekdayLong","day","644764UHqCfg","startOf","week","hasSame","63fUuMZf","local","370809vqeRqA","setLocale"];return(xu=function(){return t})()}!function(t){const e=Iu,i=t();for(;;)try{if(146838===parseInt(e(500))/1+parseInt(e(503))/2*(-parseInt(e(498))/3)+-parseInt(e(492))/4*(-parseInt(e(489))/5)+-parseInt(e(505))/6*(parseInt(e(496))/7)+parseInt(e(486))/8+parseInt(e(502))/9*(parseInt(e(504))/10)+-parseInt(e(480))/11*(parseInt(e(488))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xu);var Ou=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Pn().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Zn();Cn()(Ou.A,Tu);Ou.A&&Ou.A.locals&&Ou.A.locals;const Nu=Ru;function Au(){const t=["setTemplate","span","551512upHfZd","732087EDdSBz","uiLanguage","removeRevision","_requireRevisionName","ck-revision-history-sidebar__time-period","select","3418387FLtNPf","68pSTkfX","find","ck-revision-history-sidebar__time-period__revisions","div","add","ck-revision-history-sidebar__time-period__label","440xjVQRm","delegate","createCollection","50346YBAywg","startDate","924430yIcDlv","revisionViews","addRevision","46225abUnKZ","localizedPeriodName","_revisionActions","locale","1290402mVWRXA","setName","remove"];return(Au=function(){return t})()}function Ru(t,e){const i=Au();return(Ru=function(t,e){return i[t-=324]})(t,e)}!function(t){const e=Ru,i=t();for(;;)try{if(345919===parseInt(e(338))/1+parseInt(e(326))/2+-parseInt(e(339))/3+parseInt(e(346))/4*(parseInt(e(329))/5)+parseInt(e(333))/6+-parseInt(e(345))/7+-parseInt(e(352))/8*(parseInt(e(324))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Au);class Vu extends En.View{constructor(t,e,i,n){const r=Ru;super(t);const s=Su(e,this[r(332)][r(340)])[r(330)];this[r(325)]=e,this[r(327)]=this[r(354)](),this[r(331)]=i,this[r(342)]=n,this[r(327)][r(353)](r(344)).to(this),this[r(327)][r(353)](r(334)).to(this),this[r(336)]({tag:r(349),attributes:{class:["ck",r(343)]},children:[{tag:r(337),attributes:{class:["ck",r(351)]},children:[{text:s}]},{tag:r(349),attributes:{class:["ck",r(348)]},children:this[r(327)]}]})}[Nu(328)](t){const e=Nu,i=new cs(this[e(332)],t,this[e(331)],this[e(342)]);this[e(327)][e(350)](i)}[Nu(341)](t){const e=Nu,i=this[e(327)][e(347)]((e=>e.id===t.id));this[e(327)][e(335)](i)}}var Mu=i(173),Eu={attributes:{"data-cke":!0}};Eu.setAttributes=Wn(),Eu.insert=Pn().bind(null,"head"),Eu.domAPI=Fn(),Eu.insertStyleElement=Zn();Cn()(Mu.A,Eu);Mu.A&&Mu.A.locals&&Mu.A.locals;function Du(t,e){const i=Cu();return(Du=function(t,e){return i[t-=393]})(t,e)}function Cu(){const t=["Revision history","30NLsysL","248OvnPoV","2448SDWbNA","307251MpTYxY","6yIvGsy","ck-revision-history-sidebar__header","content","span","history","467076VLGNxS","867447NXOzET","28770vhBDyN","18854aeQJjX","div","ck-revision-history-sidebar__header__label","84244tXqAfw","setTemplate","184394ILQIis","ck-reset_all","33xdBcfi"];return(Cu=function(){return t})()}!function(t){const e=Du,i=t();for(;;)try{if(510539===parseInt(e(403))/1+parseInt(e(402))/2+-parseInt(e(412))/3*(parseInt(e(408))/4)+parseInt(e(404))/5*(parseInt(e(397))/6)+-parseInt(e(410))/7*(parseInt(e(394))/8)+parseInt(e(396))/9*(parseInt(e(393))/10)+-parseInt(e(405))/11*(-parseInt(e(395))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cu);class ju extends En.View{constructor(t){const e=Du;super(t);const i=new En.IconView;i[e(399)]=qi.icons[e(401)],this[e(409)]({tag:e(406),attributes:{class:["ck",e(411),e(398)]},children:[i,{tag:e(400),attributes:{class:["ck",e(407)]},children:[Qi(t,e(413))]}]})}}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-=367]})(t,e)}function Wu(){const t=["addRevision","8373ZpiQol","delegate","1112976ERROVO","_getTimePeriodViewByStartDate","unhighlight","ck-rounded-corners","removeRevision","_removeRevision","getTime","div","5CJpAyR","get","selectRevision","timePeriodViews","flat","ck-disabled","highlight","highlightRevisions","revisionViews","find","_revisionActions","startDate","ck-revision-history-sidebar","ck-reset","map","setName","_requireRevisionName","some","remove","setTemplate","set","locale","deselect","94iirwxR","1268918qhevQT","2423710AjrCrT","391216SLXGHk","createdAt","_addRevision","revisionSelected","9agkPGz","add","fire","select","revisionSetName","37711pPfPNH","45564eEJOXT","ck-revision-history-sidebar__timeline","isEnabled","uiLanguage","bindTemplate","createCollection","_revisions","render"];return(Wu=function(){return t})()}!function(t){const e=zu,i=t();for(;;)try{if(120839===-parseInt(e(413))/1+parseInt(e(401))/2*(parseInt(e(368))/3)+parseInt(e(404))/4+parseInt(e(378))/5*(parseInt(e(414))/6)+-parseInt(e(402))/7+-parseInt(e(370))/8+parseInt(e(408))/9*(parseInt(e(403))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wu);class Uu extends En.View{constructor(t,e,i,n){const r=zu;super(t);const s=this[r(418)];this[r(381)]=this[r(419)](),this[r(381)][r(369)](r(411)).to(this),this[r(381)][r(369)](r(393)).to(this),this[r(420)]=e,this[r(388)]=i,this[r(394)]=n,this.on(r(411),((t,e)=>{const i=r;this[i(410)](i(407),e)})),this.on(r(393),((t,e)=>{const i=r;this[i(410)](i(412),e)})),this[r(398)](r(416),!1),this[r(397)]({tag:r(377),attributes:{class:["ck",r(391),r(373),r(390)]},children:[new ju(t),{tag:r(377),attributes:{class:["ck",r(415),s.if(r(416),r(383),(t=>!t))]},children:this[r(381)]}]})}[Pu(421)](){const t=Pu;super[t(421)]();for(const e of this[t(420)])this[t(406)](e);this[t(420)].on(t(409),((e,i)=>{this[t(406)](i)})),this[t(420)].on(t(396),((e,i)=>{this[t(375)](i)}))}get[Pu(386)](){const t=Pu;return this[t(381)][t(392)]((e=>e[t(386)][t(392)]((t=>t))))[t(382)]()}[Pu(380)](t){const e=Pu;for(const i of this[e(386)])t&&t.id===i.id?i[e(411)]():i[e(400)]()}[Pu(385)](t){const e=Pu;for(const i of this[e(386)])t[e(395)]((({id:t})=>t===i.id))?i[e(384)]():i[e(372)]()}[Pu(406)](t){const e=Pu,i=Su(t[e(405)],this[e(399)][e(417)])[e(389)];let n=this[e(381)][e(379)](0);n&&n[e(389)][e(376)]()===i[e(376)]()||(n=new Vu(this[e(399)],i,this[e(388)],this[e(394)]),this[e(381)][e(409)](n)),n[e(367)](t)}[Pu(375)](t){const e=Pu,i=Su(t[e(405)],this[e(399)][e(417)])[e(389)];this[e(371)](i)[e(374)](t)}[Pu(371)](t){const e=Pu;return this[e(381)][e(387)]((i=>i[e(389)][e(376)]()===t[e(376)]()))}}const Zu=Hu;function Hu(t,e){const i=$u();return(Hu=function(t,e){return i[t-=100]})(t,e)}function $u(){const t=["nameRevision","1344581SiJgtD","_createRevisionActions","plugins","pluginName","defaultRevisionActions","_revisionsRepository","_handleDiffChange","appendChild","timePeriodViews","listenTo","isEnabled","bind","Restore this revision","_revisionViewer","getEarlierVisibleRevision","_handleEditorDataReady","getRevision","6596415DIfaKr","_handleRevisionSelected","isSelected","change:diff","2226508foNSoG","isPremiumPlugin","Name this revision","revisionViews","selectRevision","fieldView","focus","setName","requires","288188OoUFJX","restoreRevisionCallback","render","locale","compareAgainstSelected","24oBfZGb","RevisionsSidebar","revisionHistory.revisionActions","isVisible","editor","add","init","revisionHistory.requireRevisionName","restoreRevision","config","remove","assign","255002CHzdBc","map","isOfficialPlugin","compare","revisionSelected","getIndex","revisionHistory.viewerSidebarContainer","8471936fXGfAI","3nCuiZP","getRevisionsInDiff","getLaterVisibleRevision","availableRevisionActions","newRevisionId","name","15yOpjtR","destroy","select","22245950xyDamN","element","revisionHistory","action","diff","_handleRevisionSetName","length","revisionSetName","isReady","highlightRevisions","data","get","_revisions","ready","string","Compare against selected","_sidebarView","repository"];return($u=function(){return t})()}!function(t){const e=Hu,i=t();for(;;)try{if(738729===-parseInt(e(156))/1+-parseInt(e(130))/2*(-parseInt(e(164))/3)+parseInt(e(139))/4*(parseInt(e(170))/5)+parseInt(e(144))/6*(-parseInt(e(109))/7)+-parseInt(e(163))/8+-parseInt(e(126))/9+parseInt(e(173))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($u);class qu extends qi.Plugin{static get[Zu(112)](){return Zu(145)}static get[Zu(158)](){return!0}static get[Zu(131)](){return!0}static get[Zu(138)](){return[br]}constructor(t){const e=Zu;super(t),this[e(122)]=t[e(111)][e(101)](br),this[e(114)]=this[e(122)][e(107)],this[e(106)]=null}[Zu(150)](){const t=Zu,e=this[t(114)][t(102)],i=this[t(110)](),n=this[t(148)][t(153)][t(101)](t(162));this[t(106)]=new Uu(this[t(148)][t(142)],e,i,this[t(148)][t(153)][t(101)](t(151))),this[t(106)].on(t(160),this[t(127)][t(120)](this)),this[t(106)].on(t(180),this[t(178)][t(120)](this)),this[t(106)][t(120)](t(119)).to(this[t(122)]),this[t(106)][t(117)].on(t(149),((e,i)=>{const n=t;i[n(133)].on(n(149),((t,e)=>{const i=n;e[i(120)](i(119),i(181)).to(this[i(122)])}))})),this[t(106)][t(141)](),this[t(118)](this[t(148)][t(100)],t(103),this[t(124)][t(120)](this)),this[t(118)](this[t(122)],t(129),this[t(115)][t(120)](this)),n[t(116)](this[t(106)][t(174)])}[Zu(171)](){const t=Zu;this[t(106)][t(174)][t(154)](),this[t(106)][t(171)]()}[Zu(124)](){const t=Zu,e=this[t(114)][t(125)](0);if(e){const i=this[t(114)][t(123)](e.id);this[t(122)][t(159)](e,i)}}[Zu(127)](t,e){const i=Zu,n=this[i(114)][i(125)](e.id),r=this[i(114)][i(123)](n.id);this[i(122)][i(159)](n,r)}[Zu(178)](t,e){const i=Zu;this[i(114)][i(125)](e.id)[i(137)](e[i(169)])}[Zu(115)](t,e,i){const n=Zu,r=this[n(114)][n(165)](i);r[n(179)]>2?(this[n(106)][n(182)](r),this[n(106)][n(134)](null)):(this[n(106)][n(182)]([]),this[n(106)][n(134)](r[0]))}[Zu(110)](){const t=Zu,e=this[t(148)],i=qu[t(167)],n=e[t(153)][t(101)](t(146))||qu[t(113)];if(n[t(179)])return n[t(157)]((n=>{const r=t,s=r(104)==typeof n?Object[r(155)]({},i[n]):n;return s[r(176)]=s[r(176)][r(120)](this,e),s[r(147)]&&(s[r(147)]=s[r(147)][r(120)](this,e)),s}))}}qu[Zu(113)]=[Zu(143),Zu(152),Zu(108)],qu[Zu(167)]={compareAgainstSelected:{name:Zu(105),action:({plugins:t},e)=>{const i=Zu,n=t[i(101)](br),r=n[i(107)];let s=n[i(177)][i(168)],o=e.id;r[i(161)](s)>r[i(161)](o)&&([s,o]=[o,s]),n[i(159)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(101)](br);return!(n[i(107)][i(165)](n[i(177)])[i(179)]>2||e[i(128)])}},restoreRevision:{name:Zu(121),action:(t,{id:e})=>{const i=Zu;t[i(153)][i(101)](i(175))[i(140)](e)},isVisible:({plugins:t},e)=>!!t[Zu(101)](br)[Zu(107)][Zu(166)](e.id)},nameRevision:{name:Zu(132),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(101)](br),s=r[n(107)][n(123)](e);r[n(159)](e,s),i[n(136)](),i[n(135)][n(172)]()}}};const Bu=qu,Yu=Ju;function Gu(){const t=["editing","_toolbarConfig","replace","fillFromConfig","11dPclgO","view","toolbar","name","detachDomRoot","_elementReplacer","232392rwlKCS","init","focusTracker","91icmtwy","100260tXBUBx","isFocused","editable","1108473tGcGiX","1154148ejEUtO","setEditableElement","viewportTopOffset","203RwGUog","getRoot","restore","18ckJroa","ready","document","7866730mIxcyN","viewportOffset","_initToolbar","stickyPanel","5MCUreb","rootName","65497AxBcSY","attachDomRoot","config","3535876MVtTkw","render","componentFactory","addToolbar","2OciNYx","destroy","element","limiterElement","bind","fire","get","editor","_view","isActive"];return(Gu=function(){return t})()}function Ju(t,e){const i=Gu();return(Ju=function(t,e){return i[t-=425]})(t,e)}!function(t){const e=Ju,i=t();for(;;)try{if(662849===parseInt(e(454))/1+-parseInt(e(461))/2*(-parseInt(e(438))/3)+parseInt(e(457))/4*(parseInt(e(452))/5)+-parseInt(e(435))/6*(parseInt(e(442))/7)+parseInt(e(431))/8*(-parseInt(e(445))/9)+-parseInt(e(448))/10*(parseInt(e(425))/11)+-parseInt(e(439))/12*(-parseInt(e(434))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gu);class Ku extends En.EditorUI{get[Yu(426)](){return this[Yu(469)]}constructor(e,i){const n=Yu;super(e),this[n(469)]=i,this[n(472)]=(0,En.normalizeToolbarConfig)(e[n(456)][n(467)](n(427))),this[n(430)]=new t.ElementReplacer}get[Yu(463)](){const t=Yu;return this[t(426)][t(463)]}[Yu(432)](t){const e=Yu,i=this[e(468)],n=this[e(426)],r=i[e(471)][e(426)],s=n[e(437)],o=r[e(447)][e(443)]();s[e(428)]=o[e(453)],n[e(458)]();const a=s[e(463)];this[e(440)](s[e(428)],a),n[e(437)][e(465)](e(436)).to(this[e(433)]),r[e(455)](a),this[e(430)][e(473)](t,this[e(463)]),this[e(450)](),this[e(466)](e(446))}[Yu(462)](){const t=Yu;super[t(462)]();const e=this[t(426)],i=this[t(468)][t(471)][t(426)];this[t(430)][t(444)](),i[t(429)](e[t(437)][t(428)]),e[t(462)]()}[Yu(450)](){const t=Yu,e=this[t(426)];e[t(451)][t(465)](t(470)).to(this[t(433)],t(436)),e[t(451)][t(464)]=e[t(463)],e[t(451)][t(465)](t(441)).to(this,t(449),(({top:t})=>t)),e[t(427)][t(474)](this[t(472)],this[t(459)]),this[t(460)](e[t(427)])}}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=el;function el(t,e){var i=il();return(el=function(t,e){return i[t-=468]})(t,e)}function il(){var t=["15248qCxRnj","stickyPanel","shouldToolbarGroupWhenFull","toolbar","61276YHCHTB","22BxFFch","1939BNYTQZ","main","6832788CnjHJu","1225885CeNxYg","33FasCyQ","4079NidsbV","1125uGOdpt","add","2463593DBRsZe","132wKWMAU","10kGcFGV","render","top","content","editable","_editable"];return(il=function(){return t})()}!function(t){for(var e=el,i=t();;)try{if(131225===-parseInt(e(481))/1*(parseInt(e(475))/2)+-parseInt(e(480))/3*(parseInt(e(474))/4)+-parseInt(e(479))/5+-parseInt(e(485))/6*(-parseInt(e(476))/7)+-parseInt(e(470))/8*(-parseInt(e(482))/9)+-parseInt(e(486))/10*(parseInt(e(484))/11)+parseInt(e(478))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(il);class nl extends En.BoxedEditorUIView{get[tl(468)](){return this[tl(469)]}constructor(t,e,i={}){var n=tl;super(t),this[n(471)]=new En.StickyPanelView(t),this[n(473)]=new En.ToolbarView(t,{shouldGroupWhenFull:i[n(472)]}),this[n(469)]=new En.InlineEditableUIView(t,e)}[tl(487)](){var t=tl;super[t(487)](),this[t(471)][t(489)][t(483)](this[t(473)]),this[t(488)][t(483)](this[t(471)]),this[t(477)][t(483)](this[t(468)])}}const rl=sl;function sl(t,e){const i=ol();return(sl=function(t,e){return i[t-=438]})(t,e)}function ol(){const t=["editing","initialData","49naxloB","15450XaUwVN","create","3771VqRJHX","26323tuxNXT","ready","4464vSypLv","createRoot","document","data","4uXpKaH","view","get","destroy","locale","updateSourceElement","_ui","initPlugins","fire","model","sourceElement","init","89830lkoRpV","77633Vswhyc","890fXxwho","config","68oJhsMG","1961568VEtxwN","891039HUgxkt"];return(ol=function(){return t})()}!function(t){const e=sl,i=t();for(;;)try{if(154483===-parseInt(e(455))/1*(parseInt(e(442))/2)+-parseInt(e(460))/3+-parseInt(e(458))/4*(-parseInt(e(454))/5)+parseInt(e(464))/6*(parseInt(e(463))/7)+-parseInt(e(438))/8*(-parseInt(e(466))/9)+parseInt(e(456))/10*(parseInt(e(467))/11)+-parseInt(e(459))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ol);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[sl(448)]}constructor(t,e){const i=sl;super(e),this[i(452)]=t,this[i(451)][i(440)][i(439)]();const n=new nl(this[i(446)],this[i(461)][i(443)],{shouldToolbarGroupWhenFull:!0});this[i(448)]=new Ku(this,n)}[rl(445)](){const t=rl;return this[t(447)](),this.ui[t(445)](),super[t(445)]()}static async[rl(465)](t,e){const i=rl,n=new this(t,e);return await n[i(449)](),await n.ui[i(453)](t),await n[i(441)][i(453)](n[i(457)][i(444)](i(462))||""),n[i(450)](i(468)),n}}const cl=ul;function ul(t,e){const i=ll();return(ul=function(t,e){return i[t-=495]})(t,e)}function ll(){const t=["style","rootName","create","_viewerEditor","244560sZAuaj","fromVersion","20060FOmLfh","map","disableReadOnlyMode","_enhanceCloseRevisionViewerCallback","revisionHistory.showRevisionViewerCallback","RevisionsRepository","isOpen","adapter","removeAttribute","PaginationLookup","_closeRevisionViewer","lazyRoots","_update","update","closeRevisionViewerCallback","toVersion","isReadOnly","RevisionHistory","roots","326664wjdOFl","save","143IaNymU","markers","_recalculatePageBreaks","RestrictedEditingMode","detachRoot","1FeTbXh","data","keys","getAttributeKeys","push","repository","_enhanceShowRevisionViewerCallback","getRevisions","743552RbODyA","requires","isPremiumPlugin","RevisionViewerIntegration","get","getRevisionData","Restored","$graveyard","exitToEditing","createRangeIn","catch","end","toLocaleTimeString","then","locale","revisionHistory.viewerContainer","Users","getMarkersGroup","addUser","creator","pluginName","refreshPositioning","changesNavigation","fromCharCode","RevisionHistoryUI","isOfficialPlugin","10YWFFWE","revisionHistory.editorContainer","block","getRevisionRootsAttributes","_getRevisionViewerEditorConfig","change","_showRevisionViewer","isAnonymous","numeric","setSelection","set","getUser","destroy","removeMarker","6008EHXqed","commands","model","includes","plugins","bind","join","toLocaleDateString","153sURTmM","restoreRevision","getRevision","RevisionTracker","insert","restrictedEditingException","removeSelectionAttribute","refreshVisibility","Dialog","define","display","2348415BEDddU","uiLanguage","createdAt","toJSON","revision-history-missing-configuration","result","showRevisionViewerCallback","selection","isReady","32914yXRScg","_restoreRevision","name","none","users","error","has","editor","indexOf","isEnabled","Autosave","revisionHistory.restoreRevisionCallback","revisionHistory.closeRevisionViewerCallback","saveRevision","revisionHistory","_cleanUp","Annotations","enableReadOnlyMode","setAttribute","revisionHistory.viewerEditorElement","addRoot","getRoot","translations","from","RevisionViewer","addRevisionData","hide","remove","isAttached","parse","init","revisionHistory.requireRevisionName","revision-history-viewer-opened","document","enqueueChange","long","config","toolbar","180dipfYW"];return(ll=function(){return t})()}!function(t){const e=ul,i=t();for(;;)try{if(147281===-parseInt(e(558))/1*(parseInt(e(551))/2)+parseInt(e(614))/3*(parseInt(e(606))/4)+parseInt(e(532))/5+-parseInt(e(525))/6*(-parseInt(e(634))/7)+parseInt(e(566))/8+parseInt(e(625))/9*(parseInt(e(592))/10)+parseInt(e(553))/11*(-parseInt(e(530))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ll);const hl=[cl(590),cl(556)];class dl extends qi.Plugin{static get[cl(586)](){return cl(569)}static get[cl(591)](){return!0}static get[cl(568)](){return!0}constructor(t){const e=cl;function i(t){const e=ul;return t[e(533)]((t=>String[e(589)](t)))[e(612)]("")}super(t),this[e(630)]=e(577),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(586)](){return cl(549)}static get[cl(591)](){return!0}static get[cl(568)](){return!0}static get[cl(567)](){return[xn,er]}constructor(e){const i=cl;if(super(e),!this[i(641)][i(523)][i(570)](i(501)))throw new t.CKEditorError(i(629),this);this[i(529)]=null,this[i(641)][i(523)][i(623)](i(536),(t=>this[i(598)]({...t,translations:this[i(641)][i(580)][i(509)]}))),this[i(641)][i(523)][i(623)](i(499),(t=>this[i(542)](t))),this[i(641)][i(523)][i(623)](i(498),(t=>this[i(635)](t))),this[i(641)][i(523)][i(623)](i(518),!1),this[i(564)](),this[i(535)]()}set[cl(539)](t){const e=cl;this[e(641)][e(610)][e(570)](e(617))[e(539)]=t}get[cl(539)](){const t=cl;return this[t(641)][t(610)][t(570)](t(617))[t(539)]}[cl(512)](t){const e=cl;return this[e(641)][e(610)][e(570)](e(617))[e(512)](t)}[cl(616)](t){const e=cl;return this[e(641)][e(610)][e(570)](e(537))[e(616)](t)}[cl(565)](t){const e=cl;return this[e(641)][e(610)][e(570)](e(537))[e(565)](t||{toJSON:!1})}[cl(596)](){const e=cl,i=this[e(641)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(610)][e(570)](e(617)),s=i[e(610)][e(570)](e(582))[e(638)];return n[e(524)]=[e(574),e(615),e(588)],delete n[e(543)],n[e(610)][e(562)](dl,br,Pr,class extends qi.Plugin{static get[e(567)](){return[br,e(582)]}[e(517)](){const n=e,o=this[n(641)][n(610)][n(570)](n(582));for(const t of s)t[n(599)]||o[n(603)](t.id)||o[n(584)](t);const a=r[n(563)][n(565)]();let c=null;const u=this[n(641)][n(610)][n(570)](n(511));u[n(539)]=r[n(539)],u[n(611)](n(496)).to(r),this[n(641)][n(607)][n(570)](n(615))[n(611)](n(496)).to(i,n(548),(t=>!t));for(const e of a){const i=null===e[n(585)];if(i&&e[n(547)]===e[n(531)])continue;const s=e[n(628)]();u[n(512)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(544)](s,o);else if(!o){const e=a[u(628)]();e.id=(0,t.uid)(),r[u(500)](e,a[u(547)])[u(579)]((t=>{c=t}))}}else e[u(544)](s,o)}))}}},Bu),n}[cl(564)](){const t=cl,e=this[t(641)][t(523)][t(570)](t(501))[t(631)];this[t(641)][t(523)][t(602)](t(536),(async()=>{const i=t;this[i(641)][i(504)](i(519));const n=this[i(641)][i(610)][i(570)](i(617));if(this[i(641)][i(610)][i(640)](i(497))){const t=this[i(641)][i(610)][i(570)](i(497));await t[i(552)]()}else await n[i(545)]();if(this[i(641)][i(610)][i(640)](i(541))&&this[i(641)][i(610)][i(570)](i(541))[i(555)](),this[i(641)][i(610)][i(640)](i(622))){const t=this[i(641)][i(610)][i(570)](i(622));t[i(538)]&&t[i(513)]()}const r=this[i(596)]();return e(r)[i(579)]((t=>{const e=i;return this[e(529)]=t,this[e(641)][e(610)][e(640)](e(503))&&this[e(641)][e(610)][e(570)](e(503))[e(621)](),t}))[i(576)]((t=>(console[i(639)](t),this[i(641)][i(534)](i(519)),null)))}))}[cl(535)](){const t=cl,e=this[t(641)][t(523)][t(570)](t(501))[t(546)];this[t(641)][t(523)][t(602)](t(499),(()=>(this[t(641)][t(610)][t(640)](t(541))&&this[t(641)][t(610)][t(570)](t(541))[t(555)](),this[t(529)][t(610)][t(570)](t(511))[t(502)](),e(this[t(529)])[t(579)]((()=>{const e=t;if(this[e(641)][e(534)](e(519)),this[e(529)]=null,this[e(641)][e(610)][e(640)](e(503))){const t=this[e(641)][e(610)][e(570)](e(503));t[e(621)](),t[e(587)]()}})))))}[cl(598)](t){const e=cl,i=this[e(641)][e(523)][e(570)](e(593)),n=this[e(641)][e(523)][e(570)](e(581)),r=this[e(641)][e(523)][e(570)](e(506));return al[e(528)](r,t)[e(579)]((t=>(n[e(526)][e(624)]=e(594),i[e(526)][e(624)]=e(637),t)))}[cl(542)](t){const e=cl,i=this[e(641)][e(523)][e(570)](e(593));return this[e(641)][e(523)][e(570)](e(581))[e(526)][e(624)]=e(637),i[e(526)][e(624)]="",t[e(604)]()}async[cl(635)](t){const e=cl,i=this[e(641)],n=this[e(529)][e(610)][e(570)](e(511)),r=i[e(610)][e(570)](e(617)),s=n[e(563)][e(616)](t);let o,a,c;try{o=await n[e(571)](s),a=await n[e(595)](s)}catch(t){return void console[e(639)](t)}i[e(608)][e(597)]((t=>{const n=e;for(const e of Array[n(510)](i[n(608)][n(554)][n(583)](n(619))))t[n(605)](e)})),n[e(633)]=!1,i[e(608)][e(521)]((t=>{const n=e;t[n(601)](null),t[n(620)](i[n(608)][n(520)][n(632)][n(561)]());const r=Object[n(560)](o);for(const e of i[n(608)][n(520)][n(550)])n(573)!=e[n(527)]&&e[n(515)]()&&!r[n(609)](e[n(527)])&&t[n(557)](e);for(const e of r){let r=i[n(608)][n(520)][n(508)](e);r&&r[n(515)]()||(r=t[n(507)](e));const s=a[e],c=Object[n(560)](s),u=o[e];for(const e of r[n(561)]())c[n(609)](e)||t[n(540)](e,r);for(const i of c)t[n(505)](i,a[e][i],r);t[n(514)](t[n(575)](r)),t[n(618)](i[n(559)][n(516)](u,r),r,0)}}));const u=Qi(i[e(580)],e(572));return c=s[e(636)]?-1==s[e(636)][e(495)](u)?u+": "+s[e(636)]:s[e(636)]:u+": "+s[e(627)][e(613)](i[e(580)][e(626)],{month:e(522),day:e(600)})+", "+s[e(627)][e(578)](i[e(580)][e(626)],{hour:e(600),minute:e(600)}),await r[e(500)]({name:c}),n[e(633)]=!0,i[e(523)][e(570)](e(501))[e(546)]()}}function ml(){var t=["110cShBii","16141980hgzeGQ","2091996XHVMzU","61589vyYkfj","83gvDDgv","10106SimQUD","196VzUpXr","63417PBggSA","2888005uALRcz","1082151OmQsWW","6iEKyeW","8UZWuaX"];return(ml=function(){return t})()}function pl(t,e){var i=ml();return(pl=function(t,e){return i[t-=145]})(t,e)}!function(t){for(var e=pl,i=t();;)try{if(548206===parseInt(e(154))/1*(parseInt(e(155))/2)+-parseInt(e(145))/3*(-parseInt(e(156))/4)+parseInt(e(146))/5+parseInt(e(148))/6*(parseInt(e(147))/7)+parseInt(e(149))/8*(-parseInt(e(152))/9)+parseInt(e(150))/10*(-parseInt(e(153))/11)+-parseInt(e(151))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ml)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();