@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250122.0 → 0.0.0-nightly-20250124.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +11 -8
  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={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},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},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},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},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},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},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},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:calc(var(--ck-ui-component-min-height) + 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},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},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},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},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},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},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}},168:t=>{"use strict";t.exports=function(t){return t[1]}},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}}},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)}},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}},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},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)}}}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},237:t=>{"use strict";t.exports=CKEditor5.dll}},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:()=>tr,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 O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var N=b?b.toStringTag:void 0;const A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":N&&N in Object(t)?O(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const M=function(t){if(!R(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const 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 H=function(t){return!(!R(t)||C(t))&&(M(t)?U: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 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=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==A(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const Nt=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const At=Array.isArray;const Rt=function(){return!1};var Mt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Vt=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,Et=Vt&&Vt.exports===Mt?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,Zt=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Ut=Zt&&Zt.exports===Wt&&y.process;const Ht=function(){try{var t=Zt&&Zt.require&&Zt.require("util").types;return t||Ut&&Ut.binding&&Ut.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 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)&&!M(t)};const ie=function(t){return ee(t)?Yt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=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 At(t)?n:we(n,i(t))};const xe=function(t){return Oe(t,ie,ke)};const Te=function(t){return Oe(t,ae,Ie)};const Ne=q(k,"DataView");const Ae=q(k,"Promise");const Re=q(k,"Set");const Me=q(k,"WeakMap");var Ve="[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(Me),Ze=A;(Ne&&Ze(new Ne(new ArrayBuffer(1)))!=je||B&&Ze(new B)!=Ve||Ae&&Ze(Ae.resolve())!=Ee||Re&&Ze(new Re)!=De||Me&&Ze(new Me)!=Ce)&&(Ze=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 Ve;case Pe:return Ee;case ze:return De;case We:return Ce}return e});const Ue=Ze;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 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(!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||Gt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==Ue(t)};var oi=Ht&&Ht.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ue(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=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]"==A(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(At(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,Oi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const xi=Oi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ni=b?b.prototype:void 0,Ai=Ni?Ni.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(At(e))return Ti(e,t)+"";if(yi(e))return Ai?Ai.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Mi=function(t){return null==t?"":Ri(t)};const Vi=function(t,e){return At(t)?t:bi(t,e)?[t]:xi(Mi(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=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=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=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)},Zi=Ui;function Ui(t,e){const i=$i();return(Ui=function(t,e){return i[t-=241]})(t,e)}!function(t){const e=Ui,i=t();for(;;)try{if(967539===-parseInt(e(255))/1*(-parseInt(e(254))/2)+-parseInt(e(262))/3*(parseInt(e(252))/4)+parseInt(e(249))/5+parseInt(e(250))/6+parseInt(e(253))/7+parseInt(e(261))/8+-parseInt(e(267))/9*(parseInt(e(265))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($i);class Hi extends((0,t.ObservableMixin)()){constructor(e){const i=Ui;super(),this.id=e.id||(0,t.uid)(),this[i(258)]=e[i(258)]||null,this[i(264)]=e[i(264)]||[],this[i(263)]=e[i(263)]||null,this[i(243)]=e[i(243)]||0,this[i(256)]=e[i(256)]||0,this[i(259)](i(245),e[i(245)]||""),this[i(259)](i(244),e[i(244)]||new Date),this[i(259)](i(257),e[i(257)]||{})}[Zi(266)](t){this[Zi(246)]({name:t})}[Zi(260)](t,e){const i=Zi,n=vi(this[i(257)]);Ci(n,t,e),this[i(246)]({attributes:n})}[Zi(241)](t){const e=Zi,i=vi(this[e(257)]);Wi(i,t),this[e(246)]({attributes:i})}[Zi(246)](t,e=!1){const i=Zi;let n=!1;const r={id:this.id},s=[i(245),i(244),i(263),i(264),i(257),i(243),i(256),i(268)];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(264)]&&(r[i(248)]=r[i(264)][i(251)]((t=>t.id)),delete r[i(264)]),this[i(247)](i(246),r,e))}[Zi(242)](){const t=Zi;return{id:this.id,name:this[t(245)],creatorId:this[t(258)]?this[t(258)].id:null,authorsIds:this[t(264)][t(251)]((t=>t.id)),diffData:this[t(263)],createdAt:this[t(244)],attributes:this[t(257)],fromVersion:this[t(256)],toVersion:this[t(243)]}}}function $i(){const t=["set","setAttribute","11214792EKWmjv","18motrbC","diffData","authors","36809420cdAxip","setName","9wJZxex","creatorId","removeAttribute","toJSON","toVersion","createdAt","name","_update","fire","authorsIds","1944160usPAzP","10474578hyCCSa","map","330988DOkPoe","82369PQHYVK","34712vfVpRU","92JilapV","fromVersion","attributes","creator"];return($i=function(){return t})()}var qi=i(782),Bi=i(211),Yi=i(783);const Ji=Ki;function Gi(){const t=["from","isOfficialPlugin","later","createdAt","push","editor","349227rgpXCD","153695TOzmDg","fromVersion","data","getEarlierVisibleRevision","Users","getRevision","creatorId","getRevisionsInDiff","fromCharCode","65319VdnGqF","getRevisionsIterator","20CdBwUr","252AFKvcl","isNaN","RevisionsRepository","getIndex","plugins","earlier","12LHdEXF","oldRevisionId","add","attributes","_revisions","length","addRevision","diffData","newRevisionId","getLaterVisibleRevision","afterInit","authorsIds","isPremiumPlugin","get","toJSON","335rqcetq","toVersion","1474146cKryWV","createRevision","href","2163072pcYyWs","reverse","getUser","name","48389agWGWT","getRevisions","map","14648abVKlj","requires","pluginName","join","7GIdWMP"];return(Gi=function(){return t})()}function Ki(t,e){const i=Gi();return(Ki=function(t,e){return i[t-=280]})(t,e)}!function(t){const e=Ki,i=t();for(;;)try{if(155699===-parseInt(e(282))/1+-parseInt(e(300))/2*(parseInt(e(291))/3)+-parseInt(e(327))/4*(-parseInt(e(315))/5)+-parseInt(e(317))/6+parseInt(e(331))/7*(parseInt(e(320))/8)+-parseInt(e(281))/9*(-parseInt(e(293))/10)+-parseInt(e(324))/11*(-parseInt(e(294))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gi);class Xi extends qi.Plugin{static get[Ji(328)](){return[Bi.Users]}static get[Ji(329)](){return Ji(296)}static get[Ji(333)](){return!0}static get[Ji(312)](){return!0}get[Ji(305)](){const t=Ji;return this[t(304)][t(305)]}constructor(e){const i=Ji;super(e),this[i(304)]=new t.Collection}[Ji(310)](){!async function(e){const i=k([104,69,84,121,49,79,107,115,57,51,90,113,52,103,102,67,65,122,66,53,68,88,74,73,112,85,108,87,99,50,120,118,111,83,77,98,70,110,82,71,76,106,55,78,56,109,119,75,101,105,114,81,86,89,116,117,100,80,72,48,54,97]),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(295)](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([104]);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(326)]((t=>String[e(290)](t)))[e(330)]("")}!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:1737504e3;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(319)]);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]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([100,101,118,101,108,111,112,109,101,110,116])&&(i=u(k([68,101,118,101,108,111,112,109,101,110,116,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(318)](t){const e=Ji,i=this[e(280)][e(298)][e(313)](e(286));return new Hi({id:t.id,name:t[e(323)],creator:t[e(288)]?i[e(322)](t[e(288)]):null,diffData:t[e(307)]||t[e(284)],authors:t[e(311)][e(326)]((t=>i[e(322)](t))),createdAt:new Date(t[e(335)]),attributes:t[e(303)],fromVersion:t[e(283)],toVersion:t[e(316)]})}[Ji(306)](t,e=0){const i=Ji;this[i(304)][i(302)](t,e)}[Ji(287)](t){const e=Ji;return this[e(304)][e(313)](t)}[Ji(325)](t={toJSON:!1}){const e=Ji,i=Array[e(332)](this[e(304)]);return i[e(321)](),t[e(314)]?i[e(326)]((t=>t[e(314)]())):i}[Ji(297)](t){const e=Ji;return this[e(304)][e(297)](t)}[Ji(285)](t){const e=Ji,[,i]=this[e(292)](t,{direction:e(299)});return i}[Ji(309)](t){const e=Ji,[,i]=this[e(292)](t,{direction:e(334)});return i}[Ji(289)](t){const e=Ji,i=[];for(const n of this[e(292)](t[e(308)]))if(i[e(336)](n),n.id===t[e(301)])break;return i}*[Ji(292)](t,{direction:e=Ji(299),filter:i=()=>!0}={}){const n=Ji,r=n(299)===e?1:-1;let s=this[n(304)][n(313)](t),o=this[n(297)](s);for(yield s;s;){if(o+=r,s=this[n(287)](o),!s)return;i(s)&&(yield s)}}}function Qi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=At(t),a=At(e),c=o?vn: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||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=Sn;function In(){const t=["_handleRootAttributeOperation","getUser","afterInit","_processRootBeforeSave","paragraph","sort","requires","toView","ready","_isAttached","_update","split","$graveyard","_saveMetaData","_removeRevisionMarkers","getLatestVersion","domainLimit","vid_start","define","item","_isPendingUpdate","forEach","toData","_loadState","offset","adapter","_loadRevisionData","163MRedjQ","editing","stickiness","_getFromVersion","rootsAttributes","resolve","config","_makeIdsRoot","end","RealTimeCollaborationClient","_loadedStateData","getRevisionDocumentData","1393290cseEnm","start","trialLimit","move","RevisionHistory","createPositionAfter","_continueCurrentRevision","Empty document","key","for","keepParagraph","Initial revision","_markChanges","setRevisionData","path","getOperation","then","map","_clone","revisionHistoryLicenseKeyValid","isEnabled","initial","vid","_makeModelFromViewString","_initialRevisionId","5640YWsHRZ","_licenseKeyCheckInterval","insertion","name","getIndex","revisionHistoryLicenseKeyTrialLimit","isOfficialPlugin","createPositionAt","revisionHistoryLicenseKeyDomainLimit","getData","length","getWalker","$text","_touched","conversion","dataDowncast","_getPreviousFrom","isPremiumPlugin","fromEntries","getRootNames","_prepareViewToSave","_generateTape","_reset","_diffRootsAttributes","find","_insertChild","_calculateMetaData","2408ZDZrGo","addRoot","parent","attachChange","source","includes","_source","RevisionTracker","insertionPosition","revisionHistoryLicenseKeyInvalid","pluginName","RevisionsRepository","string","64730Bslpvj","attributesBefore","remove","_transformMarkers","history","revisionHistory.resumeUnsavedRevision","document","createRevision","516zJZayN","loadState","add","_startingVersion","_startingRevisionId","setSource","PendingActions","startsWith","createPositionFromPath","splitPosition","_authorId","creatorId","insert","type","_cloneOperation","_createFromRanges","getRoot","revision:","createPositionBefore","range","_markers","createRange","_diffRoots","_lastFrom","clone","getAttribute","rootName","offsetSize","authorsIds","_execute","getRevision","currentRevision","_handleInsertOperation","graveyardPosition","_getVidAttributeName","_fixRange","getCurrentRevisionId","licenseKey","update","tableCell","_showLicenseError","newValue","_fixPosition","hasContent","reinsert","PENDING_ACTION_REVISION_HISTORY","push","isAttached","fromVersion","_removePendingAction","revision-end","sourcePosition","NEGATIVE_INFINITY","_removeMetaData","some","authors","baseVersion","nodeAfter","plugins","values","updateRevisions","developmentLimit","processor","init","addRevision","vid_end","parse","_operations","addRootAttribute","targetPosition","diffData","_createInitialRevision","oldRange","previousPosition","default","has","usageLimit","model","shift","editor","upcast","locale","elementEnd","from","reverse","_getViewJson","trim","getTime","_handleMoveOperation","children","markers","_getBaseVids","repository","_bufferedUpdates","roots","Users","expired","getChildren","initialData","_appendChild","bind","markerToData","changeRootAttribute","text","editor-initial-data-replaced-with-revision-data","toVersion","documentFragment","marked","_makeRevision","get","_handleRootOperation","childCount","_isInit","_baseRootsAttributes","_revisionId","keys","_applyOperations","attributesAfter","getAttributes","data","stringify","217KHqJZW","666KGngvy","_pendingAction","set","useFillerType","_handleMergeOperation","_copyMarkers","affectsData","finally","_replaceEditorDataWithRevisionData","_savedMetaData","addRevisionData","sendBufferedUpdates","toModel","revisionHistoryLicenseKeyNotAllowed","getMovedRangeStart","createdAt","_baseIdsRoots","saveRevision","getChild","_createCurrentRevision","version","_setConversion","_getState","isReady","getTransformedByOperation","filter","_lastTo","getRevisionRootsAttributes","creator","isAdd","detachRoot","isEqual","element","createRangeIn","_addPendingAction","_setAttribute","elementStart","revision-start","_handleMarkerOperation","marker","collaboration.channelId","max","_idsRoots","newRange","delete","slice","data-revision-","_handleOperation","getNodeByPath","_baseRoots","merge","buildRevisionData","getRange","revisionHistoryLicenseKeyExpired","view","getRevisions","featureNotAllowed","size","getAncestors","reInit","revision","insertions","evaluationLimit","_handleSplitOperation","_touchedMarkers","_findInsertionIndex","237232WrzvWg","revisionHistoryLicenseKeyDevelopmentLimit","2468367TAbcJS","nodes","removeRootAttribute","userId","invalid","revisionHistoryLicenseKeyEvaluationLimit","clear","root","attributes","3338mPASFZ","24mqmWLl","_touchedRoots","_bufferUpdate","deletions","_revisionDataBuilder","revisionHistoryLicenseKeyUsageLimit","howMany","getOperations","position","destroy","_fixOperation","deletion","dataToMarker"];return(In=function(){return t})()}function Sn(t,e){const i=In();return(Sn=function(t,e){return i[t-=199]})(t,e)}!function(t){const e=Sn,i=t();for(;;)try{if(338304===-parseInt(e(332))/1*(parseInt(e(291))/2)+-parseInt(e(344))/3+parseInt(e(280))/4+-parseInt(e(369))/5*(-parseInt(e(417))/6)+parseInt(e(213))/7*(-parseInt(e(396))/8)+-parseInt(e(214))/9*(-parseInt(e(409))/10)+parseInt(e(282))/11*(parseInt(e(292))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(In);const On={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class xn extends qi.Plugin{static get[_n(406)](){return _n(403)}static get[_n(375)](){return!0}static get[_n(386)](){return!0}static get[_n(311)](){return[Bi.Users,Xi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(330)]=null,this[i(448)]=null,this[i(296)]=new Nn(this[i(496)]),this[i(368)]=this[i(496)][i(338)][i(201)](i(254))||i(365),this[i(510)]=new Map,this[i(342)]=null;const n=(0,t.uid)();this[i(402)]={history:this[i(496)][i(494)][i(415)][i(413)],getLatestVersion:()=>Promise[i(337)](this[i(496)][i(494)][i(415)][i(234)]),getCurrentRevisionId:()=>n},this[i(216)](i(237),!1),this[i(216)](i(364),!0),this[i(216)](i(325),!1),this[i(496)][i(338)][i(323)](i(414),!0),this[i(496)][i(383)][i(353)](i(497))[i(304)]({view:i(274)})}[_n(480)](){const t=_n;this[t(509)]=this[t(496)][t(475)][t(201)](t(407)),this[t(235)](),this[t(496)][t(211)].on(t(313),(()=>{const e=t,i=this[e(509)][e(447)](0),n=i&&null===i[e(242)]?i:null;if(this[e(350)]=!!n&&this[e(496)][e(338)][e(201)](e(414)),this[e(496)][e(475)][e(492)](e(341))){const t=this[e(402)][e(453)](),r=this[e(509)][e(447)](t);if(r)this[e(420)]=r[e(465)],this[e(350)]=!1;else{const t=this[e(402)][e(413)][e(484)][e(393)]((t=>!t[e(204)])),r=t?t[e(473)]:this[e(402)][e(413)][e(234)];i?(i[e(522)]<r&&i[e(315)]({toVersion:r}),this[e(350)]?(this[e(402)][e(453)]=()=>n.id,this[e(420)]=n[e(465)]):(this[e(420)]=i[e(522)],this[e(350)]=!1)):(this[e(420)]=r,this[e(350)]=!1)}}else n&&(this[e(496)][e(494)][e(415)][e(413)][e(234)]=Math[e(255)](n[e(522)],this[e(496)][e(494)][e(415)][e(413)][e(234)]),n[e(465)]===n[e(522)]?(0!==n[e(465)]&&(this[e(402)][e(453)]=()=>n.id),this[e(350)]=!1):this[e(350)]&&(this[e(402)][e(453)]=()=>n.id,this[e(420)]=n[e(465)])),this[e(350)]||(this[e(420)]=this[e(496)][e(494)][e(415)][e(234)]);this[e(296)][e(480)](this[e(402)][e(413)]),this[e(488)](this[e(420)]),this[e(233)](this[e(420)]),this[e(330)]&&this[e(225)]()})),this[t(517)](t(237)).to(this,t(325),(t=>!t)),this[t(454)]=this[t(496)][t(338)][t(201)](t(454));const e=this[t(496)];this[t(370)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(363)==s||i(405)==s||i(267)==s||i(377)==s||i(227)==s||i(287)==s||i(374)==s||i(281)==s||i(297)==s){delete e[r],n=s,clearInterval(this[i(370)]),this[i(370)]=void 0;break}}i(405)==n&&e[i(457)](i(286)),i(267)==n&&e[i(457)](i(513)),i(377)==n&&e[i(457)](i(321)),i(227)==n&&e[i(457)](i(270),i(348)),i(287)==n&&e[i(457)](i(276)),i(374)==n&&e[i(457)](i(346)),i(281)==n&&e[i(457)](i(478)),i(297)==n&&e[i(457)](i(493))}),1e3)}async[_n(307)](){const t=_n;if(this[t(509)][t(379)]>0){const e=this[t(509)][t(447)](0),i=await this[t(343)](e),n=await this[t(241)](e);this[t(222)](i,n)}}[_n(301)](){const t=_n;super[t(301)](),this[t(370)]&&clearInterval(this[t(370)])}[_n(422)](t){this[_n(402)]=t}async[_n(455)](){const t=_n,e=await this[t(402)][t(320)]();if(e>this[t(448)][t(522)]){await this[t(328)]();const i=this[t(265)]({revision:this[t(448)],to:e});i[t(472)]=i[t(445)][t(361)]((e=>this[t(496)][t(475)][t(201)](t(512))[t(306)](e))),this[t(448)][t(315)](i)}}async[_n(328)](){const t=_n;this[t(350)]&&!this[t(342)]&&(await this[t(331)](this[t(448)]),this[t(296)][t(418)](this[t(448)]),this[t(342)]={fromVersion:this[t(448)][t(465)],authors:this[t(448)][t(472)][t(259)]()})}async[_n(231)](e={},i=null){const n=_n,r=[];await this[n(328)](),this[n(350)]=!1,i>this[n(448)][n(522)]&&(i=null),null===i&&(i=await this[n(402)][n(320)]());const s=this[n(335)](i),o=this[n(265)]({from:s,to:i});if(this[n(448)][n(522)]<i){const t=this[n(265)]({revision:this[n(448)],from:i,to:i});t[n(472)]=[],t[n(445)]=[],t.id=this[n(448)].id,this[n(448)][n(315)](t,!0),delete t[n(472)],r[n(463)](t)}e[n(428)]=this[n(496)][n(475)][n(201)](n(512)).me.id,e[n(372)]=e[n(372)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(224)](e);r[n(463)](e);const c=this[n(509)][n(373)](a);if(0!==c){const t=this[n(509)][n(447)](c-1);if(t[n(465)]!==i){const s=this[n(296)][n(378)](i,t[n(522)]),o={id:t.id,diffData:s[n(487)],authorsIds:s[n(445)],authors:s[n(445)][n(361)]((t=>this[n(496)][n(475)][n(201)](n(512))[n(306)](t))),fromVersion:i};t===this[n(448)]&&(o[n(229)]=new Date(e[n(229)][n(504)]()+10)),t[n(315)](o,!0),delete o[n(472)],r[n(463)](o)}}if(this[n(330)]){for(const t of r)this[n(294)](t.id,t,!0);this[n(225)]()}return a}[_n(224)](t){const e=_n,i=this[e(509)][e(416)](t);return this[e(330)]&&i.on(e(315),((t,i,n)=>{const r=e;n||(this[r(294)](i.id,i,!0),this[r(225)]())})),this[e(509)][e(481)](i,this[e(279)](i)),i}async[_n(343)](t){const e=_n;await this[e(331)](t);const i={};for(const n in t[e(487)]){if(t[e(487)][n][e(399)]&&!t[e(487)][n][e(399)][e(464)])continue;const r=this[e(319)](JSON[e(483)](t[e(487)][n][e(275)])),s=this[e(496)][e(333)][e(268)][e(415)],o=new Yi.ViewDocumentFragment(s,r[e(361)]((t=>Tn(t,this[e(496)]))));this[e(496)][e(211)][e(479)][e(217)](e(199)),i[n]=this[e(496)][e(211)][e(479)][e(327)](o),this[e(496)][e(211)][e(479)][e(217)](e(491))}return i}async[_n(241)](t){const e=_n;await this[e(331)](t);const i={};for(const n in t[e(487)])t[e(487)][n][e(399)]&&!t[e(487)][n][e(399)][e(464)]||(i[n]=t[e(487)][n][e(209)]||{});return i}[_n(225)](){const t=_n;if(0===this[t(510)][t(271)])return;if(this[t(325)])return;let e=Array[t(500)](this[t(510)][t(476)]());this[t(510)][t(288)]();for(let i=0;i<e[t(379)];i++){const n=e[i];let r=!1;for(const e of Object[t(207)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(239)]((t=>null!==t)),!e[t(379)])return;for(let i=0;i<e[t(379)];i++){const n=e[i];void 0!==n[t(465)]&&void 0===n[t(522)]&&(n[t(522)]=this[t(509)][t(447)](n.id)[t(522)]),void 0!==n[t(522)]&&void 0===n[t(465)]&&(n[t(465)]=this[t(509)][t(447)](n.id)[t(465)])}const i=this[t(496)][t(338)][t(201)](t(254));this[t(325)]=!0,this[t(248)](),this[t(330)][t(477)](e,i)[t(221)]((()=>{this[t(325)]=!1}))[t(360)]((e=>{const i=t;if(e)for(const t of e)this[i(357)]({id:t.id,createdAt:t[i(229)]});this[i(466)](),this[i(225)]()}))}[_n(222)](e,i){const n=_n;let r=this[n(496)][n(338)][n(201)](n(515)),s=this[n(496)][n(338)][n(201)](n(336));if(void 0===r){r={};for(const t of this[n(496)][n(494)][n(415)][n(388)]())r[t]=""}if(n(408)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(496)][n(494)][n(415)][n(388)]())s[t]={}}let o=!1;const a=Object[n(207)](r),c=Object[n(207)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(503)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(207)](s[t])[n(379)]>0){o=!0;break}}o||(o=c[n(471)]((t=>!this[n(496)][n(494)][n(415)][n(433)](t)))),o&&(0,t.logWarning)(n(521),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(496)][n(338)][n(216)](n(515),e),this[n(496)][n(338)][n(216)](n(336),i)}[_n(248)](){const t=_n;if(!this[t(215)]){const e=this[t(496)][t(475)][t(201)](t(423));this[t(215)]=e[t(419)](Qi(this[t(496)][t(498)],t(462)))}}[_n(466)](){const t=_n;this[t(215)]&&(this[t(496)][t(475)][t(201)](t(423))[t(411)](this[t(215)]),this[t(215)]=null)}[_n(279)](t){const e=_n,i=this[e(509)][e(269)]();i[e(501)]();let n=0;for(;n<i[e(379)];){const r=i[n];if(r===this[e(448)]){n++;continue}if(r.id===this[e(368)])break;const s=t[e(522)]-r[e(522)]||t[e(465)]-r[e(465)];if(s>0)break;if(s<0)n++;else{if(!t[e(242)]&&r[e(242)])break;if(r[e(242)]||!t[e(242)]){if(t[e(229)]>r[e(229)])break;n++}else n++}}return n}[_n(357)](t){const e=_n,i=this[e(509)][e(447)](t.id);if(t[e(229)]&&(t[e(229)]=new Date(t[e(229)])),t[e(445)]){const i=this[e(496)][e(475)][e(201)](e(512));t[e(472)]=t[e(445)][e(361)]((t=>i[e(306)](t)))}i[e(315)](t,!0)}[_n(265)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(465)],i=null!==i?i:t[n(522)];const r=this[n(296)][n(378)](e,i),s={diffData:r[n(487)],authorsIds:r[n(445)],fromVersion:e,toVersion:i};if(!t||i!==t[n(522)]){const t=i-1,e=this[n(402)][n(413)][n(359)](t);s[n(229)]=e&&e[n(229)]||new Date}if(this[n(342)]&&e===this[n(342)][n(465)])for(const t of this[n(342)][n(472)])s[n(445)][n(401)](t.id)||s[n(445)][n(463)](t.id);return s}[_n(331)](t){const e=_n;if(!t||t[e(487)])return Promise[e(337)]();{const i=this[e(496)][e(338)][e(201)](e(254));return this[e(330)][e(447)]({channelId:i,revisionId:t.id})[e(360)]((i=>{const n=e;t[n(487)]=i[n(487)]}))}}[_n(294)](t,e,i){const n=_n;if(this[n(510)][n(492)](t)){const r=this[n(510)][n(201)](t);e=i?{...r,...e}:{...e,...r}}this[n(510)][n(216)](t,e)}[_n(335)](t){const e=_n,i=this[e(509)][e(269)]();i[e(501)](),i[e(495)]();const n=i[e(393)]((i=>i[e(522)]<=t))[e(522)];return n<this[e(420)]?this[e(420)]:n}[_n(488)](t){const e=_n,i=this[e(509)][e(447)](this[e(509)][e(379)]-1);if(i)this[e(368)]=i.id;else{const i=!this[e(496)][e(494)][e(415)][e(511)][e(393)]((t=>this[e(496)][e(494)][e(460)](t))),n=this[e(496)][e(475)][e(201)](e(512)).me.id,r=Qi(this[e(496)][e(498)],e(i?351:355));this[e(200)]({from:t,to:t,id:this[e(368)],name:r,creatorId:n})}}[_n(233)](t){const e=_n,i=this[e(402)][e(453)]();this[e(448)]=this[e(509)][e(447)](i),this[e(448)]||(this[e(448)]=this[e(200)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(200)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(265)]({from:e,to:i});o[s(372)]=t,o[s(428)]=n,o.id=r;const a=this[s(224)](o);return this[s(330)]&&this[s(294)](o.id,o,!0),a}[_n(235)](){const t=_n;this[t(496)][t(383)][t(353)](t(384))[t(518)]({model:t(274)})}[_n(319)](t){const e=_n;return(t=t[e(239)]((t=>!t[e(372)]||e(251)!==t[e(372)]&&e(467)!==t[e(372)])))[e(326)]((t=>{const i=e;i(408)!=typeof t&&(t[i(506)]=this[i(319)](t[i(506)]),t[i(290)]=t[i(290)][i(239)]((t=>!t[0][i(424)](i(260)))))})),t}}function Tn(t,e){const i=_n,n=e[i(333)][i(268)][i(415)];if(i(408)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(506)][i(361)]((t=>Tn(t,e)));return new(On[t[i(430)]]||Yi.ViewElement)(n,t[i(372)],t[i(290)],r)}}class Nn{constructor(t){const e=_n;this[e(496)]=t,this[e(223)]=new Map,this[e(440)]=-1,this[e(240)]=-1,this[e(437)]=new Map,this[e(439)]=new Map,this[e(392)]=new Map,this[e(263)]=new Map,this[e(205)]=new Map,this[e(256)]=new Map,this[e(230)]=new Map,this[e(382)]=new Map,this[e(278)]=new Map,this[e(293)]=new Map,this[e(206)]=1}[_n(480)](t){const e=_n;this[e(400)]=t;const i=new Map,n=new Map,r=this[e(496)][e(494)][e(415)][e(511)][e(361)]((t=>t[e(443)]));for(const t of r){const r=this[e(496)][e(494)][e(415)][e(433)](t),s=An(r);i[e(216)](t,s),n[e(216)](t,Object[e(387)](r[e(210)]()))}const s=Array[e(500)](this[e(496)][e(494)][e(507)])[e(361)]((t=>[t[e(372)],t[e(266)]()])),o=this[e(400)][e(234)];this[e(318)](o,i,s,n),this[e(421)]=this[e(206)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(216)](t,i),c[e(216)](t,{})}this[e(318)](Number[e(469)],a,[],c)}[_n(378)](t,e){const i=_n;if(this[i(440)]===t&&this[i(240)]<=e)this[i(223)][i(271)]>1&&this[i(470)](this[i(240)]),this[i(208)](this[i(240)],e,!0);else{if(!this[i(223)][i(492)](t)){const e=this[i(385)](t);this[i(395)](e,t,!1)}this[i(395)](t,e,!0)}return this[i(440)]=t,this[i(240)]=e,this[i(236)]()}[_n(418)](t){const e=_n;this[e(391)](),this[e(440)]=t[e(465)],this[e(240)]=t[e(522)];for(const i in t[e(487)]){const n=t[e(487)][i][e(399)],r=vi(t[e(487)][i][e(410)])||{},s=this[e(367)](t[e(487)][i][e(295)]);s[e(443)]=i,s[e(314)]=!n||!n[e(464)],s[e(464)]=()=>s[e(314)],this[e(263)][e(216)](i,s),this[e(205)][e(216)](i,r),n&&this[e(293)][e(216)](i,n);const o=this[e(339)](s);this[e(230)][e(216)](i,o);for(const[t,i]of s[e(507)]){if(!t[e(424)](e(434)))continue;const n=t[e(316)](":")[2];for(const t of i[e(380)]({singleCharacters:!0})){const i=this[e(451)](t),r=e(499)==t[e(430)]?t[e(490)][e(358)][e(259)](0,-1):t[e(490)][e(358)],s=o[e(262)](r)[e(442)](i);this[e(382)][e(216)](s,{userId:n})}}}this[e(421)]=this[e(206)];const i=[...Array(this[e(206)])[e(207)]()][e(259)](1)[e(239)]((t=>!this[e(382)][e(492)](t)));let n=0;const r=new Map;for(const s in t[e(487)]){const o=t[e(487)][s][e(399)],a=vi(t[e(487)][s][e(209)])||{},c=this[e(367)](t[e(487)][s][e(275)]);c[e(443)]=s,c[e(314)]=!o||o[e(464)],c[e(464)]=()=>c[e(314)],this[e(439)][e(216)](s,c),this[e(392)][e(216)](s,a);const u=this[e(339)](c,Number[e(469)]);this[e(256)][e(216)](s,u),r[e(216)](s,c[e(464)]()?a:{});for(const[t,i]of c[e(507)]){if(!t[e(424)](e(434)))continue;const n=t[e(316)](":")[2];for(const t of i[e(380)]({singleCharacters:!0})){const i=this[e(451)](t),r=this[e(206)]++,s=e(499)==t[e(430)]?t[e(490)][e(358)][e(259)](0,-1):t[e(490)][e(358)];u[e(262)](s)[e(249)](i,r),this[e(382)][e(216)](r,{userId:n})}}for(const t of this[e(496)][e(494)][e(247)](c)[e(380)]({singleCharacters:!0})){const r=this[e(451)](t),s=e(499)==t[e(430)]?t[e(490)][e(358)][e(259)](0,-1):t[e(490)][e(358)],o=u[e(262)](s);o[e(442)](r)>0||o[e(249)](r,i[n++])}for(const[t,i]of c[e(507)])t[e(424)](e(434))||this[e(437)][e(216)](t,i)}const s=Rn(e(317));this[e(263)][e(216)](e(317),s),this[e(230)][e(216)](e(317),this[e(339)](s,1));const o=Rn(e(317));this[e(439)][e(216)](e(317),o),this[e(256)][e(216)](e(317),this[e(339)](o,1));const a=Array[e(500)](this[e(439)])[e(361)]((([t,e])=>[t,An(e)]));this[e(318)](this[e(240)],a,this[e(437)],r)}[_n(367)](t){const e=_n,i=JSON[e(483)](t),n=this[e(496)][e(333)][e(268)][e(415)],r=new Yi.ViewDocumentFragment(n,i[e(361)]((t=>Tn(t,this[e(496)]))));return this[e(496)][e(211)][e(226)](r)}[_n(318)](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(216)](t,{start:e[r(345)][r(441)](),end:e[r(340)][r(441)](),rootName:e[r(289)][r(443)]});this[r(223)][r(216)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(470)](t){const e=_n;this[e(223)][e(258)](t)}[_n(273)](){const t=_n;this[t(391)](),this[t(440)]=-1,this[t(240)]=-1,this[t(223)][t(288)](),this[t(480)](this[t(400)])}[_n(391)](){const t=_n;this[t(382)][t(288)](),this[t(278)][t(288)](),this[t(293)][t(288)](),this[t(439)][t(288)](),this[t(392)][t(288)](),this[t(263)][t(288)](),this[t(205)][t(288)](),this[t(256)][t(288)](),this[t(230)][t(288)](),this[t(437)][t(288)](),this[t(206)]=1,this[t(421)]=this[t(206)]}[_n(339)](t,e=null){const i=_n;let n=null;t.is(i(523))||(n=new Yi.Element(t[i(372)],{vid_start:null===e?this[i(206)]++:e++}));const r=[];for(const n of t[i(514)]())if(n.is(i(246))){r[i(463)](this[i(339)](n,e));const t=r[r[i(379)]-1];null!==e&&(e=t.is(i(246),i(381))?t[i(442)](i(366))+1:t[i(442)](i(482))+1)}else for(let t=0;t<n[i(444)];t++)r[i(463)](new Yi.Element(i(381),{vid:null===e?this[i(206)]++:e++}));if(t.is(i(523))){const e=Rn(t[i(443)]);return e[i(394)](0,r),e}return n[i(249)](i(482),null===e?this[i(206)]++:e++),n[i(394)](0,r),n}[_n(395)](t,e,i){const n=_n;this[n(391)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(223)][n(201)](t);this[n(263)]=new Map(r),this[n(205)]=new Map(vi(o));for(const[t,e]of this[n(263)])if(n(317)!==t&&(this[n(439)][n(216)](t,An(e)),this[n(392)]=new Map(vi(o)),i)){const i=this[n(206)];this[n(256)][n(216)](t,this[n(339)](e)),this[n(230)][n(216)](t,this[n(339)](e,i))}this[n(421)]=this[n(206)],this[n(439)][n(216)](n(317),An(this[n(263)][n(201)](n(317)))),i&&this[n(256)][n(216)](n(317),this[n(339)](this[n(263)][n(201)](n(317))));for(const[t,e]of s){const i=this[n(263)][n(201)](e[n(443)]),r=this[n(439)][n(201)](e[n(443)]),s=new Yi.Range(this[n(459)](e[n(345)],i),this[n(459)](e[n(340)],i)),o=this[n(452)](s,r);i[n(507)][n(216)](t,s),this[n(437)][n(216)](t,o)}this[n(208)](t,e,i)}[_n(208)](t,e,i){const n=_n;for(const r of this[n(400)][n(299)](t,e))this[n(261)](r,i);for(const t of this[n(439)][n(476)]())t[n(507)][n(288)]();for(const[t,e]of this[n(437)])this[n(439)][n(201)](e[n(289)][n(443)])[n(507)][n(216)](t,e[n(441)]());const r=new Map,s=new Map;for(const[t,e]of this[n(439)])r[n(216)](t,An(e)),s[n(216)](t,this[n(392)][n(201)](t));this[n(318)](e,r,this[n(437)],s)}[_n(385)](t){const e=_n,i=Array[e(500)](this[e(223)][e(207)]());i[e(310)](((t,e)=>t-e)),i[e(501)]();for(const e of i)if(e<t)return e;return Number[e(469)]}[_n(219)](t,e){const i=_n,n=Array[i(500)](e[i(507)])[i(361)]((([e,n])=>[e,this[i(452)](n,t)]));t[i(507)]=new Map(n)}[_n(412)](t){const e=_n;for(const i of this[e(437)][e(476)]()){const n=i[e(238)](t),r=Yi.Range[e(432)](n);i[e(345)]=r[e(345)],i[e(340)]=r[e(340)]}}[_n(261)](t,e){const i=_n;if(i(397)!=t[i(430)]&&i(244)!=t[i(430)]){if(i(429)==t[i(430)]){const n=t[i(300)][i(289)][i(443)];this[i(439)][i(492)](n)||(this[i(439)][i(216)](n,Rn(n,!0)),this[i(392)][i(216)](n,{}),e&&this[i(256)][i(216)](n,Rn(n,!0)))}else{if(i(485)==t[i(430)]||i(284)==t[i(430)]||i(519)==t[i(430)])return void this[i(305)](t);i(253)==t[i(430)]&&this[i(252)](t)}if(i(253)!==t[i(430)]){const e=this[i(431)](t,this[i(439)]);e[i(446)](),this[i(412)](e)}if(e)switch(t[i(430)]){case i(429):this[i(449)](t);break;case i(347):case i(411):case i(461):this[i(505)](t);break;case i(264):this[i(218)](t);break;case i(316):this[i(277)](t)}}else this[i(202)](t,e)}[_n(431)](t,e){const i=_n,n=t[i(441)]();return n[i(427)]=t[i(427)],this[i(302)](n,e),n}[_n(508)](t){const e=_n;return t[e(361)]((t=>{const i=e,n=this[i(451)](t);return Number(t[i(324)][i(442)](n))}))}[_n(390)](t,e){const i=_n;if(t.is(i(246),i(381)))e[i(463)]({item:t,type:i(520)});else{t.is(i(246))&&e[i(463)]({item:t,type:i(250)});for(const n of t[i(514)]())this[i(390)](n,e);t.is(i(246))&&e[i(463)]({item:t,type:i(499)})}return e}[_n(236)](){const t=_n,e=new Map(this[t(382)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(263)][t(207)](),...this[t(439)][t(207)]()]);a[t(258)](t(317));for(const e of a){const i=this[t(439)][t(201)](e)||Rn(e,!1),n=this[t(263)][t(201)](e)||Rn(e,!1);i[t(464)]()||n[t(464)]()?(r[t(275)][e]=An(i),r[t(295)][e]=An(n),this[t(219)](r[t(295)][e],n),this[t(219)](r[t(275)][e],i),s[t(275)][e]=this[t(390)](this[t(256)][t(201)](e),[]),s[t(295)][e]=this[t(390)](this[t(230)][t(201)](e)||Rn(e,!1),[])):a[t(258)](e)}for(const r of a){const o=s[t(275)][r];for(const r of o){const s=this[t(451)](r),o=r[t(324)][t(442)](s);i[t(258)](o),o>=this[t(421)]&&n[t(216)](o,e[t(201)](o))}}for(const r of a){const a=s[t(275)][r],c=this[t(508)](s[t(295)][r]);let u=0;for(const r of a){const s=this[t(451)](r),a=r[t(324)][t(442)](s);if(!n[t(492)](a)&&!o[t(492)](a))if(i[t(492)](a))u++;else{if(a!=c[u]){const n=e[t(201)](a)||e[t(201)](c[u]);for(;a!=c[u];)i[t(492)](c[u])||(o[t(216)](c[u],n),e[t(216)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(275)][e];for(const e of r){const r=this[t(451)](e),s=e[t(324)][t(442)](r);if(o[t(492)](s)){const e=o[t(201)](s);i[t(492)](s)||i[t(216)](s,{...e}),n[t(216)](s,{...e})}}}for(const e of i[t(207)]())e>=this[t(421)]&&i[t(258)](e);const c=new Map;for(const e of a){let r=s[t(275)][e];for(const e of r)if(e[t(324)].is(t(246),t(456))){const i=this[t(451)](e),r=e[t(324)][t(442)](i);if(n[t(492)](r)){const i=e[t(324)][t(398)][t(398)][t(442)](t(322)),s=c[t(201)](i)||new Set;s[t(419)](n[t(201)](r)[t(285)]),c[t(216)](i,s)}}r=s[t(295)][e];for(const e of r)if(e[t(324)].is(t(246),t(456))){const n=this[t(451)](e),r=e[t(324)][t(442)](n);if(i[t(492)](r)){const n=e[t(324)][t(398)][t(398)][t(442)](t(322)),s=c[t(201)](n)||new Set;s[t(419)](i[t(201)](r)[t(285)]),c[t(216)](n,s)}}for(const e of c[t(207)]())(n[t(492)](e)||i[t(492)](e))&&c[t(258)](e)}for(const e of a){const r=s[t(275)][e];let o=null,a=null;for(const e of r){const r=this[t(451)](e),s=e[t(324)][t(442)](r),u=c[t(201)](s);u&&t(250)==e[t(430)]&&(o=Array[t(500)](u)[0],a=e[t(324)][t(442)](t(482))),o&&(i[t(216)](s,{userId:o}),n[t(216)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(295)][e],a=r[t(275)][e];for(const{userId:e}of this[t(278)][t(476)]())null!==e&&l[t(419)](e);for(const{userId:e}of this[t(293)][t(476)]())null!==e&&l[t(419)](e);this[t(356)](a,s[t(275)][e],n,t(371),l),this[t(356)](o,s[t(295)][e],i,t(303),l),u[e]={insertions:this[t(389)](a),deletions:this[t(389)](o),attachChange:this[t(293)][t(201)](e)||null,attributesBefore:vi(this[t(205)][t(201)](e))||{},attributesAfter:vi(this[t(392)][t(201)](e))}}return{diffData:u,authorsIds:Array[t(500)](l)}}[_n(308)](t){const e=_n;for(const[,i]of t[e(507)]){const t=i[e(345)][e(272)]()[e(239)]((t=>e(456)==t[e(372)]));for(const i of t)1==i[e(203)]&&i[e(232)](0).is(e(246),e(309))&&i[e(232)](0)[e(249)](e(354),!0)}}[_n(389)](t){const e=_n;this[e(308)](t);const i=this[e(496)][e(211)][e(312)](t,{}),n=Array[e(500)](i[e(514)]())[e(361)]((t=>this[e(502)](t)));return JSON[e(212)](n)}[_n(502)](t){const e=_n;if(t.is(e(381)))return t[e(211)];{const i=t;return{type:Object[e(207)](On)[e(393)]((e=>t instanceof On[e])),name:i[e(372)],attributes:Array[e(500)](i[e(210)]()),children:Array[e(500)](i[e(514)]())[e(361)]((t=>this[e(502)](t)))}}}[_n(356)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(496)][s(494)];for(let n=0;n<e[s(379)];n++){const r=this[s(451)](e[n]),c=e[n][s(324)][s(442)](r),h=i[s(201)](c),d=n==e[s(379)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(285)]!=o[s(285)])&&(l(h,Mn(a,t,u),Mn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Mn(a,t,u),Vn(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(285)],d=l(434)+n+":"+h+":"+c++,f=u[l(438)](i,a);t[l(507)][l(216)](d,f),null!==h&&r[l(419)](h)}}[_n(451)](t){const e=_n;switch(t[e(430)]){case e(250):return e(322);case e(499):return e(482);default:return e(366)}}[_n(302)](t,e){const i=_n;t[i(473)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(201)](r[i(289)][i(443)]);t[n]=this[i(459)](r,s)}if(r instanceof Yi.Range){const s=e[i(201)](r[i(289)][i(443)]);t[n]=this[i(452)](r,s)}i(289)===n&&(t[i(289)]=e[i(201)](t[i(289)][i(443)]))}}[_n(452)](t,e){const i=_n;return this[i(496)][i(494)][i(438)](this[i(459)](t[i(345)],e),this[i(459)](t[i(340)],e))}[_n(459)](t,e){const i=_n;return this[i(496)][i(494)][i(425)](e,t[i(358)],t[i(334)])}[_n(449)](t){const e=_n,i=this[e(256)][e(201)](t[e(300)][e(289)][e(443)]),n=this[e(459)](t[e(300)],i),r=null===t[e(427)]?null:t[e(427)]||this[e(496)][e(475)][e(201)](e(512)).me.id,s=n[e(398)],o=this[e(206)],a=[];for(const i of t[e(283)])if(i.is(e(246)))a[e(463)](this[e(339)](i));else for(let t=0;t<i[e(444)];t++)a[e(463)](new Yi.Element(e(381),{vid:this[e(206)]++}));const c=this[e(206)];for(let t=o;t<c;t++)this[e(382)][e(216)](t,{userId:r});s[e(394)](n[e(329)],a)}[_n(505)](t){const e=_n;(t=this[e(431)](t,this[e(256)]))[e(446)]();const i=null===t[e(427)]?null:t[e(427)]||this[e(496)][e(475)][e(201)](e(512)).me.id,n=t[e(228)](),r=n[e(398)],s=n[e(329)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(232)](e);s.is(a(246),a(381))?n[a(216)](s[a(442)](a(366)),{userId:i}):(n[a(216)](s[a(442)](a(322)),{userId:i}),t(n,s,0,s[a(203)]),n[a(216)](s[a(442)](a(482)),{userId:i}))}}(this[e(382)],r,s,s+t[e(298)])}[_n(218)](t){const e=_n,i=null===(t=this[e(431)](t,this[e(256)]))[e(427)]?null:t[e(427)]||this[e(496)][e(475)][e(201)](e(512)).me.id,n=t[e(486)][e(398)],r=t[e(468)][e(398)],s=n[e(442)](e(482)),o=r[e(442)](e(322));n[e(249)](e(482),r[e(442)](e(482))),r[e(249)](e(482),s),this[e(382)][e(216)](o,{userId:i}),this[e(382)][e(216)](s,{userId:i}),t[e(446)]()}[_n(277)](t){const e=_n,i=null===(t=this[e(431)](t,this[e(256)]))[e(427)]?null:t[e(427)]||this[e(496)][e(475)][e(201)](e(512)).me.id,n=t[e(450)],r=t[e(426)][e(398)];t[e(446)]();const s=r[e(442)](e(482)),o=t[e(404)][e(474)];if(n){const t=o[e(442)](e(482)),n=r[e(442)](e(482));r[e(249)](e(482),t),o[e(249)](e(482),n),this[e(382)][e(216)](r[e(442)](e(482)),{userId:i}),this[e(382)][e(216)](o[e(442)](e(322)),{userId:i})}else{const t=this[e(206)]++,n=this[e(206)]++;r[e(249)](e(482),t),o[e(249)](e(322),n),o[e(249)](e(482),s),this[e(382)][e(216)](t,{userId:i}),this[e(382)][e(216)](n,{userId:i})}}[_n(252)](t){const e=_n;if(!t[e(220)])return;const i=(t=this[e(431)](t,this[e(439)]))[e(489)]?t[e(489)][e(289)]:null,n=t[e(257)]?t[e(257)][e(289)]:null;i&&this[e(437)][e(258)](t[e(372)]),n&&this[e(437)][e(216)](t[e(372)],t[e(257)][e(441)]());const r=null===t[e(427)]?null:t[e(427)]||this[e(496)][e(475)][e(201)](e(512)).me.id,s=t[e(372)];if(!this[e(278)][e(492)](s))return void this[e(278)][e(216)](s,{range:t[e(489)],userId:r});const o=this[e(278)][e(201)](s),a=o[e(436)],c=t[e(257)];null==a&&null==c||a&&c&&a[e(245)](c)?this[e(278)][e(258)](t[e(372)]):o[e(285)]=r}[_n(202)](t,e){const i=_n;this[i(439)][i(492)](t[i(443)])?this[i(439)][i(201)](t[i(443)])[i(314)]=t[i(243)]:(this[i(439)][i(216)](t[i(443)],Rn(t[i(443)],!0)),this[i(392)][i(216)](t[i(443)],{}),e&&this[i(256)][i(216)](t[i(443)],Rn(t[i(443)],!0)));const n=null===t[i(427)]?null:t[i(427)]||this[i(496)][i(475)][i(201)](i(512)).me.id,r=this[i(293)][i(201)](t[i(443)]);r&&r[i(285)]===n?this[i(293)][i(258)](t[i(443)]):this[i(293)][i(216)](t[i(443)],{userId:n,isAttached:t[i(243)]})}[_n(305)](t){const e=_n,i=this[e(392)][e(201)](t[e(289)][e(443)]);null===t[e(458)]?delete i[t[e(352)]]:i[t[e(352)]]=t[e(458)]}}function An(t){const e=_n,i=Rn(t[e(443)],t[e(464)]());for(const n of t[e(514)]()){const t=n[e(362)](!0);i[e(516)](t)}return i}function Rn(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(443)]=t,n[i(314)]=e,n[i(464)]=()=>n[i(314)],n}function Mn(t,e,i){const n=_n,r=n(499)==t[n(430)]?i[n(376)](t[n(324)],n(340)):i[n(435)](t[n(324)]);return i[n(425)](e,r[n(358)],r[n(334)])}function Vn(t,e,i){const n=_n,r=n(250)==t[n(430)]?i[n(376)](t[n(324)],0):i[n(349)](t[n(324)]);return i[n(425)](e,r[n(358)],r[n(334)])}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),Hn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Pn().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Un();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=Un();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;const Yn=Jn;function Jn(t,e){const i=Gn();return(Jn=function(t,e){return i[t-=310]})(t,e)}function Gn(){const t=["trim","ck-revision-history-save-revision-form","24wCYYUu","revisionNameInputValue","42450meMGbv","_createRevisionNameInput","focus","form","locale","element","errorText","revisionName","Name of the revision","fieldView","stopPropagation","220","arrowup","ck-responsive-form","focusTracker","input","3965fpyWhi","setTemplate","7JliHOL","label","keystrokes","6746408fbeyLP","reset","arrowleft","arrowdown","listenTo","133240tcVZQA","106436KWHZtY","render","71160VedXhG","optional","7EHXHCZ","978YmHqNe","value","set","extendTemplate","135affCnf","add","4641626kwNISN","arrowright","revisionNameInputView"];return(Gn=function(){return t})()}!function(t){const e=Jn,i=t();for(;;)try{if(455867===parseInt(e(315))/1*(parseInt(e(311))/2)+-parseInt(e(327))/3*(parseInt(e(310))/4)+-parseInt(e(345))/5*(parseInt(e(316))/6)+-parseInt(e(347))/7*(-parseInt(e(350))/8)+-parseInt(e(320))/9*(-parseInt(e(329))/10)+-parseInt(e(322))/11+-parseInt(e(313))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gn);class Kn extends En.View{constructor(e,i){const n=Jn;super(e),this[n(343)]=new t.FocusTracker,this[n(349)]=new t.KeystrokeHandler,this[n(318)](n(328),""),this[n(324)]=this[n(330)](i),this[n(346)]({tag:n(332),attributes:{class:["ck",n(326),n(342)],tabindex:"-1"},children:[this[n(324)]]}),(0,En.injectCssTransitionDisabler)(this)}[Yn(312)](){const t=Yn;super[t(312)](),(0,En.submitHandler)({view:this}),this[t(343)][t(321)](this[t(324)][t(334)]),this[t(349)][t(354)](this[t(334)]);const e=e=>e[t(339)]();this[t(349)][t(318)](t(323),e),this[t(349)][t(318)](t(352),e),this[t(349)][t(318)](t(341),e),this[t(349)][t(318)](t(353),e)}[Yn(331)](){const t=Yn;this[t(324)][t(331)]()}get[Yn(336)](){const t=Yn;return this[t(324)][t(338)][t(334)][t(317)][t(325)]()}set[Yn(336)](t){const e=Yn;this[e(324)][e(338)][e(334)][e(317)]=t[e(325)]()}[Yn(351)](){const t=Yn;this[t(324)][t(338)][t(334)][t(317)]="",this[t(324)][t(335)]=null}[Yn(330)](t){const e=Yn,i=new En.LabeledFieldView(this[e(333)],En.createLabeledInputText),n=i[e(338)];n[e(319)]({attributes:{maxlength:e(340)}});let r=Qi(this[e(333)],e(337));return!t&&(r+=" ("+Qi(this[e(333)],e(314))+")"),i[e(348)]=r,n.on(e(344),(()=>{const t=e;this[t(328)]=n[t(334)][t(317)][t(325)]()})),i}}const Xn=Qn;function Qn(t,e){const i=er();return(Qn=function(t,e){return i[t-=308]})(t,e)}!function(t){const e=Qn,i=t();for(;;)try{if(481479===-parseInt(e(349))/1+-parseInt(e(350))/2+-parseInt(e(345))/3+-parseInt(e(344))/4+parseInt(e(346))/5*(parseInt(e(329))/6)+parseInt(e(322))/7+parseInt(e(342))/8*(parseInt(e(340))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(er);class tr extends qi.Plugin{static get[Xn(334)](){return Xn(369)}static get[Xn(341)](){return!0}static get[Xn(326)](){return!0}static get[Xn(325)](){return[xn]}[Xn(355)](){const t=Xn,e=this[t(328)],i=e[t(365)][t(321)](t(354));e.ui[t(339)][t(357)](t(347),(n=>{const r=t,s=(0,En.createDropdown)(n),o=s[r(335)][r(360)],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(368)](r(363)).to(i,r(351),i,r(363),e,r(353),((t,e,i)=>t&&e&&!i)),s[r(316)][r(343)]({icon:qi.icons[r(374)],label:Qi(n,r(317)),tooltip:!0}),u[r(343)]({label:Qi(n,r(336)),withText:!0,role:r(373)}),u[r(368)](r(363)).to(i,r(351),i,r(363),e,r(353),((t,e,i)=>t&&e&&!i)),u.on(r(327),(()=>this[r(362)]())),h[r(343)]({label:Qi(n,r(315)),withText:!0,role:r(373)}),h[r(368)](r(363)).to(i,r(351),e,r(353),((t,e)=>t&&!e)),h.on(r(327),(()=>{const t=r;e[t(313)][t(321)](t(347))[t(361)](),s[t(331)]=!1,e[t(371)][t(330)][t(318)]()})),c[r(360)][r(357)](u),l[r(360)][r(357)](h),a[r(319)]=r(358),a[r(337)][r(312)]([c,l]),o[r(357)](a),s})),e.ui[t(339)][t(357)](t(348),(()=>this[t(333)]()))}[Xn(333)](){const t=Xn,e=this[t(328)],i=e[t(367)],n=new En.MenuBarMenuView(i),r=new En.MenuBarMenuListView(i);n[t(316)][t(343)]({icon:qi.icons[t(374)],label:Qi(i,t(317))});const s=new En.MenuBarMenuListItemView(i,n),o=new En.MenuBarMenuListItemButtonView(i);o[t(343)]({label:Qi(i,t(336))}),o[t(356)](t(327)).to(n),o.on(t(327),(()=>{this[t(362)]()})),s[t(360)][t(357)](o),r[t(337)][t(357)](s);const a=new En.MenuBarMenuListItemView(i,n),c=new En.MenuBarMenuListItemButtonView(i);return c[t(343)]({label:Qi(i,t(315))}),c[t(356)](t(327)).to(n),c.on(t(327),(()=>{const i=t;e[i(313)][i(321)](i(347))[i(361)]()})),a[t(360)][t(357)](c),r[t(337)][t(357)](a),n[t(335)][t(360)][t(357)](r),n}[Xn(362)](){const t=Xn,e=this[t(328)],i=e[t(367)],n=e[t(365)][t(321)](t(332)),r=e[t(365)][t(321)](t(354));function s(r){const s=t;e[s(313)][s(321)](s(320))&&""===r[s(364)]?r[s(309)][s(372)]=Qi(i,s(338)):(e[s(365)][s(321)](xn)[s(314)]({name:r[s(364)]}),n[s(308)]())}this[t(370)]||(this[t(376)](),this[t(370)].on(t(310),(()=>s(this[t(370)])))),this[t(370)][t(323)](),n[t(324)]({id:t(359),title:Qi(i,t(336)),isModal:!0,content:this[t(370)],actionButtons:[{label:Qi(e[t(367)],t(352)),withText:!0,onExecute:()=>n[t(308)]()},{label:Qi(e[t(367)],t(375)),class:t(311),withText:!0,onCreate(i){const n=t;i[n(368)](n(363)).to(r,n(351),r,n(363),e,n(353),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(370)])}]})}[Xn(376)](){const t=Xn,e=this[t(328)],i=e[t(367)];this[t(370)]=new Kn(i,e[t(313)][t(321)](t(320))),this[t(370)][t(366)]()}}function er(){const t=["saveRevision","Open revision history","buttonView","Revision history","focus","role","revisionHistory.requireRevisionName","get","3381420gbitRt","reset","show","requires","isPremiumPlugin","execute","editor","655254GPAjrt","view","isOpen","Dialog","_registerMenuComponent","pluginName","panelView","Save current revision","items","The revision name cannot be empty.","componentFactory","2563569ZYGXyI","isOfficialPlugin","40SHCwyY","set","1266168uLFYZz","1553703pYGTQa","35meLPad","revisionHistory","menuBar:revisionHistory","636910GPDTmy","1437792FBvpmf","isReady","Cancel","isReadOnly","RevisionTracker","init","delegate","add","menu","revisionSave","children","showRevisionViewerCallback","_showDialog","isEnabled","revisionName","plugins","render","locale","bind","RevisionHistoryUI","_saveRevisionFormView","editing","errorText","menuitem","history","Accept","_createSaveRevisionFormView","hide","revisionNameInputView","submit","ck-button-action","addMany","config"];return(er=function(){return t})()}const ir=nr;function nr(t,e){const i=rr();return(nr=function(t,e){return i[t-=137]})(t,e)}function rr(){const t=["5357248cCtiQI","10746132fPfpWL","name","isSuggestion","bindTemplate","span","656KMWgmh","179118rYvRvQ","data","610dmhyHN","ck-revision-change__","changeId","div","Removed by","ck-revision-change__label","_model","author","focus","ck-annotation","ck-revision-change","5qcRnjK","type","Suggested by","add","Added by","set","740810bAZhrR","6328896tTkmIL","1543327zXkjxF","17061qwZUpg","element","setTemplate"];return(rr=function(){return t})()}!function(t){const e=nr,i=t();for(;;)try{if(949445===parseInt(e(167))/1+parseInt(e(148))/2*(parseInt(e(168))/3)+-parseInt(e(139))/4+parseInt(e(159))/5*(-parseInt(e(140))/6)+-parseInt(e(166))/7+parseInt(e(145))/8*(parseInt(e(146))/9)+parseInt(e(165))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rr);class sr extends En.View{constructor(t,e){const i=nr;super(t),this[i(154)]=e,this[i(150)]=e.id;const n=this[i(143)],r=Qi(t,e[i(147)][i(142)]?i(161):i(162)==e[i(160)]?i(163):i(152));this[i(164)](i(160),e[i(160)]),this[i(138)]({tag:i(151),attributes:{class:[i(157),i(158),n.to(i(160),(t=>i(149)+t))],tabindex:-1},children:[{tag:i(144),children:[{tag:i(144),attributes:{class:[i(153)]},children:[{text:r}]},{text:" "+e[i(155)][i(141)]}]}]})}[ir(156)](){const t=ir;this[t(137)][t(156)]()}}var or=cr;function ar(){var t=["5uBEicE","data","1587912rUuzFh","2057586kPbOiG","toJSON","5189681UFDRUI","createdAt","set","8YJtntx","479114dHdLZi","author","2NYstey","4492692YdYzuZ","7268790VwwIun","type","rootName","87426KRNgcq"];return(ar=function(){return t})()}function cr(t,e){var i=ar();return(cr=function(t,e){return i[t-=112]})(t,e)}!function(t){for(var e=cr,i=t();;)try{if(573149===parseInt(e(125))/1*(-parseInt(e(127))/2)+parseInt(e(115))/3+parseInt(e(118))/4+parseInt(e(116))/5*(-parseInt(e(119))/6)+parseInt(e(121))/7*(parseInt(e(124))/8)+-parseInt(e(128))/9+parseInt(e(112))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ar);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=cr;super(),this.id=e.id||(0,t.uid)(),this[i(126)]=e[i(126)],this[i(113)]=e[i(113)],this[i(117)]=e[i(117)]||{},this[i(114)]=e[i(114)],this[i(123)](i(122),e[i(122)])}[or(120)](){var t=or;return{id:this.id,authorId:this[t(126)].id,type:this[t(113)],data:this[t(117)],createdAt:this[t(122)]}}}const lr=hr;function hr(t,e){const i=dr();return(hr=function(t,e){return i[t-=252]})(t,e)}function dr(){const t=["2sjucck","oldRevisionId","3627615IFUkhq","2380248nOwFVw","725142ijMLLh","add","2499574rvZCrH","553416bAmVgY","_setChanges","995484OGyqwc","393726aFqWJA","changes","newRevisionId","99TUKwuS"];return(dr=function(){return t})()}!function(t){const e=hr,i=t();for(;;)try{if(372575===parseInt(e(256))/1+parseInt(e(252))/2*(parseInt(e(262))/3)+parseInt(e(261))/4+-parseInt(e(254))/5+parseInt(e(255))/6+parseInt(e(258))/7+-parseInt(e(259))/8*(parseInt(e(265))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dr);class fr{constructor(e,i){const n=hr;this[n(264)]=e,this[n(253)]=i,this[n(263)]=new t.Collection}[lr(260)](t){const e=lr;for(const i of t)this[e(263)][e(257)](i)}}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=yr;function yr(t,e){const i=gr();return(yr=function(t,e){return i[t-=474]})(t,e)}function gr(){const t=["isBlock","createPositionFromPath","RevisionsRepository","12966tAqAnN","data-revision-","revision-suggestion","isAtEnd","previousPosition","revision-start","toViewPosition","markerRange","revision:","refresh","mousedown","_cleanUp","map","removeMarker","filter","isAtStart","_revisions","removeMarker:revision","unbindElementFromMarkerName","isObject","change:activeView","config","keys","_makeTape","vid","_getViewForChange","_getDiff","markerNameToElements","elementEnd","remove","detachRoot","consumable","isAddSuggestion","ck-revision-history-root-","enableReadOnlyMode","affectsData","showPreviousChange","createRevision","restoreRevisionCallback","_markMismatchedRemovedTags","-new","selection","processor","change:activeChange","revision-viewer","enqueueChange","_refreshStartEndIndex","side","forEach","190118ZOVYfR","bind","backward","getItems","downcastDispatcher","for","findIndex","data-change-id","add","startIndex","_cleanMarkers","createRangeIn","pluginName","toData","element","RevisionViewer","conversion","locale","code","attributesBefore","catch","observeMarkers","change","execute","parent","_findChangeIdFromDomTarget","abs","isPremiumPlugin","getWalker","387568cvmvhm","distance","adapter","object","done","isCollapsed","ck-suggestion-marker-merge","_data","revision-suggestion:","highest","init","dataToMarker","_threeWayMerge","_appendChild","_sortAndFilterDiffChanges","userId","isRemoved","diff","getIndex","text","level","createUIElement","right","shift","range","isBefore","schema","next","3902432lJzIKY","test","createPositionBefore","nextPosition","90slCByt","view","_getChangeFromId","markerToData","softBreak","insertion","_makeModelFromTape","currentChangeNumber","isLimit","split","isAfter","attribute:vid","isOfficialPlugin","all","_balloon","repository","viewItem","isEqual","numberOfChanges","change:isEnabled","hasClass","attributesAfter","change:numberOfChanges","_step","upcast","_joinTapes","forward","bindElementToMarker","revision-end","setAttribute","markersStart","_activeViewTarget","deletions","requires","deletion","getRevision","mapper","element:pre","showStack","reconvertMarker","_makeModelFromViewString","comment","name","from","model","end","unshift","plugins","1693132nOasWX","getAttributes","getCustomProperty","data","_processTape","listenTo","pairId","high","isRemoveSuggestion","getRoot","removeMarker:revision-suggestion","target","_setConversion","insert","isEnabled","getClientRects","_changeIdToChange","_removeUnsupportedChanges","set","310145WxLnbG","addClass","_markSuggestions","authors","revisionHistoryLabel","change:isReady","_setChanges","_fixObsoleteTags","consume","isAdded","maxOffset","isInline","addMarker:revision-suggestion:insertion","suggestion:","merge","offsetSize","pop","commands","getRevisionData","_initInteractions","document","createRange","addRoot","marked","_getViewObj","addRevisionData","getDomRoot","markerName","activeView","showNextChange","changeId","removeAttribute","default","mapViewToDom","rootName","_update","top","isNavigationMode","destroy","vid_start","concat","newRevisionId","span","activeChange","sort","useFillerType","315JdRWyD","elementToAttribute","updatePosition","addHighlight","get","left","index","includes","vid_end","createAttributeElement","push","toViewRange","elementStart","startsWith","isOnRoot","POSITIVE_INFINITY","mouseover","then","isReady","editor","uiElement","parse","ck-suggestion-preview-marker-","string","slice","flat","isIncorrect","revisionHistoryAttachChange","writer","6uysmzq","addMarker:revision-suggestion:deletion","modelRange","nextSibling","ck-suggestion-preview-marker","ck-suggestion-marker--active","isSuggestion","revision-comment:","_changeView","editing","indexOf","isAttached","markerToHighlight","markers","addMarker:revision","getRootNames","checkAttribute","compare","changes","ck-revision-history-root-add","toViewElement","ck-suggestion-marker","nodeAfter","domConverter","collaboration.channelId","children","_removeRevisionMarkers","126740nurolb","getLaterVisibleRevision","getRevisionRootsAttributes","restoreRevision","getChild","ck-editor__editable__overlay","ck-revision-history-root--active","toModel","_removeMissingPairs","start","has","markersEnd","suggestion","stop","oldRevisionId","length","domEvent","ck-suggestion-marker-","low","revision","hasAttribute","item","dataDowncast","error","attachChange","_markMarkers","wrap","delete","resolve","editingDowncast","roots","revisionHistory","endIndex","getAttribute","splice","addRevision","_markInsertions","diffData","return","loadRevisionData","find","_getRevisionsRange","first","attributes","type","clear","ck-suggestion-marker-split","isContent","WidgetToolbarRepository","removeClass","_setDistance","ck-revision-history-root-remove","forceDisabled","bottom","insertions","values"];return(gr=function(){return t})()}!function(t){const e=yr,i=t();for(;;)try{if(246855===parseInt(e(758))/1+-parseInt(e(481))/2*(parseInt(e(709))/3)+-parseInt(e(787))/4+-parseInt(e(548))/5*(-parseInt(e(623))/6)+parseInt(e(529))/7+parseInt(e(477))/8+parseInt(e(594))/9*(-parseInt(e(650))/10))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(770)](){return vr(773)}static get[vr(493)](){return!0}static get[vr(785)](){return!0}static get[vr(514)](){return[Bi.Users,En.ContextualBalloon,Xi]}constructor(t){const e=vr;super(t),this[e(496)]=this[e(613)][e(528)][e(598)](e(708)),this[e(547)](e(591),null),this[e(547)](e(576),null),this[e(512)]=null,this[e(547)](e(804),null),this[e(547)](e(612),!1),this[e(547)](e(543),!0),this.on(e(500),((t,i,n)=>{const r=e;this[r(591)]=null,this[r(576)]=null,this[r(613)][r(632)][r(482)][r(780)]((t=>{const e=r;for(const i of this[e(613)][e(632)][e(482)][e(568)][e(680)])n?t[e(699)](e(655),i):t[e(549)](e(655),i)}))})),this[e(759)](e(585)).to(this,e(591),(t=>null!==t)),this[e(759)](e(488)).to(this,e(612),this,e(804),this,e(591),((t,i,n)=>t&&n?i[e(641)][e(805)](n):0)),this[e(759)](e(499)).to(this,e(612),this,e(804),((t,i)=>t?i[e(641)][e(665)]:0)),this[e(631)]=null,this[e(545)]=new Map,this[e(789)]=null,this[e(495)]=this[e(613)][e(528)][e(598)](En.ContextualBalloon)}[vr(797)](){const t=vr,e=this[t(613)],i=new Ir(e,{direction:t(760)}),n=new Ir(e,{direction:t(507)});e[t(565)][t(766)](t(745),i),e[t(565)][t(766)](t(577),n),e[t(565)][t(766)](t(653),new _r(e)),this.on(t(503),(()=>{const e=t;i[e(718)](),n[e(718)]()})),this[t(541)](),this[t(567)](),e[t(743)](t(753)),e[t(528)][t(660)](t(698))&&e[t(528)][t(598)](t(698))[t(702)](t(753))}async[vr(566)](t){const e=vr;await this[e(689)](t);const i={};for(const n in t[e(687)]){if(t[e(687)][n][e(674)]&&!t[e(687)][n][e(674)][e(634)])continue;const r=this[e(649)](JSON[e(615)](t[e(687)][n][e(704)])),s=this[e(613)][e(632)][e(482)][e(568)],o=new Yi.ViewDocumentFragment(s,r[e(721)]((t=>this[e(572)](t))));this[e(613)][e(532)][e(751)][e(593)](e(571)),i[n]=this[e(613)][e(532)][e(751)][e(771)](o),this[e(613)][e(532)][e(751)][e(593)](e(580))}return i}async[vr(652)](t){const e=vr;await this[e(689)](t);const i={};for(const n in t[e(687)])t[e(687)][n][e(674)]&&!t[e(687)][n][e(674)][e(634)]||(i[n]=t[e(687)][n][e(502)]||{});return i}[vr(649)](t){const e=vr;return(t=t[e(723)]((t=>!t[e(523)]||e(714)!==t[e(523)]&&e(509)!==t[e(523)])))[e(757)]((t=>{const i=e;i(617)!=typeof t&&(t[i(648)]=this[i(649)](t[i(648)]),t[i(693)]=t[i(693)][i(723)]((t=>!t[0][i(607)](i(710)))))})),t}async[vr(640)](t,e,i=!1){const n=vr;if(!this[n(543)])return;const r=this[n(804)],s=this[n(496)],o=n(617)==typeof t?s[n(516)](t):t,a=n(617)==typeof e?s[n(516)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(804)]&&this[n(804)][n(589)]===c&&this[n(804)][n(664)]===u)return Promise[n(678)]();this[n(612)]=!1,this[n(576)]=null,this[n(591)]=null,this[n(804)]=new fr(c,u);const l=this[n(691)](o,a,!0)[n(721)]((t=>this[n(689)](t)));return l[n(604)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(494)](l)[n(611)]((()=>{const t=n;if(!this[t(543)])return;this[t(720)]();const e=this[t(735)](c,u);for(const i of e[t(641)])this[t(545)][t(547)](i.id,i);this[t(613)][t(525)][t(754)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(613)][n(525)][n(568)][n(638)]())i[n(739)](t);for(const t of Object[n(731)](e[n(525)])){const r=i[n(570)](t);for(const s of Object[n(731)](e[n(693)][t]))i[n(510)](s,e[n(693)][t][s],r);i[n(542)](e[n(525)][t],r,0)}})),this[t(804)][t(554)](this[t(801)](e[t(641)])),this[t(612)]=!0}))[n(778)]((t=>{const e=n;console[e(673)](t),this[e(720)](),r&&(this[e(804)]=r),this[e(612)]=!0}))}[vr(573)](t,e){const i=vr,n=this[i(496)][i(746)](t);return n.on(i(583),((t,i,r)=>e(i,r,n))),this[i(496)][i(685)](n),n}[vr(689)](t){const e=vr;if(!t||t[e(687)])return Promise[e(678)]();{const i=this[e(613)][e(730)][e(598)](e(647));return this[e(789)][e(516)]({channelId:i,revisionId:t.id})[e(611)]((i=>{const n=e;t[n(583)]({diffData:i[n(687)]},!0)}))}}[vr(720)](){const t=vr;this[t(591)]=null,this[t(768)](),this[t(631)]&&this[t(631)][t(586)](),this[t(631)]=null,this[t(545)][t(695)](),this[t(613)][t(525)][t(754)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(613)][i(525)][i(568)][i(638)]())e[i(739)](t)}))}[vr(801)](t){const e=vr,i=[],n=new Map;for(const t of this[e(613)][e(525)][e(568)][e(638)]()){const r=this[e(613)][e(632)][e(482)][e(574)](t);if(!r)continue;const s=r[e(544)]()[e(671)](0);s&&(i[e(604)](t),n[e(547)](t,s))}return i[e(592)](((t,i)=>{const r=e,s=n[r(598)](t),o=n[r(598)](i);return s.y-o.y||s.x-o.x})),(t=t[e(723)]((t=>i[e(601)](t[e(582)]))))[e(592)](((t,n)=>i[e(633)](t[e(582)])-i[e(633)](n[e(582)]))),t}[vr(732)](t){const e=vr,i=Array[e(524)](t[e(636)])[e(723)]((([t,i])=>t[e(607)](e(717))&&!i[e(792)])),n=Array[e(524)](this[e(613)][e(525)][e(769)](t)[e(786)]({singleCharacters:!0}));if(0!=i[e(665)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(490)](":");if(r[e(526)][e(498)](t[e(480)])&&i[e(810)](),(t[e(713)][e(498)](r[e(659)])||t[e(713)][e(491)](r[e(659)]))&&(e(486)==s?t[e(557)]={userId:o}:e(515)==s&&(t[e(803)]={userId:o})),0==i[e(665)])break}return n}[vr(755)](t){const e=vr,i=new Map;for(let n=0;n<t[e(665)];n++)e(806)===t[n][e(694)]?(t[n][e(671)][e(767)]=n,t[n][e(671)][e(682)]=n):(e(606)===t[n][e(694)]?t[n][e(671)][e(767)]=n:e(737)===t[n][e(694)]&&(t[n][e(671)][e(682)]=n),i[e(547)](t[n].id,n));for(const n of i[e(705)]())e(606)===t[n][e(694)]?t[n][e(671)][e(682)]=i[e(598)](t[n][e(535)]):e(737)===t[n][e(694)]&&(t[n][e(671)][e(767)]=i[e(598)](t[n][e(535)]))}[vr(533)](t){const e=vr;for(let i=0;i<t[e(665)];i++){if(e(606)===t[i][e(694)])t[i][e(671)][e(767)]=i;else if(e(737)===t[i][e(694)]){t[i][e(671)][e(682)]=i;const n=t[i][e(671)][e(767)];t[n][e(535)]=t[i].id,t[i][e(535)]=t[n].id}else t[i][e(671)][e(767)]=i,t[i][e(671)][e(682)]=i,t[i][e(535)]=null;t[i][e(511)]||(t[i][e(511)]=[],t[i][e(661)]=[])}}[vr(686)](t,e){const i=vr,n=t[i(723)]((t=>!t[i(557)]));for(let t=0;t<e[i(665)];t++)e[t][i(557)]&&(n[t][i(557)]=e[t][i(557)])}[vr(521)](t){const e=vr,i=JSON[e(615)](t),n=this[e(613)][e(632)][e(482)][e(568)],r=new Yi.ViewDocumentFragment(n,i[e(721)]((t=>this[e(572)](t))));return this[e(613)][e(532)][e(657)](r)}[vr(572)](t){const e=vr,i=this[e(613)][e(632)][e(482)][e(568)];if(e(617)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(648)][e(721)]((t=>this[e(572)](t)));return new(kr[t[e(694)]]||Yi.ViewElement)(i,t[e(523)],t[e(693)],n)}}[vr(735)](t,e=null){const i=vr,n=this[i(496)][i(516)](t),r=e?this[i(496)][i(516)](e):null,s=this[i(691)](n,r),o=s[s[i(665)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(665)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(731)](e[i(687)]))if(e[i(687)][t][i(674)]){const n=e[i(687)][t][i(674)];n[i(634)]?(u[i(766)](t),l[i(660)](t)&&l[i(598)](t)[i(802)]==n[i(802)]?l[i(677)](t):l[i(547)](t,n)):l[i(660)](t)?(u[i(677)](t),l[i(677)](t)):(u[i(766)](t),l[i(547)](t,n))}else u[i(766)](t)}for(const t of u){const e=l[i(660)](t)&&!l[i(598)](t)[i(634)];let n=e?s[i(665)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(687)][t]){const n=e?o[i(687)][t][i(777)]:o[i(687)][t][i(502)];c[i(693)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(525)]={};for(const e of t[i(551)])a[i(547)](e.id,e);for(const e of u){const n=t[i(687)][e]?t[i(687)][e][i(704)]:"[]",r=t[i(687)][e]?t[i(687)][e][i(513)]:"[]";t[i(525)][e]={insertions:this[i(521)](n),deletions:this[i(521)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(524)](n[i(525)][t][i(704)][i(636)])[i(723)]((([t])=>!t[i(607)](i(717)))));let h=0;for(const o of s){const s=this[i(732)](o[i(525)][t][i(704)]);o==n?(e=s,r=e[i(665)],e[i(757)]((t=>{t.id=h++})),this[i(533)](e)):this[i(686)](e,s);const a=e[i(723)]((t=>!t[i(557)]))[i(721)]((t=>t.id));let c=0;const l=this[i(732)](o[i(525)][t][i(513)]);l[i(757)]((t=>{t[i(803)]?t.id=r++:t.id=a[c++]})),this[i(533)](l),this[i(700)](e,i(557)),this[i(700)](l,i(803)),o==n&&this[i(675)](e,u),e=this[i(506)](e,l),this[i(755)](e),this[i(700)](e,i(803))}e=e[i(723)]((t=>!(t[i(557)]&&t[i(803)])));const d=new Map(o[i(525)][t][i(513)][i(636)]),f=new Set(u[i(731)]());for(const t of d[i(731)]())f[i(677)](t);this[i(550)](e,f),this[i(555)](e),e=this[i(658)](e),e=this[i(748)](e),e=this[i(546)](e);const{root:m,changes:p}=this[i(487)](e,a,t);c[i(525)][t]=m;const v=l[i(598)](t);if(v){const e=a[i(598)](v[i(802)]),n=new ur({author:e,type:v[i(634)]?i(766):i(738),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(527)](n),c[i(693)][t][i(621)]=n.id}c[i(641)]=c[i(641)][i(588)](p)}return c}[vr(675)](t,e){const i=vr;for(let n=0;n<t[i(665)];n++)for(const[r,s]of e)s[i(659)][i(498)](t[n][i(713)])&&t[n][i(511)][i(604)](r),s[i(526)][i(498)](t[n][i(480)])&&t[n][i(661)][i(604)](r)}[vr(506)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(665)]||s<e[i(665)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(604)](o);else if(a[i(803)]&&o[i(557)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(799)](t,r,e,s);n=n[i(588)](o),r=a,s=c}else a[i(803)]?(s++,n[i(604)](a)):(r++,n[i(604)](o))}return n}[vr(550)](t,e){const i=vr,n=[];for(let o=0;o<t[i(665)];o++){for(let s=0;s<t[o][i(511)][i(665)];s++){const a=t[o][i(511)][s];if(!e[i(660)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(711)!=c||i(486)!=u&&i(515)!=u||(n[i(527)]({type:u,name:a,userId:l}),t[o][i(511)][i(684)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(661)][i(665)];s++){const a=t[o][i(661)][s];if(!e[i(660)](a))continue;const{group:c,type:u}=r(a);if(i(711)!=c||i(486)!=u&&i(515)!=u)continue;t[o][i(661)][i(684)](s,1),s--;const l=n[i(764)]((t=>t[i(523)]==a));l>-1&&n[i(684)](l,1)}}function r(t){const e=i,n=t[e(490)](":");return{group:n[0],type:n[1],subType:n[e(665)]>=5?n[2]:null,id:n[e(665)]<5?n[2]:n[3],authorId:n[e(665)]<5?n[3]:n[4],markerCount:6==n[e(665)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(665)];i++){if(t[e(557)]&&e(486)==n[i][e(694)])return t[e(741)]=n[i],void delete t[e(557)];if(!t[e(557)]&&!t[e(803)]&&e(515)==n[i][e(694)])return void(t[e(537)]=n[i])}}}[vr(700)](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(547)](o.id,n);for(let n=0;n<t[i(665)];n++){if(i(803)==e&&t[n][i(557)]||i(557)==e&&t[n][i(803)])continue;if(i(806)==t[n][i(694)]){t[n][i(788)]=0;continue}const r=s[i(598)](t[n][i(535)]),o=s[i(598)](t[n].id);t[n][i(788)]=r-o}}[vr(691)](t,e,i=!1){const n=vr,r=[];let s=this[n(496)][n(805)](t),o=this[n(496)][n(805)](e);for(-1==o&&(o=this[n(496)][n(725)][n(665)],i=!1);s<o;)r[n(604)](this[n(496)][n(516)](s)),s++;return i&&r[n(604)](this[n(496)][n(516)](s)),r}[vr(799)](t,e,i,n){const r=vr,s=this[r(613)][r(525)][r(475)];let o=e;for(;t[o]&&t[o][r(557)];)o++;let a=n;for(;i[a]&&i[a][r(803)];)a++;u(t,e,o),u(i,n,a);const c=i[r(618)](n,a)[r(588)](t[r(618)](e,o));return c[r(592)](((t,e)=>t[r(756)]!=e[r(756)]?t[r(756)]-e[r(756)]:t[r(807)]!=e[r(807)]?t[r(807)]-e[r(807)]:t[r(788)]!=e[r(788)]?e[r(788)]-t[r(788)]:!!t[r(557)]!=!!e[r(557)]?-1==t[r(756)]||0==t[r(756)]?t[r(557)]?-1:1:t[r(557)]?1:-1:t[r(600)]-e[r(600)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(609)],c=!0;for(let r=e;r<i;r++)if(s[n(559)](t[r][n(671)])||(c=!1),t[r][n(671)][n(767)]<e&&(o=r),t[r][n(671)][n(682)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(756)]=r<=o?-1:r<a?0:1,t[r][n(600)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(788)]?t[i][n(807)]=u:(u++,t[i][n(807)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(756)]&&(t[r][n(807)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(788)]?t[e][n(807)]=u:(u--,t[e][n(807)]=u,u--)}}[vr(555)](t){const e=vr,i=new Map,n=this[e(613)][e(525)][e(475)];for(let r=1;r<t[e(665)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(806)==c[e(694)])continue;if(c[e(694)]!=u[e(694)])continue;if(!n[e(706)](u[e(671)])||n[e(489)](u[e(671)]))continue;if(!n[e(706)](c[e(671)])||n[e(489)](c[e(671)]))continue;if((t[r][e(557)]||t[r][e(741)])&&t[r-1][e(803)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(803)]||!t[r-1][e(557)]&&!t[r-1][e(741)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(807)]==o[e(807)],h=Math[e(784)](s[e(807)])<Math[e(784)](o[e(807)])&&0==o[e(788)];(l||h)&&(i[e(547)](o.id,s.id),t[e(684)](a,1),r--,s[e(557)]=!1)}for(let n=0;n<t[e(665)];n++)i[e(660)](t[n][e(535)])&&(t[n][e(535)]=i[e(598)](t[n][e(535)]))}[vr(658)](t){const e=vr,i=new Set(t[e(721)]((t=>t.id)));for(let n=0;n<t[e(665)];n++)i[e(660)](t[n][e(535)])||0==t[n][e(788)]||(t[n][e(620)]=!0);return t[e(723)]((t=>!t[e(620)]))}[vr(748)](t){const e=vr,i=new Set;for(let n=0;n<t[e(665)];n++){if(i[e(660)](t[n].id)&&t[n][e(803)]&&(t[n][e(620)]=!0),t[n][e(620)])continue;if(0==t[n][e(788)])continue;if(e(606)!=t[n][e(694)])continue;if(null==t[n][e(535)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(535)];)e(606)==t[r][e(694)]?s++:e(737)==t[r][e(694)]&&s--,r++;if(0!=s)if(t[n][e(803)])t[n][e(620)]=!0;else for(;r!=n;)t[r][e(803)]&&0!=t[r][e(788)]&&(t[r][e(620)]=!0,i[e(766)](t[r][e(535)])),r--}return t[e(723)]((t=>!t[e(620)]))}[vr(546)](t){const e=vr,i=this[e(613)][e(525)][e(475)];for(let n=0;n<t[e(665)];n++){if(!(t[n][e(557)]||t[n][e(741)]||t[n][e(803)]||t[n][e(537)]))continue;if(0==t[n][e(788)])continue;const r=t[n][e(671)];i[e(706)](r)||i[e(489)](r)||(t[n][e(557)]&&delete t[n][e(557)],t[n][e(741)]&&delete t[n][e(741)],t[n][e(537)]&&delete t[n][e(537)],t[n][e(803)]&&(t[n][e(620)]=!0))}return t[e(723)]((t=>!t[e(620)]))}[vr(487)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(613)][n(525)],c=a[n(475)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(665)];e++)if(n(606)===t[e][n(694)]){t[e][n(713)]=a[n(707)](r,f);const i=new Yi.Element(t[e][n(671)][n(523)],t[e][n(671)][n(530)]());u[0][n(800)](i),f[n(604)](0),u[n(527)](i),t[e][n(480)]=a[n(707)](r,f)}else n(737)===t[e][n(694)]?(u[n(810)](),t[e][n(713)]=a[n(707)](r,f),f[n(564)](),f[f[n(665)]-1]++,t[e][n(480)]=a[n(707)](r,f)):(t[e][n(713)]=a[n(707)](r,f),d?d[n(794)]+=t[e][n(671)][n(532)]:d=new Yi.Text(t[e][n(671)][n(532)],t[e][n(671)][n(530)]()),t[e+1]&&n(806)===t[e+1][n(694)]&&v(d,t[e+1][n(671)])||(u[0][n(800)](d),d=null),f[f[n(665)]-1]+=t[e][n(671)][n(563)],t[e][n(480)]=a[n(707)](r,f));for(let e=0;e<t[n(665)];e++){const i=t[e][n(713)],r=t[e][n(480)];for(const r of t[e][n(511)])o[n(547)](r,{start:i,end:null});m(n(537),e,i,r),m(n(741),e,i,r),m(n(803),e,i,r),m(n(557),e,i,r);for(const i of t[e][n(661)])o[n(598)](i)[n(526)]=r}for(const[t,e]of o){const i=this[n(613)][n(525)][n(569)](e[n(659)],e[n(526)]);r[n(636)][n(547)](t,i)}return s[n(592)](((t,e)=>{const i=n,s=r[i(636)][i(598)](i(717)+t.id),o=r[i(636)][i(598)](i(717)+e.id);return s[i(659)][i(474)](o[i(659)])?-1:s[i(659)][i(491)](o[i(659)])?1:s[i(526)][i(474)](o[i(526)])?-1:s[i(526)][i(491)](o[i(526)])?1:i(766)===t[i(694)]?-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(802)]:null,d=i===t[o(665)]-1,f=h[e][0],m=c[o(728)](t[i][o(671)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(526)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(802)]!==u&&(l[e][o(526)]=r,f&&f[o(802)]===l[e][o(802)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(606)!==t[i][o(694)]||f&&f[o(802)]===u||h[e][o(527)]({userId:u,object:t[i][o(671)],change:l[e]}),o(737)===t[i][o(694)]&&f&&f[o(790)]===t[i][o(671)]&&(h[e][o(810)](),l[e]=f[o(780)])),l[e]&&d&&(l[e][o(526)]=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(671)],f=a[h(475)][h(706)](d)&&!a[h(475)][h(489)](d),m=t[h(645)]==o[h(782)]&&o[h(724)];if(f&&m)return;const p=a[h(569)](t,o),v=e[h(598)](u),y=new ur({author:v,type:h(557)==l||h(741)==l?h(766):h(738),data:{isSuggestion:h(741)==l||h(537)==l},createdAt:new Date,rootName:i});s[h(604)](y),r[h(636)][h(547)](h(717)+y.id,p)}function v(t,e){const i=n,r=t[i(530)](),s=e[i(530)]();for(const t of r){if(t[1]!==e[i(683)](t[0]))return!1;s[i(476)]()}return s[i(476)]()[i(791)]}}[vr(541)](){const t=vr;this[t(613)][t(774)][t(763)](t(505))[t(798)]({view:t(669)}),this[t(613)][t(774)][t(763)](t(679))[t(635)]({model:t(669),view:e=>{const i=t,n=e[i(575)][i(490)](":")[1],r=this[i(483)](n);if(!r)return null;const s=i(766)==r[i(694)]?i(486):i(515),o=[i(644),i(667)+s];return r[i(532)][i(629)]&&o[i(604)](i(667)+s+i(749)),this[i(591)]==r&&o[i(604)](i(628)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(613)][t(774)][t(763)](t(505))[t(766)]((e=>{const i=t;e.on(i(518),((t,e,n)=>{const r=i,s=e[r(497)][r(654)](0);if(!s||!s.is(r(772),r(776)))return;if(!n[r(740)][r(556)](s,{attributes:[r(587),r(602)]}))return;const o=e[r(625)][r(659)][r(645)];n[r(622)][r(510)](r(587),s[r(683)](r(587)),o),n[r(622)][r(510)](r(602),s[r(683)](r(602)),o)}),{priority:i(668)})})),this[t(613)][t(774)][t(763)](t(505))[t(766)]((e=>{const i=t;e.on(i(772),((t,e,n)=>{const r=i;if(!n[r(740)][r(556)](e[r(497)],{attributes:[r(587),r(602)]}))return;if(e[r(625)][r(792)])return;const s=e[r(625)][r(659)][r(645)];s[r(670)](r(587))||s[r(670)](r(733))||(n[r(622)][r(510)](r(587),e[r(497)][r(683)](r(587)),s),n[r(622)][r(510)](r(602),e[r(497)][r(683)](r(602)),s))}),{priority:i(668)})})),this[t(613)][t(774)][t(763)](t(505))[t(595)]({view:{name:t(590),attributes:{vid:!0}},model:{key:t(733),value:e=>e[t(683)](t(733))}}),this[t(613)][t(525)][t(475)].on(t(639),((e,[,i])=>{const n=t;[n(587),n(602),n(733)][n(601)](i)&&(e[n(688)]=!0,e[n(663)]())}),{priority:t(796)}),this[t(613)][t(774)][t(763)](t(672))[t(766)]((e=>{const i=t;e.on(i(492),((t,e,n)=>{const r=i;if(" "!=e[r(671)][r(532)]||e[r(671)][r(782)][r(558)]>1)return;if(!n[r(740)][r(556)](e[r(671)],t[r(523)]))return;const s=n[r(622)],o=n[r(517)][r(605)](e[r(811)]);s[r(676)](o,s[r(603)](r(590)))}))})),this[t(613)][t(774)][t(763)](t(672))[t(484)]({model:t(669)}),this[t(613)][t(632)][t(762)].on(t(637),function(e){const i=t,n=e[i(528)][i(598)](i(773));return(t,r,s)=>{const o=i,a=r[o(575)][o(490)](":")[1],c=n[o(483)](a);if(!c)return null;const u=o(766)==c[o(694)]?o(490):o(562);if(!s[o(740)][o(478)](r[o(716)],t[o(523)]))return;const l=r[o(716)][o(786)](),h=r[o(716)][o(659)],d=e[o(525)][o(475)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(671)];p=p||d[o(697)](e);const i=s[o(517)][o(643)](e);if(i&&i[o(531)](o(597)))return;o(737)==t[o(694)]&&d[o(706)](e)&&!d[o(489)](e)&&(e[o(626)]||h[o(712)]?f&&f[o(782)]==e||(f=e,y(t[o(713)]),v=!0):m=m||t[o(713)])}function y(t){const e=o,i=s[e(622)][e(808)](e(590),{class:e(667)+u}),a=s[e(517)][e(715)](t);c[e(532)][e(629)]&&s[e(622)][e(549)](e(667)+u+e(749),i),n[e(591)]==c&&s[e(622)][e(549)](e(628),i),s[e(622)][e(542)](a,i),s[e(517)][e(508)](i,r[e(575)])}p||v||!m||y(m)}}(this[t(613)]),{priority:t(536)}),this[t(613)][t(632)][t(762)].on(t(726),((e,i,n)=>{const r=t,s=n[r(517)][r(736)](i[r(575)]);if(s)for(const t of s)(t[r(501)](r(696))||t[r(501)](r(793)))&&(n[r(517)][r(727)](t,i[r(575)]),n[r(622)][r(738)](t))}),{priority:t(536)}),this[t(613)][t(632)][t(762)].on(t(637),((e,i,n)=>{const r=t,s=i[r(575)][r(490)](":")[1],o=this[r(483)](s);if(!o)return null;const a=r(766)==o[r(694)]?r(490):r(562);if(n[r(740)][r(478)](i[r(716)],e[r(523)]))for(const t of i[r(716)][r(761)]()){if(!t.is(r(772),r(485)))continue;const e=n[r(622)][r(808)](r(590),{class:r(667)+a}),s=n[r(517)][r(715)](this[r(613)][r(525)][r(479)](t));o[r(532)][r(629)]&&n[r(622)][r(549)](r(667)+a+r(749),e),this[r(591)]==o&&n[r(622)][r(549)](r(628),e),n[r(622)][r(542)](s,e),n[r(517)][r(508)](e,i[r(575)])}}),{priority:t(536)}),this[t(613)][t(525)][t(568)].on(t(780),(()=>{const e=t;this[e(613)][e(632)][e(482)][e(780)]((t=>{const i=e;for(const e of this[i(613)][i(525)][i(568)][i(638)]()){const n=this[i(613)][i(525)][i(568)][i(538)](e),r=this[i(613)][i(632)][i(482)][i(568)][i(538)](e);if(r){const e=n[i(683)](i(621));if(t[i(579)](i(765),r),t[i(699)](i(642),r),t[i(699)](i(701),r),t[i(699)](i(656),r),e){const n=this[i(483)](e);if(!n)return null;t[i(510)](i(765),e,r),t[i(549)](i(742)+n[i(694)],r),this[i(591)]==n&&t[i(549)](i(656),r)}}}}))})),this[t(613)][t(774)][t(763)](t(505))[t(798)]({view:t(522),model:e=>t(630)+e,converterPriority:t(796)}),this[t(613)][t(774)][t(763)](t(505))[t(798)]({view:t(662),model:e=>t(795)+e,converterPriority:t(796)}),this[t(613)][t(774)][t(763)](t(672))[t(484)]({model:t(711),view:e=>({name:t(561)+e,group:t(711)}),converterPriority:t(796)}),this[t(613)][t(774)][t(763)](t(679))[t(635)]({model:t(711),view:e=>{const i=t,n=e[i(575)][i(490)](":")[1];return i(486)!=n&&i(515)!=n?null:{classes:[i(627),i(616)+n]}}}),this[t(613)][t(632)][t(762)].on(t(624),wr(this[t(613)],t(562)),{priority:t(536)}),this[t(613)][t(632)][t(762)].on(t(560),wr(this[t(613)],t(490)),{priority:t(536)}),this[t(613)][t(632)][t(762)].on(t(539),((e,i,n)=>{const r=t,s=n[r(517)][r(736)](i[r(575)]);if(s)for(const t of s)t.is(r(614))&&(n[r(517)][r(727)](t,i[r(575)]),n[r(622)][r(738)](t))}),{priority:t(536)})}[vr(483)](t){const e=vr;return this[e(545)][e(598)](t)}[vr(734)](t){const e=vr;return this[e(631)]&&this[e(631)][e(586)](),this[e(631)]=new sr(this[e(613)][e(775)],t),this[e(631)]}[vr(567)](){const t=vr;this[t(613)][t(525)][t(568)][t(750)][t(779)](t(669)),this.on(t(729),((e,i,n,r)=>{const s=t;r&&this[s(495)][s(738)](r),n&&(this[s(495)][s(766)]({view:n,stackId:s(552),position:{target:()=>{const t=s,e=this[t(613)][t(632)],i=this[t(483)](n[t(578)]);let r;if(i[t(532)][t(608)]){const n=e[t(482)][t(574)](i[t(582)]);r=Array[t(524)](n[t(544)]())}else{const i=this[t(613)][t(525)][t(636)][t(598)](t(717)+n[t(578)]);r=Array[t(524)](e[t(517)][t(736)](i[t(523)]))[t(721)]((i=>e[t(482)][t(646)][t(581)](i)))[t(721)]((e=>Array[t(524)](e[t(544)]())))[t(619)]()}return this[t(512)]&&r[t(690)]((e=>e[t(584)]-3<=this[t(512)].y&&e[t(703)]+3>=this[t(512)].y&&e[t(599)]-3<=this[t(512)].x&&e[t(809)]+3>=this[t(512)].x))||r[0]}}}),this[s(495)][s(519)](s(552)))})),this.on(t(752),((e,i,n,r)=>{const s=t;this[s(576)]=n?this[s(734)](n):null,this[s(613)][s(525)][s(780)]((()=>{const t=s,e=this[t(613)][t(632)];r&&(r[t(532)][t(608)]?e[t(482)][t(780)]((i=>{const n=t;i[n(699)](n(656),e[n(482)][n(568)][n(538)](r[n(582)]))})):e[t(520)](t(717)+r.id)),n&&(n[t(532)][t(608)]?e[t(482)][t(780)]((i=>{const r=t;i[r(549)](r(656),e[r(482)][r(568)][r(538)](n[r(582)]))})):e[t(520)](t(717)+n.id))}))})),this[t(534)](this[t(613)][t(632)][t(482)][t(568)],t(610),((e,i)=>{const n=t;if(this[n(591)])return;const r=this[n(783)](i[n(540)]),s=this[n(545)][n(598)](r);s?(this[n(512)]={x:i[n(666)].x,y:i[n(666)].y},this[n(576)]=this[n(734)](s)):(this[n(512)]=null,this[n(576)]=null)})),this[t(534)](this[t(613)][t(632)][t(482)][t(568)],t(719),((e,i)=>{const n=t,r=this[n(783)](i[n(540)]),s=this[n(545)][n(598)](r);s?(this[n(512)]={x:i[n(666)].x,y:i[n(666)].y},s===this[n(591)]?this[n(495)][n(596)]():this[n(591)]=s):(this[n(512)]=null,this[n(591)]=null)}))}[vr(783)](t){const e=vr;do{const i=t[e(683)](e(765));if(i)return i;t=t[e(782)]}while(t);return null}[vr(768)](){const t=vr;this[t(613)][t(525)][t(780)]((e=>{const i=t;for(const t of this[i(613)][i(525)][i(636)])e[i(722)](t)}))}}function wr(t,e){return(i,n,r)=>{const s=yr;if(!r[s(740)][s(478)](n[s(716)],i[s(523)]))return;const o=n[s(716)][s(786)](),a=n[s(716)][s(659)],c=t[s(525)][s(475)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(671)];h=h||c[s(697)](e);const i=r[s(517)][s(643)](e);if(i&&i[s(531)](s(597)))return;s(737)==t[s(694)]&&c[s(706)](e)&&!c[s(489)](e)&&(e[s(626)]||a[s(712)]?u&&u[s(782)]==e||(u=e,f(t[s(713)]),d=!0):l=l||t[s(713)])}function f(t){const i=s,o=r[i(517)][i(715)](t),a=r[i(622)][i(808)](i(590),{class:i(616)+e});r[i(622)][i(542)](o,a),r[i(517)][i(508)](a,n[i(575)])}h||d||!l||f(l)}}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(528)][e(598)](br);this[e(744)]=!1,this[e(534)](i,e(553),(()=>this[e(718)]())),this[e(534)](i,e(500),(()=>this[e(718)]()))}[vr(781)](){const t=vr,e=this[t(613)],i=e[t(528)][t(598)](br),n=i[t(612)]?i[t(804)][t(589)]:null;e[t(730)][t(598)](t(681))[t(747)](n)}[vr(718)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(613)][t(528)][t(598)](br),s=r&&n[t(651)](r[t(589)]);this[t(543)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(528)][i(598)](br);this[i(744)]=!1,this[i(504)]=i(507)===e?1:-1,this[i(534)](n,i(553),(()=>this[i(718)]())),this[i(534)](n,i(500),(()=>this[i(718)]())),this[i(534)](n,i(752),(()=>this[i(718)]()))}[vr(781)](){const e=vr,i=this[e(613)],n=i[e(528)][e(598)](br),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(591)]=r?n[e(804)][e(641)][e(598)](s+this[e(504)]):n[e(804)][e(641)][e(692)],n[e(591)][e(532)][e(608)])o=i[e(632)][e(482)][e(574)](n[e(591)][e(582)]);else{const t=i[e(525)][e(636)][e(598)](e(717)+n[e(591)].id);o=(0,Bi.getMarkerDomElement)(i[e(632)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(718)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(613)][t(528)][t(598)](br);this[t(543)]=!!(s&&r&&n)&&(!e||(1===this[t(504)]?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=["Loading...","596928VmpzLY","5gHXTxd","span","419377eeYVKi","8977759eWIGZr","Show next change","isEnabled","Show previous change","bindTemplate","numberOfChanges","6398304kdgoUy","ck-revision-history-ui__changes-navigation","execute","ck-hidden","div","isForwardNavigationEnabled","18dbokJg","isBackwardNavigationEnabled","NUMBER_OF_CHANGES","bind","4bwTQjT","fire","forward","_statusText","currentChangeNumber","isReady","No changes","ck-revision-history-ui__changes-navigation__label","Total","setTemplate","backward","X_OF_Y_CHANGES","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui","14241168xCBZAF","40439850RQuvZE","11631177kivbJv","isNavigationMode","10ryZnpj","set","ck-revision-history-ui__changes-navigation__navigation","_isStatusLabelVisible","EDIT_X_OF_Y_REVISIONS"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=179]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(894510===-parseInt(e(200))/1*(-parseInt(e(217))/2)+-parseInt(e(213))/3*(-parseInt(e(197))/4)+parseInt(e(198))/5*(parseInt(e(207))/6)+parseInt(e(201))/7+parseInt(e(187))/8+-parseInt(e(189))/9*(parseInt(e(191))/10)+-parseInt(e(188))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xr);class Nr extends En.View{constructor(t){const e=Tr;super(t);const i=this[e(205)],n=new En.ButtonView(t),r=new En.ButtonView(t);this[e(192)](e(190),!1),this[e(192)](e(222),!1),this[e(192)](e(221),0),this[e(192)](e(206),0),this[e(192)](e(212),!1),this[e(192)](e(214),!1),this[e(216)](e(194)).to(this,e(222),this,e(206),((t,e)=>t&&e>0)),this[e(216)](e(220)).to(this,e(222),this,e(221),this,e(206),this,e(190),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(196));if(!r)return Qi(t,o(179));const a=Qi(t,o(215),r);return s?Qi(t,o(184),[n+1,r]):a})),n[e(192)]({label:Qi(t,e(204)),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(192)]({label:Qi(t,e(202)),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(216)](e(203)).to(this,e(214)),r[e(216)](e(203)).to(this,e(212)),n.on(e(209),(()=>this[e(218)](e(209),e(183)))),r.on(e(209),(()=>this[e(218)](e(209),e(219)))),this[e(182)]({tag:e(211),attributes:{class:["ck",e(186),e(208)]},children:[{tag:e(199),attributes:{class:[e(185)]},children:[{tag:e(199),attributes:{class:[e(180),i.if(e(194),e(210),(t=>!t))]},children:[{text:i.to(e(190),(i=>i?Qi(t,e(195))+": ":Qi(t,e(181))+": "))}]},{text:i.to(e(220))}]},new En.ToolbarSeparatorView,{tag:e(211),attributes:{class:[e(193)]},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=Un();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;const Mr=Vr;function Vr(t,e){const i=Dr();return(Vr=function(t,e){return i[t-=111]})(t,e)}!function(t){const e=Vr,i=t();for(;;)try{if(227060===-parseInt(e(112))/1+parseInt(e(129))/2*(-parseInt(e(133))/3)+parseInt(e(117))/4*(parseInt(e(122))/5)+-parseInt(e(127))/6+-parseInt(e(132))/7*(-parseInt(e(131))/8)+parseInt(e(113))/9*(parseInt(e(118))/10)+parseInt(e(121))/11*(parseInt(e(136))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dr);const Er=Mr(123);function Dr(){const t=["isPremiumPlugin","5340dZazMU","document","show","41048wSiIWT","2931102VOKjLv","editing","removeClass","RevisionViewerLoadingOverlay","5416jmccwc","10JHOZoa","editor","isOfficialPlugin","5401Deikzv","75xmwCMk","ck-editor__editable__loading-overlay","view","addClass","roots","1757514PpPIgj","change","331830uSPQfb","hide","8xahmfz","2298618IahgwK","6PomeLr","pluginName"];return(Dr=function(){return t})()}class Cr extends qi.Plugin{static get[Mr(134)](){return Mr(116)}static get[Mr(120)](){return!0}static get[Mr(135)](){return!0}[Mr(111)](){const t=Mr,e=this[t(119)][t(114)][t(124)];e[t(128)]((i=>{const n=t;for(const t of e[n(137)][n(126)])i[n(125)](Er,t)}))}[Mr(130)](){const t=Mr,e=this[t(119)][t(114)][t(124)];e[t(128)]((i=>{const n=t;for(const t of e[n(137)][n(126)])i[n(115)](Er,t)}))}}const jr=Fr;function Fr(t,e){const i=Lr();return(Fr=function(t,e){return i[t-=107]})(t,e)}function Lr(){const t=["numberOfChanges","isNavigationMode","showNextChange","editor","undo","config","showPreviousChange","bind","currentChangeNumber","12238011vDbmSH","hide","pluginName","2804pVYzdy","execute","Restore this revision","33wuXFLM","get","3025460RfQjHq","RevisionViewerUI","7445jDwAQb","isOfficialPlugin","change:isReady","commands","requires","450088EGMYXz","forward","isReady","init","7brHyde","listenTo","show","changesNavigation","componentFactory","1098784dNjRAV","isForwardNavigationEnabled","restoreRevision","add","isEnabled","revisionHistory","isBackwardNavigationEnabled","closeRevisionViewerCallback","30040XqUivs","plugins","exitToEditing","set","6hJITUQ","ck-revision-history-ui__back-to-editing","Back to editing","isPremiumPlugin","6080622TceDoh"];return(Lr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(767587===-parseInt(e(140))/1+-parseInt(e(123))/2*(-parseInt(e(144))/3)+parseInt(e(111))/4*(-parseInt(e(118))/5)+-parseInt(e(148))/6+-parseInt(e(127))/7*(-parseInt(e(132))/8)+parseInt(e(108))/9+-parseInt(e(116))/10*(-parseInt(e(114))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class Pr extends qi.Plugin{static get[jr(110)](){return jr(117)}static get[jr(119)](){return!0}static get[jr(147)](){return!0}static get[jr(122)](){return[br,Cr]}[jr(126)](){const t=jr,e=this[t(152)],i=e[t(141)][t(115)](br),n=e[t(141)][t(115)](Cr);e.ui[t(131)][t(135)](t(142),(i=>{const n=t,r=new En.ButtonView(i);return r[n(143)]({label:Qi(i,n(146)),icon:qi.icons[n(153)],withText:!0,tooltip:!0,class:n(145)}),this[n(128)](r,n(112),(()=>{const t=n;e[t(154)][t(115)](t(137))[t(139)]()})),r})),e.ui[t(131)][t(135)](t(134),(i=>{const n=t,r=new En.ButtonView(i);return r[n(143)]({label:Qi(i,n(113)),withText:!0,tooltip:!0}),r[n(156)](n(136)).to(e[n(121)][n(115)](n(134))),this[n(128)](r,n(112),(()=>e[n(112)](n(134)))),r})),e.ui[t(131)][t(135)](t(130),(n=>{const r=t,s=new Nr(n),o=e[r(121)][r(115)](r(155)),a=e[r(121)][r(115)](r(151));return s[r(156)](r(138)).to(o,r(136)),s[r(156)](r(133)).to(a,r(136)),s[r(156)](r(125),r(107),r(149),r(150)).to(i),this[r(128)](s,r(112),((t,i)=>{const n=r;e[n(112)](n(124)===i?n(151):n(155))})),s})),n[t(129)](),i.on(t(120),((e,i,r)=>{const s=t;r?n[s(109)]():n[s(129)]()}))}}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;function Zr(t,e){const i=Hr();return(Zr=function(t,e){return i[t-=259]})(t,e)}const Ur=Zr;function Hr(){const t=["ck-tooltip_multi-line","6336UxjSnv","value","3068KBWAly","_resizeObserver","ck-revision-history-sidebar__revision-name","11126MTkIXG","element","111jQhARw","93777fQiVnu","4776SyOOCW","31132MtxYfW","destroy","clientWidth","17670RTHRMO","_updateTooltipText","placeholder","set","35RynCRt","160UBqAbP","span","312qoSowM","11770SAqycK","input","Enter the revision name","listenTo","fieldView","Revision name","scrollWidth","80ZUQlBT","bindTemplate","extendTemplate","_tooltipString","render"];return(Hr=function(){return t})()}!function(t){const e=Zr,i=t();for(;;)try{if(106515===-parseInt(e(271))/1+-parseInt(e(268))/2*(-parseInt(e(270))/3)+-parseInt(e(273))/4*(parseInt(e(291))/5)+-parseInt(e(276))/6*(-parseInt(e(280))/7)+parseInt(e(283))/8*(parseInt(e(263))/9)+-parseInt(e(281))/10*(parseInt(e(284))/11)+-parseInt(e(272))/12*(-parseInt(e(265))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hr);class $r extends En.LabeledFieldView{constructor(t,e){const i=Zr;super(t,e),this[i(266)]=null;const n=this[i(292)];this[i(279)]({label:Qi(t,i(289)),_tooltipString:""}),this[i(288)][i(278)]=Qi(t,i(286)),this[i(259)]({tag:i(282),attributes:{class:[i(267)],"data-cke-tooltip-text":n.to(i(260)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(262)}})}[Ur(261)](){const e=Ur;super[e(261)](),this[e(266)]=new t.ResizeObserver(this[e(288)][e(269)],(()=>this[e(277)]())),this[e(287)](this[e(288)],e(285),(()=>this[e(277)]()))}[Ur(274)](){const t=Ur;super[t(274)](),this[t(266)]&&this[t(266)][t(274)]()}[Ur(277)](){const t=Ur,e=this[t(288)][t(269)];this[t(260)]=e[t(290)]>e[t(275)]&&e[t(264)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Pn().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Un();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Yr(t,e){const i=Jr();return(Yr=function(t,e){return i[t-=257]})(t,e)}function Jr(){const t=["15820GNSZBl","Revision creator","554072PfGAiN","span","7716480DuscvI","ck-revision-history-sidebar__revision-author__name","set","37853684BLHoAb","push","1iVWMLB","3030iIEDrI","0 0 11 10","setTemplate","17347890IimBKu","name","27EZWUdq","Revision author","ck-revision-history-sidebar__revision-author_creator","26499gMnGbl","172Ioiwxf","1121842KZrCiy","ck-revision-history-sidebar__revision-author"];return(Jr=function(){return t})()}!function(t){const e=Yr,i=t();for(;;)try{if(915580===-parseInt(e(267))/1*(parseInt(e(278))/2)+-parseInt(e(276))/3*(-parseInt(e(277))/4)+-parseInt(e(262))/5+-parseInt(e(268))/6*(-parseInt(e(258))/7)+parseInt(e(260))/8*(-parseInt(e(273))/9)+-parseInt(e(271))/10+parseInt(e(265))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jr);class Gr extends En.View{constructor(t,e,i){const n=Yr;super(t);const r=new En.IconView;r[n(264)]({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(269)});const s=["ck",n(257)];i&&s[n(266)](n(275));const o=[{tag:n(261),attributes:{class:["ck",n(263)],title:Qi(t,n(i?259:274))},children:[r,e[n(272)]]}];this[n(270)]({tag:"li",attributes:{class:s},children:o})}}function Kr(){var t=["toLocaleDateString","1888418JWvOpn","181722ZgFYom","4771000RtWbXr","249930kUtdOZ","toLocaleTimeString","numeric","6vdyOcm","4YHZZmp","1394097oQhoXh","long","1884126IMlqTk","12593214DLGxTj"];return(Kr=function(){return t})()}function Xr(t,e){var i=Kr();return(Xr=function(t,e){return i[t-=447]})(t,e)}!function(t){for(var e=Xr,i=t();;)try{if(301227===-parseInt(e(452))/1*(-parseInt(e(447))/2)+-parseInt(e(454))/3*(-parseInt(e(453))/4)+parseInt(e(449))/5+parseInt(e(456))/6+-parseInt(e(459))/7+parseInt(e(448))/8+-parseInt(e(457))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kr);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-=220]})(t,e)}function is(){const t=["961603JcHXtV","extendTemplate","map","isOpen","1587070dUfMLE","ck-revision-history-sidebar__revision__actions","3798663kYfWsl","action","2828795cXClqG","isEnabled","Name this revision","listView","set","bind","1392168vNhkuc","6935369jPdOPT","5522860ywasHs","add","listenTo","threeVerticalDots","menuitem","ck-on","Restore this revision","Show more items","name","bindTemplate","first","locale","menu","_action","class","panelPosition","stopPropagation","items","children","isActionsDropdownOpen","isReady","model","change:isActionsDropdownOpen","execute","source","function","Compare against selected","button","find","buttonView","isVisible"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(939598===parseInt(e(250))/1+-parseInt(e(254))/2+-parseInt(e(256))/3+parseInt(e(266))/4+-parseInt(e(258))/5+parseInt(e(264))/6+parseInt(e(265))/7)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=as;function os(){const t=["220","ck-revision-history-sidebar__revision_highlighted","isHighlighted","_createdAtFormatted","from","filter","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__revision-wrapper","1291395yrtuTy","290HdQuRa","setTemplate","div","277068oxYjpo","ck-revision-history-sidebar__revision__controls-wrapper","2139464FCUGGq","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__actions_dropdown_open","isReady","deselect","isActionsDropdownOpen","render","length","fieldView","set","fire","ck-disabled","unhighlight","revisionActionsView","name","uiLanguage","9awEjdJ","ck-reset","extendTemplate","_revision","element","8748oHWPOd","28CAPicG","creator","change","authors","6045580gzHeTQ","ck-revision-history-sidebar__revision",".ck-thread__remove-confirm","select","bind","createdAt","setName","_requireRevisionName","isConfirm","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isSelected","map","closest","unshift","bindTemplate","highlight","srcElement","isEnabled","listenTo","span","32190IUxjSW","revisionNameView","ck-revision-history-sidebar__revision_selected","value","131324vWQvDS"];return(os=function(){return t})()}function as(t,e){const i=os();return(as=function(t,e){return i[t-=318]})(t,e)}!function(t){const e=as,i=t();for(;;)try{if(155815===-parseInt(e(357))/1*(-parseInt(e(356))/2)+-parseInt(e(333))/3+-parseInt(e(320))/4+-parseInt(e(330))/5*(-parseInt(e(381))/6)+parseInt(e(329))/7+parseInt(e(335))/8*(parseInt(e(351))/9)+-parseInt(e(361))/10)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(375)],a=function(t,e){const i=s,n=Array[i(325)](e[i(360)])[i(326)]((t=>t!=e[i(358)]));return e[i(358)]&&n[i(374)](e[i(358)]),n[i(372)]((n=>new Gr(t,n,n==e[i(358)])))}(e,i);this.id=i.id,this[s(354)]=i,this[s(368)]=r,this[s(365)](s(349),s(366)).to(i),this[s(365)](s(324)).to(this,s(366),(t=>{return i=e[s(350)],(n=t)[(r=Xr)(458)](i,{month:r(455),day:r(451)})+", "+n[r(450)](i,{hour:r(451),minute:r(451)});var i,n,r})),this[s(344)](s(371),!1),this[s(344)](s(323),!1),this[s(344)](s(340),!1),this[s(344)](s(338),!1),this[s(344)](s(378),!1),this[s(382)]=new $r(e,En.createLabeledInputText),this[s(382)][s(343)][s(353)]({attributes:{maxlength:s(321)}}),this[s(382)][s(343)][s(365)](s(319)).to(this,s(349),(t=>t||this[s(324)])),this[s(382)][s(365)](s(378)).to(this,s(371),this,s(378),((t,e)=>t&&e)),this[s(348)]=n&&n[s(342)]?function(e,i){const n=es,r=e[n(228)],s=e[n(230)],o=(0,En.createDropdown)(s);o[n(234)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(230)],r={"Compare against selected":Qi(n,i(245)),"Name this revision":Qi(n,i(260)),"Restore this revision":Qi(n,i(225))};return e[i(252)]((t=>{const e=i,n=r[t[e(227)]];return n&&n!==t[e(227)]&&(t[e(227)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(246),model:new En.ViewModel({label:t[r(227)],class:t[r(233)],withText:!0,role:r(223),_action:t[r(257)]})};i[r(240)][r(263)](r(259)).to(e,r(238),(i=>r(244)!=typeof t[r(259)]||!i||t[r(259)](e))),o[r(220)](i)}return o}(e,i);return e[n(263)](n(238)).to(o,n(253)),o[n(248)][n(262)]({label:Qi(s,n(226)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(222)]}),o[n(251)]({attributes:{class:[n(255),r.if(n(238),n(224))]},on:{click:r.to((t=>t[n(235)]()))}}),o.on(n(242),(t=>{const i=n;e[i(239)]&&i(244)==typeof t[i(243)][i(232)]&&t[i(243)][i(232)](e)})),(0,En.addListToDropdown)(o,a,{role:n(231)}),o[n(221)](e,n(241),((t,r,s)=>{const a=n;if(s)for(const t of o[a(261)][a(236)]){const n=t[a(237)][a(229)],r=i[a(247)]((t=>t[a(257)]===n[a(232)]))[a(249)];t[a(249)]=void 0===r||r(e)}})),o}(this,n):"",this[s(348)]&&this[s(348)][s(365)](s(378)).to(this),this[s(331)]({tag:s(332),attributes:{class:["ck",s(352),s(328),o.if(s(369),s(370))]},children:[{tag:s(332),attributes:{class:["ck",s(352),s(362),o.if(s(378),s(346),(t=>!t)),o.if(s(371),s(318)),o.if(s(323),s(322)),o.if(s(340),s(337))]},children:[this[s(382)],{tag:s(380),attributes:{class:["ck",s(336)]},children:[{text:o.to(s(324))}]},{tag:s(332),attributes:{class:["ck",s(334)]},children:[{tag:"ul",attributes:{class:["ck",s(327)]},children:a}]},this[s(348)]],on:{click:o.to((t=>{const e=s;t[e(377)][e(373)](e(363))||this[e(338)]&&this[e(378)]&&this[e(345)](e(364),{id:this.id})}))}}]})}[ss(341)](){const t=ss;super[t(341)]();const e=this[t(382)][t(343)][t(355)];this[t(379)](e,t(359),(()=>{const i=t;this[i(368)]&&!e[i(319)]||this[i(345)](i(367),{id:this.id,name:e[i(319)]}),e[i(319)]||(e[i(319)]=this[i(349)]?this[i(349)]:this[i(324)])}))}[ss(364)](){this[ss(371)]=!0}[ss(339)](){this[ss(371)]=!1}[ss(376)](){this[ss(323)]=!0}[ss(347)](){this[ss(323)]=!1}}class us extends Error{}class ls extends us{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class hs extends us{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ds extends us{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class fs extends us{}class ms extends us{constructor(t){super(`Invalid unit ${t}`)}}class ps extends us{}class vs extends us{constructor(){super("Zone is an abstract class")}}const ys="numeric",gs="short",ks="long",bs={year:ys,month:ys,day:ys},ws={year:ys,month:gs,day:ys},_s={year:ys,month:gs,day:ys,weekday:gs},Is={year:ys,month:ks,day:ys},Ss={year:ys,month:ks,day:ys,weekday:ks},Os={hour:ys,minute:ys},xs={hour:ys,minute:ys,second:ys},Ts={hour:ys,minute:ys,second:ys,timeZoneName:gs},Ns={hour:ys,minute:ys,second:ys,timeZoneName:ks},As={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},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 Hs extends Zs{static get instance(){return null===Us&&(Us=new Hs),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 $s={};const qs={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={},$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: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&&$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||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: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 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?Hs.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,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 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 No=[0,31,59,90,120,151,181,212,243,273,304,334],Ao=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Mo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Vo(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=Vo(n,r,s),a=Do(Mo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Mo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=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=Ho(t.year),i=Go(t.month,1,12),n=Go(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=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&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Zo(t){return void 0===t}function Uo(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 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 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 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(Mo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Yo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Ko(i,2)}:${Ko(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Ko(i,2)}${Ko(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ma(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const pa=["January","February","March","April","May","June","July","August","September","October","November","December"],va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ya=["J","F","M","A","M","J","J","A","S","O","N","D"];function ga(t){switch(t){case"narrow":return[...ya];case"short":return[...va];case"long":return[...pa];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ka=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ba=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wa=["M","T","W","T","F","S","S"];function _a(t){switch(t){case"narrow":return[...wa];case"short":return[...ba];case"long":return[...ka];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ia=["AM","PM"],Sa=["Before Christ","Anno Domini"],Oa=["BC","AD"],xa=["B","A"];function Ta(t){switch(t){case"narrow":return[...xa];case"short":return[...Oa];case"long":return[...Sa];default:return null}}function Na(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Aa={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:Ns,T:As,TT:Rs,TTT:Ms,TTTT:Vs,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 Ma=/[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}?(?:\\[(${Ma.source})\\])?)?`}`),Pa=RegExp(`(?:T${La.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Za=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Ua=RegExp(`(?: ${Za.source})?`);function Ha(t,e,i){const n=t[e];return Zo(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}$`),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: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=Va(/(\d{4})-(\d\d)-(\d\d)/,Ua),vc=Va(Za),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"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Ac(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of Oc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Nc(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(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 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(Uo(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,[Ja,Ga])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Da(t,[Ya,mc])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ds(i);return new Ac({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ms(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return 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=Ac.fromDurationLike(t),i={};for(const t of Sc)(Yo(e.values,t)||Yo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return xc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=ha(t(this.values[i],i));return xc(this,{values:e},!0)}get(t){return this[Ac.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Ac.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return xc(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Nc(this.matrix,t),xc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return xc(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Ac.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;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 Nc(this.matrix,e),xc(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return xc(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Mc{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new hs(i);return new Mc({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Mc.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:Mc.invalid("missing or invalid end"):Mc.invalid("missing or invalid start")}(i,n);return null==r?new Mc({start:i,end:n}):r}static after(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Mc.fromDateTimes(t,s);if(r){const i=Ac.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Ac.fromISO(i,e);if(t.isValid)return Mc.before(s,t)}}return Mc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?Mc.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Mc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Ac.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Mc.fromDateTimes(n,i)),n=i,r+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:Mc.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return Mc.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Mc.fromDateTimes(e,t.time)),e=null);return Mc.merge(n)}difference(...t){return Mc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Ac.invalid(this.invalidReason)}mapEndpoints(t){return Mc.fromDateTimes(t(this.s),t(this.e))}}class 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:$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 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 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 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 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=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=Ac.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Ko(t.c.year,i?6:4),e?(n+="-",n+=Ko(t.c.month),n+="-",n+=Ko(t.c.day)):(n+=Ko(t.c.month),n+=Ko(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Ko(t.c.hour);return e?(o+=":",o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ko(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Ko(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Ko(Math.trunc(-t.o/60)),o+=":",o+=Ko(Math.trunc(-t.o%60))):(o+="+",o+=Ko(Math.trunc(t.o/60)),o+=":",o+=Ko(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(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=Ho(t.weekYear),r=Go(t.weekNumber,1,aa(t.weekYear,e,i)),s=Go(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=Go(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(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 $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?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}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Po(e,this.loc),r=!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,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):Jc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Jc}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():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 Ac.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=(a=e,Array.isArray(a)?a:[a]).map(Ac.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Mc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(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 Ns}static get TIME_24_SIMPLE(){return As}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Ms}static get TIME_24_WITH_LONG_OFFSET(){return 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=Su();return(Iu=function(t,e){return i[t-=470]})(t,e)}function Su(){const t=["monthLong","week","day","year","664HwAxLF","weekdayLong","3300824dYAbSx","toRelativeCalendar","month","1737999tyjyCW","540780deQVJY","8NyTtHx","startOf","2997888SRlDdJ","toJSDate","hasSame","313362sqkagJ","10ndAEHW","local","2676CFtVmx","7682xzcvfm","setLocale","minus","fromJSDate"];return(Su=function(){return t})()}function Ou(t,e){const i=Iu,n=wu[i(489)](t)[i(487)](e),r=wu[i(484)](),s=r[i(488)]({days:1})[i(478)](i(492));let o,a;return n[i(481)](r,i(492))?(o=n[i(478)](i(492))[i(480)](),a=n[i(473)]()):n[i(481)](s,i(492))?(o=s[i(480)](),a=n[i(473)]()):n[i(481)](r,i(491))?(o=n[i(478)](i(491))[i(480)](),a=n[i(471)]||""):n[i(481)](r,i(493))?(o=n[i(478)](i(474))[i(480)](),a=n[i(490)]||""):(o=n[i(478)](i(493))[i(480)](),a=String(n[i(493)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Iu,i=t();for(;;)try{if(284748===parseInt(e(486))/1+-parseInt(e(470))/2*(-parseInt(e(485))/3)+-parseInt(e(477))/4*(-parseInt(e(476))/5)+-parseInt(e(479))/6+parseInt(e(482))/7+parseInt(e(472))/8+parseInt(e(475))/9*(-parseInt(e(483))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Su);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Pn().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Un();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Nu=Ru;function Au(){const t=["add","10cWnbEb","_revisionActions","createCollection","revisionViews","ck-revision-history-sidebar__time-period__label","3139228GKYCyx","773087fOBhrL","341570wCBQTd","1012464wzNsdu","ck-revision-history-sidebar__time-period","startDate","span","3604088LYcDAl","3790075DmqKte","remove","639pqrCXp","setName","select","168183XxCEiU","find","delegate","addRevision","ck-revision-history-sidebar__time-period__revisions","30BqvNSI","div","uiLanguage","locale","setTemplate","removeRevision","localizedPeriodName","_requireRevisionName"];return(Au=function(){return t})()}function Ru(t,e){const i=Au();return(Ru=function(t,e){return i[t-=113]})(t,e)}!function(t){const e=Ru,i=t();for(;;)try{if(480592===parseInt(e(137))/1*(-parseInt(e(119))/2)+parseInt(e(127))/3+-parseInt(e(124))/4+-parseInt(e(132))/5+parseInt(e(142))/6*(parseInt(e(125))/7)+-parseInt(e(131))/8+-parseInt(e(134))/9*(-parseInt(e(126))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Au);class Mu extends En.View{constructor(t,e,i,n){const r=Ru;super(t);const s=Ou(e,this[r(113)][r(144)])[r(116)];this[r(129)]=e,this[r(122)]=this[r(121)](),this[r(120)]=i,this[r(117)]=n,this[r(122)][r(139)](r(136)).to(this),this[r(122)][r(139)](r(135)).to(this),this[r(114)]({tag:r(143),attributes:{class:["ck",r(128)]},children:[{tag:r(130),attributes:{class:["ck",r(123)]},children:[{text:s}]},{tag:r(143),attributes:{class:["ck",r(141)]},children:this[r(122)]}]})}[Nu(140)](t){const e=Nu,i=new cs(this[e(113)],t,this[e(120)],this[e(117)]);this[e(122)][e(118)](i)}[Nu(115)](t){const e=Nu,i=this[e(122)][e(138)]((e=>e.id===t.id));this[e(122)][e(133)](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 Du(){const t=["4545936nDHNZy","span","7008897DdMfKe","setTemplate","ck-reset_all","40OIEqkg","77784kEqENl","3bPLGcT","ck-revision-history-sidebar__header","history","6IFlRNQ","1074950iQknzN","ck-revision-history-sidebar__header__label","498700uLpfTW","Revision history","539828UdbbNH","div","content","7825980BvoLcM"];return(Du=function(){return t})()}function Cu(t,e){const i=Du();return(Cu=function(t,e){return i[t-=268]})(t,e)}!function(t){const e=Cu,i=t();for(;;)try{if(718339===-parseInt(e(275))/1+-parseInt(e(271))/2*(-parseInt(e(286))/3)+parseInt(e(273))/4*(parseInt(e(284))/5)+parseInt(e(270))/6*(parseInt(e(281))/7)+parseInt(e(285))/8+-parseInt(e(279))/9+-parseInt(e(278))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Du);class ju extends En.View{constructor(t){const e=Cu;super(t);const i=new En.IconView;i[e(277)]=qi.icons[e(269)],this[e(282)]({tag:e(276),attributes:{class:["ck",e(283),e(268)]},children:[i,{tag:e(280),attributes:{class:["ck",e(272)]},children:[Qi(t,e(274))]}]})}}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;function Pu(t,e){const i=Wu();return(Pu=function(t,e){return i[t-=287]})(t,e)}const zu=Pu;function Wu(){const t=["startDate","2304606smcnoV","revisionViews","highlight","_revisions","map","isEnabled","timePeriodViews","10rTXfNd","remove","selectRevision","_getTimePeriodViewByStartDate","render","ck-reset","deselect","addRevision","set","7814736NiLGMa","removeRevision","_addRevision","setName","fire","add","660235KgWpKf","5gnmimz","_revisionActions","544dOXHPy","createCollection","107611Vzymte","flat","207474YehCrR","getTime","div","get","select","914463UTofQa","revisionSetName","ck-rounded-corners","_removeRevision","ck-revision-history-sidebar","some","revisionSelected","ck-revision-history-sidebar__timeline","uiLanguage","createdAt","setTemplate","bindTemplate","highlightRevisions","2xPNKRT","ck-disabled","24TUFhKC","locale","_requireRevisionName","delegate","find","1750077axtlhZ","unhighlight"];return(Wu=function(){return t})()}!function(t){const e=Pu,i=t();for(;;)try{if(532908===parseInt(e(333))/1*(parseInt(e(301))/2)+parseInt(e(340))/3*(-parseInt(e(303))/4)+-parseInt(e(334))/5*(parseInt(e(311))/6)+parseInt(e(338))/7*(parseInt(e(336))/8)+-parseInt(e(308))/9*(-parseInt(e(318))/10)+parseInt(e(288))/11+-parseInt(e(327))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wu);class Zu extends En.View{constructor(t,e,i,n){const r=Pu;super(t);const s=this[r(299)];this[r(317)]=this[r(337)](),this[r(317)][r(306)](r(287)).to(this),this[r(317)][r(306)](r(330)).to(this),this[r(314)]=e,this[r(335)]=i,this[r(305)]=n,this.on(r(287),((t,e)=>{const i=r;this[i(331)](i(294),e)})),this.on(r(330),((t,e)=>{const i=r;this[i(331)](i(289),e)})),this[r(326)](r(316),!1),this[r(298)]({tag:r(342),attributes:{class:["ck",r(323),r(290),r(292)]},children:[new ju(t),{tag:r(342),attributes:{class:["ck",r(295),s.if(r(316),r(302),(t=>!t))]},children:this[r(317)]}]})}[zu(322)](){const t=zu;super[t(322)]();for(const e of this[t(314)])this[t(329)](e);this[t(314)].on(t(332),((e,i)=>{this[t(329)](i)})),this[t(314)].on(t(319),((e,i)=>{this[t(291)](i)}))}get[zu(312)](){const t=zu;return this[t(317)][t(315)]((e=>e[t(312)][t(315)]((t=>t))))[t(339)]()}[zu(320)](t){const e=zu;for(const i of this[e(312)])t&&t.id===i.id?i[e(287)]():i[e(324)]()}[zu(300)](t){const e=zu;for(const i of this[e(312)])t[e(293)]((({id:t})=>t===i.id))?i[e(313)]():i[e(309)]()}[zu(329)](t){const e=zu,i=Ou(t[e(297)],this[e(304)][e(296)])[e(310)];let n=this[e(317)][e(343)](0);n&&n[e(310)][e(341)]()===i[e(341)]()||(n=new Mu(this[e(304)],i,this[e(335)],this[e(305)]),this[e(317)][e(332)](n)),n[e(325)](t)}[zu(291)](t){const e=zu,i=Ou(t[e(297)],this[e(304)][e(296)])[e(310)];this[e(321)](i)[e(328)](t)}[zu(321)](t){const e=zu;return this[e(317)][e(307)]((i=>i[e(310)][e(341)]()===t[e(341)]()))}}const Uu=qu;function Hu(){const t=["change:diff","RevisionsSidebar","_sidebarView","repository","_handleEditorDataReady","revisionHistory.revisionActions","getIndex","revisionHistory.requireRevisionName","4240AfNhHV","10250052tYjDHK","map","11clhuhi","config","length","element","961976PmBDjW","26930dBtzLW","Restore this revision","revisionSelected","name","21njSxxO","Name this revision","ready","isEnabled","restoreRevisionCallback","add","getRevision","listenTo","restoreRevision","getLaterVisibleRevision","focus","996cJZyPm","get","fieldView","plugins","isVisible","locale","isOfficialPlugin","defaultRevisionActions","Compare against selected","revisionSetName","setName","_handleRevisionSelected","revisionHistory.viewerSidebarContainer","_createRevisionActions","333OpCHSp","highlightRevisions","isPremiumPlugin","revisionHistory","appendChild","isReady","editor","_handleRevisionSetName","nameRevision","string","render","selectRevision","destroy","action","timePeriodViews","init","revisionViews","getRevisionsInDiff","newRevisionId","_revisionsRepository","availableRevisionActions","assign","120860EiSWCp","compare","compareAgainstSelected","706433JBQvaq","select","75XtpepE","remove","isSelected","data","_revisionViewer","diff","getEarlierVisibleRevision","_handleDiffChange","requires","1873768GJDFMz","_revisions","pluginName","bind"];return(Hu=function(){return t})()}!function(t){const e=qu,i=t();for(;;)try{if(603002===parseInt(e(482))/1+-parseInt(e(428))/2*(-parseInt(e(484))/3)+parseInt(e(493))/4+parseInt(e(420))/5*(-parseInt(e(443))/6)+-parseInt(e(432))/7*(parseInt(e(427))/8)+parseInt(e(457))/9*(parseInt(e(479))/10)+-parseInt(e(423))/11*(parseInt(e(421))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hu);class $u extends qi.Plugin{static get[Uu(495)](){return Uu(413)}static get[Uu(449)](){return!0}static get[Uu(459)](){return!0}static get[Uu(492)](){return[br]}constructor(t){const e=Uu;super(t),this[e(488)]=t[e(446)][e(444)](br),this[e(476)]=this[e(488)][e(415)],this[e(414)]=null}[Uu(472)](){const t=Uu,e=this[t(476)][t(494)],i=this[t(456)](),n=this[t(463)][t(424)][t(444)](t(455));this[t(414)]=new Zu(this[t(463)][t(448)],e,i,this[t(463)][t(424)][t(444)](t(419))),this[t(414)].on(t(430),this[t(454)][t(496)](this)),this[t(414)].on(t(452),this[t(464)][t(496)](this)),this[t(414)][t(496)](t(435)).to(this[t(488)]),this[t(414)][t(471)].on(t(437),((e,i)=>{const n=t;i[n(473)].on(n(437),((t,e)=>{const i=n;e[i(496)](i(435),i(462)).to(this[i(488)])}))})),this[t(414)][t(467)](),this[t(439)](this[t(463)][t(487)],t(434),this[t(416)][t(496)](this)),this[t(439)](this[t(488)],t(412),this[t(491)][t(496)](this)),n[t(461)](this[t(414)][t(426)])}[Uu(469)](){const t=Uu;this[t(414)][t(426)][t(485)](),this[t(414)][t(469)]()}[Uu(416)](){const t=Uu,e=this[t(476)][t(438)](0);if(e){const i=this[t(476)][t(490)](e.id);this[t(488)][t(480)](e,i)}}[Uu(454)](t,e){const i=Uu,n=this[i(476)][i(438)](e.id),r=this[i(476)][i(490)](n.id);this[i(488)][i(480)](n,r)}[Uu(464)](t,e){const i=Uu;this[i(476)][i(438)](e.id)[i(453)](e[i(431)])}[Uu(491)](t,e,i){const n=Uu,r=this[n(476)][n(474)](i);r[n(425)]>2?(this[n(414)][n(458)](r),this[n(414)][n(468)](null)):(this[n(414)][n(458)]([]),this[n(414)][n(468)](r[0]))}[Uu(456)](){const t=Uu,e=this[t(463)],i=$u[t(477)],n=e[t(424)][t(444)](t(417))||$u[t(450)];if(n[t(425)])return n[t(422)]((n=>{const r=t,s=r(466)==typeof n?Object[r(478)]({},i[n]):n;return s[r(470)]=s[r(470)][r(496)](this,e),s[r(447)]&&(s[r(447)]=s[r(447)][r(496)](this,e)),s}))}}function qu(t,e){const i=Hu();return(qu=function(t,e){return i[t-=412]})(t,e)}$u[Uu(450)]=[Uu(481),Uu(440),Uu(465)],$u[Uu(477)]={compareAgainstSelected:{name:Uu(451),action:({plugins:t},e)=>{const i=Uu,n=t[i(444)](br),r=n[i(415)];let s=n[i(489)][i(475)],o=e.id;r[i(418)](s)>r[i(418)](o)&&([s,o]=[o,s]),n[i(480)](s,o)},isVisible:({plugins:t},e)=>{const i=Uu,n=t[i(444)](br);return!(n[i(415)][i(474)](n[i(489)])[i(425)]>2||e[i(486)])}},restoreRevision:{name:Uu(429),action:(t,{id:e})=>{const i=Uu;t[i(424)][i(444)](i(460))[i(436)](e)},isVisible:({plugins:t},e)=>!!t[Uu(444)](br)[Uu(415)][Uu(441)](e.id)},nameRevision:{name:Uu(433),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Uu,r=t[n(444)](br),s=r[n(415)][n(490)](e);r[n(480)](e,s),i[n(442)](),i[n(445)][n(483)]()}}};const Bu=$u,Yu=Ju;function Ju(t,e){const i=Gu();return(Ju=function(t,e){return i[t-=193]})(t,e)}function Gu(){const t=["element","editor","addToolbar","bind","_view","_toolbarConfig","3164186FwWHue","attachDomRoot","focusTracker","editing","stickyPanel","view","editable","_elementReplacer","name","document","fillFromConfig","rootName","324jtrUpD","9839688qJFNau","377991fussEr","viewportOffset","_initToolbar","6817595cCEabb","isActive","destroy","setEditableElement","detachDomRoot","getRoot","toolbar","110mICBPO","isFocused","fire","6qUkbBC","replace","config","limiterElement","viewportTopOffset","get","init","restore","componentFactory","ready","961320OWrgFS","4837973ioMOpi","18968SxbOFn","render"];return(Gu=function(){return t})()}!function(t){const e=Ju,i=t();for(;;)try{if(791353===-parseInt(e(222))/1+-parseInt(e(232))/2+-parseInt(e(197))/3*(-parseInt(e(224))/4)+-parseInt(e(202))/5*(-parseInt(e(212))/6)+parseInt(e(223))/7+parseInt(e(198))/8+-parseInt(e(199))/9*(parseInt(e(209))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gu);class Ku extends En.EditorUI{get[Yu(237)](){return this[Yu(230)]}constructor(e,i){const n=Yu;super(e),this[n(230)]=i,this[n(231)]=(0,En.normalizeToolbarConfig)(e[n(214)][n(217)](n(208))),this[n(239)]=new t.ElementReplacer}get[Yu(226)](){const t=Yu;return this[t(237)][t(226)]}[Yu(218)](t){const e=Yu,i=this[e(227)],n=this[e(237)],r=i[e(235)][e(237)],s=n[e(238)],o=r[e(194)][e(207)]();s[e(193)]=o[e(196)],n[e(225)]();const a=s[e(226)];this[e(205)](s[e(193)],a),n[e(238)][e(229)](e(210)).to(this[e(234)]),r[e(233)](a),this[e(239)][e(213)](t,this[e(226)]),this[e(201)](),this[e(211)](e(221))}[Yu(204)](){const t=Yu;super[t(204)]();const e=this[t(237)],i=this[t(227)][t(235)][t(237)];this[t(239)][t(219)](),i[t(206)](e[t(238)][t(193)]),e[t(204)]()}[Yu(201)](){const t=Yu,e=this[t(237)];e[t(236)][t(229)](t(203)).to(this[t(234)],t(210)),e[t(236)][t(215)]=e[t(226)],e[t(236)][t(229)](t(216)).to(this,t(200),(({top:t})=>t)),e[t(208)][t(195)](this[t(231)],this[t(220)]),this[t(228)](e[t(208)])}}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;function tl(){var t=["6793290EprvDz","render","40266uNhVfo","3lbBChh","2vBKxkJ","content","shouldToolbarGroupWhenFull","toolbar","264461uxKoDL","main","3444030eXSQUu","7SontYW","_editable","stickyPanel","2472950PyXKcV","add","top","editable","1700188wkVBTg","1796312PtLXyA"];return(tl=function(){return t})()}var el=il;function il(t,e){var i=tl();return(il=function(t,e){return i[t-=409]})(t,e)}!function(t){for(var e=il,i=t();;)try{if(433317===-parseInt(e(418))/1*(parseInt(e(414))/2)+parseInt(e(413))/3*(-parseInt(e(428))/4)+parseInt(e(424))/5+-parseInt(e(412))/6+parseInt(e(421))/7*(parseInt(e(409))/8)+parseInt(e(410))/9+-parseInt(e(420))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tl);class nl extends En.BoxedEditorUIView{get[el(427)](){return this[el(422)]}constructor(t,e,i={}){var n=el;super(t),this[n(423)]=new En.StickyPanelView(t),this[n(417)]=new En.ToolbarView(t,{shouldGroupWhenFull:i[n(416)]}),this[n(422)]=new En.InlineEditableUIView(t,e)}[el(411)](){var t=el;super[t(411)](),this[t(423)][t(415)][t(425)](this[t(417)]),this[t(426)][t(425)](this[t(423)]),this[t(419)][t(425)](this[t(427)])}}const rl=ol;function sl(){const t=["initialData","data","3222136pOIiSC","15925959pGUtLl","690oImOQP","config","document","6652576NrCBBC","destroy","initPlugins","createRoot","editing","220155KxhSTB","7011186MtqMij","create","model","_ui","ready","view","sourceElement","4iInAnd","init","locale","updateSourceElement","131891zMxoyB","fire","get","11556RJIOeo"];return(sl=function(){return t})()}function ol(t,e){const i=sl();return(ol=function(t,e){return i[t-=360]})(t,e)}!function(t){const e=ol,i=t();for(;;)try{if(813630===-parseInt(e(367))/1*(parseInt(e(363))/2)+-parseInt(e(383))/3+parseInt(e(370))/4*(parseInt(e(375))/5)+parseInt(e(384))/6+parseInt(e(378))/7+parseInt(e(373))/8+-parseInt(e(374))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sl);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[ol(387)]}constructor(t,e){const i=ol;super(e),this[i(362)]=t,this[i(386)][i(377)][i(381)]();const n=new nl(this[i(365)],this[i(382)][i(361)],{shouldToolbarGroupWhenFull:!0});this[i(387)]=new Ku(this,n)}[rl(379)](){const t=rl;return this[t(366)](),this.ui[t(379)](),super[t(379)]()}static async[rl(385)](t,e){const i=rl,n=new this(t,e);return await n[i(380)](),await n.ui[i(364)](t),await n[i(372)][i(364)](n[i(376)][i(369)](i(371))||""),n[i(368)](i(360)),n}}const cl=dl;function ul(){const t=["end","revisionHistory.editorContainer","from","includes","indexOf","save","RevisionHistory","92492XZSwEB","changesNavigation","_showRevisionViewer","revisionHistory.restoreRevisionCallback","isReady","296qzkmEk","detachRoot","result","style","fromVersion","users","push","Autosave","revisionHistory","enableReadOnlyMode","getRevisionRootsAttributes","revisionHistory.viewerContainer","display","$graveyard","fromCharCode","exitToEditing","revisionHistory.requireRevisionName","plugins","isPremiumPlugin","rootName","commands","adapter","getRevisions","createdAt","block","Annotations","toLocaleTimeString","editor","data","update","bind","define","_getRevisionViewerEditorConfig","_recalculatePageBreaks","addRoot","25ZNDwaE","isEnabled","RevisionTracker","RevisionViewerIntegration","has","revision-history-viewer-opened","RestrictedEditingMode","isReadOnly","21936673uQDHfm","map","toolbar","_cleanUp","restoreRevision","init","selection","setAttribute","refreshPositioning","catch","_restoreRevision","restrictedEditingException","document","getAttributeKeys","_update","closeRevisionViewerCallback","_enhanceCloseRevisionViewerCallback","change","roots","removeMarker","isAttached","repository","removeSelectionAttribute","PaginationLookup","enqueueChange","toLocaleDateString","addRevisionData","disableReadOnlyMode","then","insert","error","requires","getUser","RevisionHistoryUI","9044536DWSfwn","isOpen","6154eczMtW","create","numeric","getRoot","11461590naexiX","_viewerEditor","get","join","destroy","10Jgqbvy","getRevisionData","hide","revision-history-missing-configuration","showRevisionViewerCallback","removeAttribute","name","translations","pluginName","revisionHistory.viewerEditorElement","revisionHistory.showRevisionViewerCallback","set","Dialog","Restored","toVersion","remove","_enhanceShowRevisionViewerCallback","long","addUser","createRangeIn","config","165345iscXZX","setSelection","7zewmMi","markers","toJSON","saveRevision","locale","isAnonymous","creator","RevisionViewer","keys","1877898iXdOvU","revisionHistory.closeRevisionViewerCallback","getMarkersGroup","_closeRevisionViewer","model","uiLanguage","refreshVisibility","lazyRoots","RevisionsRepository","Users","getRevision","parse","none","isOfficialPlugin"];return(ul=function(){return t})()}!function(t){const e=dl,i=t();for(;;)try{if(688025===parseInt(e(527))/1*(-parseInt(e(448))/2)+-parseInt(e(557))/3+parseInt(e(589))/4*(parseInt(e(483))/5)+-parseInt(e(568))/6+parseInt(e(559))/7*(parseInt(e(525))/8)+-parseInt(e(531))/9+-parseInt(e(536))/10*(-parseInt(e(491))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ul);const ll=[cl(524),cl(489)];class hl extends qi.Plugin{static get[cl(544)](){return cl(486)}static get[cl(581)](){return!0}static get[cl(466)](){return!0}constructor(t){const e=cl;function i(t){const e=dl;return t[e(492)]((t=>String[e(462)](t)))[e(534)]("")}super(t),this[e(450)]=e(582),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function dl(t,e){const i=ul();return(dl=function(t,e){return i[t-=444]})(t,e)}class fl extends qi.Plugin{static get[cl(544)](){return cl(588)}static get[cl(581)](){return!0}static get[cl(466)](){return!0}static get[cl(522)](){return[xn,tr]}constructor(e){const i=cl;if(super(e),!this[i(475)][i(556)][i(533)](i(456)))throw new t.CKEditorError(i(539),this);this[i(532)]=null,this[i(475)][i(556)][i(479)](i(546),(t=>this[i(445)]({...t,translations:this[i(475)][i(563)][i(543)]}))),this[i(475)][i(556)][i(479)](i(569),(t=>this[i(571)](t))),this[i(475)][i(556)][i(479)](i(446),(t=>this[i(501)](t))),this[i(475)][i(556)][i(479)](i(464),!1),this[i(552)](),this[i(507)]()}set[cl(469)](t){const e=cl;this[e(475)][e(465)][e(533)](e(485))[e(469)]=t}get[cl(469)](){const t=cl;return this[t(475)][t(465)][t(533)](t(485))[t(469)]}[cl(517)](t){const e=cl;return this[e(475)][e(465)][e(533)](e(485))[e(517)](t)}[cl(578)](t){const e=cl;return this[e(475)][e(465)][e(533)](e(576))[e(578)](t)}[cl(470)](t){const e=cl;return this[e(475)][e(465)][e(533)](e(576))[e(470)](t||{toJSON:!1})}[cl(480)](){const e=cl,i=this[e(475)],n=(0,Bi.sanitizeEditorConfig)(i,ll),r=i[e(465)][e(533)](e(485)),s=i[e(465)][e(533)](e(577))[e(453)];return n[e(493)]=[e(463),e(495),e(444)],delete n[e(575)],n[e(465)][e(454)](hl,br,Pr,class extends qi.Plugin{static get[e(522)](){return[br,e(577)]}[e(496)](){const n=e,o=this[n(475)][n(465)][n(533)](n(577));for(const t of s)t[n(564)]||o[n(523)](t.id)||o[n(554)](t);const a=r[n(512)][n(470)]();let c=null;const u=this[n(475)][n(465)][n(533)](n(566));u[n(469)]=r[n(469)],u[n(478)](n(484)).to(r),this[n(475)][n(468)][n(533)](n(495))[n(478)](n(484)).to(i,n(490),(t=>!t));for(const e of a){const i=null===e[n(565)];if(i&&e[n(550)]===e[n(452)])continue;const s=e[n(561)]();u[n(517)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(505)](s,o);else if(!o){const e=a[u(561)]();e.id=(0,t.uid)(),r[u(562)](e,a[u(550)])[u(519)]((t=>{c=t}))}}else e[u(505)](s,o)}))}}},Bu),n}[cl(552)](){const t=cl,e=this[t(475)][t(556)][t(533)](t(456))[t(540)];this[t(475)][t(556)][t(547)](t(546),(async()=>{const i=t;this[i(475)][i(457)](i(488));const n=this[i(475)][i(465)][i(533)](i(485));if(this[i(475)][i(465)][i(487)](i(455))){const t=this[i(475)][i(465)][i(533)](i(455));await t[i(587)]()}else await n[i(477)]();if(this[i(475)][i(465)][i(487)](i(514))&&this[i(475)][i(465)][i(533)](i(514))[i(481)](),this[i(475)][i(465)][i(487)](i(548))){const t=this[i(475)][i(465)][i(533)](i(548));t[i(526)]&&t[i(538)]()}const r=this[i(480)]();return e(r)[i(519)]((t=>{const e=i;return this[e(532)]=t,this[e(475)][e(465)][e(487)](e(473))&&this[e(475)][e(465)][e(533)](e(473))[e(574)](),t}))[i(500)]((t=>(console[i(521)](t),this[i(475)][i(518)](i(488)),null)))}))}[cl(507)](){const t=cl,e=this[t(475)][t(556)][t(533)](t(456))[t(506)];this[t(475)][t(556)][t(547)](t(569),(()=>(this[t(475)][t(465)][t(487)](t(514))&&this[t(475)][t(465)][t(533)](t(514))[t(481)](),this[t(532)][t(465)][t(533)](t(566))[t(494)](),e(this[t(532)])[t(519)]((()=>{const e=t;if(this[e(475)][e(518)](e(488)),this[e(532)]=null,this[e(475)][e(465)][e(487)](e(473))){const t=this[e(475)][e(465)][e(533)](e(473));t[e(574)](),t[e(499)]()}})))))}[cl(445)](t){const e=cl,i=this[e(475)][e(556)][e(533)](e(583)),n=this[e(475)][e(556)][e(533)](e(459)),r=this[e(475)][e(556)][e(533)](e(545));return al[e(528)](r,t)[e(519)]((t=>(n[e(451)][e(460)]=e(472),i[e(451)][e(460)]=e(580),t)))}[cl(571)](t){const e=cl,i=this[e(475)][e(556)][e(533)](e(583));return this[e(475)][e(556)][e(533)](e(459))[e(451)][e(460)]=e(580),i[e(451)][e(460)]="",t[e(535)]()}async[cl(501)](t){const e=cl,i=this[e(475)],n=this[e(532)][e(465)][e(533)](e(566)),r=i[e(465)][e(533)](e(485)),s=n[e(512)][e(578)](t);let o,a,c;try{o=await n[e(537)](s),a=await n[e(458)](s)}catch(t){return void console[e(521)](t)}i[e(572)][e(508)]((t=>{const n=e;for(const e of Array[n(584)](i[n(572)][n(560)][n(570)](n(502))))t[n(510)](e)})),n[e(447)]=!1,i[e(572)][e(515)]((t=>{const n=e;t[n(558)](null),t[n(513)](i[n(572)][n(503)][n(497)][n(504)]());const r=Object[n(567)](o);for(const e of i[n(572)][n(503)][n(509)])n(461)!=e[n(467)]&&e[n(511)]()&&!r[n(585)](e[n(467)])&&t[n(449)](e);for(const e of r){let r=i[n(572)][n(503)][n(530)](e);r&&r[n(511)]()||(r=t[n(482)](e));const s=a[e],c=Object[n(567)](s),u=o[e];for(const e of r[n(504)]())c[n(585)](e)||t[n(541)](e,r);for(const i of c)t[n(498)](i,a[e][i],r);t[n(551)](t[n(555)](r)),t[n(520)](i[n(476)][n(579)](u,r),r,0)}}));const u=Qi(i[e(563)],e(549));return c=s[e(542)]?-1==s[e(542)][e(586)](u)?u+": "+s[e(542)]:s[e(542)]:u+": "+s[e(471)][e(516)](i[e(563)][e(573)],{month:e(553),day:e(529)})+", "+s[e(471)][e(474)](i[e(563)][e(573)],{hour:e(529),minute:e(529)}),await r[e(562)]({name:c}),n[e(447)]=!0,i[e(556)][e(533)](e(456))[e(506)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=406]})(t,e)}function pl(){var t=["909912ztpVSu","235557GJqBXg","2982375NIabMV","310mkcAsW","2pdoaxT","3132789Celtzn","4eMGlYm","3572051ekpmMD","10772mJDqza","1535744HeYFCH"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(985276===-parseInt(e(410))/1*(parseInt(e(414))/2)+parseInt(e(411))/3+-parseInt(e(412))/4*(-parseInt(e(408))/5)+-parseInt(e(406))/6+parseInt(e(413))/7+-parseInt(e(415))/8+parseInt(e(407))/9*(-parseInt(e(409))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
5
+ */(()=>{var t={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},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},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},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},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},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},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},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:calc(var(--ck-ui-component-min-height) + 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},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},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},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},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},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},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}},168:t=>{"use strict";t.exports=function(t){return t[1]}},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}}},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)}},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}},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},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)}}}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},237:t=>{"use strict";t.exports=CKEditor5.dll}},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:()=>$i,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>xn,RevisionViewer:()=>br,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Pr,RevisionsRepository:()=>Ki,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 R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const M=function(t){if(!R(t))return!1;var e=N(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const E=k["__core-js_shared__"];var D,V=(D=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"";const C=function(t){return!!V&&V 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))&&(M(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 G=q(Object,"create");const Y=function(){this.__data__=G?G(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(G){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 G?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]=G&&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=Y,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]"==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 Rt=function(){return!1};var Mt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Et=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,Dt=Et&&Et.exports===Mt?k.Buffer:void 0;const Vt=(Dt?Dt.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[N(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 Gt=function(t,e){var i=Nt(t),n=!i&&At(t),r=!i&&!n&&Vt(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 Yt=Object.prototype;const Jt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Yt)};const Kt=function(t,e){return function(i){return t(e(i))}};const Xt=Kt(Object.keys,Object);var Qt=Object.prototype.hasOwnProperty;const te=function(t){if(!Jt(t))return Xt(t);var e=[];for(var i in Object(t))Qt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!M(t)};const ie=function(t){return ee(t)?Gt(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)?Gt(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=q(k,"DataView");const Ne=q(k,"Promise");const Re=q(k,"Set");const Me=q(k,"WeakMap");var Ee="[object Map]",De="[object Promise]",Ve="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ae),Le=F(B),Pe=F(Ne),ze=F(Re),We=F(Me),Ue=N;(Ae&&Ue(new Ae(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Ee||Ne&&Ue(Ne.resolve())!=De||Re&&Ue(new Re)!=Ve||Me&&Ue(new Me)!=Ce)&&(Ue=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 Ee;case Pe:return De;case ze:return Ve;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 Ge=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Ye=/\w*$/;const Je=function(t){var e=new t.constructor(t.source,Ye.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 Ge(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=Nt(e);if(h){if(a=$e(e),!c)return me(e,a)}else{var d=Ze(e),f=d==di||"[object GeneratorFunction]"==d;if(Vt(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 Ri=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 Mi=function(t){return null==t?"":Ri(t)};const Ei=function(t,e){return Nt(t)?t:bi(t,e)?[t]:xi(Mi(t))};const Di=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Vi=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Ei(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Di(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:Vi(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Ei(e,t)).length;null!=t&&i<n;)t=t[Di(e[i++])];return i&&i==n?t:void 0};const Li=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Pi=function(t,e){return e.length<2?t:Fi(t,Li(e,0,-1))};const zi=function(t,e){return e=Ei(e,t),null==(t=Pi(t,e))||delete t[Di(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)},Ui=Zi;function Zi(t,e){const i=Hi();return(Zi=function(t,e){return i[t-=447]})(t,e)}function Hi(){const t=["toJSON","name","toVersion","createdAt","setAttribute","5IIjNXm","_update","map","authors","diffData","attributes","2346744tTIPOl","fire","3596EIwBht","813jaouAH","1005582rgdutL","setName","creatorId","authorsIds","creator","set","removeAttribute","630084AwzkIj","4532790jUojYo","3330236hDJrdX","9hQkSkF","fromVersion","337664yXNQkX"];return(Hi=function(){return t})()}!function(t){const e=Zi,i=t();for(;;)try{if(262402===parseInt(e(451))/1+-parseInt(e(474))/2+parseInt(e(466))/3*(-parseInt(e(465))/4)+parseInt(e(457))/5*(parseInt(e(467))/6)+parseInt(e(448))/7+parseInt(e(463))/8+parseInt(e(449))/9*(-parseInt(e(447))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hi);class $i extends((0,t.ObservableMixin)()){constructor(e){const i=Zi;super(),this.id=e.id||(0,t.uid)(),this[i(471)]=e[i(471)]||null,this[i(460)]=e[i(460)]||[],this[i(461)]=e[i(461)]||null,this[i(454)]=e[i(454)]||0,this[i(450)]=e[i(450)]||0,this[i(472)](i(453),e[i(453)]||""),this[i(472)](i(455),e[i(455)]||new Date),this[i(472)](i(462),e[i(462)]||{})}[Ui(468)](t){this[Ui(458)]({name:t})}[Ui(456)](t,e){const i=Ui,n=vi(this[i(462)]);Ci(n,t,e),this[i(458)]({attributes:n})}[Ui(473)](t){const e=Ui,i=vi(this[e(462)]);Wi(i,t),this[e(458)]({attributes:i})}[Ui(458)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(453),i(455),i(461),i(460),i(462),i(454),i(450),i(469)];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(460)]&&(r[i(470)]=r[i(460)][i(459)]((t=>t.id)),delete r[i(460)]),this[i(464)](i(458),r,e))}[Ui(452)](){const t=Ui;return{id:this.id,name:this[t(453)],creatorId:this[t(471)]?this[t(471)].id:null,authorsIds:this[t(460)][t(459)]((t=>t.id)),diffData:this[t(461)],createdAt:this[t(455)],attributes:this[t(462)],fromVersion:this[t(450)],toVersion:this[t(454)]}}}var qi=i(782),Bi=i(211),Gi=i(783);const Yi=Ji;function Ji(t,e){const i=Xi();return(Ji=function(t,e){return i[t-=190]})(t,e)}!function(t){const e=Ji,i=t();for(;;)try{if(511541===parseInt(e(205))/1+-parseInt(e(218))/2+parseInt(e(190))/3*(parseInt(e(215))/4)+parseInt(e(229))/5*(-parseInt(e(233))/6)+-parseInt(e(230))/7*(-parseInt(e(196))/8)+-parseInt(e(200))/9*(parseInt(e(219))/10)+parseInt(e(199))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xi);class Ki extends qi.Plugin{static get[Yi(231)](){return[Bi.Users]}static get[Yi(209)](){return Yi(223)}static get[Yi(242)](){return!0}static get[Yi(214)](){return!0}get[Yi(211)](){const t=Yi;return this[t(225)][t(211)]}constructor(e){const i=Yi;super(e),this[i(225)]=new t.Collection}[Yi(207)](){!async function(e){const i=k([90,67,105,68,69,78,70,115,109,100,81,79,48,71,82,107,49,56,86,104,103,53,106,122,76,88,72,57,85,75,119,89,102,108,98,120,54,110,73,118,66,116,87,51,97,121,83,77,112,111,84,99,114,65,52,101,50,113,74,80,55,117]),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(239)](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([90]);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(193)]((t=>String[e(235)](t)))[e(213)]("")}!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:1737676800;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(220)]);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]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([100,101,118,101,108,111,112,109,101,110,116])&&(i=u(k([68,101,118,101,108,111,112,109,101,110,116,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)}[Yi(232)](t){const e=Yi,i=this[e(236)][e(195)][e(224)](e(240));return new $i({id:t.id,name:t[e(191)],creator:t[e(198)]?i[e(204)](t[e(198)]):null,diffData:t[e(227)]||t[e(192)],authors:t[e(212)][e(193)]((t=>i[e(204)](t))),createdAt:new Date(t[e(237)]),attributes:t[e(201)],fromVersion:t[e(244)],toVersion:t[e(222)]})}[Yi(206)](t,e=0){const i=Yi;this[i(225)][i(245)](t,e)}[Yi(208)](t){const e=Yi;return this[e(225)][e(224)](t)}[Yi(234)](t={toJSON:!1}){const e=Yi,i=Array[e(217)](this[e(225)]);return i[e(221)](),t[e(228)]?i[e(193)]((t=>t[e(228)]())):i}[Yi(243)](t){const e=Yi;return this[e(225)][e(243)](t)}[Yi(226)](t){const e=Yi,[,i]=this[e(210)](t,{direction:e(197)});return i}[Yi(203)](t){const e=Yi,[,i]=this[e(210)](t,{direction:e(216)});return i}[Yi(241)](t){const e=Yi,i=[];for(const n of this[e(210)](t[e(202)]))if(i[e(238)](n),n.id===t[e(194)])break;return i}*[Yi(210)](t,{direction:e=Yi(197),filter:i=()=>!0}={}){const n=Yi,r=n(197)===e?1:-1;let s=this[n(225)][n(224)](t),o=this[n(243)](s);for(yield s;s;){if(o+=r,s=this[n(208)](o),!s)return;i(s)&&(yield s)}}}function Xi(){const t=["createRevision","5946HaepjU","getRevisions","fromCharCode","editor","createdAt","push","isNaN","Users","getRevisionsInDiff","isOfficialPlugin","getIndex","fromVersion","add","1218oBJnLR","name","data","map","oldRevisionId","plugins","2018728WRVLoh","earlier","creatorId","22083600uCxFDG","8884215yAurUG","attributes","newRevisionId","getLaterVisibleRevision","getUser","928909HrBuyh","addRevision","afterInit","getRevision","pluginName","getRevisionsIterator","length","authorsIds","join","isPremiumPlugin","488YRkmnY","later","from","1965164YlLwRt","10RekrmC","href","reverse","toVersion","RevisionsRepository","get","_revisions","getEarlierVisibleRevision","diffData","toJSON","3820wynUEw","7TWkzWf","requires"];return(Xi=function(){return t})()}function Qi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=Nt(t),a=Nt(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&&Vt(t)){if(!Vt(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=On;function In(){const t=["Empty document","tableCell","getRoot","_generateTape","getOperations","values","createRange","destroy","_handleOperation","adapter","define","_baseRootsAttributes","createRangeIn","revision","plugins","getData","PENDING_ACTION_REVISION_HISTORY","_lastFrom","7oQaeUq","revisionHistoryLicenseKeyEvaluationLimit","expired","reInit","fromVersion","_calculateMetaData","revisionHistoryLicenseKeyTrialLimit","addRevision","_isInit","revisionHistoryLicenseKeyDomainLimit","_touchedMarkers","460624xxZuTw","_revisionId","document","getNodeByPath","dataDowncast","keepParagraph","featureNotAllowed","_setConversion","end","_makeRevision","_getVidAttributeName","size","deletion","howMany","map","getRevisionDocumentData","isEqual","toData","_fixPosition","developmentLimit","createPositionBefore","includes","markerToData","invalid","init","default","collaboration.channelId","split","getUser","config","nodes","_fixRange","PendingActions","_markChanges","_authorId","17503551ztLSGL","sourcePosition","revisionHistoryLicenseKeyDevelopmentLimit","_pendingAction","RevisionTracker","_handleSplitOperation","_savedMetaData","initialData","roots","_handleMarkerOperation","editor","creator","_handleRootAttributeOperation","getCurrentRevisionId","attributesBefore","data","87IhGXGK","isAdd","repository","range","vid_end","_revisionDataBuilder","element","createRevision","revisionHistoryLicenseKeyNotAllowed","requires","slice","newRange","_createFromRanges","_insertChild","_handleMergeOperation","set","_handleRootOperation","_getPreviousFrom","root","start","74274uqZMmd","_getViewJson","_bufferUpdate","getChildren","conversion","10OWHelN","targetPosition","revision:","setSource","_startingRevisionId","trim","attributes","bind","isAttached","_execute","add","stringify","revisionHistoryLicenseKeyUsageLimit","ready","initial","_diffRoots","setRevisionData","_replaceEditorDataWithRevisionData","filter","revision-start","_touched","dataToMarker","_transformMarkers","_cloneOperation","shift","_isAttached","children","_licenseKeyCheckInterval","name","getAncestors","markers","text","detachRoot","parse","has","baseVersion","getLatestVersion","previousPosition","data-revision-","_appendChild","get","finally","oldRange","getOperation","updateRevisions","_touchedRoots","revisionHistoryLicenseKeyExpired","16ZxunXZ","item","$text","_addPendingAction","push","getRevision","afterInit","_createInitialRevision","insertionPosition","update","trialLimit","195AKBWaG","_reset","attachChange","_removePendingAction","elementEnd","_removeRevisionMarkers","fromEntries","44152HuQmJA","createPositionFromPath","saveRevision","length","_lastTo","reverse","editor-initial-data-replaced-with-revision-data","_loadRevisionData","from","_markers","newValue","_getFromVersion","_applyOperations","isEnabled","offset","getTime","paragraph","NEGATIVE_INFINITY","Users","resolve","_idsRoots","locale","processor","createPositionAt","3982329EozXaJ","_getBaseVids","type","toModel","_processRootBeforeSave","RevisionsRepository","_diffRootsAttributes","deletions","vid_start","splitPosition","forEach","some","_fixOperation","getTransformedByOperation","affectsData","_operations","loadState","createdAt","evaluationLimit","sort","key","graveyardPosition","editing","RevisionHistory","changeRootAttribute","getRange","userId","_findInsertionIndex","addRootAttribute","_showLicenseError","attributesAfter","clone","upcast","_baseRoots","removeRootAttribute","history","_update","165GNkHRP","parent","buildRevisionData","addRoot","for","getAttribute","_bufferedUpdates","64564YWeDeb","_createCurrentRevision","_source","licenseKey","move","$graveyard","path","authors","_setAttribute","keys","marker","pluginName","_continueCurrentRevision","merge","_handleMoveOperation","view","domainLimit","491412WlFNiN","insertions","position","revisionHistoryLicenseKeyInvalid","useFillerType","getRevisions","remove","revision-end","rootsAttributes","diffData","getRootNames","getRevisionRootsAttributes","then","documentFragment","RealTimeCollaborationClient","isPremiumPlugin","getIndex","isOfficialPlugin","sendBufferedUpdates","toView","revisionHistory.resumeUnsavedRevision","insertion","Initial revision","creatorId","getWalker","vid","usageLimit","_loadState","reinsert","version","revisionHistoryLicenseKeyValid","isReady","toVersion","rootName","addRevisionData","_makeModelFromViewString","_copyMarkers","_clone","_loadedStateData","authorsIds","nodeAfter","clear","childCount","_prepareViewToSave","model","_getState","max","insert","_saveMetaData","stickiness","string","_handleInsertOperation","_makeIdsRoot","source","find","elementStart","hasContent","currentRevision","_baseIdsRoots","_initialRevisionId","_removeMetaData","offsetSize","getMovedRangeStart","delete","startsWith","getAttributes","marked","createPositionAfter","getChild","_isPendingUpdate","_startingVersion"];return(In=function(){return t})()}!function(t){const e=On,i=t();for(;;)try{if(331932===-parseInt(e(353))/1*(-parseInt(e(439))/2)+parseInt(e(281))/3*(-parseInt(e(371))/4)+parseInt(e(364))/5*(parseInt(e(301))/6)+parseInt(e(219))/7*(-parseInt(e(230))/8)+-parseInt(e(395))/9*(-parseInt(e(306))/10)+parseInt(e(432))/11*(parseInt(e(130))/12)+-parseInt(e(265))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(In);const Sn={c:Gi.ViewContainerElement,a:Gi.ViewAttributeElement,e:Gi.ViewEmptyElement,r:Gi.ViewRawElement,u:Gi.ViewUIElement};function On(t,e){const i=In();return(On=function(t,e){return i[t-=116]})(t,e)}class xn extends qi.Plugin{static get[_n(124)](){return _n(269)}static get[_n(147)](){return!0}static get[_n(145)](){return!0}static get[_n(290)](){return[Bi.Users,Ki,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(210)]=null,this[i(187)]=null,this[i(286)]=new An(this[i(275)]),this[i(189)]=this[i(275)][i(259)][i(346)](i(256))||i(320),this[i(438)]=new Map,this[i(168)]=null;const n=(0,t.uid)();this[i(441)]={history:this[i(275)][i(174)][i(232)][i(430)],getLatestVersion:()=>Promise[i(390)](this[i(275)][i(174)][i(232)][i(159)]),getCurrentRevisionId:()=>n},this[i(296)](i(161),!1),this[i(296)](i(384),!0),this[i(296)](i(199),!1),this[i(275)][i(259)][i(211)](i(150),!0),this[i(275)][i(305)][i(436)](i(427))[i(327)]({view:i(214)})}[_n(254)](){const t=_n;this[t(283)]=this[t(275)][t(215)][t(346)](t(400)),this[t(237)](),this[t(275)][t(280)].on(t(319),(()=>{const e=t,i=this[e(283)][e(358)](0),n=i&&null===i[e(276)]?i:null;if(this[e(125)]=!!n&&this[e(275)][e(259)][e(346)](e(150)),this[e(275)][e(215)][e(340)](e(144))){const t=this[e(441)][e(278)](),r=this[e(283)][e(358)](t);if(r)this[e(200)]=r[e(223)],this[e(125)]=!1;else{const t=this[e(441)][e(430)][e(410)][e(184)]((t=>!t[e(227)])),r=t?t[e(341)]:this[e(441)][e(430)][e(159)];i?(i[e(162)]<r&&i[e(431)]({toVersion:r}),this[e(125)]?(this[e(441)][e(278)]=()=>n.id,this[e(200)]=n[e(223)]):(this[e(200)]=i[e(162)],this[e(125)]=!1)):(this[e(200)]=r,this[e(125)]=!1)}}else n&&(this[e(275)][e(174)][e(232)][e(430)][e(159)]=Math[e(176)](n[e(162)],this[e(275)][e(174)][e(232)][e(430)][e(159)]),n[e(223)]===n[e(162)]?(0!==n[e(223)]&&(this[e(441)][e(278)]=()=>n.id),this[e(125)]=!1):this[e(125)]&&(this[e(441)][e(278)]=()=>n.id,this[e(200)]=n[e(223)])),this[e(125)]||(this[e(200)]=this[e(275)][e(174)][e(232)][e(159)]);this[e(286)][e(254)](this[e(441)][e(430)]),this[e(360)](this[e(200)]),this[e(440)](this[e(200)]),this[e(210)]&&this[e(148)]()})),this[t(313)](t(161)).to(this,t(199),(t=>!t)),this[t(116)]=this[t(275)][t(259)][t(346)](t(116));const e=this[t(275)];this[t(333)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(160)==s||i(133)==s||i(352)==s||i(228)==s||i(289)==s||i(220)==s||i(225)==s||i(267)==s||i(318)==s){delete e[r],n=s,clearInterval(this[i(333)]),this[i(333)]=void 0;break}}i(133)==n&&e[i(424)](i(253)),i(352)==n&&e[i(424)](i(221)),i(228)==n&&e[i(424)](i(129)),i(289)==n&&e[i(424)](i(236),i(418)),i(220)==n&&e[i(424)](i(413)),i(225)==n&&e[i(424)](i(363)),i(267)==n&&e[i(424)](i(249)),i(318)==n&&e[i(424)](i(156))}),1e3)}async[_n(359)](){const t=_n;if(this[t(283)][t(374)]>0){const e=this[t(283)][t(358)](0),i=await this[t(245)](e),n=await this[t(141)](e);this[t(323)](i,n)}}[_n(208)](){const t=_n;super[t(208)](),this[t(333)]&&clearInterval(this[t(333)])}[_n(309)](t){this[_n(441)]=t}async[_n(362)](){const t=_n,e=await this[t(441)][t(342)]();if(e>this[t(187)][t(162)]){await this[t(157)]();const i=this[t(434)]({revision:this[t(187)],to:e});i[t(120)]=i[t(169)][t(244)]((e=>this[t(275)][t(215)][t(346)](t(389))[t(258)](e))),this[t(187)][t(431)](i)}}async[_n(157)](){const t=_n;this[t(125)]&&!this[t(168)]&&(await this[t(378)](this[t(187)]),this[t(286)][t(411)](this[t(187)]),this[t(168)]={fromVersion:this[t(187)][t(223)],authors:this[t(187)][t(120)][t(291)]()})}async[_n(373)](e={},i=null){const n=_n,r=[];await this[n(157)](),this[n(125)]=!1,i>this[n(187)][n(162)]&&(i=null),null===i&&(i=await this[n(441)][n(342)]());const s=this[n(382)](i),o=this[n(434)]({from:s,to:i});if(this[n(187)][n(162)]<i){const t=this[n(434)]({revision:this[n(187)],from:i,to:i});t[n(120)]=[],t[n(169)]=[],t.id=this[n(187)].id,this[n(187)][n(431)](t,!0),delete t[n(120)],r[n(357)](t)}e[n(153)]=this[n(275)][n(215)][n(346)](n(389)).me.id,e[n(334)]=e[n(334)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(164)](e);r[n(357)](e);const c=this[n(283)][n(146)](a);if(0!==c){const t=this[n(283)][n(358)](c-1);if(t[n(223)]!==i){const s=this[n(286)][n(216)](i,t[n(162)]),o={id:t.id,diffData:s[n(139)],authorsIds:s[n(169)],authors:s[n(169)][n(244)]((t=>this[n(275)][n(215)][n(346)](n(389))[n(258)](t))),fromVersion:i};t===this[n(187)]&&(o[n(412)]=new Date(e[n(412)][n(386)]()+10)),t[n(431)](o,!0),delete o[n(120)],r[n(357)](o)}}if(this[n(210)]){for(const t of r)this[n(303)](t.id,t,!0);this[n(148)]()}return a}[_n(164)](t){const e=_n,i=this[e(283)][e(288)](t);return this[e(210)]&&i.on(e(431),((t,i,n)=>{const r=e;n||(this[r(303)](i.id,i,!0),this[r(148)]())})),this[e(283)][e(226)](i,this[e(422)](i)),i}async[_n(245)](t){const e=_n;await this[e(378)](t);const i={};for(const n in t[e(139)]){if(t[e(139)][n][e(366)]&&!t[e(139)][n][e(366)][e(314)])continue;const r=this[e(369)](JSON[e(339)](t[e(139)][n][e(131)])),s=this[e(275)][e(417)][e(128)][e(232)],o=new Gi.ViewDocumentFragment(s,r[e(244)]((t=>Tn(t,this[e(275)]))));this[e(275)][e(280)][e(393)][e(134)](e(196)),i[n]=this[e(275)][e(280)][e(393)][e(247)](o),this[e(275)][e(280)][e(393)][e(134)](e(255))}return i}async[_n(141)](t){const e=_n;await this[e(378)](t);const i={};for(const n in t[e(139)])t[e(139)][n][e(366)]&&!t[e(139)][n][e(366)][e(314)]||(i[n]=t[e(139)][n][e(425)]||{});return i}[_n(148)](){const t=_n;if(0===this[t(438)][t(241)])return;if(this[t(199)])return;let e=Array[t(379)](this[t(438)][t(206)]());this[t(438)][t(171)]();for(let i=0;i<e[t(374)];i++){const n=e[i];let r=!1;for(const e of Object[t(122)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(324)]((t=>null!==t)),!e[t(374)])return;for(let i=0;i<e[t(374)];i++){const n=e[i];void 0!==n[t(223)]&&void 0===n[t(162)]&&(n[t(162)]=this[t(283)][t(358)](n.id)[t(162)]),void 0!==n[t(162)]&&void 0===n[t(223)]&&(n[t(223)]=this[t(283)][t(358)](n.id)[t(223)])}const i=this[t(275)][t(259)][t(346)](t(256));this[t(199)]=!0,this[t(356)](),this[t(210)][t(350)](e,i)[t(347)]((()=>{this[t(199)]=!1}))[t(142)]((e=>{const i=t;if(e)for(const t of e)this[i(322)]({id:t.id,createdAt:t[i(412)]});this[i(367)](),this[i(148)]()}))}[_n(323)](e,i){const n=_n;let r=this[n(275)][n(259)][n(346)](n(272)),s=this[n(275)][n(259)][n(346)](n(138));if(void 0===r){r={};for(const t of this[n(275)][n(174)][n(232)][n(140)]())r[t]=""}if(n(180)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(275)][n(174)][n(232)][n(140)]())s[t]={}}let o=!1;const a=Object[n(122)](r),c=Object[n(122)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(311)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(122)](s[t])[n(374)]>0){o=!0;break}}o||(o=c[n(406)]((t=>!this[n(275)][n(174)][n(232)][n(203)](t)))),o&&(0,t.logWarning)(n(377),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(275)][n(259)][n(296)](n(272),e),this[n(275)][n(259)][n(296)](n(138),i)}[_n(356)](){const t=_n;if(!this[t(268)]){const e=this[t(275)][t(215)][t(346)](t(262));this[t(268)]=e[t(316)](Qi(this[t(275)][t(392)],t(217)))}}[_n(367)](){const t=_n;this[t(268)]&&(this[t(275)][t(215)][t(346)](t(262))[t(136)](this[t(268)]),this[t(268)]=null)}[_n(422)](t){const e=_n,i=this[e(283)][e(135)]();i[e(376)]();let n=0;for(;n<i[e(374)];){const r=i[n];if(r===this[e(187)]){n++;continue}if(r.id===this[e(189)])break;const s=t[e(162)]-r[e(162)]||t[e(223)]-r[e(223)];if(s>0)break;if(s<0)n++;else{if(!t[e(276)]&&r[e(276)])break;if(r[e(276)]||!t[e(276)]){if(t[e(412)]>r[e(412)])break;n++}else n++}}return n}[_n(322)](t){const e=_n,i=this[e(283)][e(358)](t.id);if(t[e(412)]&&(t[e(412)]=new Date(t[e(412)])),t[e(169)]){const i=this[e(275)][e(215)][e(346)](e(389));t[e(120)]=t[e(169)][e(244)]((t=>i[e(258)](t)))}i[e(431)](t,!0)}[_n(434)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(223)],i=null!==i?i:t[n(162)];const r=this[n(286)][n(216)](e,i),s={diffData:r[n(139)],authorsIds:r[n(169)],fromVersion:e,toVersion:i};if(!t||i!==t[n(162)]){const t=i-1,e=this[n(441)][n(430)][n(349)](t);s[n(412)]=e&&e[n(412)]||new Date}if(this[n(168)]&&e===this[n(168)][n(223)])for(const t of this[n(168)][n(120)])s[n(169)][n(251)](t.id)||s[n(169)][n(357)](t.id);return s}[_n(378)](t){const e=_n;if(!t||t[e(139)])return Promise[e(390)]();{const i=this[e(275)][e(259)][e(346)](e(256));return this[e(210)][e(358)]({channelId:i,revisionId:t.id})[e(142)]((i=>{const n=e;t[n(139)]=i[n(139)]}))}}[_n(303)](t,e,i){const n=_n;if(this[n(438)][n(340)](t)){const r=this[n(438)][n(346)](t);e=i?{...r,...e}:{...e,...r}}this[n(438)][n(296)](t,e)}[_n(382)](t){const e=_n,i=this[e(283)][e(135)]();i[e(376)](),i[e(330)]();const n=i[e(184)]((i=>i[e(162)]<=t))[e(162)];return n<this[e(200)]?this[e(200)]:n}[_n(360)](t){const e=_n,i=this[e(283)][e(358)](this[e(283)][e(374)]-1);if(i)this[e(189)]=i.id;else{const i=!this[e(275)][e(174)][e(232)][e(273)][e(184)]((t=>this[e(275)][e(174)][e(186)](t))),n=this[e(275)][e(215)][e(346)](e(389)).me.id,r=Qi(this[e(275)][e(392)],e(i?201:152));this[e(239)]({from:t,to:t,id:this[e(189)],name:r,creatorId:n})}}[_n(440)](t){const e=_n,i=this[e(441)][e(278)]();this[e(187)]=this[e(283)][e(358)](i),this[e(187)]||(this[e(187)]=this[e(239)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(239)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(434)]({from:e,to:i});o[s(334)]=t,o[s(153)]=n,o.id=r;const a=this[s(164)](o);return this[s(210)]&&this[s(303)](o.id,o,!0),a}[_n(237)](){const t=_n;this[t(275)][t(305)][t(436)](t(234))[t(252)]({model:t(214)})}[_n(369)](t){const e=_n;return(t=t[e(324)]((t=>!t[e(334)]||e(325)!==t[e(334)]&&e(137)!==t[e(334)])))[e(405)]((t=>{const i=e;i(180)!=typeof t&&(t[i(332)]=this[i(369)](t[i(332)]),t[i(312)]=t[i(312)][i(324)]((t=>!t[0][i(194)](i(344)))))})),t}}function Tn(t,e){const i=_n,n=e[i(417)][i(128)][i(232)];if(i(180)==typeof t)return new Gi.ViewText(n,t);{const r=t[i(332)][i(244)]((t=>Tn(t,e)));return new(Sn[t[i(397)]]||Gi.ViewElement)(n,t[i(334)],t[i(312)],r)}}class An{constructor(t){const e=_n;this[e(275)]=t,this[e(271)]=new Map,this[e(218)]=-1,this[e(375)]=-1,this[e(380)]=new Map,this[e(321)]=new Map,this[e(401)]=new Map,this[e(428)]=new Map,this[e(212)]=new Map,this[e(391)]=new Map,this[e(188)]=new Map,this[e(326)]=new Map,this[e(229)]=new Map,this[e(351)]=new Map,this[e(231)]=1}[_n(254)](t){const e=_n;this[e(183)]=t;const i=new Map,n=new Map,r=this[e(275)][e(174)][e(232)][e(273)][e(244)]((t=>t[e(163)]));for(const t of r){const r=this[e(275)][e(174)][e(232)][e(203)](t),s=Nn(r);i[e(296)](t,s),n[e(296)](t,Object[e(370)](r[e(195)]()))}const s=Array[e(379)](this[e(275)][e(174)][e(336)])[e(244)]((t=>[t[e(334)],t[e(420)]()])),o=this[e(183)][e(159)];this[e(178)](o,i,s,n),this[e(310)]=this[e(231)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(296)](t,i),c[e(296)](t,{})}this[e(178)](Number[e(388)],a,[],c)}[_n(216)](t,e){const i=_n;if(this[i(218)]===t&&this[i(375)]<=e)this[i(271)][i(241)]>1&&this[i(190)](this[i(375)]),this[i(383)](this[i(375)],e,!0);else{if(!this[i(271)][i(340)](t)){const e=this[i(298)](t);this[i(224)](e,t,!1)}this[i(224)](t,e,!0)}return this[i(218)]=t,this[i(375)]=e,this[i(175)]()}[_n(411)](t){const e=_n;this[e(365)](),this[e(218)]=t[e(223)],this[e(375)]=t[e(162)];for(const i in t[e(139)]){const n=t[e(139)][i][e(366)],r=vi(t[e(139)][i][e(279)])||{},s=this[e(165)](t[e(139)][i][e(402)]);s[e(163)]=i,s[e(331)]=!n||!n[e(314)],s[e(314)]=()=>s[e(331)],this[e(428)][e(296)](i,s),this[e(212)][e(296)](i,r),n&&this[e(351)][e(296)](i,n);const o=this[e(182)](s);this[e(188)][e(296)](i,o);for(const[t,i]of s[e(336)]){if(!t[e(194)](e(308)))continue;const n=t[e(257)](":")[2];for(const t of i[e(154)]({singleCharacters:!0})){const i=this[e(240)](t),r=e(368)==t[e(397)]?t[e(343)][e(119)][e(291)](0,-1):t[e(343)][e(119)],s=o[e(233)](r)[e(437)](i);this[e(326)][e(296)](s,{userId:n})}}}this[e(310)]=this[e(231)];const i=[...Array(this[e(231)])[e(122)]()][e(291)](1)[e(324)]((t=>!this[e(326)][e(340)](t)));let n=0;const r=new Map;for(const s in t[e(139)]){const o=t[e(139)][s][e(366)],a=vi(t[e(139)][s][e(425)])||{},c=this[e(165)](t[e(139)][s][e(131)]);c[e(163)]=s,c[e(331)]=!o||o[e(314)],c[e(314)]=()=>c[e(331)],this[e(321)][e(296)](s,c),this[e(401)][e(296)](s,a);const u=this[e(182)](c,Number[e(388)]);this[e(391)][e(296)](s,u),r[e(296)](s,c[e(314)]()?a:{});for(const[t,i]of c[e(336)]){if(!t[e(194)](e(308)))continue;const n=t[e(257)](":")[2];for(const t of i[e(154)]({singleCharacters:!0})){const i=this[e(240)](t),r=this[e(231)]++,s=e(368)==t[e(397)]?t[e(343)][e(119)][e(291)](0,-1):t[e(343)][e(119)];u[e(233)](s)[e(121)](i,r),this[e(326)][e(296)](r,{userId:n})}}for(const t of this[e(275)][e(174)][e(213)](c)[e(154)]({singleCharacters:!0})){const r=this[e(240)](t),s=e(368)==t[e(397)]?t[e(343)][e(119)][e(291)](0,-1):t[e(343)][e(119)],o=u[e(233)](s);o[e(437)](r)>0||o[e(121)](r,i[n++])}for(const[t,i]of c[e(336)])t[e(194)](e(308))||this[e(380)][e(296)](t,i)}const s=Rn(e(118));this[e(428)][e(296)](e(118),s),this[e(188)][e(296)](e(118),this[e(182)](s,1));const o=Rn(e(118));this[e(321)][e(296)](e(118),o),this[e(391)][e(296)](e(118),this[e(182)](o,1));const a=Array[e(379)](this[e(321)])[e(244)]((([t,e])=>[t,Nn(e)]));this[e(178)](this[e(375)],a,this[e(380)],r)}[_n(165)](t){const e=_n,i=JSON[e(339)](t),n=this[e(275)][e(417)][e(128)][e(232)],r=new Gi.ViewDocumentFragment(n,i[e(244)]((t=>Tn(t,this[e(275)]))));return this[e(275)][e(280)][e(398)](r)}[_n(178)](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(296)](t,{start:e[r(300)][r(426)](),end:e[r(238)][r(426)](),rootName:e[r(299)][r(163)]});this[r(271)][r(296)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(190)](t){const e=_n;this[e(271)][e(193)](t)}[_n(222)](){const t=_n;this[t(365)](),this[t(218)]=-1,this[t(375)]=-1,this[t(271)][t(171)](),this[t(254)](this[t(183)])}[_n(365)](){const t=_n;this[t(326)][t(171)](),this[t(229)][t(171)](),this[t(351)][t(171)](),this[t(321)][t(171)](),this[t(401)][t(171)](),this[t(428)][t(171)](),this[t(212)][t(171)](),this[t(391)][t(171)](),this[t(188)][t(171)](),this[t(380)][t(171)](),this[t(231)]=1,this[t(310)]=this[t(231)]}[_n(182)](t,e=null){const i=_n;let n=null;t.is(i(143))||(n=new Gi.Element(t[i(334)],{vid_start:null===e?this[i(231)]++:e++}));const r=[];for(const n of t[i(304)]())if(n.is(i(287))){r[i(357)](this[i(182)](n,e));const t=r[r[i(374)]-1];null!==e&&(e=t.is(i(287),i(355))?t[i(437)](i(155))+1:t[i(437)](i(285))+1)}else for(let t=0;t<n[i(191)];t++)r[i(357)](new Gi.Element(i(355),{vid:null===e?this[i(231)]++:e++}));if(t.is(i(143))){const e=Rn(t[i(163)]);return e[i(294)](0,r),e}return n[i(121)](i(285),null===e?this[i(231)]++:e++),n[i(294)](0,r),n}[_n(224)](t,e,i){const n=_n;this[n(365)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(271)][n(346)](t);this[n(428)]=new Map(r),this[n(212)]=new Map(vi(o));for(const[t,e]of this[n(428)])if(n(118)!==t&&(this[n(321)][n(296)](t,Nn(e)),this[n(401)]=new Map(vi(o)),i)){const i=this[n(231)];this[n(391)][n(296)](t,this[n(182)](e)),this[n(188)][n(296)](t,this[n(182)](e,i))}this[n(310)]=this[n(231)],this[n(321)][n(296)](n(118),Nn(this[n(428)][n(346)](n(118)))),i&&this[n(391)][n(296)](n(118),this[n(182)](this[n(428)][n(346)](n(118))));for(const[t,e]of s){const i=this[n(428)][n(346)](e[n(163)]),r=this[n(321)][n(346)](e[n(163)]),s=new Gi.Range(this[n(248)](e[n(300)],i),this[n(248)](e[n(238)],i)),o=this[n(261)](s,r);i[n(336)][n(296)](t,s),this[n(380)][n(296)](t,o)}this[n(383)](t,e,i)}[_n(383)](t,e,i){const n=_n;for(const r of this[n(183)][n(205)](t,e))this[n(209)](r,i);for(const t of this[n(321)][n(206)]())t[n(336)][n(171)]();for(const[t,e]of this[n(380)])this[n(321)][n(346)](e[n(299)][n(163)])[n(336)][n(296)](t,e[n(426)]());const r=new Map,s=new Map;for(const[t,e]of this[n(321)])r[n(296)](t,Nn(e)),s[n(296)](t,this[n(401)][n(346)](t));this[n(178)](e,r,this[n(380)],s)}[_n(298)](t){const e=_n,i=Array[e(379)](this[e(271)][e(122)]());i[e(414)](((t,e)=>t-e)),i[e(376)]();for(const e of i)if(e<t)return e;return Number[e(388)]}[_n(166)](t,e){const i=_n,n=Array[i(379)](e[i(336)])[i(244)]((([e,n])=>[e,this[i(261)](n,t)]));t[i(336)]=new Map(n)}[_n(328)](t){const e=_n;for(const i of this[e(380)][e(206)]()){const n=i[e(408)](t),r=Gi.Range[e(293)](n);i[e(300)]=r[e(300)],i[e(238)]=r[e(238)]}}[_n(209)](t,e){const i=_n;if(i(435)!=t[i(397)]&&i(338)!=t[i(397)]){if(i(177)==t[i(397)]){const n=t[i(132)][i(299)][i(163)];this[i(321)][i(340)](n)||(this[i(321)][i(296)](n,Rn(n,!0)),this[i(401)][i(296)](n,{}),e&&this[i(391)][i(296)](n,Rn(n,!0)))}else{if(i(423)==t[i(397)]||i(429)==t[i(397)]||i(419)==t[i(397)])return void this[i(277)](t);i(123)==t[i(397)]&&this[i(274)](t)}if(i(123)!==t[i(397)]){const e=this[i(329)](t,this[i(321)]);e[i(315)](),this[i(328)](e)}if(e)switch(t[i(397)]){case i(177):this[i(181)](t);break;case i(117):case i(136):case i(158):this[i(127)](t);break;case i(126):this[i(295)](t);break;case i(257):this[i(270)](t)}}else this[i(297)](t,e)}[_n(329)](t,e){const i=_n,n=t[i(426)]();return n[i(264)]=t[i(264)],this[i(407)](n,e),n}[_n(396)](t){const e=_n;return t[e(244)]((t=>{const i=e,n=this[i(240)](t);return Number(t[i(354)][i(437)](n))}))}[_n(204)](t,e){const i=_n;if(t.is(i(287),i(355)))e[i(357)]({item:t,type:i(337)});else{t.is(i(287))&&e[i(357)]({item:t,type:i(185)});for(const n of t[i(304)]())this[i(204)](n,e);t.is(i(287))&&e[i(357)]({item:t,type:i(368)})}return e}[_n(175)](){const t=_n,e=new Map(this[t(326)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(428)][t(122)](),...this[t(321)][t(122)]()]);a[t(193)](t(118));for(const e of a){const i=this[t(321)][t(346)](e)||Rn(e,!1),n=this[t(428)][t(346)](e)||Rn(e,!1);i[t(314)]()||n[t(314)]()?(r[t(131)][e]=Nn(i),r[t(402)][e]=Nn(n),this[t(166)](r[t(402)][e],n),this[t(166)](r[t(131)][e],i),s[t(131)][e]=this[t(204)](this[t(391)][t(346)](e),[]),s[t(402)][e]=this[t(204)](this[t(188)][t(346)](e)||Rn(e,!1),[])):a[t(193)](e)}for(const r of a){const o=s[t(131)][r];for(const r of o){const s=this[t(240)](r),o=r[t(354)][t(437)](s);i[t(193)](o),o>=this[t(310)]&&n[t(296)](o,e[t(346)](o))}}for(const r of a){const a=s[t(131)][r],c=this[t(396)](s[t(402)][r]);let u=0;for(const r of a){const s=this[t(240)](r),a=r[t(354)][t(437)](s);if(!n[t(340)](a)&&!o[t(340)](a))if(i[t(340)](a))u++;else{if(a!=c[u]){const n=e[t(346)](a)||e[t(346)](c[u]);for(;a!=c[u];)i[t(340)](c[u])||(o[t(296)](c[u],n),e[t(296)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(131)][e];for(const e of r){const r=this[t(240)](e),s=e[t(354)][t(437)](r);if(o[t(340)](s)){const e=o[t(346)](s);i[t(340)](s)||i[t(296)](s,{...e}),n[t(296)](s,{...e})}}}for(const e of i[t(122)]())e>=this[t(310)]&&i[t(193)](e);const c=new Map;for(const e of a){let r=s[t(131)][e];for(const e of r)if(e[t(354)].is(t(287),t(202))){const i=this[t(240)](e),r=e[t(354)][t(437)](i);if(n[t(340)](r)){const i=e[t(354)][t(433)][t(433)][t(437)](t(403)),s=c[t(346)](i)||new Set;s[t(316)](n[t(346)](r)[t(421)]),c[t(296)](i,s)}}r=s[t(402)][e];for(const e of r)if(e[t(354)].is(t(287),t(202))){const n=this[t(240)](e),r=e[t(354)][t(437)](n);if(i[t(340)](r)){const n=e[t(354)][t(433)][t(433)][t(437)](t(403)),s=c[t(346)](n)||new Set;s[t(316)](i[t(346)](r)[t(421)]),c[t(296)](n,s)}}for(const e of c[t(122)]())(n[t(340)](e)||i[t(340)](e))&&c[t(193)](e)}for(const e of a){const r=s[t(131)][e];let o=null,a=null;for(const e of r){const r=this[t(240)](e),s=e[t(354)][t(437)](r),u=c[t(346)](s);u&&t(185)==e[t(397)]&&(o=Array[t(379)](u)[0],a=e[t(354)][t(437)](t(285))),o&&(i[t(296)](s,{userId:o}),n[t(296)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(402)][e],a=r[t(131)][e];for(const{userId:e}of this[t(229)][t(206)]())null!==e&&l[t(316)](e);for(const{userId:e}of this[t(351)][t(206)]())null!==e&&l[t(316)](e);this[t(263)](a,s[t(131)][e],n,t(151),l),this[t(263)](o,s[t(402)][e],i,t(242),l),u[e]={insertions:this[t(173)](a),deletions:this[t(173)](o),attachChange:this[t(351)][t(346)](e)||null,attributesBefore:vi(this[t(212)][t(346)](e))||{},attributesAfter:vi(this[t(401)][t(346)](e))}}return{diffData:u,authorsIds:Array[t(379)](l)}}[_n(399)](t){const e=_n;for(const[,i]of t[e(336)]){const t=i[e(300)][e(335)]()[e(324)]((t=>e(202)==t[e(334)]));for(const i of t)1==i[e(172)]&&i[e(198)](0).is(e(287),e(387))&&i[e(198)](0)[e(121)](e(235),!0)}}[_n(173)](t){const e=_n;this[e(399)](t);const i=this[e(275)][e(280)][e(149)](t,{}),n=Array[e(379)](i[e(304)]())[e(244)]((t=>this[e(302)](t)));return JSON[e(317)](n)}[_n(302)](t){const e=_n;if(t.is(e(355)))return t[e(280)];{const i=t;return{type:Object[e(122)](Sn)[e(184)]((e=>t instanceof Sn[e])),name:i[e(334)],attributes:Array[e(379)](i[e(195)]()),children:Array[e(379)](i[e(304)]())[e(244)]((t=>this[e(302)](t)))}}}[_n(263)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(275)][s(174)];for(let n=0;n<e[s(374)];n++){const r=this[s(240)](e[n]),c=e[n][s(354)][s(437)](r),h=i[s(346)](c),d=n==e[s(374)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(421)]!=o[s(421)])&&(l(h,Mn(a,t,u),Mn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Mn(a,t,u),En(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(421)],d=l(308)+n+":"+h+":"+c++,f=u[l(207)](i,a);t[l(336)][l(296)](d,f),null!==h&&r[l(316)](h)}}[_n(240)](t){const e=_n;switch(t[e(397)]){case e(185):return e(403);case e(368):return e(285);default:return e(155)}}[_n(407)](t,e){const i=_n;t[i(341)]=null;for(const n in t){const r=t[n];if(r instanceof Gi.Position){const s=e[i(346)](r[i(299)][i(163)]);t[n]=this[i(248)](r,s)}if(r instanceof Gi.Range){const s=e[i(346)](r[i(299)][i(163)]);t[n]=this[i(261)](r,s)}i(299)===n&&(t[i(299)]=e[i(346)](t[i(299)][i(163)]))}}[_n(261)](t,e){const i=_n;return this[i(275)][i(174)][i(207)](this[i(248)](t[i(300)],e),this[i(248)](t[i(238)],e))}[_n(248)](t,e){const i=_n;return this[i(275)][i(174)][i(372)](e,t[i(119)],t[i(179)])}[_n(181)](t){const e=_n,i=this[e(391)][e(346)](t[e(132)][e(299)][e(163)]),n=this[e(248)](t[e(132)],i),r=null===t[e(264)]?null:t[e(264)]||this[e(275)][e(215)][e(346)](e(389)).me.id,s=n[e(433)],o=this[e(231)],a=[];for(const i of t[e(260)])if(i.is(e(287)))a[e(357)](this[e(182)](i));else for(let t=0;t<i[e(191)];t++)a[e(357)](new Gi.Element(e(355),{vid:this[e(231)]++}));const c=this[e(231)];for(let t=o;t<c;t++)this[e(326)][e(296)](t,{userId:r});s[e(294)](n[e(385)],a)}[_n(127)](t){const e=_n;(t=this[e(329)](t,this[e(391)]))[e(315)]();const i=null===t[e(264)]?null:t[e(264)]||this[e(275)][e(215)][e(346)](e(389)).me.id,n=t[e(192)](),r=n[e(433)],s=n[e(385)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(198)](e);s.is(a(287),a(355))?n[a(296)](s[a(437)](a(155)),{userId:i}):(n[a(296)](s[a(437)](a(403)),{userId:i}),t(n,s,0,s[a(172)]),n[a(296)](s[a(437)](a(285)),{userId:i}))}}(this[e(326)],r,s,s+t[e(243)])}[_n(295)](t){const e=_n,i=null===(t=this[e(329)](t,this[e(391)]))[e(264)]?null:t[e(264)]||this[e(275)][e(215)][e(346)](e(389)).me.id,n=t[e(307)][e(433)],r=t[e(266)][e(433)],s=n[e(437)](e(285)),o=r[e(437)](e(403));n[e(121)](e(285),r[e(437)](e(285))),r[e(121)](e(285),s),this[e(326)][e(296)](o,{userId:i}),this[e(326)][e(296)](s,{userId:i}),t[e(315)]()}[_n(270)](t){const e=_n,i=null===(t=this[e(329)](t,this[e(391)]))[e(264)]?null:t[e(264)]||this[e(275)][e(215)][e(346)](e(389)).me.id,n=t[e(416)],r=t[e(404)][e(433)];t[e(315)]();const s=r[e(437)](e(285)),o=t[e(361)][e(170)];if(n){const t=o[e(437)](e(285)),n=r[e(437)](e(285));r[e(121)](e(285),t),o[e(121)](e(285),n),this[e(326)][e(296)](r[e(437)](e(285)),{userId:i}),this[e(326)][e(296)](o[e(437)](e(403)),{userId:i})}else{const t=this[e(231)]++,n=this[e(231)]++;r[e(121)](e(285),t),o[e(121)](e(403),n),o[e(121)](e(285),s),this[e(326)][e(296)](t,{userId:i}),this[e(326)][e(296)](n,{userId:i})}}[_n(274)](t){const e=_n;if(!t[e(409)])return;const i=(t=this[e(329)](t,this[e(321)]))[e(348)]?t[e(348)][e(299)]:null,n=t[e(292)]?t[e(292)][e(299)]:null;i&&this[e(380)][e(193)](t[e(334)]),n&&this[e(380)][e(296)](t[e(334)],t[e(292)][e(426)]());const r=null===t[e(264)]?null:t[e(264)]||this[e(275)][e(215)][e(346)](e(389)).me.id,s=t[e(334)];if(!this[e(229)][e(340)](s))return void this[e(229)][e(296)](s,{range:t[e(348)],userId:r});const o=this[e(229)][e(346)](s),a=o[e(284)],c=t[e(292)];null==a&&null==c||a&&c&&a[e(246)](c)?this[e(229)][e(193)](t[e(334)]):o[e(421)]=r}[_n(297)](t,e){const i=_n;this[i(321)][i(340)](t[i(163)])?this[i(321)][i(346)](t[i(163)])[i(331)]=t[i(282)]:(this[i(321)][i(296)](t[i(163)],Rn(t[i(163)],!0)),this[i(401)][i(296)](t[i(163)],{}),e&&this[i(391)][i(296)](t[i(163)],Rn(t[i(163)],!0)));const n=null===t[i(264)]?null:t[i(264)]||this[i(275)][i(215)][i(346)](i(389)).me.id,r=this[i(351)][i(346)](t[i(163)]);r&&r[i(421)]===n?this[i(351)][i(193)](t[i(163)]):this[i(351)][i(296)](t[i(163)],{userId:n,isAttached:t[i(282)]})}[_n(277)](t){const e=_n,i=this[e(401)][e(346)](t[e(299)][e(163)]);null===t[e(381)]?delete i[t[e(415)]]:i[t[e(415)]]=t[e(381)]}}function Nn(t){const e=_n,i=Rn(t[e(163)],t[e(314)]());for(const n of t[e(304)]()){const t=n[e(167)](!0);i[e(345)](t)}return i}function Rn(t,e=!0){const i=_n,n=new Gi.DocumentFragment;return n[i(163)]=t,n[i(331)]=e,n[i(314)]=()=>n[i(331)],n}function Mn(t,e,i){const n=_n,r=n(368)==t[n(397)]?i[n(394)](t[n(354)],n(238)):i[n(250)](t[n(354)]);return i[n(372)](e,r[n(119)],r[n(179)])}function En(t,e,i){const n=_n,r=n(185)==t[n(397)]?i[n(394)](t[n(354)],0):i[n(197)](t[n(354)]);return i[n(372)](e,r[n(119)],r[n(179)])}var Dn=i(311),Vn=i(673),Cn=i.n(Vn),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 Gn=Yn;function Yn(t,e){const i=Jn();return(Yn=function(t,e){return i[t-=408]})(t,e)}function Jn(){const t=["input","locale","revisionNameInputValue","reset","ck-revision-history-save-revision-form","focus","915570XdGuyw","8JASemw","arrowright","focusTracker","label","Name of the revision","set","2025408NXfstn","trim","_createRevisionNameInput","5ekBnLa","3282888LnOFzS","value","534376XvPdAb","extendTemplate","stopPropagation","add","1BfjKlC","5218180jOXRWV","listenTo","arrowdown","revisionName","19565436zmRsiG","220","element","164RCIhqQ","arrowleft","form","revisionNameInputView","23739mgxbiZ","ck-responsive-form","setTemplate","fieldView","errorText","keystrokes","arrowup","optional","render"];return(Jn=function(){return t})()}!function(t){const e=Yn,i=t();for(;;)try{if(291331===parseInt(e(446))/1*(parseInt(e(442))/2)+-parseInt(e(414))/3*(parseInt(e(410))/4)+parseInt(e(439))/5*(-parseInt(e(436))/6)+parseInt(e(440))/7*(-parseInt(e(430))/8)+-parseInt(e(429))/9+-parseInt(e(447))/10+parseInt(e(451))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jn);class Kn extends Dn.View{constructor(e,i){const n=Yn;super(e),this[n(432)]=new t.FocusTracker,this[n(419)]=new t.KeystrokeHandler,this[n(435)](n(425),""),this[n(413)]=this[n(438)](i),this[n(416)]({tag:n(412),attributes:{class:["ck",n(427),n(415)],tabindex:"-1"},children:[this[n(413)]]}),(0,Dn.injectCssTransitionDisabler)(this)}[Gn(422)](){const t=Gn;super[t(422)](),(0,Dn.submitHandler)({view:this}),this[t(432)][t(445)](this[t(413)][t(409)]),this[t(419)][t(448)](this[t(409)]);const e=e=>e[t(444)]();this[t(419)][t(435)](t(431),e),this[t(419)][t(435)](t(411),e),this[t(419)][t(435)](t(420),e),this[t(419)][t(435)](t(449),e)}[Gn(428)](){const t=Gn;this[t(413)][t(428)]()}get[Gn(450)](){const t=Gn;return this[t(413)][t(417)][t(409)][t(441)][t(437)]()}set[Gn(450)](t){const e=Gn;this[e(413)][e(417)][e(409)][e(441)]=t[e(437)]()}[Gn(426)](){const t=Gn;this[t(413)][t(417)][t(409)][t(441)]="",this[t(413)][t(418)]=null}[Gn(438)](t){const e=Gn,i=new Dn.LabeledFieldView(this[e(424)],Dn.createLabeledInputText),n=i[e(417)];n[e(443)]({attributes:{maxlength:e(408)}});let r=Qi(this[e(424)],e(434));return!t&&(r+=" ("+Qi(this[e(424)],e(421))+")"),i[e(433)]=r,n.on(e(423),(()=>{const t=e;this[t(425)]=n[t(409)][t(441)][t(437)]()})),i}}const Xn=tr;function Qn(){const t=["addMany","config","delegate","add","history","requires","errorText","isOpen","revisionSave","saveRevision","Accept","Cancel","children","hide","868698ZVhksz","items","menu","locale","submit","revisionHistory","_showDialog","show","isEnabled","21paBlOp","9okrYom","RevisionTracker","3868Fwfohg","isReady","view","get","232947mvdzpg","role","_createSaveRevisionFormView","set","isPremiumPlugin","115566ZaASzH","revisionNameInputView","7422530vKLBsM","Save current revision","componentFactory","init","editor","3515936iLIjQM","bind","RevisionHistoryUI","execute","Revision history","editing","isOfficialPlugin","pluginName","ck-button-action","revisionHistory.requireRevisionName","Open revision history","showRevisionViewerCallback","960150HnoLGq","isReadOnly","focus","Dialog","menuitem","_saveRevisionFormView","revisionName","plugins","menuBar:revisionHistory","3085FkvuQL","panelView","buttonView","render","reset","_registerMenuComponent","The revision name cannot be empty."];return(Qn=function(){return t})()}function tr(t,e){const i=Qn();return(tr=function(t,e){return i[t-=301]})(t,e)}!function(t){const e=tr,i=t();for(;;)try{if(524241===-parseInt(e(332))/1+parseInt(e(337))/2+-parseInt(e(356))/3+parseInt(e(328))/4*(-parseInt(e(365))/5)+parseInt(e(316))/6*(parseInt(e(325))/7)+parseInt(e(344))/8*(parseInt(e(326))/9)+parseInt(e(339))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qn);class er extends qi.Plugin{static get[Xn(351)](){return Xn(346)}static get[Xn(350)](){return!0}static get[Xn(336)](){return!0}static get[Xn(307)](){return[xn]}[Xn(342)](){const t=Xn,e=this[t(343)],i=e[t(363)][t(331)](t(327));e.ui[t(341)][t(305)](t(321),(n=>{const r=t,s=(0,Dn.createDropdown)(n),o=s[r(366)][r(314)],a=new Dn.ListView(n),c=new Dn.ListItemView(n),u=new Dn.ButtonView(n),l=new Dn.ListItemView(n),h=new Dn.ButtonView(n);return s[r(345)](r(324)).to(i,r(329),i,r(324),e,r(357),((t,e,i)=>t&&e&&!i)),s[r(367)][r(335)]({icon:qi.icons[r(306)],label:Qi(n,r(348)),tooltip:!0}),u[r(335)]({label:Qi(n,r(340)),withText:!0,role:r(360)}),u[r(345)](r(324)).to(i,r(329),i,r(324),e,r(357),((t,e,i)=>t&&e&&!i)),u.on(r(347),(()=>this[r(322)]())),h[r(335)]({label:Qi(n,r(354)),withText:!0,role:r(360)}),h[r(345)](r(324)).to(i,r(329),e,r(357),((t,e)=>t&&!e)),h.on(r(347),(()=>{const t=r;e[t(303)][t(331)](t(321))[t(355)](),s[t(309)]=!1,e[t(349)][t(330)][t(358)]()})),c[r(314)][r(305)](u),l[r(314)][r(305)](h),a[r(333)]=r(318),a[r(317)][r(302)]([c,l]),o[r(305)](a),s})),e.ui[t(341)][t(305)](t(364),(()=>this[t(370)]()))}[Xn(370)](){const t=Xn,e=this[t(343)],i=e[t(319)],n=new Dn.MenuBarMenuView(i),r=new Dn.MenuBarMenuListView(i);n[t(367)][t(335)]({icon:qi.icons[t(306)],label:Qi(i,t(348))});const s=new Dn.MenuBarMenuListItemView(i,n),o=new Dn.MenuBarMenuListItemButtonView(i);o[t(335)]({label:Qi(i,t(340))}),o[t(304)](t(347)).to(n),o.on(t(347),(()=>{this[t(322)]()})),s[t(314)][t(305)](o),r[t(317)][t(305)](s);const a=new Dn.MenuBarMenuListItemView(i,n),c=new Dn.MenuBarMenuListItemButtonView(i);return c[t(335)]({label:Qi(i,t(354))}),c[t(304)](t(347)).to(n),c.on(t(347),(()=>{const i=t;e[i(303)][i(331)](i(321))[i(355)]()})),a[t(314)][t(305)](c),r[t(317)][t(305)](a),n[t(366)][t(314)][t(305)](r),n}[Xn(322)](){const t=Xn,e=this[t(343)],i=e[t(319)],n=e[t(363)][t(331)](t(359)),r=e[t(363)][t(331)](t(327));function s(r){const s=t;e[s(303)][s(331)](s(353))&&""===r[s(362)]?r[s(338)][s(308)]=Qi(i,s(301)):(e[s(363)][s(331)](xn)[s(311)]({name:r[s(362)]}),n[s(315)]())}this[t(361)]||(this[t(334)](),this[t(361)].on(t(320),(()=>s(this[t(361)])))),this[t(361)][t(369)](),n[t(323)]({id:t(310),title:Qi(i,t(340)),isModal:!0,content:this[t(361)],actionButtons:[{label:Qi(e[t(319)],t(313)),withText:!0,onExecute:()=>n[t(315)]()},{label:Qi(e[t(319)],t(312)),class:t(352),withText:!0,onCreate(i){const n=t;i[n(345)](n(324)).to(r,n(329),r,n(324),e,n(357),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(361)])}]})}[Xn(334)](){const t=Xn,e=this[t(343)],i=e[t(319)];this[t(361)]=new Kn(i,e[t(303)][t(331)](t(353))),this[t(361)][t(368)]()}}const ir=rr;function nr(){const t=["64YKcAda","type","88xGXsKM","changeId","424836fhryuz","_model","element","focus","ck-revision-change","div","bindTemplate","Removed by","ck-revision-change__label","data","215005AKczPr","27QiRGrA","author","Suggested by","isSuggestion","ck-annotation","26403883bhbKlS","2185240HBXgiX","3cDfMOm","span","ck-revision-change__","add","name","3208911xjrBuq","Added by","150143XazlTE","set","setTemplate","946470lXosDS"];return(nr=function(){return t})()}function rr(t,e){const i=nr();return(rr=function(t,e){return i[t-=166]})(t,e)}!function(t){const e=rr,i=t();for(;;)try{if(546188===parseInt(e(177))/1*(parseInt(e(192))/2)+-parseInt(e(182))/3+parseInt(e(188))/4*(-parseInt(e(169))/5)+parseInt(e(187))/6+-parseInt(e(184))/7*(parseInt(e(190))/8)+parseInt(e(170))/9*(-parseInt(e(176))/10)+parseInt(e(175))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nr);class sr extends Dn.View{constructor(t,e){const i=rr;super(t),this[i(193)]=e,this[i(191)]=e.id;const n=this[i(198)],r=Qi(t,e[i(168)][i(173)]?i(172):i(180)==e[i(189)]?i(183):i(166));this[i(185)](i(189),e[i(189)]),this[i(186)]({tag:i(197),attributes:{class:[i(174),i(196),n.to(i(189),(t=>i(179)+t))],tabindex:-1},children:[{tag:i(178),children:[{tag:i(178),attributes:{class:[i(167)]},children:[{text:r}]},{text:" "+e[i(171)][i(181)]}]}]})}[ir(195)](){const t=ir;this[t(194)][t(195)]()}}var or=cr;function ar(){var t=["2LnjfIS","5100165aZIdnb","608462USKtFi","toJSON","1608026ChwXmy","6393kbkqtS","set","25exqgGG","9608980EFkXyC","1612192XHedlJ","type","createdAt","332qaCDuj","975594TpiJUn","rootName","data","author"];return(ar=function(){return t})()}function cr(t,e){var i=ar();return(cr=function(t,e){return i[t-=444]})(t,e)}!function(t){for(var e=cr,i=t();;)try{if(419129===parseInt(e(457))/1*(parseInt(e(455))/2)+-parseInt(e(460))/3*(parseInt(e(450))/4)+-parseInt(e(445))/5*(-parseInt(e(451))/6)+-parseInt(e(459))/7+-parseInt(e(447))/8+parseInt(e(456))/9+-parseInt(e(446))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ar);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=cr;super(),this.id=e.id||(0,t.uid)(),this[i(454)]=e[i(454)],this[i(448)]=e[i(448)],this[i(453)]=e[i(453)]||{},this[i(452)]=e[i(452)],this[i(444)](i(449),e[i(449)])}[or(458)](){var t=or;return{id:this.id,authorId:this[t(454)].id,type:this[t(448)],data:this[t(453)],createdAt:this[t(449)]}}}const lr=hr;function hr(t,e){const i=dr();return(hr=function(t,e){return i[t-=424]})(t,e)}function dr(){const t=["_setChanges","oldRevisionId","newRevisionId","5249790RiwRSh","800933MQICRw","798081wOROjh","270TXKdVD","8jNEKKB","382725kxHGAu","474940lwDPLZ","22495wBuiLg","2GUrOrn","37308SDDCKp","add","changes","4521yYilij","4TSQADs"];return(dr=function(){return t})()}!function(t){const e=hr,i=t();for(;;)try{if(262496===parseInt(e(427))/1*(parseInt(e(429))/2)+-parseInt(e(440))/3*(-parseInt(e(434))/4)+parseInt(e(428))/5*(parseInt(e(424))/6)+parseInt(e(439))/7*(parseInt(e(425))/8)+-parseInt(e(426))/9+parseInt(e(438))/10+parseInt(e(433))/11*(-parseInt(e(430))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dr);class fr{constructor(e,i){const n=hr;this[n(437)]=e,this[n(436)]=i,this[n(432)]=new t.Collection}[lr(435)](t){const e=lr;for(const i of t)this[e(432)][e(431)](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-=271]})(t,e)}function gr(){const t=["_sortAndFilterDiffChanges","ck-suggestion-preview-marker","editingDowncast","deletions","keys","splice","low","_update","element:pre","2642532cWELpw","pop","_cleanMarkers","affectsData","includes","getDomRoot","createPositionFromPath","dataDowncast","toViewElement","values","mousedown","mapViewToDom","_removeMissingPairs","destroy","writer","isOfficialPlugin","getWalker","showNextChange","children","numberOfChanges","_getViewForChange","done","comment","_markSuggestions","addClass","createAttributeElement","_fixObsoleteTags","locale","detachRoot","elementToAttribute","parent","_makeTape","useFillerType","setAttribute","_removeRevisionMarkers","revision-suggestion:","range","attributesBefore","span","softBreak","_removeUnsupportedChanges","vid_end","previousPosition","checkAttribute","length","createRange","revision-viewer","left","code","forEach","change:numberOfChanges","8SjqLgc","mapper","change","rootName","markersEnd","endIndex","hasAttribute","removeMarker:revision","wrap","ck-suggestion-marker-","_findChangeIdFromDomTarget","createRevision","data-change-id","toViewPosition","newRevisionId","marked","_getChangeFromId","then","getAttribute","upcast","3YGfVhL","restoreRevision","consume","default","restoreRevisionCallback","markers","add","60570wnfDLl","_revisions","isAdded","revision-suggestion","domConverter","adapter","dataToMarker","map","selection","elementEnd","_getViewObj","_activeViewTarget","425RDRRov","isAttached","revision-comment:","isOnRoot","_markMismatchedRemovedTags","_cleanUp","addMarker:revision","merge","getRootNames","data-revision-","name","RevisionsRepository","enqueueChange","test","nodeAfter","revision-end","loadRevisionData","updatePosition","attachChange","shift","isInline","_getDiff","toModel","pluginName","distance","isAtStart","vid_start","ck-editor__editable__overlay","forceDisabled","_setConversion","removeAttribute","17723420VGftge","RevisionViewer","_setChanges","removeClass","split","target","addMarker:revision-suggestion:insertion","_markInsertions","push","4311504qmJiGQ","findIndex","stop","markerNameToElements","next","filter","getRevision","ck-suggestion-marker-split","get","level","oldRevisionId","getItems","bind","highest","object","reconvertMarker","70206EVnYaG","side","_appendChild","suggestion:","getChild","all","remove","activeChange","addRevisionData","isAtEnd","-new","addMarker:revision-suggestion:deletion","error","listenTo","isRemoved","index","_markMarkers","conversion","mouseover","changes","type","diffData","isIncorrect","refresh","offsetSize","repository","isAfter","plugins","has","parse","maxOffset","4862284ZbIudb","unshift","compare","text","showStack","change:activeView","isSuggestion","uiElement","top","userId","addRevision","_changeView","start","ck-revision-history-root-","abs","editor","editing","toViewRange","revision-start","init","revision","consumable","deletion","isPremiumPlugin","_step","toData","getLaterVisibleRevision","markerRange","nextSibling","insertion","slice","_makeModelFromViewString","first","bindElementToMarker","right","diff","addHighlight","isLimit","change:isEnabled","currentChangeNumber","attributes","isEqual","delete","revisionHistoryAttachChange","viewItem","revision:","change:activeChange","_processTape","clear","getAttributes","isEnabled","isObject","markerToData","ck-suggestion-marker","vid","addRoot","ck-revision-history-root-remove","insert","removeMarker","model","collaboration.channelId","isBlock","_getRevisionsRange","processor","flat","_initInteractions","data","getRoot","enableReadOnlyMode","concat","ck-suggestion-marker--active","markersStart","markerToHighlight","3562730CTMYar","isBefore","_threeWayMerge","bottom","getIndex","showPreviousChange","activeView","removeMarker:revision-suggestion","observeMarkers","domEvent","changeId","_balloon","ck-revision-history-root--active","9xixNSh","view","_setDistance","catch","indexOf","isAddSuggestion","requires","unbindElementFromMarkerName","_data","revisionHistoryLabel","suggestion","schema","find","high","pairId","revisionHistory","set","backward","string","startsWith","createPositionBefore","document","return","getRevisionData","commands","attribute:vid","ck-suggestion-marker-merge","markerName","getClientRects","change:isReady","end","hasClass","downcastDispatcher","createRangeIn","isCollapsed","isRemoveSuggestion","insertions","ck-revision-history-root-add","ck-suggestion-preview-marker-","getCustomProperty","getRevisionRootsAttributes","POSITIVE_INFINITY","attributesAfter","_refreshStartEndIndex","element","isContent","WidgetToolbarRepository","execute","item","modelRange","elementStart","roots","createUIElement","sort","_makeModelFromTape","_joinTapes","authors","nextPosition","startIndex","isNavigationMode","config","isReady","_changeIdToChange","forward","from","resolve","for"];return(gr=function(){return t})()}!function(t){const e=yr,i=t();for(;;)try{if(456869===-parseInt(e(404))/1*(-parseInt(e(499))/2)+-parseInt(e(424))/3*(parseInt(e(353))/4)+parseInt(e(443))/5*(parseInt(e(431))/6)+parseInt(e(530))/7+parseInt(e(483))/8+-parseInt(e(277))/9*(-parseInt(e(603))/10)+-parseInt(e(474))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(gr);const kr={c:Gi.ViewContainerElement,a:Gi.ViewAttributeElement,e:Gi.ViewEmptyElement,r:Gi.ViewRawElement,u:Gi.ViewUIElement};class br extends qi.Plugin{static get[vr(466)](){return vr(475)}static get[vr(368)](){return!0}static get[vr(553)](){return!0}static get[vr(283)](){return[Bi.Users,Dn.ContextualBalloon,Ki]}constructor(t){const e=vr;super(t),this[e(524)]=this[e(545)][e(526)][e(491)](e(454)),this[e(293)](e(506),null),this[e(293)](e(609),null),this[e(442)]=null,this[e(293)](e(565),null),this[e(293)](e(338),!1),this[e(293)](e(580),!0),this.on(e(568),((t,i,n)=>{const r=e;this[r(506)]=null,this[r(609)]=null,this[r(545)][r(546)][r(278)][r(406)]((t=>{const e=r;for(const i of this[e(545)][e(546)][e(278)][e(298)][e(328)])n?t[e(477)](e(470),i):t[e(377)](e(470),i)}))})),this[e(495)](e(336)).to(this,e(506),(t=>null!==t)),this[e(495)](e(569)).to(this,e(338),this,e(565),this,e(506),((t,i,n)=>t&&n?i[e(518)][e(607)](n):0)),this[e(495)](e(372)).to(this,e(338),this,e(565),((t,i)=>t?i[e(518)][e(397)]:0)),this[e(541)]=null,this[e(339)]=new Map,this[e(436)]=null,this[e(275)]=this[e(545)][e(526)][e(491)](Dn.ContextualBalloon)}[vr(549)](){const t=vr,e=this[t(545)],i=new Ir(e,{direction:t(294)}),n=new Ir(e,{direction:t(340)});e[t(301)][t(430)](t(608),i),e[t(301)][t(430)](t(370),n),e[t(301)][t(430)](t(425),new _r(e)),this.on(t(403),(()=>{const e=t;i[e(522)](),n[e(522)]()})),this[t(472)](),this[t(595)](),e[t(598)](t(399)),e[t(526)][t(527)](t(323))&&e[t(526)][t(491)](t(323))[t(471)](t(399))}async[vr(300)](t){const e=vr;await this[e(459)](t);const i={};for(const n in t[e(520)]){if(t[e(520)][n][e(461)]&&!t[e(520)][n][e(461)][e(444)])continue;const r=this[e(387)](JSON[e(528)](t[e(520)][n][e(313)])),s=this[e(545)][e(546)][e(278)][e(298)],o=new Gi.ViewDocumentFragment(s,r[e(438)]((t=>this[e(441)](t))));this[e(545)][e(596)][e(593)][e(385)](e(419)),i[n]=this[e(545)][e(596)][e(593)][e(555)](o),this[e(545)][e(596)][e(593)][e(385)](e(427))}return i}async[vr(317)](t){const e=vr;await this[e(459)](t);const i={};for(const n in t[e(520)])t[e(520)][n][e(461)]&&!t[e(520)][n][e(461)][e(444)]||(i[n]=t[e(520)][n][e(319)]||{});return i}[vr(387)](t){const e=vr;return(t=t[e(488)]((t=>!t[e(453)]||e(548)!==t[e(453)]&&e(458)!==t[e(453)])))[e(402)]((t=>{const i=e;i(295)!=typeof t&&(t[i(371)]=this[i(387)](t[i(371)]),t[i(570)]=t[i(570)][i(488)]((t=>!t[0][i(296)](i(452)))))})),t}async[vr(532)](t,e,i=!1){const n=vr;if(!this[n(580)])return;const r=this[n(565)],s=this[n(524)],o=n(295)==typeof t?s[n(489)](t):t,a=n(295)==typeof e?s[n(489)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(565)]&&this[n(565)][n(418)]===c&&this[n(565)][n(493)]===u)return Promise[n(342)]();this[n(338)]=!1,this[n(609)]=null,this[n(506)]=null,this[n(565)]=new fr(c,u);const l=this[n(592)](o,a,!0)[n(438)]((t=>this[n(459)](t)));return l[n(482)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(504)](l)[n(421)]((()=>{const t=n;if(!this[t(580)])return;this[t(448)]();const e=this[t(464)](c,u);for(const i of e[t(518)])this[t(339)][t(293)](i.id,i);this[t(545)][t(589)][t(455)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(545)][n(589)][n(298)][n(451)]())i[n(381)](t);for(const t of Object[n(348)](e[n(589)])){const r=i[n(585)](t);for(const s of Object[n(348)](e[n(570)][t]))i[n(386)](s,e[n(570)][t][s],r);i[n(587)](e[n(589)][t],r,0)}})),this[t(565)][t(476)](this[t(344)](e[t(518)])),this[t(338)]=!0}))[n(280)]((t=>{const e=n;console[e(511)](t),this[e(448)](),r&&(this[e(565)]=r),this[e(338)]=!0}))}[vr(507)](t,e){const i=vr,n=this[i(524)][i(415)](t);return n.on(i(351),((t,i,r)=>e(i,r,n))),this[i(524)][i(540)](n),n}[vr(459)](t){const e=vr;if(!t||t[e(520)])return Promise[e(342)]();{const i=this[e(545)][e(337)][e(491)](e(590));return this[e(436)][e(489)]({channelId:i,revisionId:t.id})[e(421)]((i=>{const n=e;t[n(351)]({diffData:i[n(520)]},!0)}))}}[vr(448)](){const t=vr;this[t(506)]=null,this[t(355)](),this[t(541)]&&this[t(541)][t(366)](),this[t(541)]=null,this[t(339)][t(578)](),this[t(545)][t(589)][t(455)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(545)][i(589)][i(298)][i(451)]())e[i(381)](t)}))}[vr(344)](t){const e=vr,i=[],n=new Map;for(const t of this[e(545)][e(589)][e(298)][e(451)]()){const r=this[e(545)][e(546)][e(278)][e(358)](t);if(!r)continue;const s=r[e(305)]()[e(325)](0);s&&(i[e(482)](t),n[e(293)](t,s))}return i[e(330)](((t,i)=>{const r=e,s=n[r(491)](t),o=n[r(491)](i);return s.y-o.y||s.x-o.x})),(t=t[e(488)]((t=>i[e(357)](t[e(407)]))))[e(330)](((t,n)=>i[e(281)](t[e(407)])-i[e(281)](n[e(407)]))),t}[vr(384)](t){const e=vr,i=Array[e(341)](t[e(429)])[e(488)]((([t,i])=>t[e(296)](e(575))&&!i[e(311)])),n=Array[e(341)](this[e(545)][e(589)][e(310)](t)[e(369)]({singleCharacters:!0}));if(0!=i[e(397)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(478)](":");if(r[e(307)][e(571)](t[e(334)])&&i[e(462)](),(t[e(395)][e(571)](r[e(542)])||t[e(395)][e(525)](r[e(542)]))&&(e(559)==s?t[e(433)]={userId:o}:e(552)==s&&(t[e(513)]={userId:o})),0==i[e(397)])break}return n}[vr(320)](t){const e=vr,i=new Map;for(let n=0;n<t[e(397)];n++)e(533)===t[n][e(519)]?(t[n][e(325)][e(335)]=n,t[n][e(325)][e(409)]=n):(e(327)===t[n][e(519)]?t[n][e(325)][e(335)]=n:e(440)===t[n][e(519)]&&(t[n][e(325)][e(409)]=n),i[e(293)](t[n].id,n));for(const n of i[e(362)]())e(327)===t[n][e(519)]?t[n][e(325)][e(409)]=i[e(491)](t[n][e(291)]):e(440)===t[n][e(519)]&&(t[n][e(325)][e(335)]=i[e(491)](t[n][e(291)]))}[vr(577)](t){const e=vr;for(let i=0;i<t[e(397)];i++){if(e(327)===t[i][e(519)])t[i][e(325)][e(335)]=i;else if(e(440)===t[i][e(519)]){t[i][e(325)][e(409)]=i;const n=t[i][e(325)][e(335)];t[n][e(291)]=t[i].id,t[i][e(291)]=t[n].id}else t[i][e(325)][e(335)]=i,t[i][e(325)][e(409)]=i,t[i][e(291)]=null;t[i][e(601)]||(t[i][e(601)]=[],t[i][e(408)]=[])}}[vr(481)](t,e){const i=vr,n=t[i(488)]((t=>!t[i(433)]));for(let t=0;t<e[i(397)];t++)e[t][i(433)]&&(n[t][i(433)]=e[t][i(433)])}[vr(561)](t){const e=vr,i=JSON[e(528)](t),n=this[e(545)][e(546)][e(278)][e(298)],r=new Gi.ViewDocumentFragment(n,i[e(438)]((t=>this[e(441)](t))));return this[e(545)][e(596)][e(465)](r)}[vr(441)](t){const e=vr,i=this[e(545)][e(546)][e(278)][e(298)];if(e(295)==typeof t)return new Gi.ViewText(i,t);{const n=t[e(371)][e(438)]((t=>this[e(441)](t)));return new(kr[t[e(519)]]||Gi.ViewElement)(i,t[e(453)],t[e(570)],n)}}[vr(464)](t,e=null){const i=vr,n=this[i(524)][i(489)](t),r=e?this[i(524)][i(489)](e):null,s=this[i(592)](n,r),o=s[s[i(397)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(397)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(348)](e[i(520)]))if(e[i(520)][t][i(461)]){const n=e[i(520)][t][i(461)];n[i(444)]?(u[i(430)](t),l[i(527)](t)&&l[i(491)](t)[i(539)]==n[i(539)]?l[i(572)](t):l[i(293)](t,n)):l[i(527)](t)?(u[i(572)](t),l[i(572)](t)):(u[i(430)](t),l[i(293)](t,n))}else u[i(430)](t)}for(const t of u){const e=l[i(527)](t)&&!l[i(491)](t)[i(444)];let n=e?s[i(397)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(520)][t]){const n=e?o[i(520)][t][i(390)]:o[i(520)][t][i(319)];c[i(570)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(589)]={};for(const e of t[i(333)])a[i(293)](e.id,e);for(const e of u){const n=t[i(520)][e]?t[i(520)][e][i(313)]:"[]",r=t[i(520)][e]?t[i(520)][e][i(347)]:"[]";t[i(589)][e]={insertions:this[i(561)](n),deletions:this[i(561)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(341)](n[i(589)][t][i(313)][i(429)])[i(488)]((([t])=>!t[i(296)](i(575)))));let h=0;for(const o of s){const s=this[i(384)](o[i(589)][t][i(313)]);o==n?(e=s,r=e[i(397)],e[i(402)]((t=>{t.id=h++})),this[i(577)](e)):this[i(481)](e,s);const a=e[i(488)]((t=>!t[i(433)]))[i(438)]((t=>t.id));let c=0;const l=this[i(384)](o[i(589)][t][i(347)]);l[i(402)]((t=>{t[i(513)]?t.id=r++:t.id=a[c++]})),this[i(577)](l),this[i(279)](e,i(433)),this[i(279)](l,i(513)),o==n&&this[i(515)](e,u),e=this[i(332)](e,l),this[i(320)](e),this[i(279)](e,i(513))}e=e[i(488)]((t=>!(t[i(433)]&&t[i(513)])));const d=new Map(o[i(589)][t][i(347)][i(429)]),f=new Set(u[i(348)]());for(const t of d[i(348)]())f[i(572)](t);this[i(376)](e,f),this[i(379)](e),e=this[i(365)](e),e=this[i(447)](e),e=this[i(393)](e);const{root:m,changes:p}=this[i(331)](e,a,t);c[i(589)][t]=m;const v=l[i(491)](t);if(v){const e=a[i(491)](v[i(539)]),n=new ur({author:e,type:v[i(444)]?i(430):i(505),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(531)](n),c[i(570)][t][i(573)]=n.id}c[i(518)]=c[i(518)][i(599)](p)}return c}[vr(515)](t,e){const i=vr;for(let n=0;n<t[i(397)];n++)for(const[r,s]of e)s[i(542)][i(571)](t[n][i(395)])&&t[n][i(601)][i(482)](r),s[i(307)][i(571)](t[n][i(334)])&&t[n][i(408)][i(482)](r)}[vr(332)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(397)]||s<e[i(397)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(482)](o);else if(a[i(513)]&&o[i(433)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(605)](t,r,e,s);n=n[i(599)](o),r=a,s=c}else a[i(513)]?(s++,n[i(482)](a)):(r++,n[i(482)](o))}return n}[vr(376)](t,e){const i=vr,n=[];for(let o=0;o<t[i(397)];o++){for(let s=0;s<t[o][i(601)][i(397)];s++){const a=t[o][i(601)][s];if(!e[i(527)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(434)!=c||i(559)!=u&&i(552)!=u||(n[i(531)]({type:u,name:a,userId:l}),t[o][i(601)][i(349)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(408)][i(397)];s++){const a=t[o][i(408)][s];if(!e[i(527)](a))continue;const{group:c,type:u}=r(a);if(i(434)!=c||i(559)!=u&&i(552)!=u)continue;t[o][i(408)][i(349)](s,1),s--;const l=n[i(484)]((t=>t[i(453)]==a));l>-1&&n[i(349)](l,1)}}function r(t){const e=i,n=t[e(478)](":");return{group:n[0],type:n[1],subType:n[e(397)]>=5?n[2]:null,id:n[e(397)]<5?n[2]:n[3],authorId:n[e(397)]<5?n[3]:n[4],markerCount:6==n[e(397)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(397)];i++){if(t[e(433)]&&e(559)==n[i][e(519)])return t[e(282)]=n[i],void delete t[e(433)];if(!t[e(433)]&&!t[e(513)]&&e(552)==n[i][e(519)])return void(t[e(312)]=n[i])}}}[vr(279)](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(293)](o.id,n);for(let n=0;n<t[i(397)];n++){if(i(513)==e&&t[n][i(433)]||i(433)==e&&t[n][i(513)])continue;if(i(533)==t[n][i(519)]){t[n][i(467)]=0;continue}const r=s[i(491)](t[n][i(291)]),o=s[i(491)](t[n].id);t[n][i(467)]=r-o}}[vr(592)](t,e,i=!1){const n=vr,r=[];let s=this[n(524)][n(607)](t),o=this[n(524)][n(607)](e);for(-1==o&&(o=this[n(524)][n(432)][n(397)],i=!1);s<o;)r[n(482)](this[n(524)][n(489)](s)),s++;return i&&r[n(482)](this[n(524)][n(489)](s)),r}[vr(605)](t,e,i,n){const r=vr,s=this[r(545)][r(589)][r(288)];let o=e;for(;t[o]&&t[o][r(433)];)o++;let a=n;for(;i[a]&&i[a][r(513)];)a++;u(t,e,o),u(i,n,a);const c=i[r(560)](n,a)[r(599)](t[r(560)](e,o));return c[r(330)](((t,e)=>t[r(500)]!=e[r(500)]?t[r(500)]-e[r(500)]:t[r(492)]!=e[r(492)]?t[r(492)]-e[r(492)]:t[r(467)]!=e[r(467)]?e[r(467)]-t[r(467)]:!!t[r(433)]!=!!e[r(433)]?-1==t[r(500)]||0==t[r(500)]?t[r(433)]?-1:1:t[r(433)]?1:-1:t[r(514)]-e[r(514)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(318)],c=!0;for(let r=e;r<i;r++)if(s[n(463)](t[r][n(325)])||(c=!1),t[r][n(325)][n(335)]<e&&(o=r),t[r][n(325)][n(409)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(500)]=r<=o?-1:r<a?0:1,t[r][n(514)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(467)]?t[i][n(492)]=u:(u++,t[i][n(492)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(500)]&&(t[r][n(492)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(467)]?t[e][n(492)]=u:(u--,t[e][n(492)]=u,u--)}}[vr(379)](t){const e=vr,i=new Map,n=this[e(545)][e(589)][e(288)];for(let r=1;r<t[e(397)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(533)==c[e(519)])continue;if(c[e(519)]!=u[e(519)])continue;if(!n[e(591)](u[e(325)])||n[e(567)](u[e(325)]))continue;if(!n[e(591)](c[e(325)])||n[e(567)](c[e(325)]))continue;if((t[r][e(433)]||t[r][e(282)])&&t[r-1][e(513)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(513)]||!t[r-1][e(433)]&&!t[r-1][e(282)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(492)]==o[e(492)],h=Math[e(544)](s[e(492)])<Math[e(544)](o[e(492)])&&0==o[e(467)];(l||h)&&(i[e(293)](o.id,s.id),t[e(349)](a,1),r--,s[e(433)]=!1)}for(let n=0;n<t[e(397)];n++)i[e(527)](t[n][e(291)])&&(t[n][e(291)]=i[e(491)](t[n][e(291)]))}[vr(365)](t){const e=vr,i=new Set(t[e(438)]((t=>t.id)));for(let n=0;n<t[e(397)];n++)i[e(527)](t[n][e(291)])||0==t[n][e(467)]||(t[n][e(521)]=!0);return t[e(488)]((t=>!t[e(521)]))}[vr(447)](t){const e=vr,i=new Set;for(let n=0;n<t[e(397)];n++){if(i[e(527)](t[n].id)&&t[n][e(513)]&&(t[n][e(521)]=!0),t[n][e(521)])continue;if(0==t[n][e(467)])continue;if(e(327)!=t[n][e(519)])continue;if(null==t[n][e(291)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(291)];)e(327)==t[r][e(519)]?s++:e(440)==t[r][e(519)]&&s--,r++;if(0!=s)if(t[n][e(513)])t[n][e(521)]=!0;else for(;r!=n;)t[r][e(513)]&&0!=t[r][e(467)]&&(t[r][e(521)]=!0,i[e(430)](t[r][e(291)])),r--}return t[e(488)]((t=>!t[e(521)]))}[vr(393)](t){const e=vr,i=this[e(545)][e(589)][e(288)];for(let n=0;n<t[e(397)];n++){if(!(t[n][e(433)]||t[n][e(282)]||t[n][e(513)]||t[n][e(312)]))continue;if(0==t[n][e(467)])continue;const r=t[n][e(325)];i[e(591)](r)||i[e(567)](r)||(t[n][e(433)]&&delete t[n][e(433)],t[n][e(282)]&&delete t[n][e(282)],t[n][e(312)]&&delete t[n][e(312)],t[n][e(513)]&&(t[n][e(521)]=!0))}return t[e(488)]((t=>!t[e(521)]))}[vr(331)](t,e,i){const n=vr,r=new Gi.DocumentFragment,s=[],o=new Map,a=this[n(545)][n(589)],c=a[n(288)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(397)];e++)if(n(327)===t[e][n(519)]){t[e][n(395)]=a[n(359)](r,f);const i=new Gi.Element(t[e][n(325)][n(453)],t[e][n(325)][n(579)]());u[0][n(501)](i),f[n(482)](0),u[n(531)](i),t[e][n(334)]=a[n(359)](r,f)}else n(440)===t[e][n(519)]?(u[n(462)](),t[e][n(395)]=a[n(359)](r,f),f[n(354)](),f[f[n(397)]-1]++,t[e][n(334)]=a[n(359)](r,f)):(t[e][n(395)]=a[n(359)](r,f),d?d[n(285)]+=t[e][n(325)][n(596)]:d=new Gi.Text(t[e][n(325)][n(596)],t[e][n(325)][n(579)]()),t[e+1]&&n(533)===t[e+1][n(519)]&&v(d,t[e+1][n(325)])||(u[0][n(501)](d),d=null),f[f[n(397)]-1]+=t[e][n(325)][n(523)],t[e][n(334)]=a[n(359)](r,f));for(let e=0;e<t[n(397)];e++){const i=t[e][n(395)],r=t[e][n(334)];for(const r of t[e][n(601)])o[n(293)](r,{start:i,end:null});m(n(312),e,i,r),m(n(282),e,i,r),m(n(513),e,i,r),m(n(433),e,i,r);for(const i of t[e][n(408)])o[n(491)](i)[n(307)]=r}for(const[t,e]of o){const i=this[n(545)][n(589)][n(398)](e[n(542)],e[n(307)]);r[n(429)][n(293)](t,i)}return s[n(330)](((t,e)=>{const i=n,s=r[i(429)][i(491)](i(575)+t.id),o=r[i(429)][i(491)](i(575)+e.id);return s[i(542)][i(604)](o[i(542)])?-1:s[i(542)][i(525)](o[i(542)])?1:s[i(307)][i(604)](o[i(307)])?-1:s[i(307)][i(525)](o[i(307)])?1:i(430)===t[i(519)]?-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(539)]:null,d=i===t[o(397)]-1,f=h[e][0],m=c[o(581)](t[i][o(325)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(307)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(539)]!==u&&(l[e][o(307)]=r,f&&f[o(539)]===l[e][o(539)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(327)!==t[i][o(519)]||f&&f[o(539)]===u||h[e][o(531)]({userId:u,object:t[i][o(325)],change:l[e]}),o(440)===t[i][o(519)]&&f&&f[o(497)]===t[i][o(325)]&&(h[e][o(462)](),l[e]=f[o(406)])),l[e]&&d&&(l[e][o(307)]=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(325)],f=a[h(288)][h(591)](d)&&!a[h(288)][h(567)](d),m=t[h(457)]==o[h(383)]&&o[h(468)];if(f&&m)return;const p=a[h(398)](t,o),v=e[h(491)](u),y=new ur({author:v,type:h(433)==l||h(282)==l?h(430):h(505),data:{isSuggestion:h(282)==l||h(312)==l},createdAt:new Date,rootName:i});s[h(482)](y),r[h(429)][h(293)](h(575)+y.id,p)}function v(t,e){const i=n,r=t[i(579)](),s=e[i(579)]();for(const t of r){if(t[1]!==e[i(422)](t[0]))return!1;s[i(487)]()}return s[i(487)]()[i(374)]}}[vr(472)](){const t=vr;this[t(545)][t(516)][t(343)](t(423))[t(437)]({view:t(550)}),this[t(545)][t(516)][t(343)](t(346))[t(602)]({model:t(550),view:e=>{const i=t,n=e[i(304)][i(478)](":")[1],r=this[i(420)](n);if(!r)return null;const s=i(430)==r[i(519)]?i(559):i(552),o=[i(583),i(413)+s];return r[i(596)][i(536)]&&o[i(482)](i(413)+s+i(509)),this[i(506)]==r&&o[i(482)](i(600)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(545)][t(516)][t(343)](t(423))[t(430)]((e=>{const i=t;e.on(i(352),((t,e,n)=>{const r=i,s=e[r(574)][r(503)](0);if(!s||!s.is(r(321),r(401)))return;if(!n[r(551)][r(426)](s,{attributes:[r(469),r(394)]}))return;const o=e[r(326)][r(542)][r(457)];n[r(367)][r(386)](r(469),s[r(422)](r(469)),o),n[r(367)][r(386)](r(394),s[r(422)](r(394)),o)}),{priority:i(350)})})),this[t(545)][t(516)][t(343)](t(423))[t(430)]((e=>{const i=t;e.on(i(321),((t,e,n)=>{const r=i;if(!n[r(551)][r(426)](e[r(574)],{attributes:[r(469),r(394)]}))return;if(e[r(326)][r(311)])return;const s=e[r(326)][r(542)][r(457)];s[r(410)](r(469))||s[r(410)](r(584))||(n[r(367)][r(386)](r(469),e[r(574)][r(422)](r(469)),s),n[r(367)][r(386)](r(394),e[r(574)][r(422)](r(394)),s))}),{priority:i(350)})})),this[t(545)][t(516)][t(343)](t(423))[t(382)]({view:{name:t(391),attributes:{vid:!0}},model:{key:t(584),value:e=>e[t(422)](t(584))}}),this[t(545)][t(589)][t(288)].on(t(396),((e,[,i])=>{const n=t;[n(469),n(394),n(584)][n(357)](i)&&(e[n(299)]=!0,e[n(485)]())}),{priority:t(496)}),this[t(545)][t(516)][t(343)](t(360))[t(430)]((e=>{const i=t;e.on(i(302),((t,e,n)=>{const r=i;if(" "!=e[r(325)][r(596)]||e[r(325)][r(383)][r(529)]>1)return;if(!n[r(551)][r(426)](e[r(325)],t[r(453)]))return;const s=n[r(367)],o=n[r(405)][r(547)](e[r(389)]);s[r(412)](o,s[r(378)](r(391)))}))})),this[t(545)][t(516)][t(343)](t(360))[t(582)]({model:t(550)}),this[t(545)][t(546)][t(309)].on(t(449),function(e){const i=t,n=e[i(526)][i(491)](i(475));return(t,r,s)=>{const o=i,a=r[o(304)][o(478)](":")[1],c=n[o(420)](a);if(!c)return null;const u=o(430)==c[o(519)]?o(478):o(450);if(!s[o(551)][o(456)](r[o(557)],t[o(453)]))return;const l=r[o(557)][o(369)](),h=r[o(557)][o(542)],d=e[o(589)][o(288)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(325)];p=p||d[o(322)](e);const i=s[o(405)][o(361)](e);if(i&&i[o(316)](o(566)))return;o(440)==t[o(519)]&&d[o(591)](e)&&!d[o(567)](e)&&(e[o(558)]||h[o(508)]?f&&f[o(383)]==e||(f=e,y(t[o(395)]),v=!0):m=m||t[o(395)])}function y(t){const e=o,i=s[e(367)][e(329)](e(391),{class:e(413)+u}),a=s[e(405)][e(417)](t);c[e(596)][e(536)]&&s[e(367)][e(377)](e(413)+u+e(509),i),n[e(506)]==c&&s[e(367)][e(377)](e(600),i),s[e(367)][e(587)](a,i),s[e(405)][e(563)](i,r[e(304)])}p||v||!m||y(m)}}(this[t(545)]),{priority:t(290)}),this[t(545)][t(546)][t(309)].on(t(411),((e,i,n)=>{const r=t,s=n[r(405)][r(486)](i[r(304)]);if(s)for(const t of s)(t[r(308)](r(490))||t[r(308)](r(303)))&&(n[r(405)][r(284)](t,i[r(304)]),n[r(367)][r(505)](t))}),{priority:t(290)}),this[t(545)][t(546)][t(309)].on(t(449),((e,i,n)=>{const r=t,s=i[r(304)][r(478)](":")[1],o=this[r(420)](s);if(!o)return null;const a=r(430)==o[r(519)]?r(478):r(450);if(n[r(551)][r(456)](i[r(557)],e[r(453)]))for(const t of i[r(557)][r(494)]()){if(!t.is(r(321),r(392)))continue;const e=n[r(367)][r(329)](r(391),{class:r(413)+a}),s=n[r(405)][r(417)](this[r(545)][r(589)][r(297)](t));o[r(596)][r(536)]&&n[r(367)][r(377)](r(413)+a+r(509),e),this[r(506)]==o&&n[r(367)][r(377)](r(600),e),n[r(367)][r(587)](s,e),n[r(405)][r(563)](e,i[r(304)])}}),{priority:t(290)}),this[t(545)][t(589)][t(298)].on(t(406),(()=>{const e=t;this[e(545)][e(546)][e(278)][e(406)]((t=>{const i=e;for(const e of this[i(545)][i(589)][i(298)][i(451)]()){const n=this[i(545)][i(589)][i(298)][i(597)](e),r=this[i(545)][i(546)][i(278)][i(298)][i(597)](e);if(r){const e=n[i(422)](i(573));if(t[i(473)](i(416),r),t[i(477)](i(314),r),t[i(477)](i(586),r),t[i(477)](i(276),r),e){const n=this[i(420)](e);if(!n)return null;t[i(386)](i(416),e,r),t[i(377)](i(543)+n[i(519)],r),this[i(506)]==n&&t[i(377)](i(276),r)}}}}))})),this[t(545)][t(516)][t(343)](t(423))[t(437)]({view:t(375),model:e=>t(445)+e,converterPriority:t(496)}),this[t(545)][t(516)][t(343)](t(423))[t(437)]({view:t(287),model:e=>t(388)+e,converterPriority:t(496)}),this[t(545)][t(516)][t(343)](t(360))[t(582)]({model:t(434),view:e=>({name:t(502)+e,group:t(434)}),converterPriority:t(496)}),this[t(545)][t(516)][t(343)](t(346))[t(602)]({model:t(434),view:e=>{const i=t,n=e[i(304)][i(478)](":")[1];return i(559)!=n&&i(552)!=n?null:{classes:[i(345),i(315)+n]}}}),this[t(545)][t(546)][t(309)].on(t(510),wr(this[t(545)],t(450)),{priority:t(290)}),this[t(545)][t(546)][t(309)].on(t(480),wr(this[t(545)],t(478)),{priority:t(290)}),this[t(545)][t(546)][t(309)].on(t(271),((e,i,n)=>{const r=t,s=n[r(405)][r(486)](i[r(304)]);if(s)for(const t of s)t.is(r(537))&&(n[r(405)][r(284)](t,i[r(304)]),n[r(367)][r(505)](t))}),{priority:t(290)})}[vr(420)](t){const e=vr;return this[e(339)][e(491)](t)}[vr(373)](t){const e=vr;return this[e(541)]&&this[e(541)][e(366)](),this[e(541)]=new sr(this[e(545)][e(380)],t),this[e(541)]}[vr(595)](){const t=vr;this[t(545)][t(589)][t(298)][t(439)][t(272)](t(550)),this.on(t(535),((e,i,n,r)=>{const s=t;r&&this[s(275)][s(505)](r),n&&(this[s(275)][s(430)]({view:n,stackId:s(286),position:{target:()=>{const t=s,e=this[t(545)][t(546)],i=this[t(420)](n[t(274)]);let r;if(i[t(596)][t(446)]){const n=e[t(278)][t(358)](i[t(407)]);r=Array[t(341)](n[t(305)]())}else{const i=this[t(545)][t(589)][t(429)][t(491)](t(575)+n[t(274)]);r=Array[t(341)](e[t(405)][t(486)](i[t(453)]))[t(438)]((i=>e[t(278)][t(435)][t(364)](i)))[t(438)]((e=>Array[t(341)](e[t(305)]())))[t(594)]()}return this[t(442)]&&r[t(289)]((e=>e[t(538)]-3<=this[t(442)].y&&e[t(606)]+3>=this[t(442)].y&&e[t(400)]-3<=this[t(442)].x&&e[t(564)]+3>=this[t(442)].x))||r[0]}}}),this[s(275)][s(534)](s(286)))})),this.on(t(576),((e,i,n,r)=>{const s=t;this[s(609)]=n?this[s(373)](n):null,this[s(545)][s(589)][s(406)]((()=>{const t=s,e=this[t(545)][t(546)];r&&(r[t(596)][t(446)]?e[t(278)][t(406)]((i=>{const n=t;i[n(477)](n(276),e[n(278)][n(298)][n(597)](r[n(407)]))})):e[t(498)](t(575)+r.id)),n&&(n[t(596)][t(446)]?e[t(278)][t(406)]((i=>{const r=t;i[r(377)](r(276),e[r(278)][r(298)][r(597)](n[r(407)]))})):e[t(498)](t(575)+n.id))}))})),this[t(512)](this[t(545)][t(546)][t(278)][t(298)],t(517),((e,i)=>{const n=t;if(this[n(506)])return;const r=this[n(414)](i[n(479)]),s=this[n(339)][n(491)](r);s?(this[n(442)]={x:i[n(273)].x,y:i[n(273)].y},this[n(609)]=this[n(373)](s)):(this[n(442)]=null,this[n(609)]=null)})),this[t(512)](this[t(545)][t(546)][t(278)][t(298)],t(363),((e,i)=>{const n=t,r=this[n(414)](i[n(479)]),s=this[n(339)][n(491)](r);s?(this[n(442)]={x:i[n(273)].x,y:i[n(273)].y},s===this[n(506)]?this[n(275)][n(460)]():this[n(506)]=s):(this[n(442)]=null,this[n(506)]=null)}))}[vr(414)](t){const e=vr;do{const i=t[e(422)](e(416));if(i)return i;t=t[e(383)]}while(t);return null}[vr(355)](){const t=vr;this[t(545)][t(589)][t(406)]((e=>{const i=t;for(const t of this[i(545)][i(589)][i(429)])e[i(588)](t)}))}}function wr(t,e){return(i,n,r)=>{const s=yr;if(!r[s(551)][s(456)](n[s(557)],i[s(453)]))return;const o=n[s(557)][s(369)](),a=n[s(557)][s(542)],c=t[s(589)][s(288)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(325)];h=h||c[s(322)](e);const i=r[s(405)][s(361)](e);if(i&&i[s(316)](s(566)))return;s(440)==t[s(519)]&&c[s(591)](e)&&!c[s(567)](e)&&(e[s(558)]||a[s(508)]?u&&u[s(383)]==e||(u=e,f(t[s(395)]),d=!0):l=l||t[s(395)])}function f(t){const i=s,o=r[i(405)][i(417)](t),a=r[i(367)][i(329)](i(391),{class:i(315)+e});r[i(367)][i(587)](o,a),r[i(405)][i(563)](a,n[i(304)])}h||d||!l||f(l)}}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(526)][e(491)](br);this[e(356)]=!1,this[e(512)](i,e(306),(()=>this[e(522)]())),this[e(512)](i,e(568),(()=>this[e(522)]()))}[vr(324)](){const t=vr,e=this[t(545)],i=e[t(526)][t(491)](br),n=i[t(338)]?i[t(565)][t(418)]:null;e[t(337)][t(491)](t(292))[t(428)](n)}[vr(522)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(545)][t(526)][t(491)](br),s=r&&n[t(556)](r[t(418)]);this[t(580)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(526)][i(491)](br);this[i(356)]=!1,this[i(554)]=i(340)===e?1:-1,this[i(512)](n,i(306),(()=>this[i(522)]())),this[i(512)](n,i(568),(()=>this[i(522)]())),this[i(512)](n,i(576),(()=>this[i(522)]()))}[vr(324)](){const e=vr,i=this[e(545)],n=i[e(526)][e(491)](br),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(506)]=r?n[e(565)][e(518)][e(491)](s+this[e(554)]):n[e(565)][e(518)][e(562)],n[e(506)][e(596)][e(446)])o=i[e(546)][e(278)][e(358)](n[e(506)][e(407)]);else{const t=i[e(589)][e(429)][e(491)](e(575)+n[e(506)].id);o=(0,Bi.getMarkerDomElement)(i[e(546)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(522)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(545)][t(526)][t(491)](br);this[t(580)]=!!(s&&r&&n)&&(!e||(1===this[t(554)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Pn().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Zn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(t,e){const i=Tr();return(xr=function(t,e){return i[t-=124]})(t,e)}function Tr(){const t=["_isStatusLabelVisible","5737704VTRklF","2909304tyGmSN","672863ZhDzZf","22736682JLFSaw","Show previous change","bind","ck-revision-history-ui","isBackwardNavigationEnabled","setTemplate","ck-revision-history-ui__changes-navigation__navigation","Loading...","numberOfChanges","Show next change","isEnabled","isForwardNavigationEnabled","isReady","EDIT_X_OF_Y_REVISIONS","X_OF_Y_CHANGES","2487755UxMqev","4eihWbf","623MuJGwj","span","currentChangeNumber","_statusText","execute","isNavigationMode","fire","ck-hidden","ck-revision-history-ui__changes-navigation__wrapper","1794372DZvfGW","No changes","set","forward","ck-revision-history-ui__changes-navigation__label","bindTemplate","51402DWRbTq","NUMBER_OF_CHANGES","Total","ck-revision-history-ui__changes-navigation","div","backward"];return(Tr=function(){return t})()}!function(t){const e=xr,i=t();for(;;)try{if(690090===parseInt(e(155))/1*(parseInt(e(130))/2)+parseInt(e(154))/3+parseInt(e(140))/4+parseInt(e(129))/5+-parseInt(e(146))/6*(parseInt(e(131))/7)+parseInt(e(153))/8+-parseInt(e(156))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Tr);class Ar extends Dn.View{constructor(t){const e=xr;super(t);const i=this[e(145)],n=new Dn.ButtonView(t),r=new Dn.ButtonView(t);this[e(142)](e(136),!1),this[e(142)](e(126),!1),this[e(142)](e(133),0),this[e(142)](e(164),0),this[e(142)](e(125),!1),this[e(142)](e(160),!1),this[e(158)](e(152)).to(this,e(126),this,e(164),((t,e)=>t&&e>0)),this[e(158)](e(134)).to(this,e(126),this,e(133),this,e(164),this,e(136),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(163));if(!r)return Qi(t,o(141));const a=Qi(t,o(147),r);return s?Qi(t,o(128),[n+1,r]):a})),n[e(142)]({label:Qi(t,e(157)),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(142)]({label:Qi(t,e(165)),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(158)](e(124)).to(this,e(160)),r[e(158)](e(124)).to(this,e(125)),n.on(e(135),(()=>this[e(137)](e(135),e(151)))),r.on(e(135),(()=>this[e(137)](e(135),e(143)))),this[e(161)]({tag:e(150),attributes:{class:["ck",e(159),e(149)]},children:[{tag:e(132),attributes:{class:[e(139)]},children:[{tag:e(132),attributes:{class:[e(144),i.if(e(152),e(138),(t=>!t))]},children:[{text:i.to(e(136),(i=>i?Qi(t,e(127))+": ":Qi(t,e(148))+": "))}]},{text:i.to(e(134))}]},new Dn.ToolbarSeparatorView,{tag:e(150),attributes:{class:[e(162)]},children:[n,r]}]})}}var Nr=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Pn().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Nr.A,Rr);Nr.A&&Nr.A.locals&&Nr.A.locals;function Mr(t,e){const i=Dr();return(Mr=function(t,e){return i[t-=373]})(t,e)}const Er=Mr;function Dr(){const t=["pluginName","ck-editor__editable__loading-overlay","2901445GCpIht","1645299IiYUgJ","document","881874rTnVXD","hide","isPremiumPlugin","editor","roots","3694NxAOpG","change","3313192SKeOWJ","230lsQxRe","removeClass","isOfficialPlugin","403569gMfFvm","RevisionViewerLoadingOverlay","editing","view","355elaREq","6NMhbtz","show","addClass","3684132NFuAtK"];return(Dr=function(){return t})()}!function(t){const e=Mr,i=t();for(;;)try{if(708100===parseInt(e(385))/1*(-parseInt(e(375))/2)+-parseInt(e(393))/3+parseInt(e(389))/4+parseInt(e(392))/5*(-parseInt(e(386))/6)+parseInt(e(395))/7+parseInt(e(377))/8+-parseInt(e(381))/9*(-parseInt(e(378))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dr);const Vr=Er(391);class Cr extends qi.Plugin{static get[Er(390)](){return Er(382)}static get[Er(380)](){return!0}static get[Er(397)](){return!0}[Er(387)](){const t=Er,e=this[t(373)][t(383)][t(384)];e[t(376)]((i=>{const n=t;for(const t of e[n(394)][n(374)])i[n(388)](Vr,t)}))}[Er(396)](){const t=Er,e=this[t(373)][t(383)][t(384)];e[t(376)]((i=>{const n=t;for(const t of e[n(394)][n(374)])i[n(379)](Vr,t)}))}}const jr=Fr;function Fr(t,e){const i=Lr();return(Fr=function(t,e){return i[t-=264]})(t,e)}function Lr(){const t=["restoreRevision","show","requires","hide","isReady","28785XAhBeu","exitToEditing","1699398aTLCoa","isForwardNavigationEnabled","bind","7XANPmF","config","showNextChange","undo","numberOfChanges","897176AtXnDj","3684714vyGOQJ","isNavigationMode","RevisionViewerUI","ck-revision-history-ui__back-to-editing","execute","add","8383793ijzlLE","Restore this revision","revisionHistory","944346viKgQB","editor","init","currentChangeNumber","isEnabled","listenTo","componentFactory","isPremiumPlugin","56PzVGPl","changesNavigation","showPreviousChange","get","isOfficialPlugin","commands","change:isReady","plugins","set","closeRevisionViewerCallback","10gingxL","forward","40NKohEl","Back to editing","pluginName","4561272omwytu","isBackwardNavigationEnabled"];return(Lr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(700005===-parseInt(e(274))/1+parseInt(e(264))/2+parseInt(e(304))/3*(parseInt(e(282))/4)+parseInt(e(292))/5*(-parseInt(e(265))/6)+-parseInt(e(309))/7*(parseInt(e(297))/8)+-parseInt(e(306))/9+-parseInt(e(294))/10*(-parseInt(e(271))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class Pr extends qi.Plugin{static get[jr(296)](){return jr(267)}static get[jr(286)](){return!0}static get[jr(281)](){return!0}static get[jr(301)](){return[br,Cr]}[jr(276)](){const t=jr,e=this[t(275)],i=e[t(289)][t(285)](br),n=e[t(289)][t(285)](Cr);e.ui[t(280)][t(270)](t(305),(i=>{const n=t,r=new Dn.ButtonView(i);return r[n(290)]({label:Qi(i,n(295)),icon:qi.icons[n(312)],withText:!0,tooltip:!0,class:n(268)}),this[n(279)](r,n(269),(()=>{const t=n;e[t(310)][t(285)](t(273))[t(291)]()})),r})),e.ui[t(280)][t(270)](t(299),(i=>{const n=t,r=new Dn.ButtonView(i);return r[n(290)]({label:Qi(i,n(272)),withText:!0,tooltip:!0}),r[n(308)](n(278)).to(e[n(287)][n(285)](n(299))),this[n(279)](r,n(269),(()=>e[n(269)](n(299)))),r})),e.ui[t(280)][t(270)](t(283),(n=>{const r=t,s=new Ar(n),o=e[r(287)][r(285)](r(284)),a=e[r(287)][r(285)](r(311));return s[r(308)](r(298)).to(o,r(278)),s[r(308)](r(307)).to(a,r(278)),s[r(308)](r(303),r(277),r(313),r(266)).to(i),this[r(279)](s,r(269),((t,i)=>{const n=r;e[n(269)](n(293)===i?n(311):n(284))})),s})),n[t(300)](),i.on(t(288),((e,i,r)=>{const s=t;r?n[s(302)]():n[s(300)]()}))}}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=["_updateTooltipText","1660635QxezcJ","7044syRTsR","_resizeObserver","scrollWidth","_tooltipString","element","13310OqqxmE","Enter the revision name","clientWidth","Revision name","ck-revision-history-sidebar__revision-name","fieldView","listenTo","1287755cjMkPi","1842ajkwTF","destroy","set","857466yychCN","bindTemplate","render","ck-tooltip_multi-line","730676hwtgGk","9770HZdGyG","460cnjuSs","41256ncBVpF","input","value","16DZKSvP","span","placeholder","extendTemplate"];return(Zr=function(){return t})()}function Hr(t,e){const i=Zr();return(Hr=function(t,e){return i[t-=213]})(t,e)}!function(t){const e=Hr,i=t();for(;;)try{if(672711===parseInt(e(225))/1+parseInt(e(229))/2+parseInt(e(222))/3*(parseInt(e(241))/4)+-parseInt(e(231))/5*(parseInt(e(232))/6)+-parseInt(e(221))/7*(-parseInt(e(235))/8)+-parseInt(e(240))/9+-parseInt(e(230))/10*(parseInt(e(214))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zr);class $r extends Dn.LabeledFieldView{constructor(t,e){const i=Hr;super(t,e),this[i(242)]=null;const n=this[i(226)];this[i(224)]({label:Qi(t,i(217)),_tooltipString:""}),this[i(219)][i(237)]=Qi(t,i(215)),this[i(238)]({tag:i(236),attributes:{class:[i(218)],"data-cke-tooltip-text":n.to(i(244)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(228)}})}[Ur(227)](){const e=Ur;super[e(227)](),this[e(242)]=new t.ResizeObserver(this[e(219)][e(213)],(()=>this[e(239)]())),this[e(220)](this[e(219)],e(233),(()=>this[e(239)]()))}[Ur(223)](){const t=Ur;super[t(223)](),this[t(242)]&&this[t(242)][t(223)]()}[Ur(239)](){const t=Ur,e=this[t(219)][t(213)];this[t(244)]=e[t(243)]>e[t(216)]&&e[t(234)]||""}}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 Gr(t,e){const i=Jr();return(Gr=function(t,e){return i[t-=487]})(t,e)}!function(t){const e=Gr,i=t();for(;;)try{if(113196===-parseInt(e(501))/1+parseInt(e(506))/2+parseInt(e(504))/3*(parseInt(e(493))/4)+parseInt(e(494))/5*(parseInt(e(508))/6)+parseInt(e(500))/7*(parseInt(e(489))/8)+parseInt(e(490))/9*(-parseInt(e(496))/10)+-parseInt(e(495))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jr);class Yr extends Dn.View{constructor(t,e,i){const n=Gr;super(t);const r=new Dn.IconView;r[n(488)]({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(492)});const s=["ck",n(487)];i&&s[n(502)](n(507));const o=[{tag:n(491),attributes:{class:["ck",n(498)],title:Qi(t,n(i?503:505))},children:[r,e[n(499)]]}];this[n(497)]({tag:"li",attributes:{class:s},children:o})}}function Jr(){const t=["Revision creator","315GsVoXH","Revision author","431818FqDreu","ck-revision-history-sidebar__revision-author_creator","32082iaCbQm","ck-revision-history-sidebar__revision-author","set","40QoUjCA","1017603rXsbWZ","span","0 0 11 10","784ERIRim","65koxyyD","11198uSUvzF","20MxPPVp","setTemplate","ck-revision-history-sidebar__revision-author__name","name","284137xbtSLO","168607dGXmnU","push"];return(Jr=function(){return t})()}function Kr(t,e){var i=Xr();return(Kr=function(t,e){return i[t-=494]})(t,e)}function Xr(){var t=["3XrHDai","toLocaleTimeString","1156070uPOpvN","103884oWHJOo","368820KOCxXh","245JldWrJ","108YhVvbY","long","numeric","14875487HUpgvZ","toLocaleDateString","2811592LXjCFu","10QvlcBp","46160VZdxnY","3582430tEtCmF"];return(Xr=function(){return t})()}!function(t){for(var e=Kr,i=t();;)try{if(398948===parseInt(e(496))/1+-parseInt(e(494))/2+parseInt(e(507))/3*(-parseInt(e(503))/4)+-parseInt(e(506))/5+-parseInt(e(495))/6*(-parseInt(e(497))/7)+parseInt(e(505))/8*(parseInt(e(498))/9)+parseInt(e(504))/10*(parseInt(e(501))/11))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(t,e){const i=is();return(es=function(t,e){return i[t-=199]})(t,e)}function is(){const t=["bind","change:isActionsDropdownOpen","menuitem","name","_action","Restore this revision","isReady","button","6RgUKAY","ck-revision-history-sidebar__revision__actions","execute","Compare against selected","menu","first","threeVerticalDots","action","extendTemplate","listenTo","map","panelPosition","stopPropagation","listView","Name this revision","97608QSUDRo","add","class","Show more items","162534qswURp","buttonView","source","isEnabled","isOpen","set","ck-on","locale","items","724485HPpWdp","bindTemplate","children","1430247Skjelf","function","isVisible","184776eYzXnb","1728eEPrIM","model","find","isActionsDropdownOpen","20824QLkfrh","10386Rxgwox"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(128196===-parseInt(e(236))/1+-parseInt(e(212))/2+parseInt(e(216))/3+-parseInt(e(231))/4+parseInt(e(225))/5+-parseInt(e(246))/6*(parseInt(e(228))/7)+-parseInt(e(232))/8*(-parseInt(e(237))/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=Zn();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-=154]})(t,e)}function as(){const t=["_revision","div","from","ck-disabled","closest","isSelected","map","set","isHighlighted","fieldView","isConfirm","1123296dlUOjs","_requireRevisionName","filter","creator","unshift","ck-revision-history-sidebar__revision","199788HunULF","length","bindTemplate","revisionNameView","688226pkLAtH","220","102155WbyJjq","element","highlight","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision_selected","createdAt","setName","bind","unhighlight","1016262wvfcmW","isEnabled","ck-revision-history-sidebar__actions_dropdown_open","isActionsDropdownOpen","ck-reset","fire","deselect","name","ck-revision-history-sidebar__revision__date","span","ck-revision-history-sidebar__revision_highlighted","select","listenTo","srcElement","ck-revision-history-sidebar__revision__controls-wrapper","uiLanguage",".ck-thread__remove-confirm","6KCEKjj","value","isReady","26FjxpSs","153604bXbFXA","14974UeyNyz","revisionActionsView","ck-revision-history-sidebar__revision-authors","render","setTemplate","extendTemplate","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","change","_createdAtFormatted","authors"];return(as=function(){return t})()}!function(t){const e=os,i=t();for(;;)try{if(153416===-parseInt(e(175))/1*(-parseInt(e(177))/2)+parseInt(e(204))/3+parseInt(e(176))/4+parseInt(e(210))/5*(-parseInt(e(172))/6)+-parseInt(e(208))/7+-parseInt(e(198))/8+parseInt(e(155))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(as);class cs extends((0,Bi.ConfirmMixin)(Dn.View)){constructor(e,i,n,r){const s=os;super(e);const o=this[s(206)],a=function(t,e){const i=s,n=Array[i(189)](e[i(186)])[i(200)]((t=>t!=e[i(201)]));return e[i(201)]&&n[i(202)](e[i(201)]),n[i(193)]((n=>new Yr(t,n,n==e[i(201)])))}(e,i);this.id=i.id,this[s(187)]=i,this[s(199)]=r,this[s(217)](s(162),s(215)).to(i),this[s(217)](s(185)).to(this,s(215),(t=>{return i=e[s(170)],(n=t)[(r=Kr)(502)](i,{month:r(499),day:r(500)})+", "+n[r(508)](i,{hour:r(500),minute:r(500)});var i,n,r})),this[s(194)](s(192),!1),this[s(194)](s(195),!1),this[s(194)](s(158),!1),this[s(194)](s(174),!1),this[s(194)](s(156),!1),this[s(207)]=new $r(e,Dn.createLabeledInputText),this[s(207)][s(196)][s(182)]({attributes:{maxlength:s(209)}}),this[s(207)][s(196)][s(217)](s(173)).to(this,s(162),(t=>t||this[s(185)])),this[s(207)][s(217)](s(156)).to(this,s(192),this,s(156),((t,e)=>t&&e)),this[s(178)]=n&&n[s(205)]?function(e,i){const n=es,r=e[n(226)],s=e[n(223)],o=(0,Dn.createDropdown)(s);o[n(208)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(223)],r={"Compare against selected":Qi(n,i(200)),"Name this revision":Qi(n,i(211)),"Restore this revision":Qi(n,i(243))};return e[i(207)]((t=>{const e=i,n=r[t[e(241)]];return n&&n!==t[e(241)]&&(t[e(241)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(245),model:new Dn.ViewModel({label:t[r(241)],class:t[r(214)],withText:!0,role:r(240),_action:t[r(204)]})};i[r(233)][r(238)](r(219)).to(e,r(235),(i=>r(229)!=typeof t[r(219)]||!i||t[r(219)](e))),o[r(213)](i)}return o}(e,i);return e[n(238)](n(235)).to(o,n(220)),o[n(217)][n(221)]({label:Qi(s,n(215)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(203)]}),o[n(205)]({attributes:{class:[n(247),r.if(n(235),n(222))]},on:{click:r.to((t=>t[n(209)]()))}}),o.on(n(199),(t=>{const i=n;e[i(244)]&&i(229)==typeof t[i(218)][i(242)]&&t[i(218)][i(242)](e)})),(0,Dn.addListToDropdown)(o,a,{role:n(201)}),o[n(206)](e,n(239),((t,r,s)=>{const a=n;if(s)for(const t of o[a(210)][a(224)]){const n=t[a(227)][a(202)],r=i[a(234)]((t=>t[a(204)]===n[a(242)]))[a(230)];t[a(230)]=void 0===r||r(e)}})),o}(this,n):"",this[s(178)]&&this[s(178)][s(217)](s(156)).to(this),this[s(181)]({tag:s(188),attributes:{class:["ck",s(159),s(213),o.if(s(197),s(183))]},children:[{tag:s(188),attributes:{class:["ck",s(159),s(203),o.if(s(156),s(190),(t=>!t)),o.if(s(192),s(214)),o.if(s(195),s(165)),o.if(s(158),s(157))]},children:[this[s(207)],{tag:s(164),attributes:{class:["ck",s(163)]},children:[{text:o.to(s(185))}]},{tag:s(188),attributes:{class:["ck",s(169)]},children:[{tag:"ul",attributes:{class:["ck",s(179)]},children:a}]},this[s(178)]],on:{click:o.to((t=>{const e=s;t[e(168)][e(191)](e(171))||this[e(174)]&&this[e(156)]&&this[e(160)](e(166),{id:this.id})}))}}]})}[ss(180)](){const t=ss;super[t(180)]();const e=this[t(207)][t(196)][t(211)];this[t(167)](e,t(184),(()=>{const i=t;this[i(199)]&&!e[i(173)]||this[i(160)](i(216),{id:this.id,name:e[i(173)]}),e[i(173)]||(e[i(173)]=this[i(162)]?this[i(162)]:this[i(185)])}))}[ss(166)](){this[ss(192)]=!0}[ss(161)](){this[ss(192)]=!1}[ss(212)](){this[ss(195)]=!0}[ss(154)](){this[ss(195)]=!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"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Es={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys},Vs={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 Gs extends Us{static create(t){return Bs[t]||(Bs[t]=new Gs(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=Gs.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 Ys={};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&&Gs.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||xo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||xo.defaultNumberingSystem,c=i||xo.defaultOutputCalendar,u=Yo(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Js={},Xs={},Qs={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return ao.create(t,e,i,n)}constructor(t,e,i,n,r){const[s,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=Ks(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Ks(s).resolvedOptions(),n=s}const{numberingSystem:r,calendar:s}=e;return[n,r,s]}}(t);this.locale=s,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?ao.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Yo(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=Ys[i];return n||(n=new Intl.ListFormat(t,e),Ys[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)||Gs.create(t)}return Zo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,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 Oo}static set defaultWeekSettings(t){Oo=Yo(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(),Gs.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 Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Mo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Eo(t,e,i){return i+(ia(t)?No:Ao)[e-1]}function Do(t,e){const i=ia(t)?No:Ao,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Vo(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Eo(n,r,s),a=Vo(Mo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Vo(Mo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Do(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Eo(e,i,n),...ma(t)}}function Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Do(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 Go(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Yo(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-Vo(Mo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Go(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:Rs,TTT:Ms,TTTT:Es,f:Ds,ff:Cs,fff:Ls,ffff:zs,F:Vs,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 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=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 Aa(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 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 Ma=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ea(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Da(...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 Va(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Xo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,La=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ma.source})\\])?)?`}`),Pa=RegExp(`(?:T${La.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function 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]?Gs.create(t[e]):null,e+1]}const Ga=RegExp(`^T?${Fa.source}$`),Ya=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ja(t){const[e,i,n,r,s,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Qo(i)),months:d(Qo(n)),weeks:d(Qo(r)),days:d(Qo(s)),hours:d(Qo(o)),minutes:d(Qo(a)),seconds:d(Qo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Xa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Xo(e)):Xo(e),month:va.indexOf(i)+1,day:Xo(n),hour:Xo(r),minute:Xo(s)};return o&&(a.second=Xo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Qa=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Xa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ic=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,nc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function rc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Ea(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Pa),ac=Ea(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Pa),cc=Ea(/(\d{4})-?(\d{3})/,Pa),uc=Ea(La),lc=Da((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=Da(za,$a,qa,Ba),dc=Da(Wa,$a,qa,Ba),fc=Da($a,qa,Ba);const mc=Da($a);const pc=Ea(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Ea(Ua),yc=Da($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"],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(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 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(Zo(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 Va(t,[Ya,Ja])}(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 Va(t,[Ga,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?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=Nc.fromDurationLike(t),i={};for(const t of Sc)(Go(e.values,t)||Go(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;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 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 Rc="Invalid Interval";class Mc{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new hs(i);return new Mc({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Mc.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:Mc.invalid("missing or invalid end"):Mc.invalid("missing or invalid start")}(i,n);return null==r?new Mc({start:i,end:n}):r}static after(t,e){const i=Nc.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Nc.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Mc.fromDateTimes(t,s);if(r){const i=Nc.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Nc.fromISO(i,e);if(t.isValid)return Mc.before(s,t)}}return Mc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?Mc.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Mc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=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(Mc.fromDateTimes(n,i)),n=i,r+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:Mc.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return Mc.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Mc.fromDateTimes(e,t.time)),e=null);return Mc.merge(n)}difference(...t){return Mc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Nc.invalid(this.invalidReason)}mapEndpoints(t){return Mc.fromDateTimes(t(this.s),t(this.e))}}class Ec{static hasDST(t=xo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Gs.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:$o(),localeWeek:qo()}}}function Dc(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 Vc(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=Dc(t,e);return(i-i%7)/7}],["days",Dc]],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 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=Gc(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(Go(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=Gs.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(Go(i,"a")&&Go(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 Gc(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 Yc="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=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?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Ko(t.c.year,i?6:4),e?(n+="-",n+=Ko(t.c.month),n+="-",n+=Ko(t.c.day)):(n+=Ko(t.c.month),n+=Ko(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Ko(t.c.hour);return e?(o+=":",o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ko(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Ko(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Ko(Math.trunc(-t.o/60)),o+=":",o+=Ko(Math.trunc(-t.o%60))):(o+="+",o+=Ko(Math.trunc(t.o/60)),o+=":",o+=Ko(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(Uo(t.year))r=xo.now();else{for(const e of du)Uo(t[e])&&(t[e]=uu[e]);const e=zo(t)||Wo(t);if(e)return wu.invalid(e);const n=function(t){return bu[t]||(void 0===ku&&(ku=xo.now()),bu[t]=t.offset(ku)),bu[t]}(i);[r,s]=nu(t,n,i)}return new wu({ts:r,zone:i,loc:n,o:s})}function yu(t,e,i){const n=!!Uo(i.round)||i.round,r=(t,r)=>{t=ea(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,r)},s=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return r(s(i.unit),i.unit);for(const t of i.units){const e=s(t);if(Math.abs(e)>=1)return r(e,t)}return r(t>e?-0:0,i.units[i.units.length-1])}function gu(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let ku,bu={};class wu{constructor(t){const e=t.zone||xo.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new To("invalid input"):null)||(e.isValid?null:Kc(e));this.ts=Uo(t.ts)?xo.now():t.ts;let n=null,r=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,r]=[t.old.c,t.old.o];else{const s=Zo(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return wu.invalid("invalid input");const r=ho(e.zone,xo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Kc(r))}static fromMillis(t,e={}){if(Zo(t))return t<-Jc||t>Jc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Zo(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Po(r,n),a=xo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=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 Va(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 Va(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 Va(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 Va(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=Gc(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?Ec.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ec.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ec.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ec.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Po(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Lo({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,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?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Yc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Yc}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():Yc}[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=Vc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Mc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return As}static get TIME_24_SIMPLE(){return Ns}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Ms}static get TIME_24_WITH_LONG_OFFSET(){return Es}static get DATETIME_SHORT(){return Ds}static get DATETIME_SHORT_WITH_SECONDS(){return Vs}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ls}static get DATETIME_FULL_WITH_SECONDS(){return Ps}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Zo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Su();return(Iu=function(t,e){return i[t-=116]})(t,e)}function Su(){const t=["fromJSDate","week","month","5420fASJNh","129173qkHzxO","day","2889504YOGNXo","1932QDHecH","315fNpEdK","local","toJSDate","setLocale","year","toRelativeCalendar","399599AXSwQy","hasSame","5161128WdEnrG","375270CzFfSF","2qlmBwf","minus","2096qaRLAm","startOf","3411933gwKYMF","monthLong","weekdayLong","6clwNIW"];return(Su=function(){return t})()}function Ou(t,e){const i=Iu,n=wu[i(119)](t)[i(130)](e),r=wu[i(128)](),s=r[i(138)]({days:1})[i(140)](i(124));let o,a;return n[i(134)](r,i(124))?(o=n[i(140)](i(124))[i(129)](),a=n[i(132)]()):n[i(134)](s,i(124))?(o=s[i(129)](),a=n[i(132)]()):n[i(134)](r,i(120))?(o=n[i(140)](i(120))[i(129)](),a=n[i(117)]||""):n[i(134)](r,i(131))?(o=n[i(140)](i(121))[i(129)](),a=n[i(116)]||""):(o=n[i(140)](i(131))[i(129)](),a=String(n[i(131)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Iu,i=t();for(;;)try{if(939923===-parseInt(e(133))/1*(-parseInt(e(137))/2)+-parseInt(e(125))/3+parseInt(e(139))/4*(-parseInt(e(122))/5)+parseInt(e(118))/6*(-parseInt(e(141))/7)+-parseInt(e(135))/8+-parseInt(e(127))/9*(-parseInt(e(136))/10)+parseInt(e(123))/11*(parseInt(e(126))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Su);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Pn().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Zn();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;function Au(t,e){const i=Nu();return(Au=function(t,e){return i[t-=251]})(t,e)}function Nu(){const t=["setName","createCollection","80dwydkU","locale","add","_requireRevisionName","addRevision","find","startDate","revisionViews","1119084FrcOPf","_revisionActions","uiLanguage","595239uhUhyw","1151430XMdEjI","5czXfvA","1043KDWIuF","localizedPeriodName","setTemplate","ck-revision-history-sidebar__time-period","26630SgtjJP","1793xgygzI","778424WVbKYW","select","ck-revision-history-sidebar__time-period__revisions","ck-revision-history-sidebar__time-period__label","delegate","remove","removeRevision","9hAasgN","div","1085133KQuqXi","span"];return(Nu=function(){return t})()}const Ru=Au;!function(t){const e=Au,i=t();for(;;)try{if(144810===parseInt(e(281))/1*(parseInt(e(267))/2)+parseInt(e(278))/3+-parseInt(e(275))/4+-parseInt(e(280))/5*(parseInt(e(279))/6)+-parseInt(e(263))/7+-parseInt(e(254))/8*(-parseInt(e(261))/9)+-parseInt(e(252))/10*(-parseInt(e(253))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Nu);class Mu extends Dn.View{constructor(t,e,i,n){const r=Au;super(t);const s=Ou(e,this[r(268)][r(277)])[r(282)];this[r(273)]=e,this[r(274)]=this[r(266)](),this[r(276)]=i,this[r(270)]=n,this[r(274)][r(258)](r(255)).to(this),this[r(274)][r(258)](r(265)).to(this),this[r(283)]({tag:r(262),attributes:{class:["ck",r(251)]},children:[{tag:r(264),attributes:{class:["ck",r(257)]},children:[{text:s}]},{tag:r(262),attributes:{class:["ck",r(256)]},children:this[r(274)]}]})}[Ru(271)](t){const e=Ru,i=new cs(this[e(268)],t,this[e(276)],this[e(270)]);this[e(274)][e(269)](i)}[Ru(260)](t){const e=Ru,i=this[e(274)][e(272)]((e=>e.id===t.id));this[e(274)][e(259)](i)}}var Eu=i(173),Du={attributes:{"data-cke":!0}};Du.setAttributes=Wn(),Du.insert=Pn().bind(null,"head"),Du.domAPI=Fn(),Du.insertStyleElement=Zn();Cn()(Eu.A,Du);Eu.A&&Eu.A.locals&&Eu.A.locals;function Vu(t,e){const i=Cu();return(Vu=function(t,e){return i[t-=379]})(t,e)}function Cu(){const t=["ck-revision-history-sidebar__header__label","div","689046NffKtu","87XSlQKG","2975LtlLKw","7785207tpyAdf","97611SpeToA","ck-reset_all","history","Revision history","ck-revision-history-sidebar__header","19400HaguEs","content","3015952uHnqDN","setTemplate","2463167RbhWQR","span","6016OUhgSJ"];return(Cu=function(){return t})()}!function(t){const e=Vu,i=t();for(;;)try{if(460202===parseInt(e(382))/1+parseInt(e(387))/2*(-parseInt(e(379))/3)+-parseInt(e(393))/4*(-parseInt(e(380))/5)+-parseInt(e(396))/6+parseInt(e(391))/7+parseInt(e(389))/8+-parseInt(e(381))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cu);class ju extends Dn.View{constructor(t){const e=Vu;super(t);const i=new Dn.IconView;i[e(388)]=qi.icons[e(384)],this[e(390)]({tag:e(395),attributes:{class:["ck",e(383),e(386)]},children:[i,{tag:e(392),attributes:{class:["ck",e(394)]},children:[Qi(t,e(385))]}]})}}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=Wu;function zu(){const t=["locale","771DsiLbx","966730KtxSDe","_revisions","render","fire","4754eSiJgR","_requireRevisionName","get","set","highlight","418386dgBnND","startDate","revisionViews","setTemplate","_removeRevision","uiLanguage","ck-revision-history-sidebar","_getTimePeriodViewByStartDate","_revisionActions","deselect","find","ck-reset","getTime","flat","ck-rounded-corners","map","unhighlight","delegate","bindTemplate","createCollection","highlightRevisions","timePeriodViews","removeRevision","2009076ulmEUC","setName","createdAt","revisionSelected","ck-revision-history-sidebar__timeline","6667928izfPrj","div","2171688arUQdq","ck-disabled","selectRevision","select","add","remove","isEnabled","2039716xTswAT","some","addRevision","revisionSetName","_addRevision"];return(zu=function(){return t})()}function Wu(t,e){const i=zu();return(Wu=function(t,e){return i[t-=328]})(t,e)}!function(t){const e=Wu,i=t();for(;;)try{if(787631===-parseInt(e(342))/1+parseInt(e(337))/2*(parseInt(e(332))/3)+-parseInt(e(365))/4+parseInt(e(333))/5+parseInt(e(372))/6+-parseInt(e(379))/7+parseInt(e(370))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zu);class Uu extends Dn.View{constructor(t,e,i,n){const r=Wu;super(t);const s=this[r(360)];this[r(363)]=this[r(361)](),this[r(363)][r(359)](r(375)).to(this),this[r(363)][r(359)](r(366)).to(this),this[r(334)]=e,this[r(350)]=i,this[r(338)]=n,this.on(r(375),((t,e)=>{const i=r;this[i(336)](i(368),e)})),this.on(r(366),((t,e)=>{const i=r;this[i(336)](i(329),e)})),this[r(340)](r(378),!1),this[r(345)]({tag:r(371),attributes:{class:["ck",r(353),r(356),r(348)]},children:[new ju(t),{tag:r(371),attributes:{class:["ck",r(369),s.if(r(378),r(373),(t=>!t))]},children:this[r(363)]}]})}[Pu(335)](){const t=Pu;super[t(335)]();for(const e of this[t(334)])this[t(330)](e);this[t(334)].on(t(376),((e,i)=>{this[t(330)](i)})),this[t(334)].on(t(377),((e,i)=>{this[t(346)](i)}))}get[Pu(344)](){const t=Pu;return this[t(363)][t(357)]((e=>e[t(344)][t(357)]((t=>t))))[t(355)]()}[Pu(374)](t){const e=Pu;for(const i of this[e(344)])t&&t.id===i.id?i[e(375)]():i[e(351)]()}[Pu(362)](t){const e=Pu;for(const i of this[e(344)])t[e(380)]((({id:t})=>t===i.id))?i[e(341)]():i[e(358)]()}[Pu(330)](t){const e=Pu,i=Ou(t[e(367)],this[e(331)][e(347)])[e(343)];let n=this[e(363)][e(339)](0);n&&n[e(343)][e(354)]()===i[e(354)]()||(n=new Mu(this[e(331)],i,this[e(350)],this[e(338)]),this[e(363)][e(376)](n)),n[e(328)](t)}[Pu(346)](t){const e=Pu,i=Ou(t[e(367)],this[e(331)][e(347)])[e(343)];this[e(349)](i)[e(364)](t)}[Pu(349)](t){const e=Pu;return this[e(363)][e(352)]((i=>i[e(343)][e(354)]()===t[e(354)]()))}}const Zu=$u;function Hu(){const t=["pluginName","fieldView","availableRevisionActions","revisionViews","select","Name this revision","isPremiumPlugin","isReady","plugins","7fGxgKg","highlightRevisions","destroy","getRevisionsInDiff","element","requires","name","init","appendChild","_handleRevisionSetName","restoreRevisionCallback","nameRevision","RevisionsSidebar","4RSxsJV","compare","data","isOfficialPlugin","_sidebarView","compareAgainstSelected","revisionHistory.requireRevisionName","locale","remove","revisionSetName","_revisionsRepository","Compare against selected","get","1386EktIwm","getLaterVisibleRevision","revisionHistory.revisionActions","config","change:diff","revisionSelected","setName","render","editor","map","assign","215496nTcCNA","focus","_handleRevisionSelected","restoreRevision","getIndex","add","4874210XxyMmP","362877XQJUHD","_createRevisionActions","_revisionViewer","repository","15820kRcCSe","isSelected","diff","defaultRevisionActions","newRevisionId","string","length","isVisible","getEarlierVisibleRevision","Restore this revision","getRevision","2275902zJEllQ","selectRevision","_revisions","revisionHistory","bind","9195nvTzhk","action","44zJyzMI","timePeriodViews","revisionHistory.viewerSidebarContainer","listenTo","_handleEditorDataReady","92453LLLvGp","isEnabled","ready","_handleDiffChange"];return(Hu=function(){return t})()}function $u(t,e){const i=Hu();return($u=function(t,e){return i[t-=348]})(t,e)}!function(t){const e=$u,i=t();for(;;)try{if(225768===-parseInt(e(424))/1*(parseInt(e(366))/2)+-parseInt(e(397))/3+-parseInt(e(419))/4*(parseInt(e(417))/5)+parseInt(e(412))/6*(parseInt(e(353))/7)+-parseInt(e(390))/8+-parseInt(e(379))/9*(parseInt(e(401))/10)+parseInt(e(396))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hu);class qu extends qi.Plugin{static get[Zu(428)](){return Zu(365)}static get[Zu(369)](){return!0}static get[Zu(350)](){return!0}static get[Zu(358)](){return[br]}constructor(t){const e=Zu;super(t),this[e(399)]=t[e(352)][e(378)](br),this[e(376)]=this[e(399)][e(400)],this[e(370)]=null}[Zu(360)](){const t=Zu,e=this[t(376)][t(414)],i=this[t(398)](),n=this[t(387)][t(382)][t(378)](t(421));this[t(370)]=new Uu(this[t(387)][t(373)],e,i,this[t(387)][t(382)][t(378)](t(372))),this[t(370)].on(t(384),this[t(392)][t(416)](this)),this[t(370)].on(t(375),this[t(362)][t(416)](this)),this[t(370)][t(416)](t(425)).to(this[t(399)]),this[t(370)][t(420)].on(t(395),((e,i)=>{const n=t;i[n(431)].on(n(395),((t,e)=>{const i=n;e[i(416)](i(425),i(351)).to(this[i(399)])}))})),this[t(370)][t(386)](),this[t(422)](this[t(387)][t(368)],t(426),this[t(423)][t(416)](this)),this[t(422)](this[t(399)],t(383),this[t(427)][t(416)](this)),n[t(361)](this[t(370)][t(357)])}[Zu(355)](){const t=Zu;this[t(370)][t(357)][t(374)](),this[t(370)][t(355)]()}[Zu(423)](){const t=Zu,e=this[t(376)][t(411)](0);if(e){const i=this[t(376)][t(409)](e.id);this[t(399)][t(367)](e,i)}}[Zu(392)](t,e){const i=Zu,n=this[i(376)][i(411)](e.id),r=this[i(376)][i(409)](n.id);this[i(399)][i(367)](n,r)}[Zu(362)](t,e){const i=Zu;this[i(376)][i(411)](e.id)[i(385)](e[i(359)])}[Zu(427)](t,e,i){const n=Zu,r=this[n(376)][n(356)](i);r[n(407)]>2?(this[n(370)][n(354)](r),this[n(370)][n(413)](null)):(this[n(370)][n(354)]([]),this[n(370)][n(413)](r[0]))}[Zu(398)](){const t=Zu,e=this[t(387)],i=qu[t(430)],n=e[t(382)][t(378)](t(381))||qu[t(404)];if(n[t(407)])return n[t(388)]((n=>{const r=t,s=r(406)==typeof n?Object[r(389)]({},i[n]):n;return s[r(418)]=s[r(418)][r(416)](this,e),s[r(408)]&&(s[r(408)]=s[r(408)][r(416)](this,e)),s}))}}qu[Zu(404)]=[Zu(371),Zu(393),Zu(364)],qu[Zu(430)]={compareAgainstSelected:{name:Zu(377),action:({plugins:t},e)=>{const i=Zu,n=t[i(378)](br),r=n[i(400)];let s=n[i(403)][i(405)],o=e.id;r[i(394)](s)>r[i(394)](o)&&([s,o]=[o,s]),n[i(367)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(378)](br);return!(n[i(400)][i(356)](n[i(403)])[i(407)]>2||e[i(402)])}},restoreRevision:{name:Zu(410),action:(t,{id:e})=>{const i=Zu;t[i(382)][i(378)](i(415))[i(363)](e)},isVisible:({plugins:t},e)=>!!t[Zu(378)](br)[Zu(400)][Zu(380)](e.id)},nameRevision:{name:Zu(349),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(378)](br),s=r[n(400)][n(409)](e);r[n(367)](e,s),i[n(391)](),i[n(429)][n(348)]()}}};const Bu=qu,Gu=Yu;function Yu(t,e){const i=Ju();return(Yu=function(t,e){return i[t-=238]})(t,e)}function Ju(){const t=["_elementReplacer","view","_toolbarConfig","bind","init","rootName","27562mdwudt","name","_view","fillFromConfig","3356380mZUhll","componentFactory","replace","get","limiterElement","toolbar","viewportTopOffset","attachDomRoot","7201440cooNdV","document","165QnOApq","_initToolbar","viewportOffset","focusTracker","config","60uLWuos","12bDIAXV","1357230FVwWYt","editing","3764352FLyIge","element","restore","render","stickyPanel","detachDomRoot","destroy","editor","editable","addToolbar","ready","10993248qBBRta","fire","7ZUSVEP","setEditableElement","isFocused","1292461DcOTeI","isActive","getRoot"];return(Ju=function(){return t})()}!function(t){const e=Yu,i=t();for(;;)try{if(700983===-parseInt(e(252))/1+parseInt(e(261))/2*(-parseInt(e(280))/3)+parseInt(e(281))/4*(-parseInt(e(282))/5)+-parseInt(e(273))/6+parseInt(e(249))/7*(parseInt(e(284))/8)+-parseInt(e(247))/9+parseInt(e(265))/10*(parseInt(e(275))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ju);class Ku extends Dn.EditorUI{get[Gu(256)](){return this[Gu(263)]}constructor(e,i){const n=Gu;super(e),this[n(263)]=i,this[n(257)]=(0,Dn.normalizeToolbarConfig)(e[n(279)][n(268)](n(270))),this[n(255)]=new t.ElementReplacer}get[Gu(285)](){const t=Gu;return this[t(256)][t(285)]}[Gu(259)](t){const e=Gu,i=this[e(243)],n=this[e(256)],r=i[e(283)][e(256)],s=n[e(244)],o=r[e(274)][e(254)]();s[e(262)]=o[e(260)],n[e(239)]();const a=s[e(285)];this[e(250)](s[e(262)],a),n[e(244)][e(258)](e(251)).to(this[e(278)]),r[e(272)](a),this[e(255)][e(267)](t,this[e(285)]),this[e(276)](),this[e(248)](e(246))}[Gu(242)](){const t=Gu;super[t(242)]();const e=this[t(256)],i=this[t(243)][t(283)][t(256)];this[t(255)][t(238)](),i[t(241)](e[t(244)][t(262)]),e[t(242)]()}[Gu(276)](){const t=Gu,e=this[t(256)];e[t(240)][t(258)](t(253)).to(this[t(278)],t(251)),e[t(240)][t(269)]=e[t(285)],e[t(240)][t(258)](t(271)).to(this,t(277),(({top:t})=>t)),e[t(270)][t(264)](this[t(257)],this[t(266)]),this[t(245)](e[t(270)])}}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-=204]})(t,e)}function il(){var t=["822576ILqWrs","toolbar","11167275pnwyfO","3435iTyxpo","editable","5djIfbj","2094219owPYIs","32jWkwXW","render","content","8813628ByvZwj","6632728FZlGtK","stickyPanel","add","825wWoYJr","_editable","main","2794EBDrGK","118430pLdRNf","top","shouldToolbarGroupWhenFull"];return(il=function(){return t})()}!function(t){for(var e=el,i=t();;)try{if(928643===-parseInt(e(205))/1+-parseInt(e(222))/2*(parseInt(e(208))/3)+-parseInt(e(216))/4*(-parseInt(e(210))/5)+parseInt(e(215))/6+-parseInt(e(207))/7+parseInt(e(212))/8*(parseInt(e(211))/9)+-parseInt(e(223))/10*(-parseInt(e(219))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(il);class nl extends Dn.BoxedEditorUIView{get[tl(209)](){return this[tl(220)]}constructor(t,e,i={}){var n=tl;super(t),this[n(217)]=new Dn.StickyPanelView(t),this[n(206)]=new Dn.ToolbarView(t,{shouldGroupWhenFull:i[n(204)]}),this[n(220)]=new Dn.InlineEditableUIView(t,e)}[tl(213)](){var t=tl;super[t(213)](),this[t(217)][t(214)][t(218)](this[t(206)]),this[t(224)][t(218)](this[t(217)]),this[t(221)][t(218)](this[t(209)])}}const rl=sl;function sl(t,e){const i=al();return(sl=function(t,e){return i[t-=488]})(t,e)}!function(t){const e=sl,i=t();for(;;)try{if(497931===parseInt(e(502))/1*(-parseInt(e(514))/2)+parseInt(e(496))/3*(-parseInt(e(505))/4)+-parseInt(e(494))/5+parseInt(e(501))/6*(parseInt(e(489))/7)+-parseInt(e(491))/8*(-parseInt(e(498))/9)+-parseInt(e(509))/10*(-parseInt(e(512))/11)+parseInt(e(492))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(al);class ol extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[sl(513)]}constructor(t,e){const i=sl;super(e),this[i(500)]=t,this[i(517)][i(515)][i(507)]();const n=new nl(this[i(488)],this[i(499)][i(508)],{shouldToolbarGroupWhenFull:!0});this[i(513)]=new Ku(this,n)}[rl(497)](){const t=rl;return this[t(490)](),this.ui[t(497)](),super[t(497)]()}static async[rl(506)](t,e){const i=rl,n=new this(t,e);return await n[i(493)](),await n.ui[i(510)](t),await n[i(511)][i(510)](n[i(503)][i(495)](i(504))||""),n[i(516)](i(518)),n}}function al(){const t=["fire","model","ready","locale","7FdgoRN","updateSourceElement","319664ggHMWs","11927100EPHIZH","initPlugins","3042805GeBmzu","get","6RSQhUu","destroy","153LgIQru","editing","sourceElement","370338brLuXa","24944HrXWlZ","config","initialData","188176YqoDde","create","createRoot","view","1640780ioPUHZ","init","data","11fcUieZ","_ui","56ZMemRw","document"];return(al=function(){return t})()}const cl=ll;function ul(){const t=["_getRevisionViewerEditorConfig","createRangeIn","map","destroy","enqueueChange","markers","54Afdoat","parse","error","disableReadOnlyMode","getUser","_showRevisionViewer","exitToEditing","push","4038885Aiomms","creator","8925HLgiRw","catch","indexOf","RevisionTracker","revisionHistory.viewerContainer","uiLanguage","get","rootName","name","changesNavigation","end","repository","toJSON","addUser","_closeRevisionViewer","_update","RevisionHistory","revision-history-missing-configuration","getAttributeKeys","4wTPpgz","1020kqObex","showRevisionViewerCallback","897146VAKUSG","isReadOnly","restrictedEditingException","commands","refreshVisibility","insert","adapter","removeMarker","remove","createdAt","closeRevisionViewerCallback","getRevision","includes","Annotations","Users","from","block","isReady","getMarkersGroup","display","data","removeAttribute","setAttribute","change","config","_cleanUp","fromVersion","translations","RevisionHistoryUI","isEnabled","RevisionViewer","revisionHistory.viewerEditorElement","roots","fromCharCode","update","revisionHistory.showRevisionViewerCallback","users","toLocaleDateString","revisionHistory.requireRevisionName","long","hide","enableReadOnlyMode","revisionHistory","isAttached","toolbar","revisionHistory.restoreRevisionCallback","then","revision-history-viewer-opened","join","getRevisionRootsAttributes","selection","requires","1767210dXBkbC","numeric","none","Dialog","toVersion","1BbvfKy","restoreRevision","Restored","_enhanceShowRevisionViewerCallback","RevisionsRepository","save","Autosave","RevisionViewerIntegration","result","removeSelectionAttribute","PaginationLookup","revisionHistory.editorContainer","set","pluginName","_recalculatePageBreaks","keys","style","has","_viewerEditor","toLocaleTimeString","getRevisionData","init","refreshPositioning","RestrictedEditingMode","_enhanceCloseRevisionViewerCallback","detachRoot","isAnonymous","addRevisionData","isPremiumPlugin","revisionHistory.closeRevisionViewerCallback","editor","saveRevision","getRoot","6933663PKeWbw","4534980aXJylr","bind","locale","define","create","setSelection","320520FxYkTW","_restoreRevision","addRoot","isOfficialPlugin","lazyRoots","$graveyard","model","getRevisions","isOpen","plugins","document"];return(ul=function(){return t})()}function ll(t,e){const i=ul();return(ll=function(t,e){return i[t-=466]})(t,e)}!function(t){const e=ll,i=t();for(;;)try{if(440191===parseInt(e(544))/1*(-parseInt(e(487))/2)+-parseInt(e(539))/3*(-parseInt(e(484))/4)+-parseInt(e(609))/5+parseInt(e(485))/6*(-parseInt(e(611))/7)+parseInt(e(584))/8*(parseInt(e(601))/9)+parseInt(e(578))/10+parseInt(e(577))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ul);const hl=[cl(515),cl(567)];class dl extends qi.Plugin{static get[cl(557)](){return cl(551)}static get[cl(587)](){return!0}static get[cl(572)](){return!0}constructor(t){const e=cl;function i(t){const e=ll;return t[e(597)]((t=>String[e(520)](t)))[e(535)]("")}super(t),this[e(552)]=e(475),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(557)](){return cl(481)}static get[cl(587)](){return!0}static get[cl(572)](){return!0}static get[cl(538)](){return[xn,er]}constructor(e){const i=cl;if(super(e),!this[i(574)][i(511)][i(471)](i(529)))throw new t.CKEditorError(i(482),this);this[i(562)]=null,this[i(574)][i(511)][i(581)](i(522),(t=>this[i(606)]({...t,translations:this[i(574)][i(580)][i(514)]}))),this[i(574)][i(511)][i(581)](i(573),(t=>this[i(479)](t))),this[i(574)][i(511)][i(581)](i(532),(t=>this[i(585)](t))),this[i(574)][i(511)][i(581)](i(525),!1),this[i(547)](),this[i(568)]()}set[cl(493)](t){const e=cl;this[e(574)][e(593)][e(471)](e(468))[e(493)]=t}get[cl(493)](){const t=cl;return this[t(574)][t(593)][t(471)](t(468))[t(493)]}[cl(571)](t){const e=cl;return this[e(574)][e(593)][e(471)](e(468))[e(571)](t)}[cl(498)](t){const e=cl;return this[e(574)][e(593)][e(471)](e(548))[e(498)](t)}[cl(591)](t){const e=cl;return this[e(574)][e(593)][e(471)](e(548))[e(591)](t||{toJSON:!1})}[cl(595)](){const e=cl,i=this[e(574)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(593)][e(471)](e(468)),s=i[e(593)][e(471)](e(501))[e(523)];return n[e(531)]=[e(607),e(545),e(474)],delete n[e(588)],n[e(593)][e(608)](dl,br,Pr,class extends qi.Plugin{static get[e(538)](){return[br,e(501)]}[e(565)](){const n=e,o=this[n(574)][n(593)][n(471)](n(501));for(const t of s)t[n(570)]||o[n(605)](t.id)||o[n(478)](t);const a=r[n(476)][n(591)]();let c=null;const u=this[n(574)][n(593)][n(471)](n(517));u[n(493)]=r[n(493)],u[n(579)](n(516)).to(r),this[n(574)][n(490)][n(471)](n(545))[n(579)](n(516)).to(i,n(488),(t=>!t));for(const e of a){const i=null===e[n(610)];if(i&&e[n(543)]===e[n(513)])continue;const s=e[n(477)]();u[n(571)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(480)](s,o);else if(!o){const e=a[u(477)]();e.id=(0,t.uid)(),r[u(575)](e,a[u(543)])[u(533)]((t=>{c=t}))}}else e[u(480)](s,o)}))}}},Bu),n}[cl(547)](){const t=cl,e=this[t(574)][t(511)][t(471)](t(529))[t(486)];this[t(574)][t(511)][t(556)](t(522),(async()=>{const i=t;this[i(574)][i(528)](i(534));const n=this[i(574)][i(593)][i(471)](i(468));if(this[i(574)][i(593)][i(561)](i(550))){const t=this[i(574)][i(593)][i(471)](i(550));await t[i(549)]()}else await n[i(521)]();if(this[i(574)][i(593)][i(561)](i(554))&&this[i(574)][i(593)][i(471)](i(554))[i(558)](),this[i(574)][i(593)][i(561)](i(542))){const t=this[i(574)][i(593)][i(471)](i(542));t[i(592)]&&t[i(527)]()}const r=this[i(595)]();return e(r)[i(533)]((t=>{const e=i;return this[e(562)]=t,this[e(574)][e(593)][e(561)](e(500))&&this[e(574)][e(593)][e(471)](e(500))[e(491)](),t}))[i(466)]((t=>(console[i(603)](t),this[i(574)][i(604)](i(534)),null)))}))}[cl(568)](){const t=cl,e=this[t(574)][t(511)][t(471)](t(529))[t(497)];this[t(574)][t(511)][t(556)](t(573),(()=>(this[t(574)][t(593)][t(561)](t(554))&&this[t(574)][t(593)][t(471)](t(554))[t(558)](),this[t(562)][t(593)][t(471)](t(517))[t(512)](),e(this[t(562)])[t(533)]((()=>{const e=t;if(this[e(574)][e(604)](e(534)),this[e(562)]=null,this[e(574)][e(593)][e(561)](e(500))){const t=this[e(574)][e(593)][e(471)](e(500));t[e(491)](),t[e(566)]()}})))))}[cl(606)](t){const e=cl,i=this[e(574)][e(511)][e(471)](e(555)),n=this[e(574)][e(511)][e(471)](e(469)),r=this[e(574)][e(511)][e(471)](e(518));return ol[e(582)](r,t)[e(533)]((t=>(n[e(560)][e(506)]=e(503),i[e(560)][e(506)]=e(541),t)))}[cl(479)](t){const e=cl,i=this[e(574)][e(511)][e(471)](e(555));return this[e(574)][e(511)][e(471)](e(469))[e(560)][e(506)]=e(541),i[e(560)][e(506)]="",t[e(598)]()}async[cl(585)](t){const e=cl,i=this[e(574)],n=this[e(562)][e(593)][e(471)](e(517)),r=i[e(593)][e(471)](e(468)),s=n[e(476)][e(498)](t);let o,a,c;try{o=await n[e(564)](s),a=await n[e(536)](s)}catch(t){return void console[e(603)](t)}i[e(590)][e(510)]((t=>{const n=e;for(const e of Array[n(502)](i[n(590)][n(600)][n(505)](n(489))))t[n(494)](e)})),n[e(504)]=!1,i[e(590)][e(599)]((t=>{const n=e;t[n(583)](null),t[n(553)](i[n(590)][n(594)][n(537)][n(483)]());const r=Object[n(559)](o);for(const e of i[n(590)][n(594)][n(519)])n(589)!=e[n(472)]&&e[n(530)]()&&!r[n(499)](e[n(472)])&&t[n(569)](e);for(const e of r){let r=i[n(590)][n(594)][n(576)](e);r&&r[n(530)]()||(r=t[n(586)](e));const s=a[e],c=Object[n(559)](s),u=o[e];for(const e of r[n(483)]())c[n(499)](e)||t[n(508)](e,r);for(const i of c)t[n(509)](i,a[e][i],r);t[n(495)](t[n(596)](r)),t[n(492)](i[n(507)][n(602)](u,r),r,0)}}));const u=Qi(i[e(580)],e(546));return c=s[e(473)]?-1==s[e(473)][e(467)](u)?u+": "+s[e(473)]:s[e(473)]:u+": "+s[e(496)][e(524)](i[e(580)][e(470)],{month:e(526),day:e(540)})+", "+s[e(496)][e(563)](i[e(580)][e(470)],{hour:e(540),minute:e(540)}),await r[e(575)]({name:c}),n[e(504)]=!0,i[e(511)][e(471)](e(529))[e(497)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=214]})(t,e)}function pl(){var t=["1902055gWWPdI","6109101CsSOBs","72Sgqolq","32UZbcts","36978CdqaGD","2021706GLFTMd","768468CwTZdX","103104uRgAFc","227850dsqVMK"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(233518===-parseInt(e(215))/1+parseInt(e(220))/2*(parseInt(e(221))/3)+-parseInt(e(214))/4+parseInt(e(217))/5+parseInt(e(222))/6+-parseInt(e(216))/7*(-parseInt(e(219))/8)+-parseInt(e(218))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();