@ckeditor/ckeditor5-revision-history 44.2.0-alpha.0 → 44.2.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +10 -10
  148. package/src/changeitem.js +2 -2
  149. package/src/editor/revisionviewereditor.js +2 -2
  150. package/src/editor/revisionviewereditorui.js +1 -1
  151. package/src/editor/revisionviewereditoruiview.js +1 -1
  152. package/src/index.js +1 -1
  153. package/src/revision.js +2 -2
  154. package/src/revisiondiff.js +1 -1
  155. package/src/revisionhistory.js +1 -1
  156. package/src/revisionsrepository.js +1 -1
  157. package/src/revisiontracker.js +1 -1
  158. package/src/revisionviewer.js +1 -1
  159. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  160. package/src/ui/revision/revisionauthorview.js +1 -1
  161. package/src/ui/revision/revisionnameview.js +1 -1
  162. package/src/ui/revision/revisionview.js +2 -2
  163. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  164. package/src/ui/revision/subrevisionview.js +1 -1
  165. package/src/ui/revision/utils.js +1 -1
  166. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  167. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  168. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  169. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  170. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  172. package/src/ui/revisionssidebar/utils.js +1 -1
  173. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  174. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  175. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  176. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  177. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={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:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},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:()=>er,RevisionTracker:()=>On,RevisionViewer:()=>kr,RevisionViewerLoadingOverlay:()=>Dr,RevisionViewerUI:()=>Pr,RevisionsRepository:()=>Qi,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,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 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 X=Object.prototype.hasOwnProperty;const Q=function(t){var e=this.__data__;if(Y){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return X.call(e,t)?e[t]:void 0};var K=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return Y?void 0!==e[t]:K.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=Q,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,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Zt=Ut&&Ut.exports===Wt&&y.process;const Ht=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}();var $t=Ht&&Ht.isTypedArray;const qt=$t?zt($t):Pt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=At(t),n=!i&&Nt(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Jt=Object.prototype;const Gt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Jt)};const Xt=function(t,e){return function(i){return t(e(i))}};const Qt=Xt(Object.keys,Object);var Kt=Object.prototype.hasOwnProperty;const te=function(t){if(!Gt(t))return Qt(t);var e=[];for(var i in Object(t))Kt.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=Xt(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),Ue=A;(Ne&&Ue(new Ne(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Ve||Ae&&Ue(Ae.resolve())!=Ee||Re&&Ue(new Re)!=De||Me&&Ue(new Me)!=Ce)&&(Ue=function(t){var e=A(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Le:return Ve;case Pe:return Ee;case ze:return De;case We:return Ce}return e});const Ze=Ue;var He=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&He.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(t)),e};const Ye=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Je=/\w*$/;const Ge=function(t){var e=new t.constructor(t.source,Je.exec(t));return e.lastIndex=t.lastIndex,e};var Xe=b?b.prototype:void 0,Qe=Xe?Xe.valueOf:void 0;const Ke=function(t){return Qe?Object(Qe.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 Ke(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]"==Ze(t)};var oi=Ht&&Ht.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=Ht&&Ht.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=At(e);if(h){if(a=$e(e),!c)return me(e,a)}else{var d=Ze(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te: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)};function Ui(t,e){const i=$i();return(Ui=function(t,e){return i[t-=203]})(t,e)}const Zi=Ui;!function(t){const e=Ui,i=t();for(;;)try{if(787444===parseInt(e(212))/1*(-parseInt(e(211))/2)+parseInt(e(217))/3*(parseInt(e(207))/4)+-parseInt(e(224))/5+parseInt(e(229))/6+-parseInt(e(213))/7+-parseInt(e(223))/8+parseInt(e(205))/9)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(227)]=e[i(227)]||null,this[i(220)]=e[i(220)]||[],this[i(206)]=e[i(206)]||null,this[i(214)]=e[i(214)]||0,this[i(210)]=e[i(210)]||0,this[i(209)](i(216),e[i(216)]||""),this[i(209)](i(215),e[i(215)]||new Date),this[i(209)](i(219),e[i(219)]||{})}[Zi(218)](t){this[Zi(204)]({name:t})}[Zi(226)](t,e){const i=Zi,n=vi(this[i(219)]);Ci(n,t,e),this[i(204)]({attributes:n})}[Zi(203)](t){const e=Zi,i=vi(this[e(219)]);Wi(i,t),this[e(204)]({attributes:i})}[Zi(204)](t,e=!1){const i=Zi;let n=!1;const r={id:this.id},s=[i(216),i(215),i(206),i(220),i(219),i(214),i(210),i(221)];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(220)]&&(r[i(228)]=r[i(220)][i(222)]((t=>t.id)),delete r[i(220)]),this[i(208)](i(204),r,e))}[Zi(225)](){const t=Zi;return{id:this.id,name:this[t(216)],creatorId:this[t(227)]?this[t(227)].id:null,authorsIds:this[t(220)][t(222)]((t=>t.id)),diffData:this[t(206)],createdAt:this[t(215)],attributes:this[t(219)],fromVersion:this[t(210)],toVersion:this[t(214)]}}}function $i(){const t=["976448dkBChi","2uXfeak","8172332KbxZCN","toVersion","createdAt","name","10389jkvRMU","setName","attributes","authors","creatorId","map","1958264NdrlAJ","6729795cBPEnJ","toJSON","setAttribute","creator","authorsIds","1493958kOwZcI","removeAttribute","_update","37491876VGYAsm","diffData","124tkrafu","fire","set","fromVersion"];return($i=function(){return t})()}var qi=i(782),Bi=i(211),Yi=i(783);function Ji(){const t=["toVersion","1446tTsgyS","createdAt","fromCharCode","add","push","getRevisionsIterator","4RKrgxX","getEarlierVisibleRevision","fromVersion","createRevision","2606164CejDPs","isNaN","isPremiumPlugin","getUser","reverse","toJSON","6uoDUZQ","1873067JGluIN","name","data","Users","href","getRevision","earlier","authorsIds","creatorId","isOfficialPlugin","from","getLaterVisibleRevision","newRevisionId","length","later","diffData","plugins","oldRevisionId","6416720svBmsJ","map","4150305jHfdtH","requires","7230cHtsXq","RevisionsRepository","995516vnPcLU","getRevisions","249958YsXLdu","editor","join","pluginName","8xEJwtb","afterInit","getRevisionsInDiff","get","attributes","getIndex","_revisions","addRevision"];return(Ji=function(){return t})()}const Gi=Xi;function Xi(t,e){const i=Ji();return(Xi=function(t,e){return i[t-=449]})(t,e)}!function(t){const e=Xi,i=t();for(;;)try{if(561828===parseInt(e(487))/1*(parseInt(e(450))/2)+parseInt(e(460))/3*(-parseInt(e(485))/4)+parseInt(e(483))/5*(parseInt(e(500))/6)+parseInt(e(461))/7*(parseInt(e(491))/8)+-parseInt(e(481))/9+parseInt(e(479))/10+-parseInt(e(454))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ji);class Qi extends qi.Plugin{static get[Gi(482)](){return[Bi.Users]}static get[Gi(490)](){return Gi(484)}static get[Gi(470)](){return!0}static get[Gi(456)](){return!0}get[Gi(474)](){const t=Gi;return this[t(497)][t(474)]}constructor(e){const i=Gi;super(e),this[i(497)]=new t.Collection}[Gi(492)](){!async function(e){const i=k([50,56,87,57,88,68,106,82,101,75,110,107,69,73,67,111,104,72,78,70,116,48,100,85,97,83,120,117,105,108,77,51,55,121,53,112,89,122,84,74,114,79,98,90,52,99,115,66,81,76,54,118,80,119,65,109,71,102,49,86,113,103]),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=Xi;for(const e in window)if(window[k([78,117,109,98,101,114])][i(455)](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([87]);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=Xi;return t[e(480)]((t=>String[e(502)](t)))[e(489)]("")}!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:1738108800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Xi,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(465)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>r[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Gi(453)](t){const e=Gi,i=this[e(488)][e(477)][e(494)](e(464));return new Hi({id:t.id,name:t[e(462)],creator:t[e(469)]?i[e(457)](t[e(469)]):null,diffData:t[e(476)]||t[e(463)],authors:t[e(468)][e(480)]((t=>i[e(457)](t))),createdAt:new Date(t[e(501)]),attributes:t[e(495)],fromVersion:t[e(452)],toVersion:t[e(499)]})}[Gi(498)](t,e=0){const i=Gi;this[i(497)][i(503)](t,e)}[Gi(466)](t){const e=Gi;return this[e(497)][e(494)](t)}[Gi(486)](t={toJSON:!1}){const e=Gi,i=Array[e(471)](this[e(497)]);return i[e(458)](),t[e(459)]?i[e(480)]((t=>t[e(459)]())):i}[Gi(496)](t){const e=Gi;return this[e(497)][e(496)](t)}[Gi(451)](t){const e=Gi,[,i]=this[e(449)](t,{direction:e(467)});return i}[Gi(472)](t){const e=Gi,[,i]=this[e(449)](t,{direction:e(475)});return i}[Gi(493)](t){const e=Gi,i=[];for(const n of this[e(449)](t[e(473)]))if(i[e(504)](n),n.id===t[e(478)])break;return i}*[Gi(449)](t,{direction:e=Gi(467),filter:i=()=>!0}={}){const n=Gi,r=n(467)===e?1:-1;let s=this[n(497)][n(494)](t),o=this[n(496)](s);for(yield s;s;){if(o+=r,s=this[n(466)](o),!s)return;i(s)&&(yield s)}}}function Ki(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=At(t),a=At(e),c=o?vn:Ze(t),u=a?vn:Ze(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)};function _n(t,e){const i=Nn();return(_n=function(t,e){return i[t-=362]})(t,e)}const In=_n;!function(t){const e=_n,i=t();for(;;)try{if(286848===parseInt(e(530))/1*(parseInt(e(590))/2)+parseInt(e(500))/3+-parseInt(e(383))/4+parseInt(e(664))/5+-parseInt(e(609))/6*(-parseInt(e(379))/7)+parseInt(e(433))/8+-parseInt(e(407))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Nn);const Sn={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class On extends qi.Plugin{static get[In(586)](){return In(679)}static get[In(559)](){return!0}static get[In(545)](){return!0}static get[In(619)](){return[Bi.Users,Qi,qi.PendingActions]}constructor(e){const i=In;super(e),this[i(438)]=null,this[i(430)]=null,this[i(643)]=new Tn(this[i(488)]),this[i(600)]=this[i(488)][i(651)][i(618)](i(550))||i(592),this[i(544)]=new Map,this[i(428)]=null;const n=(0,t.uid)();this[i(647)]={history:this[i(488)][i(442)][i(581)][i(620)],getLatestVersion:()=>Promise[i(565)](this[i(488)][i(442)][i(581)][i(642)]),getCurrentRevisionId:()=>n},this[i(432)](i(553),!1),this[i(432)](i(465),!0),this[i(432)](i(453),!1),this[i(488)][i(651)][i(578)](i(482),!0),this[i(488)][i(377)][i(463)](i(380))[i(519)]({view:i(467)})}[In(502)](){const t=In;this[t(615)]=this[t(488)][t(668)][t(618)](t(511)),this[t(606)](),this[t(488)][t(528)].on(t(445),(()=>{const e=t,i=this[e(615)][e(644)](0),n=i&&null===i[e(405)]?i:null;if(this[e(659)]=!!n&&this[e(488)][e(651)][e(618)](e(482)),this[e(488)][e(668)][e(636)](e(610))){const t=this[e(647)][e(570)](),r=this[e(615)][e(644)](t);if(r)this[e(505)]=r[e(595)],this[e(659)]=!1;else{const t=this[e(647)][e(620)][e(667)][e(673)]((t=>!t[e(409)])),r=t?t[e(547)]:this[e(647)][e(620)][e(642)];i?(i[e(473)]<r&&i[e(521)]({toVersion:r}),this[e(659)]?(this[e(647)][e(570)]=()=>n.id,this[e(505)]=n[e(595)]):(this[e(505)]=i[e(473)],this[e(659)]=!1)):(this[e(505)]=r,this[e(659)]=!1)}}else n&&(this[e(488)][e(442)][e(581)][e(620)][e(642)]=Math[e(646)](n[e(473)],this[e(488)][e(442)][e(581)][e(620)][e(642)]),n[e(595)]===n[e(473)]?(0!==n[e(595)]&&(this[e(647)][e(570)]=()=>n.id),this[e(659)]=!1):this[e(659)]&&(this[e(647)][e(570)]=()=>n.id,this[e(505)]=n[e(595)])),this[e(659)]||(this[e(505)]=this[e(488)][e(442)][e(581)][e(642)]);this[e(643)][e(502)](this[e(647)][e(620)]),this[e(613)](this[e(505)]),this[e(653)](this[e(505)]),this[e(438)]&&this[e(410)]()})),this[t(663)](t(553)).to(this,t(453),(t=>!t)),this[t(461)]=this[t(488)][t(651)][t(618)](t(461));const e=this[t(488)];this[t(601)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(472)==s||i(571)==s||i(639)==s||i(567)==s||i(417)==s||i(603)==s||i(466)==s||i(543)==s){delete e[r],n=s,clearInterval(this[i(601)]),this[i(601)]=void 0;break}}i(571)==n&&e[i(637)](i(552)),i(639)==n&&e[i(637)](i(391)),i(567)==n&&e[i(637)](i(580)),i(417)==n&&e[i(637)](i(672),i(597)),i(603)==n&&e[i(637)](i(542)),i(466)==n&&e[i(637)](i(444)),i(543)==n&&e[i(637)](i(455))}),1e3)}async[In(534)](){const t=In;if(this[t(615)][t(525)]>0){const e=this[t(615)][t(644)](0),i=await this[t(522)](e),n=await this[t(403)](e);this[t(411)](i,n)}}[In(480)](){const t=In;super[t(480)](),this[t(601)]&&clearInterval(this[t(601)])}[In(418)](t){this[In(647)]=t}async[In(471)](){const t=In,e=await this[t(647)][t(546)]();if(e>this[t(430)][t(473)]){await this[t(675)]();const i=this[t(549)]({revision:this[t(430)],to:e});i[t(662)]=i[t(617)][t(583)]((e=>this[t(488)][t(668)][t(618)](t(512))[t(462)](e))),this[t(430)][t(521)](i)}}async[In(675)](){const t=In;this[t(659)]&&!this[t(428)]&&(await this[t(510)](this[t(430)]),this[t(643)][t(402)](this[t(430)]),this[t(428)]={fromVersion:this[t(430)][t(595)],authors:this[t(430)][t(662)][t(612)]()})}async[In(408)](e={},i=null){const n=In,r=[];await this[n(675)](),this[n(659)]=!1,i>this[n(430)][n(473)]&&(i=null),null===i&&(i=await this[n(647)][n(546)]());const s=this[n(362)](i),o=this[n(549)]({from:s,to:i});if(this[n(430)][n(473)]<i){const t=this[n(549)]({revision:this[n(430)],from:i,to:i});t[n(662)]=[],t[n(617)]=[],t.id=this[n(430)].id,this[n(430)][n(521)](t,!0),delete t[n(662)],r[n(460)](t)}e[n(447)]=this[n(488)][n(668)][n(618)](n(512)).me.id,e[n(517)]=e[n(517)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(420)](e);r[n(460)](e);const c=this[n(615)][n(526)](a);if(0!==c){const t=this[n(615)][n(644)](c-1);if(t[n(595)]!==i){const s=this[n(643)][n(392)](i,t[n(473)]),o={id:t.id,diffData:s[n(566)],authorsIds:s[n(617)],authors:s[n(617)][n(583)]((t=>this[n(488)][n(668)][n(618)](n(512))[n(462)](t))),fromVersion:i};t===this[n(430)]&&(o[n(448)]=new Date(e[n(448)][n(576)]()+10)),t[n(521)](o,!0),delete o[n(662)],r[n(460)](o)}}if(this[n(438)]){for(const t of r)this[n(533)](t.id,t,!0);this[n(410)]()}return a}[In(420)](t){const e=In,i=this[e(615)][e(491)](t);return this[e(438)]&&i.on(e(521),((t,i,n)=>{const r=e;n||(this[r(533)](i.id,i,!0),this[r(410)]())})),this[e(615)][e(607)](i,this[e(368)](i)),i}async[In(522)](t){const e=In;await this[e(510)](t);const i={};for(const n in t[e(566)]){if(t[e(566)][n][e(638)]&&!t[e(566)][n][e(638)][e(568)])continue;const r=this[e(575)](JSON[e(397)](t[e(566)][n][e(649)])),s=this[e(488)][e(484)][e(551)][e(581)],o=new Yi.ViewDocumentFragment(s,r[e(583)]((t=>xn(t,this[e(488)]))));this[e(488)][e(528)][e(497)][e(388)](e(503)),i[n]=this[e(488)][e(528)][e(497)][e(369)](o),this[e(488)][e(528)][e(497)][e(388)](e(669))}return i}async[In(403)](t){const e=In;await this[e(510)](t);const i={};for(const n in t[e(566)])t[e(566)][n][e(638)]&&!t[e(566)][n][e(638)][e(568)]||(i[n]=t[e(566)][n][e(450)]||{});return i}[In(410)](){const t=In;if(0===this[t(544)][t(523)])return;if(this[t(453)])return;let e=Array[t(599)](this[t(544)][t(490)]());this[t(544)][t(406)]();for(let i=0;i<e[t(525)];i++){const n=e[i];let r=!1;for(const e of Object[t(486)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(537)]((t=>null!==t)),!e[t(525)])return;for(let i=0;i<e[t(525)];i++){const n=e[i];void 0!==n[t(595)]&&void 0===n[t(473)]&&(n[t(473)]=this[t(615)][t(644)](n.id)[t(473)]),void 0!==n[t(473)]&&void 0===n[t(595)]&&(n[t(595)]=this[t(615)][t(644)](n.id)[t(595)])}const i=this[t(488)][t(651)][t(618)](t(550));this[t(453)]=!0,this[t(678)](),this[t(438)][t(424)](e,i)[t(634)]((()=>{this[t(453)]=!1}))[t(459)]((e=>{const i=t;if(e)for(const t of e)this[i(652)]({id:t.id,createdAt:t[i(448)]});this[i(476)](),this[i(410)]()}))}[In(411)](e,i){const n=In;let r=this[n(488)][n(651)][n(618)](n(487)),s=this[n(488)][n(651)][n(618)](n(381));if(void 0===r){r={};for(const t of this[n(488)][n(442)][n(581)][n(515)]())r[t]=""}if(n(452)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(488)][n(442)][n(581)][n(515)]())s[t]={}}let o=!1;const a=Object[n(486)](r),c=Object[n(486)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(648)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(486)](s[t])[n(525)]>0){o=!0;break}}o||(o=c[n(656)]((t=>!this[n(488)][n(442)][n(581)][n(423)](t)))),o&&(0,t.logWarning)(n(563),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(488)][n(651)][n(432)](n(487),e),this[n(488)][n(651)][n(432)](n(381),i)}[In(678)](){const t=In;if(!this[t(535)]){const e=this[t(488)][t(668)][t(618)](t(680));this[t(535)]=e[t(489)](Ki(this[t(488)][t(375)],t(655)))}}[In(476)](){const t=In;this[t(535)]&&(this[t(488)][t(668)][t(618)](t(680))[t(371)](this[t(535)]),this[t(535)]=null)}[In(368)](t){const e=In,i=this[e(615)][e(398)]();i[e(629)]();let n=0;for(;n<i[e(525)];){const r=i[n];if(r===this[e(430)]){n++;continue}if(r.id===this[e(600)])break;const s=t[e(473)]-r[e(473)]||t[e(595)]-r[e(595)];if(s>0)break;if(s<0)n++;else{if(!t[e(405)]&&r[e(405)])break;if(r[e(405)]||!t[e(405)]){if(t[e(448)]>r[e(448)])break;n++}else n++}}return n}[In(652)](t){const e=In,i=this[e(615)][e(644)](t.id);if(t[e(448)]&&(t[e(448)]=new Date(t[e(448)])),t[e(617)]){const i=this[e(488)][e(668)][e(618)](e(512));t[e(662)]=t[e(617)][e(583)]((t=>i[e(462)](t)))}i[e(521)](t,!0)}[In(549)]({revision:t=null,from:e=null,to:i=null}){const n=In;e=null!==e?e:t[n(595)],i=null!==i?i:t[n(473)];const r=this[n(643)][n(392)](e,i),s={diffData:r[n(566)],authorsIds:r[n(617)],fromVersion:e,toVersion:i};if(!t||i!==t[n(473)]){const t=i-1,e=this[n(647)][n(620)][n(436)](t);s[n(448)]=e&&e[n(448)]||new Date}if(this[n(428)]&&e===this[n(428)][n(595)])for(const t of this[n(428)][n(662)])s[n(617)][n(598)](t.id)||s[n(617)][n(460)](t.id);return s}[In(510)](t){const e=In;if(!t||t[e(566)])return Promise[e(565)]();{const i=this[e(488)][e(651)][e(618)](e(550));return this[e(438)][e(644)]({channelId:i,revisionId:t.id})[e(459)]((i=>{const n=e;t[n(566)]=i[n(566)]}))}}[In(533)](t,e,i){const n=In;if(this[n(544)][n(636)](t)){const r=this[n(544)][n(618)](t);e=i?{...r,...e}:{...e,...r}}this[n(544)][n(432)](t,e)}[In(362)](t){const e=In,i=this[e(615)][e(398)]();i[e(629)](),i[e(623)]();const n=i[e(673)]((i=>i[e(473)]<=t))[e(473)];return n<this[e(505)]?this[e(505)]:n}[In(613)](t){const e=In,i=this[e(615)][e(644)](this[e(615)][e(525)]-1);if(i)this[e(600)]=i.id;else{const i=!this[e(488)][e(442)][e(581)][e(582)][e(673)]((t=>this[e(488)][e(442)][e(587)](t))),n=this[e(488)][e(668)][e(618)](e(512)).me.id,r=Ki(this[e(488)][e(375)],e(i?532:657));this[e(660)]({from:t,to:t,id:this[e(600)],name:r,creatorId:n})}}[In(653)](t){const e=In,i=this[e(647)][e(570)]();this[e(430)]=this[e(615)][e(644)](i),this[e(430)]||(this[e(430)]=this[e(660)]({from:t,to:t,id:i,name:"",creatorId:null}))}[In(660)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=In,o=this[s(549)]({from:e,to:i});o[s(517)]=t,o[s(447)]=n,o.id=r;const a=this[s(420)](o);return this[s(438)]&&this[s(533)](o.id,o,!0),a}[In(606)](){const t=In;this[t(488)][t(377)][t(463)](t(674))[t(412)]({model:t(467)})}[In(575)](t){const e=In;return(t=t[e(537)]((t=>!t[e(517)]||e(529)!==t[e(517)]&&e(440)!==t[e(517)])))[e(456)]((t=>{const i=e;i(452)!=typeof t&&(t[i(416)]=this[i(575)](t[i(416)]),t[i(614)]=t[i(614)][i(537)]((t=>!t[0][i(374)](i(478)))))})),t}}function xn(t,e){const i=In,n=e[i(484)][i(551)][i(581)];if(i(452)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(416)][i(583)]((t=>xn(t,e)));return new(Sn[t[i(367)]]||Yi.ViewElement)(n,t[i(517)],t[i(614)],r)}}class Tn{constructor(t){const e=In;this[e(488)]=t,this[e(641)]=new Map,this[e(451)]=-1,this[e(492)]=-1,this[e(626)]=new Map,this[e(611)]=new Map,this[e(640)]=new Map,this[e(670)]=new Map,this[e(654)]=new Map,this[e(499)]=new Map,this[e(661)]=new Map,this[e(435)]=new Map,this[e(382)]=new Map,this[e(481)]=new Map,this[e(372)]=1}[In(502)](t){const e=In;this[e(504)]=t;const i=new Map,n=new Map,r=this[e(488)][e(442)][e(581)][e(582)][e(583)]((t=>t[e(431)]));for(const t of r){const r=this[e(488)][e(442)][e(581)][e(423)](t),s=An(r);i[e(432)](t,s),n[e(432)](t,Object[e(404)](r[e(475)]()))}const s=Array[e(599)](this[e(488)][e(442)][e(579)])[e(583)]((t=>[t[e(517)],t[e(454)]()])),o=this[e(504)][e(642)];this[e(389)](o,i,s,n),this[e(385)]=this[e(372)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(432)](t,i),c[e(432)](t,{})}this[e(389)](Number[e(604)],a,[],c)}[In(392)](t,e){const i=In;if(this[i(451)]===t&&this[i(492)]<=e)this[i(641)][i(523)]>1&&this[i(585)](this[i(492)]),this[i(422)](this[i(492)],e,!0);else{if(!this[i(641)][i(636)](t)){const e=this[i(540)](t);this[i(468)](e,t,!1)}this[i(468)](t,e,!0)}return this[i(451)]=t,this[i(492)]=e,this[i(531)]()}[In(402)](t){const e=In;this[e(677)](),this[e(451)]=t[e(595)],this[e(492)]=t[e(473)];for(const i in t[e(566)]){const n=t[e(566)][i][e(638)],r=vi(t[e(566)][i][e(400)])||{},s=this[e(437)](t[e(566)][i][e(645)]);s[e(431)]=i,s[e(593)]=!n||!n[e(568)],s[e(568)]=()=>s[e(593)],this[e(670)][e(432)](i,s),this[e(654)][e(432)](i,r),n&&this[e(481)][e(432)](i,n);const o=this[e(577)](s);this[e(661)][e(432)](i,o);for(const[t,i]of s[e(579)]){if(!t[e(374)](e(493)))continue;const n=t[e(394)](":")[2];for(const t of i[e(477)]({singleCharacters:!0})){const i=this[e(483)](t),r=e(413)==t[e(367)]?t[e(426)][e(509)][e(612)](0,-1):t[e(426)][e(509)],s=o[e(556)](r)[e(469)](i);this[e(435)][e(432)](s,{userId:n})}}}this[e(385)]=this[e(372)];const i=[...Array(this[e(372)])[e(486)]()][e(612)](1)[e(537)]((t=>!this[e(435)][e(636)](t)));let n=0;const r=new Map;for(const s in t[e(566)]){const o=t[e(566)][s][e(638)],a=vi(t[e(566)][s][e(450)])||{},c=this[e(437)](t[e(566)][s][e(649)]);c[e(431)]=s,c[e(593)]=!o||o[e(568)],c[e(568)]=()=>c[e(593)],this[e(611)][e(432)](s,c),this[e(640)][e(432)](s,a);const u=this[e(577)](c,Number[e(604)]);this[e(499)][e(432)](s,u),r[e(432)](s,c[e(568)]()?a:{});for(const[t,i]of c[e(579)]){if(!t[e(374)](e(493)))continue;const n=t[e(394)](":")[2];for(const t of i[e(477)]({singleCharacters:!0})){const i=this[e(483)](t),r=this[e(372)]++,s=e(413)==t[e(367)]?t[e(426)][e(509)][e(612)](0,-1):t[e(426)][e(509)];u[e(556)](s)[e(572)](i,r),this[e(435)][e(432)](r,{userId:n})}}for(const t of this[e(488)][e(442)][e(631)](c)[e(477)]({singleCharacters:!0})){const r=this[e(483)](t),s=e(413)==t[e(367)]?t[e(426)][e(509)][e(612)](0,-1):t[e(426)][e(509)],o=u[e(556)](s);o[e(469)](r)>0||o[e(572)](r,i[n++])}for(const[t,i]of c[e(579)])t[e(374)](e(493))||this[e(626)][e(432)](t,i)}const s=Rn(e(370));this[e(670)][e(432)](e(370),s),this[e(661)][e(432)](e(370),this[e(577)](s,1));const o=Rn(e(370));this[e(611)][e(432)](e(370),o),this[e(499)][e(432)](e(370),this[e(577)](o,1));const a=Array[e(599)](this[e(611)])[e(583)]((([t,e])=>[t,An(e)]));this[e(389)](this[e(492)],a,this[e(626)],r)}[In(437)](t){const e=In,i=JSON[e(397)](t),n=this[e(488)][e(484)][e(551)][e(581)],r=new Yi.ViewDocumentFragment(n,i[e(583)]((t=>xn(t,this[e(488)]))));return this[e(488)][e(528)][e(524)](r)}[In(389)](t,e,i,n){const r=In,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(432)](t,{start:e[r(485)][r(658)](),end:e[r(635)][r(658)](),rootName:e[r(527)][r(431)]});this[r(641)][r(432)](t,{roots:s,markers:a,rootsAttributes:o})}[In(585)](t){const e=In;this[e(641)][e(621)](t)}[In(627)](){const t=In;this[t(677)](),this[t(451)]=-1,this[t(492)]=-1,this[t(641)][t(406)](),this[t(502)](this[t(504)])}[In(677)](){const t=In;this[t(435)][t(406)](),this[t(382)][t(406)](),this[t(481)][t(406)](),this[t(611)][t(406)](),this[t(640)][t(406)](),this[t(670)][t(406)](),this[t(654)][t(406)](),this[t(499)][t(406)](),this[t(661)][t(406)](),this[t(626)][t(406)](),this[t(372)]=1,this[t(385)]=this[t(372)]}[In(577)](t,e=null){const i=In;let n=null;t.is(i(366))||(n=new Yi.Element(t[i(517)],{vid_start:null===e?this[i(372)]++:e++}));const r=[];for(const n of t[i(496)]())if(n.is(i(376))){r[i(460)](this[i(577)](n,e));const t=r[r[i(525)]-1];null!==e&&(e=t.is(i(376),i(548))?t[i(469)](i(518))+1:t[i(469)](i(516))+1)}else for(let t=0;t<n[i(508)];t++)r[i(460)](new Yi.Element(i(548),{vid:null===e?this[i(372)]++:e++}));if(t.is(i(366))){const e=Rn(t[i(431)]);return e[i(624)](0,r),e}return n[i(572)](i(516),null===e?this[i(372)]++:e++),n[i(624)](0,r),n}[In(468)](t,e,i){const n=In;this[n(677)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(641)][n(618)](t);this[n(670)]=new Map(r),this[n(654)]=new Map(vi(o));for(const[t,e]of this[n(670)])if(n(370)!==t&&(this[n(611)][n(432)](t,An(e)),this[n(640)]=new Map(vi(o)),i)){const i=this[n(372)];this[n(499)][n(432)](t,this[n(577)](e)),this[n(661)][n(432)](t,this[n(577)](e,i))}this[n(385)]=this[n(372)],this[n(611)][n(432)](n(370),An(this[n(670)][n(618)](n(370)))),i&&this[n(499)][n(432)](n(370),this[n(577)](this[n(670)][n(618)](n(370))));for(const[t,e]of s){const i=this[n(670)][n(618)](e[n(431)]),r=this[n(611)][n(618)](e[n(431)]),s=new Yi.Range(this[n(439)](e[n(485)],i),this[n(439)](e[n(635)],i)),o=this[n(507)](s,r);i[n(579)][n(432)](t,s),this[n(626)][n(432)](t,o)}this[n(422)](t,e,i)}[In(422)](t,e,i){const n=In;for(const r of this[n(504)][n(628)](t,e))this[n(588)](r,i);for(const t of this[n(611)][n(490)]())t[n(579)][n(406)]();for(const[t,e]of this[n(626)])this[n(611)][n(618)](e[n(527)][n(431)])[n(579)][n(432)](t,e[n(658)]());const r=new Map,s=new Map;for(const[t,e]of this[n(611)])r[n(432)](t,An(e)),s[n(432)](t,this[n(640)][n(618)](t));this[n(389)](e,r,this[n(626)],s)}[In(540)](t){const e=In,i=Array[e(599)](this[e(641)][e(486)]());i[e(457)](((t,e)=>t-e)),i[e(629)]();for(const e of i)if(e<t)return e;return Number[e(604)]}[In(557)](t,e){const i=In,n=Array[i(599)](e[i(579)])[i(583)]((([e,n])=>[e,this[i(507)](n,t)]));t[i(579)]=new Map(n)}[In(421)](t){const e=In;for(const i of this[e(626)][e(490)]()){const n=i[e(594)](t),r=Yi.Range[e(554)](n);i[e(485)]=r[e(485)],i[e(635)]=r[e(635)]}}[In(588)](t,e){const i=In;if(i(591)!=t[i(367)]&&i(569)!=t[i(367)]){if(i(536)==t[i(367)]){const n=t[i(393)][i(527)][i(431)];this[i(611)][i(636)](n)||(this[i(611)][i(432)](n,Rn(n,!0)),this[i(640)][i(432)](n,{}),e&&this[i(499)][i(432)](n,Rn(n,!0)))}else{if(i(513)==t[i(367)]||i(558)==t[i(367)]||i(446)==t[i(367)])return void this[i(514)](t);i(562)==t[i(367)]&&this[i(396)](t)}if(i(562)!==t[i(367)]){const e=this[i(449)](t,this[i(611)]);e[i(495)](),this[i(421)](e)}if(e)switch(t[i(367)]){case i(536):this[i(494)](t);break;case i(632):case i(371):case i(506):this[i(625)](t);break;case i(539):this[i(560)](t);break;case i(394):this[i(676)](t)}}else this[i(470)](t,e)}[In(449)](t,e){const i=In,n=t[i(658)]();return n[i(573)]=t[i(573)],this[i(616)](n,e),n}[In(427)](t){const e=In;return t[e(583)]((t=>{const i=e,n=this[i(483)](t);return Number(t[i(671)][i(469)](n))}))}[In(458)](t,e){const i=In;if(t.is(i(376),i(548)))e[i(460)]({item:t,type:i(520)});else{t.is(i(376))&&e[i(460)]({item:t,type:i(384)});for(const n of t[i(496)]())this[i(458)](n,e);t.is(i(376))&&e[i(460)]({item:t,type:i(413)})}return e}[In(531)](){const t=In,e=new Map(this[t(435)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(670)][t(486)](),...this[t(611)][t(486)]()]);a[t(621)](t(370));for(const e of a){const i=this[t(611)][t(618)](e)||Rn(e,!1),n=this[t(670)][t(618)](e)||Rn(e,!1);i[t(568)]()||n[t(568)]()?(r[t(649)][e]=An(i),r[t(645)][e]=An(n),this[t(557)](r[t(645)][e],n),this[t(557)](r[t(649)][e],i),s[t(649)][e]=this[t(458)](this[t(499)][t(618)](e),[]),s[t(645)][e]=this[t(458)](this[t(661)][t(618)](e)||Rn(e,!1),[])):a[t(621)](e)}for(const r of a){const o=s[t(649)][r];for(const r of o){const s=this[t(483)](r),o=r[t(671)][t(469)](s);i[t(621)](o),o>=this[t(385)]&&n[t(432)](o,e[t(618)](o))}}for(const r of a){const a=s[t(649)][r],c=this[t(427)](s[t(645)][r]);let u=0;for(const r of a){const s=this[t(483)](r),a=r[t(671)][t(469)](s);if(!n[t(636)](a)&&!o[t(636)](a))if(i[t(636)](a))u++;else{if(a!=c[u]){const n=e[t(618)](a)||e[t(618)](c[u]);for(;a!=c[u];)i[t(636)](c[u])||(o[t(432)](c[u],n),e[t(432)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(649)][e];for(const e of r){const r=this[t(483)](e),s=e[t(671)][t(469)](r);if(o[t(636)](s)){const e=o[t(618)](s);i[t(636)](s)||i[t(432)](s,{...e}),n[t(432)](s,{...e})}}}for(const e of i[t(486)]())e>=this[t(385)]&&i[t(621)](e);const c=new Map;for(const e of a){let r=s[t(649)][e];for(const e of r)if(e[t(671)].is(t(376),t(425))){const i=this[t(483)](e),r=e[t(671)][t(469)](i);if(n[t(636)](r)){const i=e[t(671)][t(541)][t(541)][t(469)](t(630)),s=c[t(618)](i)||new Set;s[t(489)](n[t(618)](r)[t(419)]),c[t(432)](i,s)}}r=s[t(645)][e];for(const e of r)if(e[t(671)].is(t(376),t(425))){const n=this[t(483)](e),r=e[t(671)][t(469)](n);if(i[t(636)](r)){const n=e[t(671)][t(541)][t(541)][t(469)](t(630)),s=c[t(618)](n)||new Set;s[t(489)](i[t(618)](r)[t(419)]),c[t(432)](n,s)}}for(const e of c[t(486)]())(n[t(636)](e)||i[t(636)](e))&&c[t(621)](e)}for(const e of a){const r=s[t(649)][e];let o=null,a=null;for(const e of r){const r=this[t(483)](e),s=e[t(671)][t(469)](r),u=c[t(618)](s);u&&t(384)==e[t(367)]&&(o=Array[t(599)](u)[0],a=e[t(671)][t(469)](t(516))),o&&(i[t(432)](s,{userId:o}),n[t(432)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(645)][e],a=r[t(649)][e];for(const{userId:e}of this[t(382)][t(490)]())null!==e&&l[t(489)](e);for(const{userId:e}of this[t(481)][t(490)]())null!==e&&l[t(489)](e);this[t(415)](a,s[t(649)][e],n,t(399),l),this[t(415)](o,s[t(645)][e],i,t(363),l),u[e]={insertions:this[t(378)](a),deletions:this[t(378)](o),attachChange:this[t(481)][t(618)](e)||null,attributesBefore:vi(this[t(654)][t(618)](e))||{},attributesAfter:vi(this[t(640)][t(618)](e))}}return{diffData:u,authorsIds:Array[t(599)](l)}}[In(434)](t){const e=In;for(const[,i]of t[e(579)]){const t=i[e(485)][e(584)]()[e(537)]((t=>e(425)==t[e(517)]));for(const i of t)1==i[e(564)]&&i[e(464)](0).is(e(376),e(401))&&i[e(464)](0)[e(572)](e(498),!0)}}[In(378)](t){const e=In;this[e(434)](t);const i=this[e(488)][e(528)][e(555)](t,{}),n=Array[e(599)](i[e(496)]())[e(583)]((t=>this[e(395)](t)));return JSON[e(414)](n)}[In(395)](t){const e=In;if(t.is(e(548)))return t[e(528)];{const i=t;return{type:Object[e(486)](Sn)[e(673)]((e=>t instanceof Sn[e])),name:i[e(517)],attributes:Array[e(599)](i[e(475)]()),children:Array[e(599)](i[e(496)]())[e(583)]((t=>this[e(395)](t)))}}}[In(415)](t,e,i,n,r){const s=In;let o=null,a=null,c=0;const u=this[s(488)][s(442)];for(let n=0;n<e[s(525)];n++){const r=this[s(483)](e[n]),c=e[n][s(671)][s(469)](r),h=i[s(618)](c),d=n==e[s(525)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(419)]!=o[s(419)])&&(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(419)],d=l(493)+n+":"+h+":"+c++,f=u[l(596)](i,a);t[l(579)][l(432)](d,f),null!==h&&r[l(489)](h)}}[In(483)](t){const e=In;switch(t[e(367)]){case e(384):return e(630);case e(413):return e(516);default:return e(518)}}[In(616)](t,e){const i=In;t[i(547)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(618)](r[i(527)][i(431)]);t[n]=this[i(439)](r,s)}if(r instanceof Yi.Range){const s=e[i(618)](r[i(527)][i(431)]);t[n]=this[i(507)](r,s)}i(527)===n&&(t[i(527)]=e[i(618)](t[i(527)][i(431)]))}}[In(507)](t,e){const i=In;return this[i(488)][i(442)][i(596)](this[i(439)](t[i(485)],e),this[i(439)](t[i(635)],e))}[In(439)](t,e){const i=In;return this[i(488)][i(442)][i(474)](e,t[i(509)],t[i(605)])}[In(494)](t){const e=In,i=this[e(499)][e(618)](t[e(393)][e(527)][e(431)]),n=this[e(439)](t[e(393)],i),r=null===t[e(573)]?null:t[e(573)]||this[e(488)][e(668)][e(618)](e(512)).me.id,s=n[e(541)],o=this[e(372)],a=[];for(const i of t[e(666)])if(i.is(e(376)))a[e(460)](this[e(577)](i));else for(let t=0;t<i[e(508)];t++)a[e(460)](new Yi.Element(e(548),{vid:this[e(372)]++}));const c=this[e(372)];for(let t=o;t<c;t++)this[e(435)][e(432)](t,{userId:r});s[e(624)](n[e(681)],a)}[In(625)](t){const e=In;(t=this[e(449)](t,this[e(499)]))[e(495)]();const i=null===t[e(573)]?null:t[e(573)]||this[e(488)][e(668)][e(618)](e(512)).me.id,n=t[e(608)](),r=n[e(541)],s=n[e(681)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(464)](e);s.is(a(376),a(548))?n[a(432)](s[a(469)](a(518)),{userId:i}):(n[a(432)](s[a(469)](a(630)),{userId:i}),t(n,s,0,s[a(564)]),n[a(432)](s[a(469)](a(516)),{userId:i}))}}(this[e(435)],r,s,s+t[e(441)])}[In(560)](t){const e=In,i=null===(t=this[e(449)](t,this[e(499)]))[e(573)]?null:t[e(573)]||this[e(488)][e(668)][e(618)](e(512)).me.id,n=t[e(386)][e(541)],r=t[e(387)][e(541)],s=n[e(469)](e(516)),o=r[e(469)](e(630));n[e(572)](e(516),r[e(469)](e(516))),r[e(572)](e(516),s),this[e(435)][e(432)](o,{userId:i}),this[e(435)][e(432)](s,{userId:i}),t[e(495)]()}[In(676)](t){const e=In,i=null===(t=this[e(449)](t,this[e(499)]))[e(573)]?null:t[e(573)]||this[e(488)][e(668)][e(618)](e(512)).me.id,n=t[e(443)],r=t[e(561)][e(541)];t[e(495)]();const s=r[e(469)](e(516)),o=t[e(574)][e(429)];if(n){const t=o[e(469)](e(516)),n=r[e(469)](e(516));r[e(572)](e(516),t),o[e(572)](e(516),n),this[e(435)][e(432)](r[e(469)](e(516)),{userId:i}),this[e(435)][e(432)](o[e(469)](e(630)),{userId:i})}else{const t=this[e(372)]++,n=this[e(372)]++;r[e(572)](e(516),t),o[e(572)](e(630),n),o[e(572)](e(516),s),this[e(435)][e(432)](t,{userId:i}),this[e(435)][e(432)](n,{userId:i})}}[In(396)](t){const e=In;if(!t[e(364)])return;const i=(t=this[e(449)](t,this[e(611)]))[e(650)]?t[e(650)][e(527)]:null,n=t[e(501)]?t[e(501)][e(527)]:null;i&&this[e(626)][e(621)](t[e(517)]),n&&this[e(626)][e(432)](t[e(517)],t[e(501)][e(658)]());const r=null===t[e(573)]?null:t[e(573)]||this[e(488)][e(668)][e(618)](e(512)).me.id,s=t[e(517)];if(!this[e(382)][e(636)](s))return void this[e(382)][e(432)](s,{range:t[e(650)],userId:r});const o=this[e(382)][e(618)](s),a=o[e(602)],c=t[e(501)];null==a&&null==c||a&&c&&a[e(633)](c)?this[e(382)][e(621)](t[e(517)]):o[e(419)]=r}[In(470)](t,e){const i=In;this[i(611)][i(636)](t[i(431)])?this[i(611)][i(618)](t[i(431)])[i(593)]=t[i(538)]:(this[i(611)][i(432)](t[i(431)],Rn(t[i(431)],!0)),this[i(640)][i(432)](t[i(431)],{}),e&&this[i(499)][i(432)](t[i(431)],Rn(t[i(431)],!0)));const n=null===t[i(573)]?null:t[i(573)]||this[i(488)][i(668)][i(618)](i(512)).me.id,r=this[i(481)][i(618)](t[i(431)]);r&&r[i(419)]===n?this[i(481)][i(621)](t[i(431)]):this[i(481)][i(432)](t[i(431)],{userId:n,isAttached:t[i(538)]})}[In(514)](t){const e=In,i=this[e(640)][e(618)](t[e(527)][e(431)]);null===t[e(390)]?delete i[t[e(665)]]:i[t[e(665)]]=t[e(390)]}}function Nn(){const t=["getNodeByPath","_copyMarkers","removeRootAttribute","isOfficialPlugin","_handleMergeOperation","splitPosition","marker","editor-initial-data-replaced-with-revision-data","childCount","resolve","diffData","revisionHistoryLicenseKeyDomainLimit","isAttached","detachRoot","getCurrentRevisionId","revisionHistoryLicenseKeyInvalid","_setAttribute","_authorId","insertionPosition","_removeRevisionMarkers","getTime","_makeIdsRoot","define","markers","domainLimit","document","roots","map","getAncestors","_removeMetaData","pluginName","hasContent","_handleOperation","_clone","2KJqCWu","addRoot","initial","_isAttached","getTransformedByOperation","fromVersion","createRange","RevisionHistory","includes","from","_initialRevisionId","_licenseKeyCheckInterval","range","revisionHistoryLicenseKeyEvaluationLimit","NEGATIVE_INFINITY","stickiness","_setConversion","addRevision","getMovedRangeStart","14670XUfzjA","RealTimeCollaborationClient","_diffRoots","slice","_createInitialRevision","attributes","repository","_fixOperation","authorsIds","get","requires","history","delete","_appendChild","shift","_insertChild","_handleMoveOperation","_markers","reInit","getOperations","reverse","vid_start","createRangeIn","move","isEqual","finally","end","has","_showLicenseError","attachChange","revisionHistoryLicenseKeyExpired","_diffRootsAttributes","_savedMetaData","version","_revisionDataBuilder","getRevision","deletions","max","_source","trim","insertions","oldRange","config","setRevisionData","_createCurrentRevision","_baseRootsAttributes","PENDING_ACTION_REVISION_HISTORY","some","Initial revision","clone","_continueCurrentRevision","_makeRevision","_baseIdsRoots","authors","bind","1599795FtGQGx","key","nodes","_operations","plugins","default","_baseRoots","item","featureNotAllowed","find","dataDowncast","_loadState","_handleSplitOperation","_reset","_addPendingAction","RevisionTracker","PendingActions","offset","_getFromVersion","deletion","affectsData","createPositionBefore","documentFragment","type","_findInsertionIndex","toData","$graveyard","remove","_revisionId","createPositionAt","startsWith","locale","element","conversion","_prepareViewToSave","1589qHlorJ","upcast","rootsAttributes","_touchedMarkers","1554516YQttPC","elementStart","_startingRevisionId","targetPosition","sourcePosition","useFillerType","_saveMetaData","newValue","expired","getData","position","split","_getViewJson","_handleMarkerOperation","parse","getRevisions","insertion","attributesBefore","paragraph","loadState","getRevisionRootsAttributes","fromEntries","creator","clear","9754047oCwiGH","saveRevision","_isInit","sendBufferedUpdates","_replaceEditorDataWithRevisionData","markerToData","elementEnd","stringify","_markChanges","children","revisionHistoryLicenseKeyNotAllowed","setSource","userId","addRevisionData","_transformMarkers","_applyOperations","getRoot","updateRevisions","tableCell","previousPosition","_getBaseVids","_loadedStateData","nodeAfter","currentRevision","rootName","set","1810016OFNKYg","_processRootBeforeSave","_touched","getOperation","_makeModelFromViewString","adapter","_fixPosition","revision-end","howMany","model","graveyardPosition","trialLimit","ready","changeRootAttribute","creatorId","createdAt","_cloneOperation","attributesAfter","_lastFrom","string","_isPendingUpdate","getRange","usageLimit","forEach","sort","_generateTape","then","push","licenseKey","getUser","for","getChild","isEnabled","revisionHistoryLicenseKeyTrialLimit","revision","_calculateMetaData","getAttribute","_handleRootOperation","update","revisionHistoryLicenseKeyValid","toVersion","createPositionFromPath","getAttributes","_removePendingAction","getWalker","data-revision-","createPositionAfter","destroy","_touchedRoots","revisionHistory.resumeUnsavedRevision","_getVidAttributeName","editing","start","keys","initialData","editor","add","values","createRevision","_lastTo","revision:","_handleInsertOperation","_execute","getChildren","processor","keepParagraph","_idsRoots","1054473VuWQkF","newRange","init","marked","source","_startingVersion","reinsert","_fixRange","offsetSize","path","_loadRevisionData","RevisionsRepository","Users","addRootAttribute","_handleRootAttributeOperation","getRootNames","vid_end","name","vid","dataToMarker","text","_update","getRevisionDocumentData","size","toModel","length","getIndex","root","data","revision-start","306543iwhRBM","_getState","Empty document","_bufferUpdate","afterInit","_pendingAction","insert","filter","isAdd","merge","_getPreviousFrom","parent","evaluationLimit","revisionHistoryLicenseKeyUsageLimit","_bufferedUpdates","isPremiumPlugin","getLatestVersion","baseVersion","$text","buildRevisionData","collaboration.channelId","view","invalid","isReady","_createFromRanges","toView"];return(Nn=function(){return t})()}function An(t){const e=In,i=Rn(t[e(431)],t[e(568)]());for(const n of t[e(496)]()){const t=n[e(589)](!0);i[e(622)](t)}return i}function Rn(t,e=!0){const i=In,n=new Yi.DocumentFragment;return n[i(431)]=t,n[i(593)]=e,n[i(568)]=()=>n[i(593)],n}function Mn(t,e,i){const n=In,r=n(413)==t[n(367)]?i[n(373)](t[n(671)],n(635)):i[n(365)](t[n(671)]);return i[n(474)](e,r[n(509)],r[n(605)])}function Vn(t,e,i){const n=In,r=n(384)==t[n(367)]?i[n(373)](t[n(671)],0):i[n(479)](t[n(671)]);return i[n(474)](e,r[n(509)],r[n(605)])}var En=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Ln=i(262),Pn=i.n(Ln),zn=i(667),Wn=i.n(zn),Un=i(357),Zn=i.n(Un),Hn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Pn().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Zn();Cn()(Hn.A,$n);Hn.A&&Hn.A.locals&&Hn.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Pn().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Zn();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;const Yn=Gn;function Jn(){const t=["97910NufNsP","revisionName","locale","675HZAjwo","listenTo","arrowleft","keystrokes","arrowright","focusTracker","329QalfNa","ck-responsive-form","662BVGdoZ","revisionNameInputValue","329308LUfCUv","input","ck-revision-history-save-revision-form","96bBmEES","optional","form","292920FhozMp","value","fieldView","set","arrowdown","revisionNameInputView","_createRevisionNameInput","extendTemplate","label","element","6273WXxvns","15bDDmlX","focus","Name of the revision","render","808335beevWl","374214pHplIX","errorText","arrowup","97432IckHlW","add","trim","setTemplate","220","reset","stopPropagation"];return(Jn=function(){return t})()}function Gn(t,e){const i=Jn();return(Gn=function(t,e){return i[t-=336]})(t,e)}!function(t){const e=Gn,i=t();for(;;)try{if(535617===parseInt(e(352))/1+parseInt(e(344))/2*(parseInt(e(362))/3)+parseInt(e(346))/4+parseInt(e(363))/5*(parseInt(e(368))/6)+-parseInt(e(342))/7*(parseInt(e(371))/8)+parseInt(e(336))/9*(-parseInt(e(378))/10)+-parseInt(e(367))/11*(-parseInt(e(349))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jn);class Xn extends En.View{constructor(e,i){const n=Gn;super(e),this[n(341)]=new t.FocusTracker,this[n(339)]=new t.KeystrokeHandler,this[n(355)](n(345),""),this[n(357)]=this[n(358)](i),this[n(374)]({tag:n(351),attributes:{class:["ck",n(348),n(343)],tabindex:"-1"},children:[this[n(357)]]}),(0,En.injectCssTransitionDisabler)(this)}[Yn(366)](){const t=Yn;super[t(366)](),(0,En.submitHandler)({view:this}),this[t(341)][t(372)](this[t(357)][t(361)]),this[t(339)][t(337)](this[t(361)]);const e=e=>e[t(377)]();this[t(339)][t(355)](t(340),e),this[t(339)][t(355)](t(338),e),this[t(339)][t(355)](t(370),e),this[t(339)][t(355)](t(356),e)}[Yn(364)](){const t=Yn;this[t(357)][t(364)]()}get[Yn(379)](){const t=Yn;return this[t(357)][t(354)][t(361)][t(353)][t(373)]()}set[Yn(379)](t){const e=Yn;this[e(357)][e(354)][e(361)][e(353)]=t[e(373)]()}[Yn(376)](){const t=Yn;this[t(357)][t(354)][t(361)][t(353)]="",this[t(357)][t(369)]=null}[Yn(358)](t){const e=Yn,i=new En.LabeledFieldView(this[e(380)],En.createLabeledInputText),n=i[e(354)];n[e(359)]({attributes:{maxlength:e(375)}});let r=Ki(this[e(380)],e(365));return!t&&(r+=" ("+Ki(this[e(380)],e(350))+")"),i[e(360)]=r,n.on(e(347),(()=>{const t=e;this[t(345)]=n[t(361)][t(353)][t(373)]()})),i}}const Qn=tr;function Kn(){const t=["execute","851201HQHrqM","17625lAVfjr","items","Revision history","RevisionTracker","Dialog","revisionNameInputView","_registerMenuComponent","delegate","render","menuitem","add","showRevisionViewerCallback","isEnabled","reset","isOpen","hide","submit","_createSaveRevisionFormView","history","requires","revisionSave","bind","ck-button-action","show","isOfficialPlugin","Open revision history","The revision name cannot be empty.","32155805LNwaHC","20CDTvRT","pluginName","isPremiumPlugin","isReadOnly","revisionName","focus","init","componentFactory","errorText","saveRevision","editor","role","1488216ojKyIz","_showDialog","buttonView","locale","menuBar:revisionHistory","set","isReady","RevisionHistoryUI","Accept","plugins","793161BCLeFF","_saveRevisionFormView","children","editing","config","revisionHistory.requireRevisionName","217fzXaaS","241104MDQohR","Save current revision","menu","get","revisionHistory","534jBhRoP","addMany","panelView","45wOwkbj","view","Cancel","112760hDNqgw"];return(Kn=function(){return t})()}function tr(t,e){const i=Kn();return(tr=function(t,e){return i[t-=390]})(t,e)}!function(t){const e=tr,i=t();for(;;)try{if(670922===parseInt(e(427))/1+parseInt(e(397))/2+parseInt(e(407))/3*(parseInt(e(456))/4)+-parseInt(e(428))/5*(parseInt(e(419))/6)+-parseInt(e(413))/7*(-parseInt(e(414))/8)+parseInt(e(422))/9*(parseInt(e(425))/10)+-parseInt(e(455))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kn);class er extends qi.Plugin{static get[Qn(457)](){return Qn(404)}static get[Qn(452)](){return!0}static get[Qn(458)](){return!0}static get[Qn(447)](){return[On]}[Qn(391)](){const t=Qn,e=this[t(395)],i=e[t(406)][t(417)](t(431));e.ui[t(392)][t(438)](t(418),(n=>{const r=t,s=(0,En.createDropdown)(n),o=s[r(421)][r(409)],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(449)](r(440)).to(i,r(403),i,r(440),e,r(459),((t,e,i)=>t&&e&&!i)),s[r(399)][r(402)]({icon:qi.icons[r(446)],label:Ki(n,r(430)),tooltip:!0}),u[r(402)]({label:Ki(n,r(415)),withText:!0,role:r(437)}),u[r(449)](r(440)).to(i,r(403),i,r(440),e,r(459),((t,e,i)=>t&&e&&!i)),u.on(r(426),(()=>this[r(398)]())),h[r(402)]({label:Ki(n,r(453)),withText:!0,role:r(437)}),h[r(449)](r(440)).to(i,r(403),e,r(459),((t,e)=>t&&!e)),h.on(r(426),(()=>{const t=r;e[t(411)][t(417)](t(418))[t(439)](),s[t(442)]=!1,e[t(410)][t(423)][t(390)]()})),c[r(409)][r(438)](u),l[r(409)][r(438)](h),a[r(396)]=r(416),a[r(429)][r(420)]([c,l]),o[r(438)](a),s})),e.ui[t(392)][t(438)](t(401),(()=>this[t(434)]()))}[Qn(434)](){const t=Qn,e=this[t(395)],i=e[t(400)],n=new En.MenuBarMenuView(i),r=new En.MenuBarMenuListView(i);n[t(399)][t(402)]({icon:qi.icons[t(446)],label:Ki(i,t(430))});const s=new En.MenuBarMenuListItemView(i,n),o=new En.MenuBarMenuListItemButtonView(i);o[t(402)]({label:Ki(i,t(415))}),o[t(435)](t(426)).to(n),o.on(t(426),(()=>{this[t(398)]()})),s[t(409)][t(438)](o),r[t(429)][t(438)](s);const a=new En.MenuBarMenuListItemView(i,n),c=new En.MenuBarMenuListItemButtonView(i);return c[t(402)]({label:Ki(i,t(453))}),c[t(435)](t(426)).to(n),c.on(t(426),(()=>{const i=t;e[i(411)][i(417)](i(418))[i(439)]()})),a[t(409)][t(438)](c),r[t(429)][t(438)](a),n[t(421)][t(409)][t(438)](r),n}[Qn(398)](){const t=Qn,e=this[t(395)],i=e[t(400)],n=e[t(406)][t(417)](t(432)),r=e[t(406)][t(417)](t(431));function s(r){const s=t;e[s(411)][s(417)](s(412))&&""===r[s(460)]?r[s(433)][s(393)]=Ki(i,s(454)):(e[s(406)][s(417)](On)[s(394)]({name:r[s(460)]}),n[s(443)]())}this[t(408)]||(this[t(445)](),this[t(408)].on(t(444),(()=>s(this[t(408)])))),this[t(408)][t(441)](),n[t(451)]({id:t(448),title:Ki(i,t(415)),isModal:!0,content:this[t(408)],actionButtons:[{label:Ki(e[t(400)],t(424)),withText:!0,onExecute:()=>n[t(443)]()},{label:Ki(e[t(400)],t(405)),class:t(450),withText:!0,onCreate(i){const n=t;i[n(449)](n(440)).to(r,n(403),r,n(440),e,n(459),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(408)])}]})}[Qn(445)](){const t=Qn,e=this[t(395)],i=e[t(400)];this[t(408)]=new Xn(i,e[t(411)][t(417)](t(412))),this[t(408)][t(436)]()}}const ir=nr;function nr(t,e){const i=sr();return(nr=function(t,e){return i[t-=127]})(t,e)}!function(t){const e=nr,i=t();for(;;)try{if(515903===-parseInt(e(138))/1*(-parseInt(e(149))/2)+-parseInt(e(154))/3+parseInt(e(142))/4*(parseInt(e(145))/5)+-parseInt(e(143))/6*(parseInt(e(135))/7)+parseInt(e(144))/8+-parseInt(e(131))/9*(parseInt(e(127))/10)+parseInt(e(153))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sr);class rr extends En.View{constructor(t,e){const i=nr;super(t),this[i(150)]=e,this[i(148)]=e.id;const n=this[i(130)],r=Ki(t,e[i(141)][i(147)]?i(156):i(137)==e[i(139)]?i(159):i(129));this[i(157)](i(139),e[i(139)]),this[i(155)]({tag:i(146),attributes:{class:[i(158),i(136),n.to(i(139),(t=>i(132)+t))],tabindex:-1},children:[{tag:i(134),children:[{tag:i(134),attributes:{class:[i(128)]},children:[{text:r}]},{text:" "+e[i(140)][i(133)]}]}]})}[ir(151)](){const t=ir;this[t(152)][t(151)]()}}function sr(){const t=["isSuggestion","changeId","496844PhZVrk","_model","focus","element","5330567QUnhTD","1194810WKOLWQ","setTemplate","Suggested by","set","ck-annotation","Added by","292630nKyAGm","ck-revision-change__label","Removed by","bindTemplate","234CjNGWP","ck-revision-change__","name","span","3108385UrkEFa","ck-revision-change","add","2aqoVIm","type","author","data","232QvSekl","12xQFpxx","6780592PBnesp","63285cfnIfZ","div"];return(sr=function(){return t})()}var or=cr;function ar(){var t=["1628502Sghkws","rootName","createdAt","721686UhONzH","1698780TqnZPN","type","toJSON","10065069OoGZvt","6469136hEmoWw","set","644160hiZbkh","8qPvPwO","143586FCxyhy","author","data"];return(ar=function(){return t})()}function cr(t,e){var i=ar();return(cr=function(t,e){return i[t-=182]})(t,e)}!function(t){for(var e=cr,i=t();;)try{if(850389===-parseInt(e(191))/1+parseInt(e(188))/2+parseInt(e(183))/3+parseInt(e(196))/4+parseInt(e(192))/5+parseInt(e(185))/6+-parseInt(e(195))/7*(parseInt(e(184))/8))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(186)]=e[i(186)],this[i(193)]=e[i(193)],this[i(187)]=e[i(187)]||{},this[i(189)]=e[i(189)],this[i(182)](i(190),e[i(190)])}[or(194)](){var t=or;return{id:this.id,authorId:this[t(186)].id,type:this[t(193)],data:this[t(187)],createdAt:this[t(190)]}}}const lr=hr;function hr(t,e){const i=dr();return(hr=function(t,e){return i[t-=355]})(t,e)}function dr(){const t=["add","9LFNknm","51975210eJdWaE","oldRevisionId","newRevisionId","137607ZtUiXO","774raWJmO","49240lDOvRL","_setChanges","1323353saMWYQ","10776801WGlwOu","changes","66mGRaAg","4736720HUtRIZ","5562520bsWCMB"];return(dr=function(){return t})()}!function(t){const e=hr,i=t();for(;;)try{if(938309===parseInt(e(355))/1+-parseInt(e(358))/2*(-parseInt(e(366))/3)+parseInt(e(359))/4+parseInt(e(368))/5*(parseInt(e(367))/6)+parseInt(e(356))/7+-parseInt(e(360))/8*(parseInt(e(362))/9)+-parseInt(e(363))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dr);class fr{constructor(e,i){const n=hr;this[n(365)]=e,this[n(364)]=i,this[n(357)]=new t.Collection}[lr(369)](t){const e=lr;for(const i of t)this[e(357)][e(361)](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=wr();return(yr=function(t,e){return i[t-=470]})(t,e)}!function(t){const e=yr,i=t();for(;;)try{if(508390===parseInt(e(740))/1*(-parseInt(e(501))/2)+parseInt(e(760))/3*(-parseInt(e(650))/4)+-parseInt(e(491))/5*(-parseInt(e(801))/6)+parseInt(e(798))/7+-parseInt(e(517))/8+-parseInt(e(583))/9+-parseInt(e(628))/10*(-parseInt(e(500))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wr);const gr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class kr extends qi.Plugin{static get[vr(649)](){return vr(806)}static get[vr(573)](){return!0}static get[vr(558)](){return!0}static get[vr(789)](){return[Bi.Users,En.ContextualBalloon,Qi]}constructor(t){const e=vr;super(t),this[e(564)]=this[e(622)][e(677)][e(773)](e(512)),this[e(585)](e(606),null),this[e(585)](e(757),null),this[e(626)]=null,this[e(585)](e(782),null),this[e(585)](e(533),!1),this[e(585)](e(532),!0),this.on(e(548),((t,i,n)=>{const r=e;this[r(606)]=null,this[r(757)]=null,this[r(622)][r(716)][r(746)][r(767)]((t=>{const e=r;for(const i of this[e(622)][e(716)][e(746)][e(780)][e(671)])n?t[e(610)](e(567),i):t[e(591)](e(567),i)}))})),this[e(616)](e(747)).to(this,e(606),(t=>null!==t)),this[e(616)](e(647)).to(this,e(533),this,e(782),this,e(606),((t,i,n)=>t&&n?i[e(684)][e(620)](n):0)),this[e(616)](e(597)).to(this,e(533),this,e(782),((t,i)=>t?i[e(684)][e(479)]:0)),this[e(637)]=null,this[e(778)]=new Map,this[e(484)]=null,this[e(619)]=this[e(622)][e(677)][e(773)](En.ContextualBalloon)}[vr(745)](){const t=vr,e=this[t(622)],i=new Ir(e,{direction:t(579)}),n=new Ir(e,{direction:t(613)});e[t(674)][t(571)](t(719),i),e[t(674)][t(571)](t(609),n),e[t(674)][t(571)](t(754),new _r(e)),this.on(t(627),(()=>{const e=t;i[e(795)](),n[e(795)]()})),this[t(804)](),this[t(808)](),e[t(792)](t(766)),e[t(677)][t(786)](t(736))&&e[t(677)][t(773)](t(736))[t(543)](t(766))}async[vr(761)](t){const e=vr;await this[e(487)](t);const i={};for(const n in t[e(527)]){if(t[e(527)][n][e(473)]&&!t[e(527)][n][e(473)][e(594)])continue;const r=this[e(530)](JSON[e(624)](t[e(527)][n][e(656)])),s=this[e(622)][e(716)][e(746)][e(780)],o=new Yi.ViewDocumentFragment(s,r[e(643)]((t=>this[e(596)](t))));this[e(622)][e(691)][e(494)][e(511)](e(705)),i[n]=this[e(622)][e(691)][e(494)][e(638)](o),this[e(622)][e(691)][e(494)][e(511)](e(776))}return i}async[vr(661)](t){const e=vr;await this[e(487)](t);const i={};for(const n in t[e(527)])t[e(527)][n][e(473)]&&!t[e(527)][n][e(473)][e(594)]||(i[n]=t[e(527)][n][e(559)]||{});return i}[vr(530)](t){const e=vr;return(t=t[e(772)]((t=>!t[e(588)]||e(713)!==t[e(588)]&&e(625)!==t[e(588)])))[e(669)]((t=>{const i=e;i(538)!=typeof t&&(t[i(707)]=this[i(530)](t[i(707)]),t[i(662)]=t[i(662)][i(772)]((t=>!t[0][i(771)](i(696)))))})),t}async[vr(715)](t,e,i=!1){const n=vr;if(!this[n(532)])return;const r=this[n(782)],s=this[n(564)],o=n(538)==typeof t?s[n(793)](t):t,a=n(538)==typeof e?s[n(793)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(782)]&&this[n(782)][n(502)]===c&&this[n(782)][n(641)]===u)return Promise[n(497)]();this[n(533)]=!1,this[n(757)]=null,this[n(606)]=null,this[n(782)]=new fr(c,u);const l=this[n(681)](o,a,!0)[n(643)]((t=>this[n(487)](t)));return l[n(665)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(763)](l)[n(630)]((()=>{const t=n;if(!this[t(532)])return;this[t(742)]();const e=this[t(495)](c,u);for(const i of e[t(684)])this[t(778)][t(585)](i.id,i);this[t(622)][t(764)][t(611)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(622)][n(764)][n(780)][n(749)]())i[n(678)](t);for(const t of Object[n(755)](e[n(764)])){const r=i[n(743)](t);for(const s of Object[n(755)](e[n(662)][t]))i[n(765)](s,e[n(662)][t][s],r);i[n(604)](e[n(764)][t],r,0)}})),this[t(782)][t(704)](this[t(498)](e[t(684)])),this[t(533)]=!0}))[n(712)]((t=>{const e=n;console[e(547)](t),this[e(742)](),r&&(this[e(782)]=r),this[e(533)]=!0}))}[vr(660)](t,e){const i=vr,n=this[i(564)][i(562)](t);return n.on(i(726),((t,i,r)=>e(i,r,n))),this[i(564)][i(587)](n),n}[vr(487)](t){const e=vr;if(!t||t[e(527)])return Promise[e(497)]();{const i=this[e(622)][e(618)][e(773)](e(800));return this[e(484)][e(793)]({channelId:i,revisionId:t.id})[e(630)]((i=>{const n=e;t[n(726)]({diffData:i[n(527)]},!0)}))}}[vr(742)](){const t=vr;this[t(606)]=null,this[t(523)](),this[t(637)]&&this[t(637)][t(539)](),this[t(637)]=null,this[t(778)][t(605)](),this[t(622)][t(764)][t(611)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(622)][i(764)][i(780)][i(749)]())e[i(678)](t)}))}[vr(498)](t){const e=vr,i=[],n=new Map;for(const t of this[e(622)][e(764)][e(780)][e(749)]()){const r=this[e(622)][e(716)][e(746)][e(528)](t);if(!r)continue;const s=r[e(752)]()[e(595)](0);s&&(i[e(665)](t),n[e(585)](t,s))}return i[e(581)](((t,i)=>{const r=e,s=n[r(773)](t),o=n[r(773)](i);return s.y-o.y||s.x-o.x})),(t=t[e(772)]((t=>i[e(709)](t[e(796)]))))[e(581)](((t,n)=>i[e(693)](t[e(796)])-i[e(693)](n[e(796)]))),t}[vr(477)](t){const e=vr,i=Array[e(697)](t[e(537)])[e(772)]((([t,i])=>t[e(771)](e(556))&&!i[e(480)])),n=Array[e(697)](this[e(622)][e(764)][e(590)](t)[e(737)]({singleCharacters:!0}));if(0!=i[e(479)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(729)](":");if(r[e(509)][e(482)](t[e(731)])&&i[e(584)](),(t[e(768)][e(482)](r[e(711)])||t[e(768)][e(602)](r[e(711)]))&&(e(672)==s?t[e(634)]={userId:o}:e(659)==s&&(t[e(518)]={userId:o})),0==i[e(479)])break}return n}[vr(471)](t){const e=vr,i=new Map;for(let n=0;n<t[e(479)];n++)e(653)===t[n][e(680)]?(t[n][e(595)][e(507)]=n,t[n][e(595)][e(706)]=n):(e(654)===t[n][e(680)]?t[n][e(595)][e(507)]=n:e(748)===t[n][e(680)]&&(t[n][e(595)][e(706)]=n),i[e(585)](t[n].id,n));for(const n of i[e(698)]())e(654)===t[n][e(680)]?t[n][e(595)][e(706)]=i[e(773)](t[n][e(546)]):e(748)===t[n][e(680)]&&(t[n][e(595)][e(507)]=i[e(773)](t[n][e(546)]))}[vr(797)](t){const e=vr;for(let i=0;i<t[e(479)];i++){if(e(654)===t[i][e(680)])t[i][e(595)][e(507)]=i;else if(e(748)===t[i][e(680)]){t[i][e(595)][e(706)]=i;const n=t[i][e(595)][e(507)];t[n][e(546)]=t[i].id,t[i][e(546)]=t[n].id}else t[i][e(595)][e(507)]=i,t[i][e(595)][e(706)]=i,t[i][e(546)]=null;t[i][e(510)]||(t[i][e(510)]=[],t[i][e(508)]=[])}}[vr(648)](t,e){const i=vr,n=t[i(772)]((t=>!t[i(634)]));for(let t=0;t<e[i(479)];t++)e[t][i(634)]&&(n[t][i(634)]=e[t][i(634)])}[vr(714)](t){const e=vr,i=JSON[e(624)](t),n=this[e(622)][e(716)][e(746)][e(780)],r=new Yi.ViewDocumentFragment(n,i[e(643)]((t=>this[e(596)](t))));return this[e(622)][e(691)][e(515)](r)}[vr(596)](t){const e=vr,i=this[e(622)][e(716)][e(746)][e(780)];if(e(538)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(707)][e(643)]((t=>this[e(596)](t)));return new(gr[t[e(680)]]||Yi.ViewElement)(i,t[e(588)],t[e(662)],n)}}[vr(495)](t,e=null){const i=vr,n=this[i(564)][i(793)](t),r=e?this[i(564)][i(793)](e):null,s=this[i(681)](n,r),o=s[s[i(479)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(479)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(755)](e[i(527)]))if(e[i(527)][t][i(473)]){const n=e[i(527)][t][i(473)];n[i(594)]?(u[i(571)](t),l[i(786)](t)&&l[i(773)](t)[i(720)]==n[i(720)]?l[i(690)](t):l[i(585)](t,n)):l[i(786)](t)?(u[i(690)](t),l[i(690)](t)):(u[i(571)](t),l[i(585)](t,n))}else u[i(571)](t)}for(const t of u){const e=l[i(786)](t)&&!l[i(773)](t)[i(594)];let n=e?s[i(479)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(527)][t]){const n=e?o[i(527)][t][i(566)]:o[i(527)][t][i(559)];c[i(662)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(764)]={};for(const e of t[i(803)])a[i(585)](e.id,e);for(const e of u){const n=t[i(527)][e]?t[i(527)][e][i(656)]:"[]",r=t[i(527)][e]?t[i(527)][e][i(557)]:"[]";t[i(764)][e]={insertions:this[i(714)](n),deletions:this[i(714)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(697)](n[i(764)][t][i(656)][i(537)])[i(772)]((([t])=>!t[i(771)](i(556)))));let h=0;for(const o of s){const s=this[i(477)](o[i(764)][t][i(656)]);o==n?(e=s,r=e[i(479)],e[i(669)]((t=>{t.id=h++})),this[i(797)](e)):this[i(648)](e,s);const a=e[i(772)]((t=>!t[i(634)]))[i(643)]((t=>t.id));let c=0;const l=this[i(477)](o[i(764)][t][i(557)]);l[i(669)]((t=>{t[i(518)]?t.id=r++:t.id=a[c++]})),this[i(797)](l),this[i(730)](e,i(634)),this[i(730)](l,i(518)),o==n&&this[i(504)](e,u),e=this[i(781)](e,l),this[i(471)](e),this[i(730)](e,i(518))}e=e[i(772)]((t=>!(t[i(634)]&&t[i(518)])));const d=new Map(o[i(764)][t][i(557)][i(537)]),f=new Set(u[i(755)]());for(const t of d[i(755)]())f[i(690)](t);this[i(759)](e,f),this[i(673)](e),e=this[i(503)](e),e=this[i(756)](e),e=this[i(608)](e);const{root:m,changes:p}=this[i(753)](e,a,t);c[i(764)][t]=m;const v=l[i(773)](t);if(v){const e=a[i(773)](v[i(720)]),n=new ur({author:e,type:v[i(594)]?i(571):i(516),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(513)](n),c[i(662)][t][i(728)]=n.id}c[i(684)]=c[i(684)][i(787)](p)}return c}[vr(504)](t,e){const i=vr;for(let n=0;n<t[i(479)];n++)for(const[r,s]of e)s[i(711)][i(482)](t[n][i(768)])&&t[n][i(510)][i(665)](r),s[i(509)][i(482)](t[n][i(731)])&&t[n][i(508)][i(665)](r)}[vr(781)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(479)]||s<e[i(479)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(665)](o);else if(a[i(518)]&&o[i(634)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(639)](t,r,e,s);n=n[i(787)](o),r=a,s=c}else a[i(518)]?(s++,n[i(665)](a)):(r++,n[i(665)](o))}return n}[vr(759)](t,e){const i=vr,n=[];for(let o=0;o<t[i(479)];o++){for(let s=0;s<t[o][i(510)][i(479)];s++){const a=t[o][i(510)][s];if(!e[i(786)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(738)!=c||i(672)!=u&&i(659)!=u||(n[i(513)]({type:u,name:a,userId:l}),t[o][i(510)][i(644)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(508)][i(479)];s++){const a=t[o][i(508)][s];if(!e[i(786)](a))continue;const{group:c,type:u}=r(a);if(i(738)!=c||i(672)!=u&&i(659)!=u)continue;t[o][i(508)][i(644)](s,1),s--;const l=n[i(779)]((t=>t[i(588)]==a));l>-1&&n[i(644)](l,1)}}function r(t){const e=i,n=t[e(729)](":");return{group:n[0],type:n[1],subType:n[e(479)]>=5?n[2]:null,id:n[e(479)]<5?n[2]:n[3],authorId:n[e(479)]<5?n[3]:n[4],markerCount:6==n[e(479)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(479)];i++){if(t[e(634)]&&e(672)==n[i][e(680)])return t[e(699)]=n[i],void delete t[e(634)];if(!t[e(634)]&&!t[e(518)]&&e(659)==n[i][e(680)])return void(t[e(777)]=n[i])}}}[vr(730)](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(585)](o.id,n);for(let n=0;n<t[i(479)];n++){if(i(518)==e&&t[n][i(634)]||i(634)==e&&t[n][i(518)])continue;if(i(653)==t[n][i(680)]){t[n][i(496)]=0;continue}const r=s[i(773)](t[n][i(546)]),o=s[i(773)](t[n].id);t[n][i(496)]=r-o}}[vr(681)](t,e,i=!1){const n=vr,r=[];let s=this[n(564)][n(620)](t),o=this[n(564)][n(620)](e);for(-1==o&&(o=this[n(564)][n(506)][n(479)],i=!1);s<o;)r[n(665)](this[n(564)][n(793)](s)),s++;return i&&r[n(665)](this[n(564)][n(793)](s)),r}[vr(639)](t,e,i,n){const r=vr,s=this[r(622)][r(764)][r(505)];let o=e;for(;t[o]&&t[o][r(634)];)o++;let a=n;for(;i[a]&&i[a][r(518)];)a++;u(t,e,o),u(i,n,a);const c=i[r(703)](n,a)[r(787)](t[r(703)](e,o));return c[r(581)](((t,e)=>t[r(635)]!=e[r(635)]?t[r(635)]-e[r(635)]:t[r(645)]!=e[r(645)]?t[r(645)]-e[r(645)]:t[r(496)]!=e[r(496)]?e[r(496)]-t[r(496)]:!!t[r(634)]!=!!e[r(634)]?-1==t[r(635)]||0==t[r(635)]?t[r(634)]?-1:1:t[r(634)]?1:-1:t[r(549)]-e[r(549)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(580)],c=!0;for(let r=e;r<i;r++)if(s[n(499)](t[r][n(595)])||(c=!1),t[r][n(595)][n(507)]<e&&(o=r),t[r][n(595)][n(706)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(635)]=r<=o?-1:r<a?0:1,t[r][n(549)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(496)]?t[i][n(645)]=u:(u++,t[i][n(645)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(635)]&&(t[r][n(645)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(496)]?t[e][n(645)]=u:(u--,t[e][n(645)]=u,u--)}}[vr(673)](t){const e=vr,i=new Map,n=this[e(622)][e(764)][e(505)];for(let r=1;r<t[e(479)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(653)==c[e(680)])continue;if(c[e(680)]!=u[e(680)])continue;if(!n[e(540)](u[e(595)])||n[e(589)](u[e(595)]))continue;if(!n[e(540)](c[e(595)])||n[e(589)](c[e(595)]))continue;if((t[r][e(634)]||t[r][e(699)])&&t[r-1][e(518)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(518)]||!t[r-1][e(634)]&&!t[r-1][e(699)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(645)]==o[e(645)],h=Math[e(551)](s[e(645)])<Math[e(551)](o[e(645)])&&0==o[e(496)];(l||h)&&(i[e(585)](o.id,s.id),t[e(644)](a,1),r--,s[e(634)]=!1)}for(let n=0;n<t[e(479)];n++)i[e(786)](t[n][e(546)])&&(t[n][e(546)]=i[e(773)](t[n][e(546)]))}[vr(503)](t){const e=vr,i=new Set(t[e(643)]((t=>t.id)));for(let n=0;n<t[e(479)];n++)i[e(786)](t[n][e(546)])||0==t[n][e(496)]||(t[n][e(483)]=!0);return t[e(772)]((t=>!t[e(483)]))}[vr(756)](t){const e=vr,i=new Set;for(let n=0;n<t[e(479)];n++){if(i[e(786)](t[n].id)&&t[n][e(518)]&&(t[n][e(483)]=!0),t[n][e(483)])continue;if(0==t[n][e(496)])continue;if(e(654)!=t[n][e(680)])continue;if(null==t[n][e(546)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(546)];)e(654)==t[r][e(680)]?s++:e(748)==t[r][e(680)]&&s--,r++;if(0!=s)if(t[n][e(518)])t[n][e(483)]=!0;else for(;r!=n;)t[r][e(518)]&&0!=t[r][e(496)]&&(t[r][e(483)]=!0,i[e(571)](t[r][e(546)])),r--}return t[e(772)]((t=>!t[e(483)]))}[vr(608)](t){const e=vr,i=this[e(622)][e(764)][e(505)];for(let n=0;n<t[e(479)];n++){if(!(t[n][e(634)]||t[n][e(699)]||t[n][e(518)]||t[n][e(777)]))continue;if(0==t[n][e(496)])continue;const r=t[n][e(595)];i[e(540)](r)||i[e(589)](r)||(t[n][e(634)]&&delete t[n][e(634)],t[n][e(699)]&&delete t[n][e(699)],t[n][e(777)]&&delete t[n][e(777)],t[n][e(518)]&&(t[n][e(483)]=!0))}return t[e(772)]((t=>!t[e(483)]))}[vr(753)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(622)][n(764)],c=a[n(505)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(479)];e++)if(n(654)===t[e][n(680)]){t[e][n(768)]=a[n(574)](r,f);const i=new Yi.Element(t[e][n(595)][n(588)],t[e][n(595)][n(536)]());u[0][n(521)](i),f[n(665)](0),u[n(513)](i),t[e][n(731)]=a[n(574)](r,f)}else n(748)===t[e][n(680)]?(u[n(584)](),t[e][n(768)]=a[n(574)](r,f),f[n(750)](),f[f[n(479)]-1]++,t[e][n(731)]=a[n(574)](r,f)):(t[e][n(768)]=a[n(574)](r,f),d?d[n(470)]+=t[e][n(595)][n(691)]:d=new Yi.Text(t[e][n(595)][n(691)],t[e][n(595)][n(536)]()),t[e+1]&&n(653)===t[e+1][n(680)]&&v(d,t[e+1][n(595)])||(u[0][n(521)](d),d=null),f[f[n(479)]-1]+=t[e][n(595)][n(692)],t[e][n(731)]=a[n(574)](r,f));for(let e=0;e<t[n(479)];e++){const i=t[e][n(768)],r=t[e][n(731)];for(const r of t[e][n(510)])o[n(585)](r,{start:i,end:null});m(n(777),e,i,r),m(n(699),e,i,r),m(n(518),e,i,r),m(n(634),e,i,r);for(const i of t[e][n(508)])o[n(773)](i)[n(509)]=r}for(const[t,e]of o){const i=this[n(622)][n(764)][n(553)](e[n(711)],e[n(509)]);r[n(537)][n(585)](t,i)}return s[n(581)](((t,e)=>{const i=n,s=r[i(537)][i(773)](i(556)+t.id),o=r[i(537)][i(773)](i(556)+e.id);return s[i(711)][i(569)](o[i(711)])?-1:s[i(711)][i(602)](o[i(711)])?1:s[i(509)][i(569)](o[i(509)])?-1:s[i(509)][i(602)](o[i(509)])?1:i(571)===t[i(680)]?-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(720)]:null,d=i===t[o(479)]-1,f=h[e][0],m=c[o(563)](t[i][o(595)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(509)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(720)]!==u&&(l[e][o(509)]=r,f&&f[o(720)]===l[e][o(720)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(654)!==t[i][o(680)]||f&&f[o(720)]===u||h[e][o(513)]({userId:u,object:t[i][o(595)],change:l[e]}),o(748)===t[i][o(680)]&&f&&f[o(603)]===t[i][o(595)]&&(h[e][o(584)](),l[e]=f[o(767)])),l[e]&&d&&(l[e][o(509)]=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(595)],f=a[h(505)][h(540)](d)&&!a[h(505)][h(589)](d),m=t[h(710)]==o[h(488)]&&o[h(615)];if(f&&m)return;const p=a[h(553)](t,o),v=e[h(773)](u),y=new ur({author:v,type:h(634)==l||h(699)==l?h(571):h(516),data:{isSuggestion:h(699)==l||h(777)==l},createdAt:new Date,rootName:i});s[h(665)](y),r[h(537)][h(585)](h(556)+y.id,p)}function v(t,e){const i=n,r=t[i(536)](),s=e[i(536)]();for(const t of r){if(t[1]!==e[i(642)](t[0]))return!1;s[i(724)]()}return s[i(724)]()[i(770)]}}[vr(804)](){const t=vr;this[t(622)][t(732)][t(791)](t(481))[t(794)]({view:t(529)}),this[t(622)][t(732)][t(791)](t(519))[t(545)]({model:t(529),view:e=>{const i=t,n=e[i(534)][i(729)](":")[1],r=this[i(802)](n);if(!r)return null;const s=i(571)==r[i(680)]?i(672):i(659),o=[i(783),i(679)+s];return r[i(691)][i(531)]&&o[i(665)](i(679)+s+i(762)),this[i(606)]==r&&o[i(665)](i(718)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(622)][t(732)][t(791)](t(481))[t(571)]((e=>{const i=t;e.on(i(774),((t,e,n)=>{const r=i,s=e[r(788)][r(525)](0);if(!s||!s.is(r(544),r(652)))return;if(!n[r(598)][r(688)](s,{attributes:[r(769),r(575)]}))return;const o=e[r(599)][r(711)][r(710)];n[r(577)][r(765)](r(769),s[r(642)](r(769)),o),n[r(577)][r(765)](r(575),s[r(642)](r(575)),o)}),{priority:i(668)})})),this[t(622)][t(732)][t(791)](t(481))[t(571)]((e=>{const i=t;e.on(i(544),((t,e,n)=>{const r=i;if(!n[r(598)][r(688)](e[r(788)],{attributes:[r(769),r(575)]}))return;if(e[r(599)][r(480)])return;const s=e[r(599)][r(711)][r(710)];s[r(514)](r(769))||s[r(514)](r(493))||(n[r(577)][r(765)](r(769),e[r(788)][r(642)](r(769)),s),n[r(577)][r(765)](r(575),e[r(788)][r(642)](r(575)),s))}),{priority:i(668)})})),this[t(622)][t(732)][t(791)](t(481))[t(524)]({view:{name:t(621),attributes:{vid:!0}},model:{key:t(493),value:e=>e[t(642)](t(493))}}),this[t(622)][t(764)][t(505)].on(t(702),((e,[,i])=>{const n=t;[n(769),n(575),n(493)][n(709)](i)&&(e[n(701)]=!0,e[n(785)]())}),{priority:t(593)}),this[t(622)][t(732)][t(791)](t(578))[t(571)]((e=>{const i=t;e.on(i(485),((t,e,n)=>{const r=i;if(" "!=e[r(595)][r(691)]||e[r(595)][r(488)][r(695)]>1)return;if(!n[r(598)][r(688)](e[r(595)],t[r(588)]))return;const s=n[r(577)],o=n[r(735)][r(592)](e[r(694)]);s[r(552)](o,s[r(486)](r(621)))}))})),this[t(622)][t(732)][t(791)](t(578))[t(708)]({model:t(529)}),this[t(622)][t(716)][t(721)].on(t(676),function(e){const i=t,n=e[i(677)][i(773)](i(806));return(t,r,s)=>{const o=i,a=r[o(534)][o(729)](":")[1],c=n[o(802)](a);if(!c)return null;const u=o(571)==c[o(680)]?o(729):o(646);if(!s[o(598)][o(489)](r[o(667)],t[o(588)]))return;const l=r[o(667)][o(737)](),h=r[o(667)][o(711)],d=e[o(764)][o(505)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(595)];p=p||d[o(475)](e);const i=s[o(735)][o(490)](e);if(i&&i[o(472)](o(601)))return;o(748)==t[o(680)]&&d[o(540)](e)&&!d[o(589)](e)&&(e[o(636)]||h[o(568)]?f&&f[o(488)]==e||(f=e,y(t[o(768)]),v=!0):m=m||t[o(768)])}function y(t){const e=o,i=s[e(577)][e(582)](e(621),{class:e(679)+u}),a=s[e(735)][e(686)](t);c[e(691)][e(531)]&&s[e(577)][e(591)](e(679)+u+e(762),i),n[e(606)]==c&&s[e(577)][e(591)](e(718),i),s[e(577)][e(604)](a,i),s[e(735)][e(683)](i,r[e(534)])}p||v||!m||y(m)}}(this[t(622)]),{priority:t(522)}),this[t(622)][t(716)][t(721)].on(t(623),((e,i,n)=>{const r=t,s=n[r(735)][r(700)](i[r(534)]);if(s)for(const t of s)(t[r(478)](r(664))||t[r(478)](r(640)))&&(n[r(735)][r(614)](t,i[r(534)]),n[r(577)][r(516)](t))}),{priority:t(522)}),this[t(622)][t(716)][t(721)].on(t(676),((e,i,n)=>{const r=t,s=i[r(534)][r(729)](":")[1],o=this[r(802)](s);if(!o)return null;const a=r(571)==o[r(680)]?r(729):r(646);if(n[r(598)][r(489)](i[r(667)],e[r(588)]))for(const t of i[r(667)][r(758)]()){if(!t.is(r(544),r(629)))continue;const e=n[r(577)][r(582)](r(621),{class:r(679)+a}),s=n[r(735)][r(686)](this[r(622)][r(764)][r(520)](t));o[r(691)][r(531)]&&n[r(577)][r(591)](r(679)+a+r(762),e),this[r(606)]==o&&n[r(577)][r(591)](r(718),e),n[r(577)][r(604)](s,e),n[r(735)][r(683)](e,i[r(534)])}}),{priority:t(522)}),this[t(622)][t(764)][t(780)].on(t(767),(()=>{const e=t;this[e(622)][e(716)][e(746)][e(767)]((t=>{const i=e;for(const e of this[i(622)][i(764)][i(780)][i(749)]()){const n=this[i(622)][i(764)][i(780)][i(572)](e),r=this[i(622)][i(716)][i(746)][i(780)][i(572)](e);if(r){const e=n[i(642)](i(728));if(t[i(666)](i(658),r),t[i(610)](i(565),r),t[i(610)](i(727),r),t[i(610)](i(717),r),e){const n=this[i(802)](e);if(!n)return null;t[i(765)](i(658),e,r),t[i(591)](i(600)+n[i(680)],r),this[i(606)]==n&&t[i(591)](i(717),r)}}}}))})),this[t(622)][t(732)][t(791)](t(481))[t(794)]({view:t(541),model:e=>t(790)+e,converterPriority:t(593)}),this[t(622)][t(732)][t(791)](t(481))[t(794)]({view:t(682),model:e=>t(535)+e,converterPriority:t(593)}),this[t(622)][t(732)][t(791)](t(578))[t(708)]({model:t(738),view:e=>({name:t(555)+e,group:t(738)}),converterPriority:t(593)}),this[t(622)][t(732)][t(791)](t(519))[t(545)]({model:t(738),view:e=>{const i=t,n=e[i(534)][i(729)](":")[1];return i(672)!=n&&i(659)!=n?null:{classes:[i(631),i(687)+n]}}}),this[t(622)][t(716)][t(721)].on(t(663),br(this[t(622)],t(646)),{priority:t(522)}),this[t(622)][t(716)][t(721)].on(t(474),br(this[t(622)],t(729)),{priority:t(522)}),this[t(622)][t(716)][t(721)].on(t(734),((e,i,n)=>{const r=t,s=n[r(735)][r(700)](i[r(534)]);if(s)for(const t of s)t.is(r(550))&&(n[r(735)][r(614)](t,i[r(534)]),n[r(577)][r(516)](t))}),{priority:t(522)})}[vr(802)](t){const e=vr;return this[e(778)][e(773)](t)}[vr(775)](t){const e=vr;return this[e(637)]&&this[e(637)][e(539)](),this[e(637)]=new rr(this[e(622)][e(751)],t),this[e(637)]}[vr(808)](){const t=vr;this[t(622)][t(764)][t(780)][t(554)][t(807)](t(529)),this.on(t(560),((e,i,n,r)=>{const s=t;r&&this[s(619)][s(516)](r),n&&(this[s(619)][s(571)]({view:n,stackId:s(651),position:{target:()=>{const t=s,e=this[t(622)][t(716)],i=this[t(802)](n[t(725)]);let r;if(i[t(691)][t(617)]){const n=e[t(746)][t(528)](i[t(796)]);r=Array[t(697)](n[t(752)]())}else{const i=this[t(622)][t(764)][t(537)][t(773)](t(556)+n[t(725)]);r=Array[t(697)](e[t(735)][t(700)](i[t(588)]))[t(643)]((i=>e[t(746)][t(476)][t(744)](i)))[t(643)]((e=>Array[t(697)](e[t(752)]())))[t(576)]()}return this[t(626)]&&r[t(670)]((e=>e[t(689)]-3<=this[t(626)].y&&e[t(657)]+3>=this[t(626)].y&&e[t(805)]-3<=this[t(626)].x&&e[t(561)]+3>=this[t(626)].x))||r[0]}}}),this[s(619)][s(526)](s(651)))})),this.on(t(570),((e,i,n,r)=>{const s=t;this[s(757)]=n?this[s(775)](n):null,this[s(622)][s(764)][s(767)]((()=>{const t=s,e=this[t(622)][t(716)];r&&(r[t(691)][t(617)]?e[t(746)][t(767)]((i=>{const n=t;i[n(610)](n(717),e[n(746)][n(780)][n(572)](r[n(796)]))})):e[t(586)](t(556)+r.id)),n&&(n[t(691)][t(617)]?e[t(746)][t(767)]((i=>{const r=t;i[r(591)](r(717),e[r(746)][r(780)][r(572)](n[r(796)]))})):e[t(586)](t(556)+n.id))}))})),this[t(784)](this[t(622)][t(716)][t(746)][t(780)],t(685),((e,i)=>{const n=t;if(this[n(606)])return;const r=this[n(723)](i[n(739)]),s=this[n(778)][n(773)](r);s?(this[n(626)]={x:i[n(733)].x,y:i[n(733)].y},this[n(757)]=this[n(775)](s)):(this[n(626)]=null,this[n(757)]=null)})),this[t(784)](this[t(622)][t(716)][t(746)][t(780)],t(675),((e,i)=>{const n=t,r=this[n(723)](i[n(739)]),s=this[n(778)][n(773)](r);s?(this[n(626)]={x:i[n(733)].x,y:i[n(733)].y},s===this[n(606)]?this[n(619)][n(633)]():this[n(606)]=s):(this[n(626)]=null,this[n(606)]=null)}))}[vr(723)](t){const e=vr;do{const i=t[e(642)](e(658));if(i)return i;t=t[e(488)]}while(t);return null}[vr(523)](){const t=vr;this[t(622)][t(764)][t(767)]((e=>{const i=t;for(const t of this[i(622)][i(764)][i(537)])e[i(632)](t)}))}}function br(t,e){return(i,n,r)=>{const s=yr;if(!r[s(598)][s(489)](n[s(667)],i[s(588)]))return;const o=n[s(667)][s(737)](),a=n[s(667)][s(711)],c=t[s(764)][s(505)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(595)];h=h||c[s(475)](e);const i=r[s(735)][s(490)](e);if(i&&i[s(472)](s(601)))return;s(748)==t[s(680)]&&c[s(540)](e)&&!c[s(589)](e)&&(e[s(636)]||a[s(568)]?u&&u[s(488)]==e||(u=e,f(t[s(768)]),d=!0):l=l||t[s(768)])}function f(t){const i=s,o=r[i(735)][i(686)](t),a=r[i(577)][i(582)](i(621),{class:i(687)+e});r[i(577)][i(604)](o,a),r[i(735)][i(683)](a,n[i(534)])}h||d||!l||f(l)}}function wr(){const t=["markerNameToElements","return","checkAttribute","slice","_setChanges","marked","endIndex","children","markerToData","includes","nodeAfter","start","catch","revision-start","_makeModelFromViewString","compare","editing","ck-revision-history-root--active","ck-suggestion-marker--active","showPreviousChange","userId","downcastDispatcher","restoreRevisionCallback","_findChangeIdFromDomTarget","next","changeId","_update","ck-revision-history-root-remove","revisionHistoryAttachChange","split","_setDistance","nextPosition","conversion","domEvent","removeMarker:revision-suggestion","mapper","WidgetToolbarRepository","getWalker","revision-suggestion","target","18926gMwxIH","first","_cleanUp","addRoot","mapViewToDom","init","view","isNavigationMode","elementEnd","getRootNames","pop","locale","getClientRects","_makeModelFromTape","restoreRevision","keys","_markMismatchedRemovedTags","activeView","getItems","_markSuggestions","3iVklBd","getRevisionData","-new","all","model","setAttribute","revision-viewer","change","previousPosition","vid_start","done","startsWith","filter","get","element:pre","_getViewForChange","default","isRemoveSuggestion","_changeIdToChange","findIndex","document","_joinTapes","diff","ck-suggestion-marker","listenTo","stop","has","concat","viewItem","requires","revision-comment:","for","enableReadOnlyMode","getRevision","dataToMarker","refresh","rootName","_processTape","2578744HGwDxu","_step","collaboration.channelId","66JgfYOa","_getChangeFromId","authors","_setConversion","left","RevisionViewer","observeMarkers","_initInteractions","_data","_refreshStartEndIndex","getCustomProperty","attachChange","addMarker:revision-suggestion:insertion","isContent","domConverter","_makeTape","hasClass","length","isCollapsed","upcast","isEqual","isIncorrect","adapter","attribute:vid","createAttributeElement","loadRevisionData","parent","test","toViewElement","148725CGstGb","execute","vid","processor","_getDiff","distance","resolve","_sortAndFilterDiffChanges","isInline","240757UiUTHy","38Xylzle","newRevisionId","_removeMissingPairs","_markMarkers","schema","_revisions","startIndex","markersEnd","end","markersStart","useFillerType","RevisionsRepository","unshift","hasAttribute","toModel","remove","159624nlszeu","isRemoved","editingDowncast","createPositionBefore","_appendChild","high","_cleanMarkers","elementToAttribute","getChild","showStack","diffData","getDomRoot","revision","_removeRevisionMarkers","isSuggestion","isEnabled","isReady","markerName","revision-suggestion:","getAttributes","markers","string","destroy","isBlock","comment","change:isReady","forceDisabled","element","markerToHighlight","pairId","error","change:isEnabled","index","uiElement","abs","wrap","createRange","selection","suggestion:","revision:","deletions","isPremiumPlugin","attributesAfter","change:activeView","right","createRevision","isObject","repository","ck-revision-history-root-add","attributesBefore","ck-editor__editable__overlay","isAtEnd","isBefore","change:activeChange","add","getRoot","isOfficialPlugin","createPositionFromPath","vid_end","flat","writer","dataDowncast","backward","POSITIVE_INFINITY","sort","createUIElement","9118872qhBZcl","shift","set","reconvertMarker","addRevision","name","isLimit","createRangeIn","addClass","toViewRange","highest","isAttached","item","_getViewObj","numberOfChanges","consumable","modelRange","ck-revision-history-root-","addHighlight","isAfter","object","insert","clear","activeChange","affectsData","_removeUnsupportedChanges","showNextChange","removeClass","enqueueChange","revisionHistory","forward","unbindElementFromMarkerName","isAtStart","bind","isOnRoot","config","_balloon","getIndex","span","editor","removeMarker:revision","parse","revision-end","_activeViewTarget","change:numberOfChanges","660lefTMa","softBreak","then","ck-suggestion-preview-marker","removeMarker","updatePosition","isAdded","side","nextSibling","_changeView","toData","_threeWayMerge","ck-suggestion-marker-merge","oldRevisionId","getAttribute","map","splice","level","merge","currentChangeNumber","_markInsertions","pluginName","955936hRULRp","revisionHistoryLabel","code","text","elementStart","getLaterVisibleRevision","insertions","bottom","data-change-id","deletion","addRevisionData","getRevisionRootsAttributes","attributes","addMarker:revision-suggestion:deletion","ck-suggestion-marker-split","push","removeAttribute","markerRange","low","forEach","find","roots","insertion","_fixObsoleteTags","commands","mousedown","addMarker:revision","plugins","detachRoot","ck-suggestion-marker-","type","_getRevisionsRange","suggestion","bindElementToMarker","changes","mouseover","toViewPosition","ck-suggestion-preview-marker-","consume","top","delete","data","offsetSize","indexOf","range","maxOffset","data-revision-","from","values","isAddSuggestion"];return(wr=function(){return t})()}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(677)][e(773)](kr);this[e(607)]=!1,this[e(784)](i,e(542),(()=>this[e(795)]())),this[e(784)](i,e(548),(()=>this[e(795)]()))}[vr(492)](){const t=vr,e=this[t(622)],i=e[t(677)][t(773)](kr),n=i[t(533)]?i[t(782)][t(502)]:null;e[t(618)][t(773)](t(612))[t(722)](n)}[vr(795)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(622)][t(677)][t(773)](kr),s=r&&n[t(655)](r[t(502)]);this[t(532)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(677)][i(773)](kr);this[i(607)]=!1,this[i(799)]=i(613)===e?1:-1,this[i(784)](n,i(542),(()=>this[i(795)]())),this[i(784)](n,i(548),(()=>this[i(795)]())),this[i(784)](n,i(570),(()=>this[i(795)]()))}[vr(492)](){const e=vr,i=this[e(622)],n=i[e(677)][e(773)](kr),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(606)]=r?n[e(782)][e(684)][e(773)](s+this[e(799)]):n[e(782)][e(684)][e(741)],n[e(606)][e(691)][e(617)])o=i[e(716)][e(746)][e(528)](n[e(606)][e(796)]);else{const t=i[e(764)][e(537)][e(773)](e(556)+n[e(606)].id);o=(0,Bi.getMarkerDomElement)(i[e(716)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(795)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(622)][t(677)][t(773)](kr);this[t(532)]=!!(s&&r&&n)&&(!e||(1===this[t(799)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Pn().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Zn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(){const t=["2442165WRPrHH","2074366eNBZWD","isEnabled","set","4AkfkSq","setTemplate","span","Total","Loading...","ck-revision-history-ui__changes-navigation__navigation","currentChangeNumber","ck-revision-history-ui__changes-navigation__wrapper","_statusText","fire","534684zmaeKk","isNavigationMode","ck-revision-history-ui__changes-navigation","X_OF_Y_CHANGES","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__label","forward","isReady","ck-hidden","backward","No changes","div","902260RbfdDO","1QgUGZL","Show next change","Show previous change","numberOfChanges","bindTemplate","EDIT_X_OF_Y_REVISIONS","NUMBER_OF_CHANGES","isForwardNavigationEnabled","516189LnBKzj","_isStatusLabelVisible","7363737ALKbGh","ck-revision-history-ui","execute","8PdAKnW","53095JpbYCz","bind"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=367]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(541833===parseInt(e(370))/1*(parseInt(e(387))/2)+-parseInt(e(378))/3*(parseInt(e(390))/4)+parseInt(e(386))/5+parseInt(e(400))/6+-parseInt(e(384))/7*(-parseInt(e(383))/8)+-parseInt(e(380))/9+-parseInt(e(369))/10)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(374)],n=new En.ButtonView(t),r=new En.ButtonView(t);this[e(389)](e(401),!1),this[e(389)](e(407),!1),this[e(389)](e(396),0),this[e(389)](e(373),0),this[e(389)](e(377),!1),this[e(389)](e(404),!1),this[e(385)](e(379)).to(this,e(407),this,e(373),((t,e)=>t&&e>0)),this[e(385)](e(398)).to(this,e(407),this,e(396),this,e(373),this,e(401),((i,n,r,s)=>{const o=e;if(!i)return Ki(t,o(394));if(!r)return Ki(t,o(367));const a=Ki(t,o(376),r);return s?Ki(t,o(403),[n+1,r]):a})),n[e(389)]({label:Ki(t,e(372)),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(389)]({label:Ki(t,e(371)),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(385)](e(388)).to(this,e(404)),r[e(385)](e(388)).to(this,e(377)),n.on(e(382),(()=>this[e(399)](e(382),e(409)))),r.on(e(382),(()=>this[e(399)](e(382),e(406)))),this[e(391)]({tag:e(368),attributes:{class:["ck",e(381),e(402)]},children:[{tag:e(392),attributes:{class:[e(397)]},children:[{tag:e(392),attributes:{class:[e(405),i.if(e(379),e(408),(t=>!t))]},children:[{text:i.to(e(401),(i=>i?Ki(t,e(375))+": ":Ki(t,e(393))+": "))}]},{text:i.to(e(398))}]},new En.ToolbarSeparatorView,{tag:e(368),attributes:{class:[e(395)]},children:[n,r]}]})}}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Pn().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;const Mr=Vr;function Vr(t,e){const i=Cr();return(Vr=function(t,e){return i[t-=204]})(t,e)}!function(t){const e=Vr,i=t();for(;;)try{if(425054===parseInt(e(212))/1+-parseInt(e(218))/2*(parseInt(e(227))/3)+parseInt(e(220))/4*(parseInt(e(210))/5)+-parseInt(e(230))/6+parseInt(e(229))/7*(-parseInt(e(205))/8)+parseInt(e(221))/9*(-parseInt(e(215))/10)+parseInt(e(209))/11*(parseInt(e(204))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cr);const Er=Mr(214);class Dr extends qi.Plugin{static get[Mr(217)](){return Mr(223)}static get[Mr(219)](){return!0}static get[Mr(225)](){return!0}[Mr(207)](){const t=Mr,e=this[t(222)][t(208)][t(228)];e[t(211)]((i=>{const n=t;for(const t of e[n(226)][n(213)])i[n(206)](Er,t)}))}[Mr(216)](){const t=Mr,e=this[t(222)][t(208)][t(228)];e[t(211)]((i=>{const n=t;for(const t of e[n(226)][n(213)])i[n(224)](Er,t)}))}}function Cr(){const t=["15762ViuSUV","isOfficialPlugin","341416SyDvfe","45DHZMdH","editor","RevisionViewerLoadingOverlay","removeClass","isPremiumPlugin","document","213bRKhfx","view","7InOThN","3830508QXGhNQ","12UDFqXB","5432552TisOQv","addClass","show","editing","24089241XswTBo","20fXtzln","change","494800CLMQCv","roots","ck-editor__editable__loading-overlay","1448110Hzhguo","hide","pluginName"];return(Cr=function(){return t})()}const jr=Fr;function Fr(t,e){const i=Lr();return(Fr=function(t,e){return i[t-=273]})(t,e)}function Lr(){const t=["811656EbONDH","ck-revision-history-ui__back-to-editing","set","1045134FBEjLt","347963FXCAbP","execute","exitToEditing","RevisionViewerUI","showPreviousChange","config","add","isNavigationMode","revisionHistory","bind","init","get","forward","restoreRevision","1655585vopsVd","currentChangeNumber","componentFactory","closeRevisionViewerCallback","3143007SujIRz","pluginName","Restore this revision","requires","109128DcPHcB","isForwardNavigationEnabled","185654yhLuki","isBackwardNavigationEnabled","undo","commands","isOfficialPlugin","listenTo","changesNavigation","45phBBJU","showNextChange","show","change:isReady","4MdIQaW","isReady","hide","editor","isPremiumPlugin","numberOfChanges","isEnabled","Back to editing","plugins"];return(Lr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(228953===-parseInt(e(277))/1+-parseInt(e(301))/2+parseInt(e(276))/3*(parseInt(e(312))/4)+-parseInt(e(291))/5+parseInt(e(273))/6+parseInt(e(295))/7+-parseInt(e(299))/8*(-parseInt(e(308))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class Pr extends qi.Plugin{static get[jr(296)](){return jr(280)}static get[jr(305)](){return!0}static get[jr(316)](){return!0}static get[jr(298)](){return[kr,Dr]}[jr(287)](){const t=jr,e=this[t(315)],i=e[t(320)][t(288)](kr),n=e[t(320)][t(288)](Dr);e.ui[t(293)][t(283)](t(279),(i=>{const n=t,r=new En.ButtonView(i);return r[n(275)]({label:Ki(i,n(319)),icon:qi.icons[n(303)],withText:!0,tooltip:!0,class:n(274)}),this[n(306)](r,n(278),(()=>{const t=n;e[t(282)][t(288)](t(285))[t(294)]()})),r})),e.ui[t(293)][t(283)](t(290),(i=>{const n=t,r=new En.ButtonView(i);return r[n(275)]({label:Ki(i,n(297)),withText:!0,tooltip:!0}),r[n(286)](n(318)).to(e[n(304)][n(288)](n(290))),this[n(306)](r,n(278),(()=>e[n(278)](n(290)))),r})),e.ui[t(293)][t(283)](t(307),(n=>{const r=t,s=new Nr(n),o=e[r(304)][r(288)](r(281)),a=e[r(304)][r(288)](r(309));return s[r(286)](r(302)).to(o,r(318)),s[r(286)](r(300)).to(a,r(318)),s[r(286)](r(313),r(292),r(317),r(284)).to(i),this[r(306)](s,r(278),((t,i)=>{const n=r;e[n(278)](n(289)===i?n(309):n(281))})),s})),n[t(310)](),i.on(t(311),((e,i,r)=>{const s=t;r?n[s(314)]():n[s(310)]()}))}}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;function Ur(t,e){const i=$r();return(Ur=function(t,e){return i[t-=179]})(t,e)}const Zr=Ur;!function(t){const e=Ur,i=t();for(;;)try{if(130380===parseInt(e(206))/1+-parseInt(e(192))/2*(-parseInt(e(180))/3)+-parseInt(e(188))/4+-parseInt(e(181))/5+parseInt(e(204))/6+parseInt(e(179))/7+-parseInt(e(202))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($r);class Hr extends En.LabeledFieldView{constructor(t,e){const i=Ur;super(t,e),this[i(193)]=null;const n=this[i(185)];this[i(183)]({label:Ki(t,i(197)),_tooltipString:""}),this[i(207)][i(194)]=Ki(t,i(196)),this[i(187)]({tag:i(201),attributes:{class:[i(186)],"data-cke-tooltip-text":n.to(i(190)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(191)}})}[Zr(205)](){const e=Zr;super[e(205)](),this[e(193)]=new t.ResizeObserver(this[e(207)][e(195)],(()=>this[e(198)]())),this[e(203)](this[e(207)],e(184),(()=>this[e(198)]()))}[Zr(199)](){const t=Zr;super[t(199)](),this[t(193)]&&this[t(193)][t(199)]()}[Zr(198)](){const t=Zr,e=this[t(207)][t(195)];this[t(190)]=e[t(182)]>e[t(200)]&&e[t(189)]||""}}function $r(){const t=["value","_tooltipString","ck-tooltip_multi-line","634diPCmI","_resizeObserver","placeholder","element","Enter the revision name","Revision name","_updateTooltipText","destroy","clientWidth","span","1069440nivErJ","listenTo","469536mPEcEi","render","252941thskQh","fieldView","456379TjqQdL","27LVJEGd","598150bVAtaS","scrollWidth","set","input","bindTemplate","ck-revision-history-sidebar__revision-name","extendTemplate","62228qExVXG"];return($r=function(){return t})()}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Pn().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Zn();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Yr(t,e){const i=Gr();return(Yr=function(t,e){return i[t-=249]})(t,e)}!function(t){const e=Yr,i=t();for(;;)try{if(436771===-parseInt(e(270))/1*(-parseInt(e(251))/2)+parseInt(e(264))/3*(-parseInt(e(250))/4)+-parseInt(e(265))/5+-parseInt(e(260))/6+parseInt(e(262))/7*(-parseInt(e(256))/8)+parseInt(e(252))/9*(parseInt(e(266))/10)+-parseInt(e(263))/11*(-parseInt(e(249))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gr);class Jr extends En.View{constructor(t,e,i){const n=Yr;super(t);const r=new En.IconView;r[n(268)]({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(255)});const s=["ck",n(271)];i&&s[n(269)](n(259));const o=[{tag:n(258),attributes:{class:["ck",n(261)],title:Ki(t,n(i?257:267))},children:[r,e[n(253)]]}];this[n(254)]({tag:"li",attributes:{class:s},children:o})}}function Gr(){const t=["ck-revision-history-sidebar__revision-author_creator","3638820laUAWD","ck-revision-history-sidebar__revision-author__name","668829gQFnpV","55913MRHjXw","51504yLpXaE","1756320LmYCYZ","10uCXnvM","Revision author","set","push","1NvRrWw","ck-revision-history-sidebar__revision-author","2568mQJHXk","92UCtUSD","820462HLvEzM","4342230yibyAL","name","setTemplate","0 0 11 10","16NBTTYp","Revision creator","span"];return(Gr=function(){return t})()}function Xr(t,e){var i=Qr();return(Xr=function(t,e){return i[t-=406]})(t,e)}function Qr(){var t=["436HjToei","numeric","13575tqmFwh","195076CwxgAm","24rBTzFp","11810ZsMtoy","49JvLBdc","96YHBrbj","1085328MuQlSH","208SpMrnz","98424TVwOkx","2236wCUObJ","toLocaleDateString","toLocaleTimeString","long","3371346MMCUNx","429Kfabwi"];return(Qr=function(){return t})()}!function(t){for(var e=Xr,i=t();;)try{if(283650===-parseInt(e(421))/1*(parseInt(e(410))/2)+-parseInt(e(414))/3*(parseInt(e(413))/4)+-parseInt(e(412))/5*(parseInt(e(417))/6)+-parseInt(e(416))/7*(-parseInt(e(420))/8)+-parseInt(e(408))/9+-parseInt(e(415))/10*(-parseInt(e(409))/11)+-parseInt(e(418))/12*(-parseInt(e(419))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qr);var Kr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Pn().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Zn();Cn()(Kr.A,ts);Kr.A&&Kr.A.locals&&Kr.A.locals;function es(t,e){const i=is();return(es=function(t,e){return i[t-=100]})(t,e)}function is(){const t=["menuitem","model","panelPosition","find","bindTemplate","ck-revision-history-sidebar__revision__actions","isVisible","347310kkArjc","Compare against selected","children","function","106wqyDyA","first","bind","locale","Name this revision","set","action","extendTemplate","_action","4821HVyuCg","listView","buttonView","736482iJAazL","menu","change:isActionsDropdownOpen","9kJJkGi","class","map","stopPropagation","name","ck-on","threeVerticalDots","isReady","166068XliNUb","button","Show more items","1507216jpharV","145030ijeHYP","source","listenTo","7XEyUta","add","items","isOpen","Restore this revision","isActionsDropdownOpen","isEnabled","134625kWCgqG","execute"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(104795===-parseInt(e(149))/1+-parseInt(e(112))/2*(parseInt(e(121))/3)+-parseInt(e(135))/4+parseInt(e(108))/5+parseInt(e(124))/6+parseInt(e(142))/7*(parseInt(e(138))/8)+-parseInt(e(127))/9*(parseInt(e(139))/10))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-=456]})(t,e)}function as(){const t=["revisionNameView","43516TXVTKV","extendTemplate","ck-revision-history-sidebar__revision-authors","ck-reset","deselect","6310bOXmzj","isConfirm","authors","2323446cuMerQ","_createdAtFormatted","1510JdUZVX","revisionActionsView","1500350PvtLwX","map","14yWABZb","listenTo","closest","_revision","srcElement",".ck-thread__remove-confirm","fieldView","value","isActionsDropdownOpen","from","select","ck-revision-history-sidebar__actions_dropdown_open","setName","ck-revision-history-sidebar__revision__date","bind","length","unhighlight","setTemplate","ck-revision-history-sidebar__revision-wrapper","set","ck-disabled","3772458pbAkJJ","fire","220","filter","unshift","ck-revision-history-sidebar__revision_highlighted","3446872dqQVOG","ck-revision-history-sidebar__revision_selected","change","span","createdAt","_requireRevisionName","4mnzpTd","creator","isSelected","isHighlighted","bindTemplate","highlight","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","render","uiLanguage","184149ZhbtMw","ck-revision-history-sidebar__revision","isEnabled","name","39QhPVpU","element","ck-revision-history-sidebar__revision__controls-wrapper","div","isReady"];return(as=function(){return t})()}!function(t){const e=os,i=t();for(;;)try{if(453219===-parseInt(e(468))/1+parseInt(e(483))/2*(parseInt(e(472))/3)+parseInt(e(459))/4*(parseInt(e(490))/5)+-parseInt(e(486))/6+-parseInt(e(492))/7*(-parseInt(e(519))/8)+parseInt(e(513))/9+-parseInt(e(488))/10*(parseInt(e(478))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(as);class cs extends((0,Bi.ConfirmMixin)(En.View)){constructor(e,i,n,r){const s=os;super(e);const o=this[s(463)],a=function(t,e){const i=s,n=Array[i(501)](e[i(485)])[i(516)]((t=>t!=e[i(460)]));return e[i(460)]&&n[i(517)](e[i(460)]),n[i(491)]((n=>new Jr(t,n,n==e[i(460)])))}(e,i);this.id=i.id,this[s(495)]=i,this[s(458)]=r,this[s(506)](s(471),s(457)).to(i),this[s(506)](s(487)).to(this,s(457),(t=>{return i=e[s(467)],(n=t)[(r=Xr)(422)](i,{month:r(407),day:r(411)})+", "+n[r(406)](i,{hour:r(411),minute:r(411)});var i,n,r})),this[s(511)](s(461),!1),this[s(511)](s(462),!1),this[s(511)](s(500),!1),this[s(511)](s(476),!1),this[s(511)](s(470),!1),this[s(477)]=new Hr(e,En.createLabeledInputText),this[s(477)][s(498)][s(479)]({attributes:{maxlength:s(515)}}),this[s(477)][s(498)][s(506)](s(499)).to(this,s(471),(t=>t||this[s(487)])),this[s(477)][s(506)](s(470)).to(this,s(461),this,s(470),((t,e)=>t&&e)),this[s(489)]=n&&n[s(507)]?function(e,i){const n=es,r=e[n(105)],s=e[n(115)],o=(0,En.createDropdown)(s);o[n(103)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(115)],r={"Compare against selected":Ki(n,i(109)),"Name this revision":Ki(n,i(116)),"Restore this revision":Ki(n,i(146))};return e[i(129)]((t=>{const e=i,n=r[t[e(131)]];return n&&n!==t[e(131)]&&(t[e(131)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(136),model:new En.ViewModel({label:t[r(131)],class:t[r(128)],withText:!0,role:r(101),_action:t[r(118)]})};i[r(102)][r(114)](r(148)).to(e,r(147),(i=>r(111)!=typeof t[r(148)]||!i||t[r(148)](e))),o[r(143)](i)}return o}(e,i);return e[n(114)](n(147)).to(o,n(145)),o[n(123)][n(117)]({label:Ki(s,n(137)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(133)]}),o[n(119)]({attributes:{class:[n(106),r.if(n(147),n(132))]},on:{click:r.to((t=>t[n(130)]()))}}),o.on(n(100),(t=>{const i=n;e[i(134)]&&i(111)==typeof t[i(140)][i(120)]&&t[i(140)][i(120)](e)})),(0,En.addListToDropdown)(o,a,{role:n(125)}),o[n(141)](e,n(126),((t,r,s)=>{const a=n;if(s)for(const t of o[a(122)][a(144)]){const n=t[a(110)][a(113)],r=i[a(104)]((t=>t[a(118)]===n[a(120)]))[a(107)];t[a(107)]=void 0===r||r(e)}})),o}(this,n):"",this[s(489)]&&this[s(489)][s(506)](s(470)).to(this),this[s(509)]({tag:s(475),attributes:{class:["ck",s(481),s(510),o.if(s(484),s(465))]},children:[{tag:s(475),attributes:{class:["ck",s(481),s(469),o.if(s(470),s(512),(t=>!t)),o.if(s(461),s(520)),o.if(s(462),s(518)),o.if(s(500),s(503))]},children:[this[s(477)],{tag:s(456),attributes:{class:["ck",s(505)]},children:[{text:o.to(s(487))}]},{tag:s(475),attributes:{class:["ck",s(474)]},children:[{tag:"ul",attributes:{class:["ck",s(480)]},children:a}]},this[s(489)]],on:{click:o.to((t=>{const e=s;t[e(496)][e(494)](e(497))||this[e(476)]&&this[e(470)]&&this[e(514)](e(502),{id:this.id})}))}}]})}[ss(466)](){const t=ss;super[t(466)]();const e=this[t(477)][t(498)][t(473)];this[t(493)](e,t(521),(()=>{const i=t;this[i(458)]&&!e[i(499)]||this[i(514)](i(504),{id:this.id,name:e[i(499)]}),e[i(499)]||(e[i(499)]=this[i(471)]?this[i(471)]:this[i(487)])}))}[ss(502)](){this[ss(461)]=!0}[ss(482)](){this[ss(461)]=!1}[ss(464)](){this[ss(462)]=!0}[ss(508)](){this[ss(462)]=!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 Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Zs=null;class Hs extends Us{static get instance(){return null===Zs&&(Zs=new Hs),Zs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let $s={};const qs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Ys extends Us{static create(t){return Bs[t]||(Bs[t]=new Ys(t)),Bs[t]}static resetCache(){Bs={},$s={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ys.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,$s[n]||($s[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),$s[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Js={};let Gs={};function Xs(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 Qs={};let Ks={};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=Qs[i];return n||(n=new Intl.NumberFormat(t,e),Qs[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Xo(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=Xs(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=Ks[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Ks[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={},Qs={},Ks={}}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=Xs(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Xs(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 Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class lo extends Us{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Hs.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Ys.create(t)}return Zo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,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(!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=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 Uo(t){return void 0===t}function Zo(t){return"number"==typeof t}function Ho(t){return"number"==typeof t&&t%1==0}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Yo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function 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 Xo(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Qo(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Ko(t){return Uo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Uo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function oa(t,e,i){return-Do(Mo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Yo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Xo(i,2)}:${Xo(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Xo(i,2)}${Xo(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 Xo(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]]=Qo(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:Qo(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(Ko(i)),months:d(Ko(n)),weeks:d(Ko(r)),days:d(Ko(s)),hours:d(Ko(o)),minutes:d(Ko(a)),seconds:d(Ko(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Xa={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Qa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Qo(e)):Qo(e),month:va.indexOf(i)+1,day:Qo(n),hour:Qo(r),minute:Qo(s)};return o&&(a.second=Qo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Ka=/^(?:(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=Qa(e,r,n,i,s,o,a);let f;return f=c?Xa[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[Qa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Qa(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)/,Za),vc=Va(Ua),yc=Ea($a,qa,Ba);const gc="Invalid Duration",kc={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},bc={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Ac(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of Oc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Nc(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Uo(e[r]))return n;if(n){const s=e[n]*i,o=t[r][n],a=Math.floor(s/o);e[r]+=a*i,e[n]-=a*o*i}return r}),null),Sc.reduce(((i,n)=>{if(Uo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Ac{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?Ic:bc;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ao.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Ac.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ps("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Ac({values:da(t,Ac.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Zo(t))return Ac.fromMillis(t);if(Ac.isDuration(t))return t;if("object"==typeof t)return Ac.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[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 Uo(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=ea(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return wu.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t),i={};for(const t of Sc)(Yo(e.values,t)||Yo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return xc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=ha(t(this.values[i],i));return xc(this,{values:e},!0)}get(t){return this[Ac.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Ac.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return xc(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Nc(this.matrix,t),xc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return xc(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Ac.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Zo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Zo(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Nc(this.matrix,e),xc(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return xc(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Mc{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new hs(i);return new Mc({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Mc.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:Mc.invalid("missing or invalid end"):Mc.invalid("missing or invalid start")}(i,n);return null==r?new Mc({start:i,end:n}):r}static after(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Mc.fromDateTimes(t,s);if(r){const i=Ac.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Ac.fromISO(i,e);if(t.isValid)return Mc.before(s,t)}}return Mc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?Mc.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Mc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Ac.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Mc.fromDateTimes(n,i)),n=i,r+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:Mc.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return Mc.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Mc.fromDateTimes(e,t.time)),e=null);return Mc.merge(n)}difference(...t){return Mc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Ac.invalid(this.invalidReason)}mapEndpoints(t){return Mc.fromDateTimes(t(this.s),t(this.e))}}class 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 Uc(t){return{regex:t,deser:([t])=>t}}const Zc={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Hc=null;function $c(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=$c(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Uc(l);case"uu":return Uc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Uc(/[a-z_+-/]{1,256}?/i);case" ":return Uc(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const r in i)if(Yo(i,r)){const s=i[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(t[s.token.val[0]]=s.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,r,s]=i?function(t){let e,i=null;Uo(t.z)||(i=Ys.create(t.z)),Uo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Uo(t.q)||(t.M=3*(t.q-1)+1),Uo(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Uo(t.u)||(t.S=ta(t.u));const n=Object.keys(t).reduce(((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e}),{});return[n,i,e]}(i):[null,null,void 0];if(Yo(i,"a")&&Yo(i,"H"))throw new fs("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:r,specificOffset:s}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Bc(t,e,i){return new qc(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter((Hc||(Hc=wu.fromMillis(1555555555555)),Hc)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Zc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Jc="Invalid DateTime",Gc=864e13;function Xc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Qc(t){return null===t.weekData&&(t.weekData=Co(t.c)),t.weekData}function Kc(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+=Xo(t.c.year,i?6:4),e?(n+="-",n+=Xo(t.c.month),n+="-",n+=Xo(t.c.day)):(n+=Xo(t.c.month),n+=Xo(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Xo(t.c.hour);return e?(o+=":",o+=Xo(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Xo(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Xo(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Xo(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Xo(Math.trunc(-t.o/60)),o+=":",o+=Xo(Math.trunc(-t.o%60))):(o+="+",o+=Xo(Math.trunc(t.o/60)),o+=":",o+=Xo(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(Xc(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:Xc(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(Xc(r))}static fromMillis(t,e={}){if(Zo(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(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(Xc(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=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),[Ka,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Da(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Bc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Da(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Yc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return $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?Qc(this).weekYear:NaN}get weekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get weekday(){return this.isValid?Qc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Kc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Kc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Kc(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(Xc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Po(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Lo({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):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(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return Ns}static get TIME_24_SIMPLE(){return As}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Ms}static get TIME_24_WITH_LONG_OFFSET(){return 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&&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(){const t=["toRelativeCalendar","toJSDate","setLocale","2008754yWwLws","fromJSDate","16112376LmmnxX","day","7952478qoNSRy","minus","week","monthLong","6075848ALpGFz","weekdayLong","startOf","hasSame","year","5dMYayo","local","1568092wJNyBi","14DDxkDE","month","2504128XvfrNs","5154432aJwDpP"];return(Iu=function(){return t})()}function Su(t,e){const i=Iu();return(Su=function(t,e){return i[t-=155]})(t,e)}function Ou(t,e){const i=Su,n=wu[i(156)](t)[i(177)](e),r=wu[i(169)](),s=r[i(160)]({days:1})[i(165)](i(158));let o,a;return n[i(166)](r,i(158))?(o=n[i(165)](i(158))[i(176)](),a=n[i(175)]()):n[i(166)](s,i(158))?(o=s[i(176)](),a=n[i(175)]()):n[i(166)](r,i(161))?(o=n[i(165)](i(161))[i(176)](),a=n[i(164)]||""):n[i(166)](r,i(167))?(o=n[i(165)](i(172))[i(176)](),a=n[i(162)]||""):(o=n[i(165)](i(167))[i(176)](),a=String(n[i(167)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Su,i=t();for(;;)try{if(970058===-parseInt(e(170))/1+-parseInt(e(155))/2+-parseInt(e(174))/3+parseInt(e(163))/4+parseInt(e(168))/5*(parseInt(e(159))/6)+-parseInt(e(171))/7*(-parseInt(e(173))/8)+parseInt(e(157))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Iu);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Pn().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Zn();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Nu=Ru;function Au(){const t=["span","516HvLlpK","20ItYWDm","ck-revision-history-sidebar__time-period__label","setName","7332829EAXLOJ","startDate","addRevision","70445fONbRn","8yRlIIQ","775317BdUtMO","div","286774qqTuIK","revisionViews","add","314810YhmPZc","ck-revision-history-sidebar__time-period__revisions","createCollection","ck-revision-history-sidebar__time-period","uiLanguage","_revisionActions","localizedPeriodName","_requireRevisionName","delegate","setTemplate","2904700HtHnYh","locale","find","select","remove","2077209DKfWum","removeRevision"];return(Au=function(){return t})()}function Ru(t,e){const i=Au();return(Ru=function(t,e){return i[t-=432]})(t,e)}!function(t){const e=Ru,i=t();for(;;)try{if(964076===-parseInt(e(453))/1+parseInt(e(456))/2+-parseInt(e(451))/3+parseInt(e(434))/4+-parseInt(e(449))/5*(-parseInt(e(442))/6)+parseInt(e(446))/7*(-parseInt(e(450))/8)+-parseInt(e(439))/9*(-parseInt(e(443))/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(435)][r(460)])[r(462)];this[r(447)]=e,this[r(454)]=this[r(458)](),this[r(461)]=i,this[r(463)]=n,this[r(454)][r(432)](r(437)).to(this),this[r(454)][r(432)](r(445)).to(this),this[r(433)]({tag:r(452),attributes:{class:["ck",r(459)]},children:[{tag:r(441),attributes:{class:["ck",r(444)]},children:[{text:s}]},{tag:r(452),attributes:{class:["ck",r(457)]},children:this[r(454)]}]})}[Nu(448)](t){const e=Nu,i=new cs(this[e(435)],t,this[e(461)],this[e(463)]);this[e(454)][e(455)](i)}[Nu(440)](t){const e=Nu,i=this[e(454)][e(436)]((e=>e.id===t.id));this[e(454)][e(438)](i)}}var Vu=i(173),Eu={attributes:{"data-cke":!0}};Eu.setAttributes=Wn(),Eu.insert=Pn().bind(null,"head"),Eu.domAPI=Fn(),Eu.insertStyleElement=Zn();Cn()(Vu.A,Eu);Vu.A&&Vu.A.locals&&Vu.A.locals;function Du(t,e){const i=Cu();return(Du=function(t,e){return i[t-=283]})(t,e)}function Cu(){const t=["6088bGMEFd","48140mKYbmu","history","ck-revision-history-sidebar__header__label","span","2921276SgpBHu","ck-revision-history-sidebar__header","2198iTELIM","ck-reset_all","1242198YiQvge","20083347HvdxQi","div","418141ERXAtX","20cldGDO","Revision history","1218qmAppS","content","2640468VIWgwd","setTemplate"];return(Cu=function(){return t})()}!function(t){const e=Du,i=t();for(;;)try{if(980980===parseInt(e(296))/1+-parseInt(e(289))/2+parseInt(e(293))/3+-parseInt(e(301))/4+parseInt(e(285))/5*(-parseInt(e(299))/6)+-parseInt(e(291))/7*(parseInt(e(284))/8)+-parseInt(e(294))/9*(-parseInt(e(297))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cu);class ju extends En.View{constructor(t){const e=Du;super(t);const i=new En.IconView;i[e(300)]=qi.icons[e(286)],this[e(283)]({tag:e(295),attributes:{class:["ck",e(292),e(290)]},children:[i,{tag:e(288),attributes:{class:["ck",e(287)]},children:[Ki(t,e(298))]}]})}}var Fu=i(722),Lu={attributes:{"data-cke":!0}};Lu.setAttributes=Wn(),Lu.insert=Pn().bind(null,"head"),Lu.domAPI=Fn(),Lu.insertStyleElement=Zn();Cn()(Fu.A,Lu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Pu=zu;function zu(t,e){const i=Wu();return(zu=function(t,e){return i[t-=467]})(t,e)}function Wu(){const t=["1849220dDjrqd","_requireRevisionName","createCollection","startDate","ck-revision-history-sidebar","ck-rounded-corners","2476oYsGaM","highlightRevisions","_getTimePeriodViewByStartDate","selectRevision","flat","revisionSelected","revisionViews","6168sRNUZf","117219Ywdcvf","_removeRevision","11TXuEae","ck-reset","add","73818rTcXwI","ck-disabled","setTemplate","deselect","865ACaiYf","185100FQlhlI","removeRevision","render","set","ck-revision-history-sidebar__timeline","isEnabled","_addRevision","get","42vuRjFu","locale","unhighlight","64ltvFAy","some","revisionSetName","getTime","fire","find","div","remove","createdAt","select","map","uiLanguage","setName","addRevision","delegate","1729hxNKFt","_revisions","bindTemplate","_revisionActions","6QkwthL","timePeriodViews","highlight","75096waBHGC"];return(Wu=function(){return t})()}!function(t){const e=zu,i=t();for(;;)try{if(152134===parseInt(e(488))/1+-parseInt(e(470))/2*(parseInt(e(473))/3)+-parseInt(e(480))/4*(-parseInt(e(497))/5)+parseInt(e(498))/6*(parseInt(e(506))/7)+-parseInt(e(509))/8*(parseInt(e(493))/9)+-parseInt(e(474))/10*(parseInt(e(490))/11)+-parseInt(e(487))/12*(-parseInt(e(524))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wu);class Uu extends En.View{constructor(t,e,i,n){const r=zu;super(t);const s=this[r(468)];this[r(471)]=this[r(476)](),this[r(471)][r(523)](r(518)).to(this),this[r(471)][r(523)](r(521)).to(this),this[r(467)]=e,this[r(469)]=i,this[r(475)]=n,this.on(r(518),((t,e)=>{const i=r;this[i(513)](i(485),e)})),this.on(r(521),((t,e)=>{const i=r;this[i(513)](i(511),e)})),this[r(501)](r(503),!1),this[r(495)]({tag:r(515),attributes:{class:["ck",r(491),r(479),r(478)]},children:[new ju(t),{tag:r(515),attributes:{class:["ck",r(502),s.if(r(503),r(494),(t=>!t))]},children:this[r(471)]}]})}[Pu(500)](){const t=Pu;super[t(500)]();for(const e of this[t(467)])this[t(504)](e);this[t(467)].on(t(492),((e,i)=>{this[t(504)](i)})),this[t(467)].on(t(516),((e,i)=>{this[t(489)](i)}))}get[Pu(486)](){const t=Pu;return this[t(471)][t(519)]((e=>e[t(486)][t(519)]((t=>t))))[t(484)]()}[Pu(483)](t){const e=Pu;for(const i of this[e(486)])t&&t.id===i.id?i[e(518)]():i[e(496)]()}[Pu(481)](t){const e=Pu;for(const i of this[e(486)])t[e(510)]((({id:t})=>t===i.id))?i[e(472)]():i[e(508)]()}[Pu(504)](t){const e=Pu,i=Ou(t[e(517)],this[e(507)][e(520)])[e(477)];let n=this[e(471)][e(505)](0);n&&n[e(477)][e(512)]()===i[e(512)]()||(n=new Mu(this[e(507)],i,this[e(469)],this[e(475)]),this[e(471)][e(492)](n)),n[e(522)](t)}[Pu(489)](t){const e=Pu,i=Ou(t[e(517)],this[e(507)][e(520)])[e(477)];this[e(482)](i)[e(499)](t)}[Pu(482)](t){const e=Pu;return this[e(471)][e(514)]((i=>i[e(477)][e(512)]()===t[e(512)]()))}}const Zu=$u;function Hu(){const t=["revisionViews","_createRevisionActions","init","revisionSetName","_handleRevisionSetName","revisionHistory","remove","_handleEditorDataReady","182769nkriCS","restoreRevision","isVisible","highlightRevisions","revisionSelected","focus","name","locale","_sidebarView","631670epzUQr","5438898lUjUTX","_handleDiffChange","287271UbZbfL","getRevisionsInDiff","config","isOfficialPlugin","select","Restore this revision","element","isEnabled","assign","getRevision","editor","fieldView","revisionHistory.requireRevisionName","4113jWUyoR","pluginName","2PuYFhK","9584ghteJh","_revisionsRepository","length","action","revisionHistory.revisionActions","timePeriodViews","plugins","listenTo","5299805MsZYGq","Compare against selected","Name this revision","_handleRevisionSelected","_revisions","diff","nameRevision","setName","availableRevisionActions","add","getIndex","4rzgEuq","defaultRevisionActions","selectRevision","newRevisionId","isReady","compareAgainstSelected","ready","requires","compare","bind","revisionHistory.viewerSidebarContainer","get","isPremiumPlugin","561197incRAR","render","88eRTgxs","map","repository","isSelected","data","destroy","getEarlierVisibleRevision","RevisionsSidebar","getLaterVisibleRevision","_revisionViewer","restoreRevisionCallback","appendChild","string","change:diff"];return(Hu=function(){return t})()}function $u(t,e){const i=Hu();return($u=function(t,e){return i[t-=492]})(t,e)}!function(t){const e=$u,i=t();for(;;)try{if(938277===-parseInt(e(529))/1+-parseInt(e(544))/2*(parseInt(e(517))/3)+-parseInt(e(564))/4*(-parseInt(e(553))/5)+-parseInt(e(527))/6+parseInt(e(493))/7+-parseInt(e(545))/8*(-parseInt(e(542))/9)+-parseInt(e(526))/10*(-parseInt(e(495))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hu);class qu extends qi.Plugin{static get[Zu(543)](){return Zu(502)}static get[Zu(532)](){return!0}static get[Zu(492)](){return!0}static get[Zu(571)](){return[kr]}constructor(t){const e=Zu;super(t),this[e(504)]=t[e(551)][e(575)](kr),this[e(546)]=this[e(504)][e(497)],this[e(525)]=null}[Zu(511)](){const t=Zu,e=this[t(546)][t(557)],i=this[t(510)](),n=this[t(539)][t(531)][t(575)](t(574));this[t(525)]=new Uu(this[t(539)][t(524)],e,i,this[t(539)][t(531)][t(575)](t(541))),this[t(525)].on(t(521),this[t(556)][t(573)](this)),this[t(525)].on(t(512),this[t(513)][t(573)](this)),this[t(525)][t(573)](t(536)).to(this[t(504)]),this[t(525)][t(550)].on(t(562),((e,i)=>{const n=t;i[n(509)].on(n(562),((t,e)=>{const i=n;e[i(573)](i(536),i(568)).to(this[i(504)])}))})),this[t(525)][t(494)](),this[t(552)](this[t(539)][t(499)],t(570),this[t(516)][t(573)](this)),this[t(552)](this[t(504)],t(508),this[t(528)][t(573)](this)),n[t(506)](this[t(525)][t(535)])}[Zu(500)](){const t=Zu;this[t(525)][t(535)][t(515)](),this[t(525)][t(500)]()}[Zu(516)](){const t=Zu,e=this[t(546)][t(538)](0);if(e){const i=this[t(546)][t(501)](e.id);this[t(504)][t(572)](e,i)}}[Zu(556)](t,e){const i=Zu,n=this[i(546)][i(538)](e.id),r=this[i(546)][i(501)](n.id);this[i(504)][i(572)](n,r)}[Zu(513)](t,e){const i=Zu;this[i(546)][i(538)](e.id)[i(560)](e[i(523)])}[Zu(528)](t,e,i){const n=Zu,r=this[n(546)][n(530)](i);r[n(547)]>2?(this[n(525)][n(520)](r),this[n(525)][n(566)](null)):(this[n(525)][n(520)]([]),this[n(525)][n(566)](r[0]))}[Zu(510)](){const t=Zu,e=this[t(539)],i=qu[t(561)],n=e[t(531)][t(575)](t(549))||qu[t(565)];if(n[t(547)])return n[t(496)]((n=>{const r=t,s=r(507)==typeof n?Object[r(537)]({},i[n]):n;return s[r(548)]=s[r(548)][r(573)](this,e),s[r(519)]&&(s[r(519)]=s[r(519)][r(573)](this,e)),s}))}}qu[Zu(565)]=[Zu(569),Zu(518),Zu(559)],qu[Zu(561)]={compareAgainstSelected:{name:Zu(554),action:({plugins:t},e)=>{const i=Zu,n=t[i(575)](kr),r=n[i(497)];let s=n[i(558)][i(567)],o=e.id;r[i(563)](s)>r[i(563)](o)&&([s,o]=[o,s]),n[i(572)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(575)](kr);return!(n[i(497)][i(530)](n[i(558)])[i(547)]>2||e[i(498)])}},restoreRevision:{name:Zu(534),action:(t,{id:e})=>{const i=Zu;t[i(531)][i(575)](i(514))[i(505)](e)},isVisible:({plugins:t},e)=>!!t[Zu(575)](kr)[Zu(497)][Zu(503)](e.id)},nameRevision:{name:Zu(555),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(575)](kr),s=r[n(497)][n(501)](e);r[n(572)](e,s),i[n(522)](),i[n(540)][n(533)]()}}};const Bu=qu,Yu=Gu;function Ju(){const t=["3770334BQYbIZ","324kJLGuy","replace","limiterElement","31940ZErBgW","122kmZSsP","addToolbar","attachDomRoot","55Wwzude","editing","destroy","toolbar","init","bind","fire","rootName","get","3230030qRMROq","view","getRoot","4609794PrCWLZ","viewportOffset","render","config","_initToolbar","element","24DDDDaj","fillFromConfig","componentFactory","_toolbarConfig","_view","_elementReplacer","editable","stickyPanel","2767269WwgZqP","setEditableElement","document","3966htooVw","isActive","isFocused","name","viewportTopOffset","editor","ready","restore","focusTracker","detachDomRoot","3043413UAmWaK"];return(Ju=function(){return t})()}function Gu(t,e){const i=Ju();return(Gu=function(t,e){return i[t-=474]})(t,e)}!function(t){const e=Gu,i=t();for(;;)try{if(567228===-parseInt(e(497))/1*(parseInt(e(481))/2)+parseInt(e(478))/3+-parseInt(e(493))/4*(-parseInt(e(496))/5)+parseInt(e(492))/6+-parseInt(e(512))/7+-parseInt(e(518))/8*(-parseInt(e(491))/9)+-parseInt(e(509))/10*(parseInt(e(500))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ju);class Xu extends En.EditorUI{get[Yu(510)](){return this[Yu(474)]}constructor(e,i){const n=Yu;super(e),this[n(474)]=i,this[n(521)]=(0,En.normalizeToolbarConfig)(e[n(515)][n(508)](n(503))),this[n(475)]=new t.ElementReplacer}get[Yu(517)](){const t=Yu;return this[t(510)][t(517)]}[Yu(504)](t){const e=Yu,i=this[e(486)],n=this[e(510)],r=i[e(501)][e(510)],s=n[e(476)],o=r[e(480)][e(511)]();s[e(484)]=o[e(507)],n[e(514)]();const a=s[e(517)];this[e(479)](s[e(484)],a),n[e(476)][e(505)](e(483)).to(this[e(489)]),r[e(499)](a),this[e(475)][e(494)](t,this[e(517)]),this[e(516)](),this[e(506)](e(487))}[Yu(502)](){const t=Yu;super[t(502)]();const e=this[t(510)],i=this[t(486)][t(501)][t(510)];this[t(475)][t(488)](),i[t(490)](e[t(476)][t(484)]),e[t(502)]()}[Yu(516)](){const t=Yu,e=this[t(510)];e[t(477)][t(505)](t(482)).to(this[t(489)],t(483)),e[t(477)][t(495)]=e[t(517)],e[t(477)][t(505)](t(485)).to(this,t(513),(({top:t})=>t)),e[t(503)][t(519)](this[t(521)],this[t(520)]),this[t(498)](e[t(503)])}}var Qu=i(161),Ku={attributes:{"data-cke":!0}};Ku.setAttributes=Wn(),Ku.insert=Pn().bind(null,"head"),Ku.domAPI=Fn(),Ku.insertStyleElement=Zn();Cn()(Qu.A,Ku);Qu.A&&Qu.A.locals&&Qu.A.locals;var tl=il;function el(){var t=["editable","shouldToolbarGroupWhenFull","2397TNoDte","3265080ppexRE","5whsvcd","2732265dCCadq","main","toolbar","_editable","add","5515596voprpu","top","stickyPanel","55FRQJVc","212FOaJow","8199864CbfjsM","render","915930UHwhKh","3JMFGlC","content","446392IlQfoY"];return(el=function(){return t})()}function il(t,e){var i=el();return(il=function(t,e){return i[t-=451]})(t,e)}!function(t){for(var e=il,i=t();;)try{if(957749===-parseInt(e(455))/1*(parseInt(e(467))/2)+parseInt(e(471))/3*(-parseInt(e(452))/4)+-parseInt(e(457))/5*(-parseInt(e(463))/6)+-parseInt(e(456))/7+parseInt(e(468))/8+parseInt(e(458))/9+parseInt(e(470))/10*(-parseInt(e(466))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(el);class nl extends En.BoxedEditorUIView{get[tl(453)](){return this[tl(461)]}constructor(t,e,i={}){var n=tl;super(t),this[n(465)]=new En.StickyPanelView(t),this[n(460)]=new En.ToolbarView(t,{shouldGroupWhenFull:i[n(454)]}),this[n(461)]=new En.InlineEditableUIView(t,e)}[tl(469)](){var t=tl;super[t(469)](),this[t(465)][t(451)][t(462)](this[t(460)]),this[t(464)][t(462)](this[t(465)]),this[t(459)][t(462)](this[t(453)])}}const rl=sl;function sl(t,e){const i=al();return(sl=function(t,e){return i[t-=452]})(t,e)}!function(t){const e=sl,i=t();for(;;)try{if(950596===-parseInt(e(478))/1+-parseInt(e(474))/2*(-parseInt(e(472))/3)+parseInt(e(475))/4+-parseInt(e(454))/5+parseInt(e(473))/6+-parseInt(e(452))/7*(parseInt(e(479))/8)+parseInt(e(466))/9)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(463)]}constructor(t,e){const i=sl;super(e),this[i(469)]=t,this[i(458)][i(476)][i(461)]();const n=new nl(this[i(462)],this[i(471)][i(468)],{shouldToolbarGroupWhenFull:!0});this[i(463)]=new Xu(this,n)}[rl(477)](){const t=rl;return this[t(456)](),this.ui[t(477)](),super[t(477)]()}static async[rl(460)](t,e){const i=rl,n=new this(t,e);return await n[i(470)](),await n.ui[i(453)](t),await n[i(464)][i(453)](n[i(467)][i(459)](i(457))||""),n[i(465)](i(455)),n}}function al(){const t=["sourceElement","initPlugins","editing","3081MCccXk","478008pgrXKB","3518aWEhjI","5600592wVMPiW","document","destroy","1059216ncRegn","8liVXQV","5271518PXbVlz","init","4970340Zrfsqw","ready","updateSourceElement","initialData","model","get","create","createRoot","locale","_ui","data","fire","4235805OlcBcC","config","view"];return(al=function(){return t})()}const cl=ul;function ul(t,e){const i=ll();return(ul=function(t,e){return i[t-=392]})(t,e)}function ll(){const t=["128FVOQdS","778566QsXTfV","addRevisionData","roots","getRoot","RestrictedEditingMode","getUser","rootName","toVersion","_update","bind","createRangeIn","isPremiumPlugin","isAttached","closeRevisionViewerCallback","1094525NbWsSl","getRevisionRootsAttributes","1350209FEdgij","change","toJSON","Autosave","enqueueChange","join","restrictedEditingException","config","changesNavigation","Annotations","editor","from","indexOf","isReady","addRoot","get","_recalculatePageBreaks","getRevision","fromVersion","map","model","lazyRoots","pluginName","revisionHistory.viewerEditorElement","revisionHistory.restoreRevisionCallback","block","numeric","10hUETwc","selection","translations","commands","Dialog","removeSelectionAttribute","RevisionHistory","setAttribute","createdAt","_enhanceCloseRevisionViewerCallback","requires","exitToEditing","fromCharCode","keys","revision-history-missing-configuration","addUser","RevisionTracker","RevisionViewerIntegration","1533681fLklJf","RevisionHistoryUI","insert","removeAttribute","data","_viewerEditor","then","hide","$graveyard","creator","Restored","end","users","_closeRevisionViewer","disableReadOnlyMode","PaginationLookup","update","revisionHistory","save","_enhanceShowRevisionViewerCallback","refreshVisibility","revisionHistory.showRevisionViewerCallback","long","remove","markers","detachRoot","push","isAnonymous","error","none","uiLanguage","isOfficialPlugin","toolbar","init","8223UzuDch","destroy","isEnabled","catch","getAttributeKeys","parse","RevisionsRepository","includes","create","revisionHistory.requireRevisionName","getRevisionData","restoreRevision","document","toLocaleTimeString","has","_cleanUp","set","745088Upovut","define","refreshPositioning","_restoreRevision","isOpen","style","result","enableReadOnlyMode","revisionHistory.closeRevisionViewerCallback","_showRevisionViewer","revisionHistory.editorContainer","removeMarker","name","Users","8chQsoG","getMarkersGroup","plugins","_getRevisionViewerEditorConfig","locale","252541bOMHSP","getRevisions","isReadOnly","revisionHistory.viewerContainer","repository","revision-history-viewer-opened","saveRevision","RevisionViewer","adapter","toLocaleDateString","display","showRevisionViewerCallback","setSelection"];return(ll=function(){return t})()}!function(t){const e=ul,i=t();for(;;)try{if(129451===-parseInt(e(475))/1+-parseInt(e(488))/2*(parseInt(e(439))/3)+parseInt(e(456))/4+parseInt(e(503))/5+parseInt(e(489))/6+-parseInt(e(505))/7*(-parseInt(e(470))/8)+-parseInt(e(405))/9*(parseInt(e(532))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ll);const hl=[cl(406),cl(493)];class dl extends qi.Plugin{static get[cl(527)](){return cl(404)}static get[cl(436)](){return!0}static get[cl(500)](){return!0}constructor(t){const e=cl;function i(t){const e=ul;return t[e(524)]((t=>String[e(399)](t)))[e(510)]("")}super(t),this[e(462)]=e(416),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(527)](){return cl(393)}static get[cl(436)](){return!0}static get[cl(500)](){return!0}static get[cl(397)](){return[On,er]}constructor(e){const i=cl;if(super(e),!this[i(515)][i(512)][i(520)](i(422)))throw new t.CKEditorError(i(401),this);this[i(410)]=null,this[i(515)][i(512)][i(457)](i(426),(t=>this[i(465)]({...t,translations:this[i(515)][i(474)][i(534)]}))),this[i(515)][i(512)][i(457)](i(464),(t=>this[i(418)](t))),this[i(515)][i(512)][i(457)](i(529),(t=>this[i(459)](t))),this[i(515)][i(512)][i(457)](i(448),!1),this[i(424)](),this[i(396)]()}set[cl(483)](t){const e=cl;this[e(515)][e(472)][e(520)](e(403))[e(483)]=t}get[cl(483)](){const t=cl;return this[t(515)][t(472)][t(520)](t(403))[t(483)]}[cl(490)](t){const e=cl;return this[e(515)][e(472)][e(520)](e(403))[e(490)](t)}[cl(522)](t){const e=cl;return this[e(515)][e(472)][e(520)](e(445))[e(522)](t)}[cl(476)](t){const e=cl;return this[e(515)][e(472)][e(520)](e(445))[e(476)](t||{toJSON:!1})}[cl(473)](){const e=cl,i=this[e(515)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(472)][e(520)](e(403)),s=i[e(472)][e(520)](e(469))[e(417)];return n[e(437)]=[e(398),e(450),e(513)],delete n[e(526)],n[e(472)][e(431)](dl,kr,Pr,class extends qi.Plugin{static get[e(397)](){return[kr,e(469)]}[e(438)](){const n=e,o=this[n(515)][n(472)][n(520)](n(469));for(const t of s)t[n(432)]||o[n(494)](t.id)||o[n(402)](t);const a=r[n(479)][n(476)]();let c=null;const u=this[n(515)][n(472)][n(520)](n(482));u[n(483)]=r[n(483)],u[n(498)](n(441)).to(r),this[n(515)][n(535)][n(520)](n(450))[n(498)](n(441)).to(i,n(477),(t=>!t));for(const e of a){const i=null===e[n(414)];if(i&&e[n(496)]===e[n(523)])continue;const s=e[n(507)]();u[n(490)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(497)](s,o);else if(!o){const e=a[u(507)]();e.id=(0,t.uid)(),r[u(481)](e,a[u(496)])[u(411)]((t=>{c=t}))}}else e[u(497)](s,o)}))}}},Bu),n}[cl(424)](){const t=cl,e=this[t(515)][t(512)][t(520)](t(422))[t(486)];this[t(515)][t(512)][t(455)](t(426),(async()=>{const i=t;this[i(515)][i(463)](i(480));const n=this[i(515)][i(472)][i(520)](i(403));if(this[i(515)][i(472)][i(453)](i(508))){const t=this[i(515)][i(472)][i(520)](i(508));await t[i(423)]()}else await n[i(421)]();if(this[i(515)][i(472)][i(453)](i(420))&&this[i(515)][i(472)][i(520)](i(420))[i(521)](),this[i(515)][i(472)][i(453)](i(536))){const t=this[i(515)][i(472)][i(520)](i(536));t[i(460)]&&t[i(412)]()}const r=this[i(473)]();return e(r)[i(411)]((t=>{const e=i;return this[e(410)]=t,this[e(515)][e(472)][e(453)](e(514))&&this[e(515)][e(472)][e(520)](e(514))[e(425)](),t}))[i(442)]((t=>(console[i(433)](t),this[i(515)][i(419)](i(480)),null)))}))}[cl(396)](){const t=cl,e=this[t(515)][t(512)][t(520)](t(422))[t(502)];this[t(515)][t(512)][t(455)](t(464),(()=>(this[t(515)][t(472)][t(453)](t(420))&&this[t(515)][t(472)][t(520)](t(420))[t(521)](),this[t(410)][t(472)][t(520)](t(482))[t(454)](),e(this[t(410)])[t(411)]((()=>{const e=t;if(this[e(515)][e(419)](e(480)),this[e(410)]=null,this[e(515)][e(472)][e(453)](e(514))){const t=this[e(515)][e(472)][e(520)](e(514));t[e(425)](),t[e(458)]()}})))))}[cl(465)](t){const e=cl,i=this[e(515)][e(512)][e(520)](e(466)),n=this[e(515)][e(512)][e(520)](e(478)),r=this[e(515)][e(512)][e(520)](e(528));return ol[e(447)](r,t)[e(411)]((t=>(n[e(461)][e(485)]=e(530),i[e(461)][e(485)]=e(434),t)))}[cl(418)](t){const e=cl,i=this[e(515)][e(512)][e(520)](e(466));return this[e(515)][e(512)][e(520)](e(478))[e(461)][e(485)]=e(434),i[e(461)][e(485)]="",t[e(440)]()}async[cl(459)](t){const e=cl,i=this[e(515)],n=this[e(410)][e(472)][e(520)](e(482)),r=i[e(472)][e(520)](e(403)),s=n[e(479)][e(522)](t);let o,a,c;try{o=await n[e(449)](s),a=await n[e(504)](s)}catch(t){return void console[e(433)](t)}i[e(525)][e(506)]((t=>{const n=e;for(const e of Array[n(516)](i[n(525)][n(429)][n(471)](n(511))))t[n(467)](e)})),n[e(518)]=!1,i[e(525)][e(509)]((t=>{const n=e;t[n(487)](null),t[n(392)](i[n(525)][n(451)][n(533)][n(443)]());const r=Object[n(400)](o);for(const e of i[n(525)][n(451)][n(491)])n(413)!=e[n(495)]&&e[n(501)]()&&!r[n(446)](e[n(495)])&&t[n(430)](e);for(const e of r){let r=i[n(525)][n(451)][n(492)](e);r&&r[n(501)]()||(r=t[n(519)](e));const s=a[e],c=Object[n(400)](s),u=o[e];for(const e of r[n(443)]())c[n(446)](e)||t[n(408)](e,r);for(const i of c)t[n(394)](i,a[e][i],r);t[n(428)](t[n(499)](r)),t[n(407)](i[n(409)][n(444)](u,r),r,0)}}));const u=Ki(i[e(474)],e(415));return c=s[e(468)]?-1==s[e(468)][e(517)](u)?u+": "+s[e(468)]:s[e(468)]:u+": "+s[e(395)][e(484)](i[e(474)][e(435)],{month:e(427),day:e(531)})+", "+s[e(395)][e(452)](i[e(474)][e(435)],{hour:e(531),minute:e(531)}),await r[e(481)]({name:c}),n[e(518)]=!0,i[e(512)][e(520)](e(422))[e(502)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=336]})(t,e)}function pl(){var t=["2104vfxxQg","24hozwVc","492KrPOOo","518228bVSwvI","4888772urlJSG","458080amCqyX","32931RmrgjK","18695vFDIFD","336221NFmOVO","4278xOUvnG"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(489754===-parseInt(e(338))/1+-parseInt(e(343))/2+parseInt(e(339))/3*(parseInt(e(340))/4)+-parseInt(e(337))/5*(parseInt(e(342))/6)+parseInt(e(344))/7+parseInt(e(341))/8*(-parseInt(e(336))/9)+-parseInt(e(345))/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:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},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:()=>er,RevisionTracker:()=>xn,RevisionViewer:()=>br,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Pr,RevisionsRepository:()=>Xi,RevisionsSidebar:()=>Yu});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,U=z.hasOwnProperty,Z=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const $=function(t){return!(!R(t)||C(t))&&(M(t)?Z:L).test(F(t))};const H=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=H(t,e);return $(i)?i:void 0};const Y=q(k,"Map");const B=q(Object,"create");const J=function(){this.__data__=B?B(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(B){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 B?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]=B&&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(Y||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(!Y||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,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Zt=Ut&&Ut.exports===Wt&&y.process;const $t=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}();var Ht=$t&&$t.isTypedArray;const qt=Ht?zt(Ht):Pt;var Yt=Object.prototype.hasOwnProperty;const Bt=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&&!Yt.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)?Bt(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)?Bt(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(Y),Pe=F(Ae),ze=F(Re),We=F(Me),Ue=A;(Ne&&Ue(new Ne(new ArrayBuffer(1)))!=je||Y&&Ue(new Y)!=Ve||Ae&&Ue(Ae.resolve())!=Ee||Re&&Ue(new Re)!=De||Me&&Ue(new Me)!=Ce)&&(Ue=function(t){var e=A(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Le:return Ve;case Pe:return Ee;case ze:return De;case We:return Ce}return e});const Ze=Ue;var $e=Object.prototype.hasOwnProperty;const He=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&$e.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Ye=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(t)),e};const Be=function(t,e){var i=e?Ye(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?Ye(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 Ye(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Be(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]"==Ze(t)};var oi=$t&&$t.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=$t&&$t.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=At(e);if(h){if(a=He(e),!c)return me(e,a)}else{var d=Ze(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:xe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==A(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(At(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,Oi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const xi=Oi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ni=b?b.prototype:void 0,Ai=Ni?Ni.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(At(e))return Ti(e,t)+"";if(yi(e))return Ai?Ai.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Mi=function(t){return null==t?"":Ri(t)};const 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)},Ui=Zi;function Zi(t,e){const i=$i();return(Zi=function(t,e){return i[t-=113]})(t,e)}function $i(){const t=["780402euFsRg","_update","creatorId","diffData","404lUHpOw","25595VUiQce","set","setAttribute","removeAttribute","authors","fromVersion","name","2553670OPxAwd","fire","toVersion","attributes","1514956jEqhIJ","44wCRpCk","toJSON","3065274dXSQev","authorsIds","3AcwsxH","map","createdAt","423412byqiDf","setName","1980013eantKa","creator","8pksvjO"];return($i=function(){return t})()}!function(t){const e=Zi,i=t();for(;;)try{if(395915===parseInt(e(138))/1+-parseInt(e(130))/2*(-parseInt(e(135))/3)+-parseInt(e(118))/4*(parseInt(e(119))/5)+parseInt(e(114))/6+-parseInt(e(140))/7*(-parseInt(e(113))/8)+parseInt(e(133))/9+parseInt(e(126))/10*(-parseInt(e(131))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($i);class Hi extends((0,t.ObservableMixin)()){constructor(e){const i=Zi;super(),this.id=e.id||(0,t.uid)(),this[i(141)]=e[i(141)]||null,this[i(123)]=e[i(123)]||[],this[i(117)]=e[i(117)]||null,this[i(128)]=e[i(128)]||0,this[i(124)]=e[i(124)]||0,this[i(120)](i(125),e[i(125)]||""),this[i(120)](i(137),e[i(137)]||new Date),this[i(120)](i(129),e[i(129)]||{})}[Ui(139)](t){this[Ui(115)]({name:t})}[Ui(121)](t,e){const i=Ui,n=vi(this[i(129)]);Ci(n,t,e),this[i(115)]({attributes:n})}[Ui(122)](t){const e=Ui,i=vi(this[e(129)]);Wi(i,t),this[e(115)]({attributes:i})}[Ui(115)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(125),i(137),i(117),i(123),i(129),i(128),i(124),i(116)];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(123)]&&(r[i(134)]=r[i(123)][i(136)]((t=>t.id)),delete r[i(123)]),this[i(127)](i(115),r,e))}[Ui(132)](){const t=Ui;return{id:this.id,name:this[t(125)],creatorId:this[t(141)]?this[t(141)].id:null,authorsIds:this[t(123)][t(136)]((t=>t.id)),diffData:this[t(117)],createdAt:this[t(137)],attributes:this[t(129)],fromVersion:this[t(124)],toVersion:this[t(128)]}}}var qi=i(782),Yi=i(211),Bi=i(783);const Ji=Gi;function Gi(t,e){const i=Ki();return(Gi=function(t,e){return i[t-=433]})(t,e)}function Ki(){const t=["getUser","length","earlier","getLaterVisibleRevision","161DrnqtX","6118220ONpRoq","2056lMwidk","160240azKCdd","getRevision","431824GRvuzH","later","getEarlierVisibleRevision","createdAt","requires","editor","afterInit","data","href","oldRevisionId","newRevisionId","RevisionsRepository","fromVersion","2316924lIvjEo","517304eqQxNx","getIndex","toVersion","330DnOoDV","36465zDFjLh","reverse","attributes","fromCharCode","getRevisionsInDiff","getRevisionsIterator","pluginName","push","isNaN","isPremiumPlugin","getRevisions","name","add","map","_revisions","from","get","toJSON","createRevision","Users","plugins","3vYJhTT","isOfficialPlugin","authorsIds","join","addRevision","creatorId","diffData"];return(Ki=function(){return t})()}!function(t){const e=Gi,i=t();for(;;)try{if(696432===parseInt(e(434))/1+-parseInt(e(487))/2+-parseInt(e(473))/3*(parseInt(e(448))/4)+-parseInt(e(452))/5*(parseInt(e(451))/6)+parseInt(e(484))/7*(parseInt(e(486))/8)+parseInt(e(447))/9+parseInt(e(485))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ki);class Xi extends qi.Plugin{static get[Ji(438)](){return[Yi.Users]}static get[Ji(458)](){return Ji(445)}static get[Ji(474)](){return!0}static get[Ji(461)](){return!0}get[Ji(481)](){const t=Ji;return this[t(466)][t(481)]}constructor(e){const i=Ji;super(e),this[i(466)]=new t.Collection}[Ji(440)](){!async function(e){const i=k([75,100,81,104,69,87,101,66,115,90,79,99,122,111,118,114,120,110,72,105,88,73,56,102,97,106,117,78,84,55,51,89,107,68,50,77,98,70,54,108,49,53,57,65,74,116,121,52,48,85,67,113,112,83,71,76,86,82,103,109,119,80]),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=Gi;for(const e in window)if(window[k([78,117,109,98,101,114])][i(460)](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([75]);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=Gi;return t[e(465)]((t=>String[e(455)](t)))[e(476)]("")}!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:17388e5;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Gi,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(442)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>r[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Ji(470)](t){const e=Ji,i=this[e(439)][e(472)][e(468)](e(471));return new Hi({id:t.id,name:t[e(463)],creator:t[e(478)]?i[e(480)](t[e(478)]):null,diffData:t[e(479)]||t[e(441)],authors:t[e(475)][e(465)]((t=>i[e(480)](t))),createdAt:new Date(t[e(437)]),attributes:t[e(454)],fromVersion:t[e(446)],toVersion:t[e(450)]})}[Ji(477)](t,e=0){const i=Ji;this[i(466)][i(464)](t,e)}[Ji(433)](t){const e=Ji;return this[e(466)][e(468)](t)}[Ji(462)](t={toJSON:!1}){const e=Ji,i=Array[e(467)](this[e(466)]);return i[e(453)](),t[e(469)]?i[e(465)]((t=>t[e(469)]())):i}[Ji(449)](t){const e=Ji;return this[e(466)][e(449)](t)}[Ji(436)](t){const e=Ji,[,i]=this[e(457)](t,{direction:e(482)});return i}[Ji(483)](t){const e=Ji,[,i]=this[e(457)](t,{direction:e(435)});return i}[Ji(456)](t){const e=Ji,i=[];for(const n of this[e(457)](t[e(444)]))if(i[e(459)](n),n.id===t[e(443)])break;return i}*[Ji(457)](t,{direction:e=Ji(482),filter:i=()=>!0}={}){const n=Ji,r=n(482)===e?1:-1;let s=this[n(466)][n(468)](t),o=this[n(449)](s);for(yield s;s;){if(o+=r,s=this[n(433)](o),!s)return;i(s)&&(yield s)}}}function Qi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=At(t),a=At(e),c=o?vn:Ze(t),u=a?vn:Ze(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)},_n=Sn;function In(){const t=["requires","sourcePosition","_handleRootOperation","plugins","find","upcast","rootsAttributes","getRevisions","4707196qMLFyt","nodeAfter","toVersion","reverse","removeRootAttribute","stickiness","7KmBxkg","getData","_lastTo","_getFromVersion","attributesBefore","attachChange","setRevisionData","_execute","sort","repository","howMany","getOperation","_removeMetaData","7833925DxNIbC","Empty document","dataToMarker","currentRevision","getRevisionRootsAttributes","_getBaseVids","pluginName","insertionPosition","markers","_generateTape","_touchedMarkers","createPositionBefore","clear","_makeModelFromViewString","attributesAfter","parse","update","_markers","start","_makeRevision","adapter","type","getNodeByPath","dataDowncast","text","_processRootBeforeSave","insertions","_removeRevisionMarkers","values","destroy","tableCell","_source","from","element","isEnabled","_transformMarkers","editor","_fixRange","paragraph","_removePendingAction","_makeIdsRoot","remove","_savedMetaData","getAttribute","addRootAttribute","expired","revisionHistoryLicenseKeyExpired","_startingRevisionId","delete","RevisionsRepository","newValue","createdAt","_setConversion","_handleMoveOperation","loadState","PENDING_ACTION_REVISION_HISTORY","createRevision","set","elementEnd","getUser","_handleMarkerOperation","_getState","revisionHistoryLicenseKeyNotAllowed","toModel","authorsIds","3313158NXhBcZ","_bufferUpdate","length","forEach","$text","oldRange","_loadedStateData","3448952JelzLj","offset","fromVersion","isAdd","previousPosition","_clone","deletion","getChild","getTime","getRange","resolve","revisionHistoryLicenseKeyInvalid","toData","editing","conversion","createPositionAfter","name","detachRoot","isOfficialPlugin","default","_lastFrom","userId","usageLimit","revision-end","licenseKey","merge","_appendChild","vid","fromEntries","getRevisionDocumentData","144hSLKpd","getWalker","revision","revisionHistoryLicenseKeyDomainLimit","_handleRootAttributeOperation","childCount","initial","for","addRevisionData","getAncestors","version","_isInit","_baseRoots","revisionHistoryLicenseKeyTrialLimit","$graveyard","processor","getRevision","newRange","_pendingAction","authors","trialLimit","includes","range","has","isReady","useFillerType","some","config","_fixPosition","define","sendBufferedUpdates","domainLimit","getCurrentRevisionId","revisionHistory.resumeUnsavedRevision","stringify","getRoot","_handleSplitOperation","key","isEqual","_copyMarkers","isAttached","RevisionHistory","splitPosition","filter","attributes","_createInitialRevision","invalid","_prepareViewToSave","setSource","revision:","add","source","targetPosition","revisionHistoryLicenseKeyValid","finally","initialData","_revisionDataBuilder","RealTimeCollaborationClient","_diffRootsAttributes","collaboration.channelId","_cloneOperation","vid_end","_createCurrentRevision","getTransformedByOperation","marked","push","elementStart","shift","createRange","end","_baseIdsRoots","getOperations","getLatestVersion","createRangeIn","_initialRevisionId","root","changeRootAttribute","_insertChild","toView","size","revisionHistoryLicenseKeyEvaluationLimit","getIndex","_touched","createPositionFromPath","addRoot","featureNotAllowed","marker","roots","_handleMergeOperation","nodes","getRootNames","ready","vid_start","keepParagraph","_getViewJson","creatorId","_setAttribute","init","startsWith","_licenseKeyCheckInterval","offsetSize","map","revision-start","getChildren","_authorId","_reset","affectsData","2133170znAdHb","_handleInsertOperation","_loadRevisionData","editor-initial-data-replaced-with-revision-data","evaluationLimit","_isAttached","split","NEGATIVE_INFINITY","insert","locale","document","baseVersion","PendingActions","rootName","view","data","RevisionTracker","_revisionId","_calculateMetaData","_bufferedUpdates","item","_baseRootsAttributes","parent","3xDZeSm","_continueCurrentRevision","1533597ptFcuV","reInit","_getPreviousFrom","model","26073MIMOAp","getMovedRangeStart","_addPendingAction","isPremiumPlugin","_idsRoots","reinsert","max","Initial revision","_fixOperation","then","revisionHistoryLicenseKeyUsageLimit","diffData","keys","clone","saveRevision","_saveMetaData","updateRevisions","string","children","deletions","markerToData","_update","_handleOperation","_diffRoots","_markChanges","addRevision","_touchedRoots","move","_loadState","position","creator","buildRevisionData","trim","get","_startingVersion","_createFromRanges","slice","getAttributes","bind","graveyardPosition","_applyOperations","path","createPositionAt","hasContent","insertion","history","data-revision-","_findInsertionIndex","documentFragment","_replaceEditorDataWithRevisionData","Users","_isPendingUpdate","_getVidAttributeName","_operations","_showLicenseError","afterInit"];return(In=function(){return t})()}function Sn(t,e){const i=In();return(Sn=function(t,e){return i[t-=435]})(t,e)}!function(t){const e=Sn,i=t();for(;;)try{if(971887===-parseInt(e(501))/1+parseInt(e(660))/2+parseInt(e(499))/3*(-parseInt(e(569))/4)+parseInt(e(588))/5+parseInt(e(653))/6*(parseInt(e(575))/7)+-parseInt(e(690))/8*(-parseInt(e(505))/9)+-parseInt(e(476))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(In);const On={c:Bi.ViewContainerElement,a:Bi.ViewAttributeElement,e:Bi.ViewEmptyElement,r:Bi.ViewRawElement,u:Bi.ViewUIElement};class xn extends qi.Plugin{static get[_n(594)](){return _n(492)}static get[_n(678)](){return!0}static get[_n(508)](){return!0}static get[_n(561)](){return[Yi.Users,Xi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(608)]=null,this[i(591)]=null,this[i(746)]=new Nn(this[i(624)]),this[i(443)]=this[i(624)][i(717)][i(538)](i(749))||i(696),this[i(495)]=new Map,this[i(659)]=null;const n=(0,t.uid)();this[i(619)]={history:this[i(624)][i(504)][i(486)][i(550)],getLatestVersion:()=>Promise[i(670)](this[i(624)][i(504)][i(486)][i(700)]),getCurrentRevisionId:()=>n},this[i(645)](i(714),!1),this[i(645)](i(622),!0),this[i(645)](i(556),!1),this[i(624)][i(717)][i(719)](i(723),!0),this[i(624)][i(674)][i(697)](i(566))[i(590)]({view:i(692)})}[_n(466)](){const t=_n;this[t(584)]=this[t(624)][t(564)][t(538)](t(637)),this[t(640)](),this[t(624)][t(491)].on(t(460),(()=>{const e=t,i=this[e(584)][e(706)](0),n=i&&null===i[e(535)]?i:null;if(this[e(500)]=!!n&&this[e(624)][e(717)][e(538)](e(723)),this[e(624)][e(564)][e(713)](e(747))){const t=this[e(619)][e(722)](),r=this[e(584)][e(706)](t);if(r)this[e(539)]=r[e(662)],this[e(500)]=!1;else{const t=this[e(619)][e(550)][e(558)][e(565)]((t=>!t[e(701)])),r=t?t[e(487)]:this[e(619)][e(550)][e(700)];i?(i[e(571)]<r&&i[e(526)]({toVersion:r}),this[e(500)]?(this[e(619)][e(722)]=()=>n.id,this[e(539)]=n[e(662)]):(this[e(539)]=i[e(571)],this[e(500)]=!1)):(this[e(539)]=r,this[e(500)]=!1)}}else n&&(this[e(624)][e(504)][e(486)][e(550)][e(700)]=Math[e(511)](n[e(571)],this[e(624)][e(504)][e(486)][e(550)][e(700)]),n[e(662)]===n[e(571)]?(0!==n[e(662)]&&(this[e(619)][e(722)]=()=>n.id),this[e(500)]=!1):this[e(500)]&&(this[e(619)][e(722)]=()=>n.id,this[e(539)]=n[e(662)])),this[e(500)]||(this[e(539)]=this[e(624)][e(504)][e(486)][e(700)]);this[e(746)][e(466)](this[e(619)][e(550)]),this[e(735)](this[e(539)]),this[e(752)](this[e(539)]),this[e(608)]&&this[e(720)]()})),this[t(543)](t(714)).to(this,t(556),(t=>!t)),this[t(684)]=this[t(624)][t(717)][t(538)](t(684));const e=this[t(624)];this[t(468)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(743)==s||i(671)==s||i(634)==s||i(693)==s||i(650)==s||i(449)==s||i(703)==s||i(515)==s){delete e[r],n=s,clearInterval(this[i(468)]),this[i(468)]=void 0;break}}i(671)==n&&e[i(559)](i(736)),i(634)==n&&e[i(559)](i(633)),i(693)==n&&e[i(559)](i(721)),i(650)==n&&e[i(559)](i(454),i(731)),i(449)==n&&e[i(559)](i(480)),i(703)==n&&e[i(559)](i(710)),i(515)==n&&e[i(559)](i(682))}),1e3)}async[_n(560)](){const t=_n;if(this[t(584)][t(655)]>0){const e=this[t(584)][t(706)](0),i=await this[t(689)](e),n=await this[t(592)](e);this[t(554)](i,n)}}[_n(617)](){const t=_n;super[t(617)](),this[t(468)]&&clearInterval(this[t(468)])}[_n(738)](t){this[_n(619)]=t}async[_n(604)](){const t=_n,e=await this[t(619)][t(441)]();if(e>this[t(591)][t(571)]){await this[t(533)]();const i=this[t(536)]({revision:this[t(591)],to:e});i[t(709)]=i[t(652)][t(470)]((e=>this[t(624)][t(564)][t(538)](t(555))[t(647)](e))),this[t(591)][t(526)](i)}}async[_n(533)](){const t=_n;this[t(500)]&&!this[t(659)]&&(await this[t(478)](this[t(591)]),this[t(746)][t(642)](this[t(591)]),this[t(659)]={fromVersion:this[t(591)][t(662)],authors:this[t(591)][t(709)][t(541)]()})}async[_n(519)](e={},i=null){const n=_n,r=[];await this[n(533)](),this[n(500)]=!1,i>this[n(591)][n(571)]&&(i=null),null===i&&(i=await this[n(619)][n(441)]());const s=this[n(578)](i),o=this[n(536)]({from:s,to:i});if(this[n(591)][n(571)]<i){const t=this[n(536)]({revision:this[n(591)],from:i,to:i});t[n(709)]=[],t[n(652)]=[],t.id=this[n(591)].id,this[n(591)][n(526)](t,!0),delete t[n(709)],r[n(755)](t)}e[n(464)]=this[n(624)][n(564)][n(538)](n(555)).me.id,e[n(676)]=e[n(676)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(698)](e);r[n(755)](e);const c=this[n(584)][n(450)](a);if(0!==c){const t=this[n(584)][n(706)](c-1);if(t[n(662)]!==i){const s=this[n(746)][n(576)](i,t[n(571)]),o={id:t.id,diffData:s[n(516)],authorsIds:s[n(652)],authors:s[n(652)][n(470)]((t=>this[n(624)][n(564)][n(538)](n(555))[n(647)](t))),fromVersion:i};t===this[n(591)]&&(o[n(639)]=new Date(e[n(639)][n(668)]()+10)),t[n(526)](o,!0),delete o[n(709)],r[n(755)](o)}}if(this[n(608)]){for(const t of r)this[n(654)](t.id,t,!0);this[n(720)]()}return a}[_n(698)](t){const e=_n,i=this[e(584)][e(644)](t);return this[e(608)]&&i.on(e(526),((t,i,n)=>{const r=e;n||(this[r(654)](i.id,i,!0),this[r(720)]())})),this[e(584)][e(530)](i,this[e(552)](i)),i}async[_n(689)](t){const e=_n;await this[e(478)](t);const i={};for(const n in t[e(516)]){if(t[e(516)][n][e(580)]&&!t[e(516)][n][e(580)][e(730)])continue;const r=this[e(615)](JSON[e(603)](t[e(516)][n][e(614)])),s=this[e(624)][e(673)][e(490)][e(486)],o=new Bi.ViewDocumentFragment(s,r[e(470)]((t=>Tn(t,this[e(624)]))));this[e(624)][e(491)][e(705)][e(715)](e(754)),i[n]=this[e(624)][e(491)][e(705)][e(672)](o),this[e(624)][e(491)][e(705)][e(715)](e(679))}return i}async[_n(592)](t){const e=_n;await this[e(478)](t);const i={};for(const n in t[e(516)])t[e(516)][n][e(580)]&&!t[e(516)][n][e(580)][e(730)]||(i[n]=t[e(516)][n][e(602)]||{});return i}[_n(720)](){const t=_n;if(0===this[t(495)][t(448)])return;if(this[t(556)])return;let e=Array[t(620)](this[t(495)][t(616)]());this[t(495)][t(600)]();for(let i=0;i<e[t(655)];i++){const n=e[i];let r=!1;for(const e of Object[t(517)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(733)]((t=>null!==t)),!e[t(655)])return;for(let i=0;i<e[t(655)];i++){const n=e[i];void 0!==n[t(662)]&&void 0===n[t(571)]&&(n[t(571)]=this[t(584)][t(706)](n.id)[t(571)]),void 0!==n[t(571)]&&void 0===n[t(662)]&&(n[t(662)]=this[t(584)][t(706)](n.id)[t(662)])}const i=this[t(624)][t(717)][t(538)](t(749));this[t(556)]=!0,this[t(507)](),this[t(608)][t(521)](e,i)[t(744)]((()=>{this[t(556)]=!1}))[t(514)]((e=>{const i=t;if(e)for(const t of e)this[i(581)]({id:t.id,createdAt:t[i(639)]});this[i(627)](),this[i(720)]()}))}[_n(554)](e,i){const n=_n;let r=this[n(624)][n(717)][n(538)](n(745)),s=this[n(624)][n(717)][n(538)](n(567));if(void 0===r){r={};for(const t of this[n(624)][n(504)][n(486)][n(459)]())r[t]=""}if(n(522)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(624)][n(504)][n(486)][n(459)]())s[t]={}}let o=!1;const a=Object[n(517)](r),c=Object[n(517)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(537)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(517)](s[t])[n(655)]>0){o=!0;break}}o||(o=c[n(716)]((t=>!this[n(624)][n(504)][n(486)][n(725)](t)))),o&&(0,t.logWarning)(n(479),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(624)][n(717)][n(645)](n(745),e),this[n(624)][n(717)][n(645)](n(567),i)}[_n(507)](){const t=_n;if(!this[t(708)]){const e=this[t(624)][t(564)][t(538)](t(488));this[t(708)]=e[t(740)](Qi(this[t(624)][t(485)],t(643)))}}[_n(627)](){const t=_n;this[t(708)]&&(this[t(624)][t(564)][t(538)](t(488))[t(629)](this[t(708)]),this[t(708)]=null)}[_n(552)](t){const e=_n,i=this[e(584)][e(568)]();i[e(572)]();let n=0;for(;n<i[e(655)];){const r=i[n];if(r===this[e(591)]){n++;continue}if(r.id===this[e(443)])break;const s=t[e(571)]-r[e(571)]||t[e(662)]-r[e(662)];if(s>0)break;if(s<0)n++;else{if(!t[e(535)]&&r[e(535)])break;if(r[e(535)]||!t[e(535)]){if(t[e(639)]>r[e(639)])break;n++}else n++}}return n}[_n(581)](t){const e=_n,i=this[e(584)][e(706)](t.id);if(t[e(639)]&&(t[e(639)]=new Date(t[e(639)])),t[e(652)]){const i=this[e(624)][e(564)][e(538)](e(555));t[e(709)]=t[e(652)][e(470)]((t=>i[e(647)](t)))}i[e(526)](t,!0)}[_n(536)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(662)],i=null!==i?i:t[n(571)];const r=this[n(746)][n(576)](e,i),s={diffData:r[n(516)],authorsIds:r[n(652)],fromVersion:e,toVersion:i};if(!t||i!==t[n(571)]){const t=i-1,e=this[n(619)][n(550)][n(586)](t);s[n(639)]=e&&e[n(639)]||new Date}if(this[n(659)]&&e===this[n(659)][n(662)])for(const t of this[n(659)][n(709)])s[n(652)][n(711)](t.id)||s[n(652)][n(755)](t.id);return s}[_n(478)](t){const e=_n;if(!t||t[e(516)])return Promise[e(670)]();{const i=this[e(624)][e(717)][e(538)](e(749));return this[e(608)][e(706)]({channelId:i,revisionId:t.id})[e(514)]((i=>{const n=e;t[n(516)]=i[n(516)]}))}}[_n(654)](t,e,i){const n=_n;if(this[n(495)][n(713)](t)){const r=this[n(495)][n(538)](t);e=i?{...r,...e}:{...e,...r}}this[n(495)][n(645)](t,e)}[_n(578)](t){const e=_n,i=this[e(584)][e(568)]();i[e(572)](),i[e(436)]();const n=i[e(565)]((i=>i[e(571)]<=t))[e(571)];return n<this[e(539)]?this[e(539)]:n}[_n(735)](t){const e=_n,i=this[e(584)][e(706)](this[e(584)][e(655)]-1);if(i)this[e(443)]=i.id;else{const i=!this[e(624)][e(504)][e(486)][e(456)][e(565)]((t=>this[e(624)][e(504)][e(548)](t))),n=this[e(624)][e(564)][e(538)](e(555)).me.id,r=Qi(this[e(624)][e(485)],e(i?589:512));this[e(607)]({from:t,to:t,id:this[e(443)],name:r,creatorId:n})}}[_n(752)](t){const e=_n,i=this[e(619)][e(722)]();this[e(591)]=this[e(584)][e(706)](i),this[e(591)]||(this[e(591)]=this[e(607)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(607)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(536)]({from:e,to:i});o[s(676)]=t,o[s(464)]=n,o.id=r;const a=this[s(698)](o);return this[s(608)]&&this[s(654)](o.id,o,!0),a}[_n(640)](){const t=_n;this[t(624)][t(674)][t(697)](t(611))[t(525)]({model:t(692)})}[_n(615)](t){const e=_n;return(t=t[e(733)]((t=>!t[e(676)]||e(471)!==t[e(676)]&&e(683)!==t[e(676)])))[e(656)]((t=>{const i=e;i(522)!=typeof t&&(t[i(523)]=this[i(615)](t[i(523)]),t[i(734)]=t[i(734)][i(733)]((t=>!t[0][i(467)](i(551)))))})),t}}function Tn(t,e){const i=_n,n=e[i(673)][i(490)][i(486)];if(i(522)==typeof t)return new Bi.ViewText(n,t);{const r=t[i(523)][i(470)]((t=>Tn(t,e)));return new(On[t[i(609)]]||Bi.ViewElement)(n,t[i(676)],t[i(734)],r)}}class Nn{constructor(t){const e=_n;this[e(624)]=t,this[e(630)]=new Map,this[e(680)]=-1,this[e(577)]=-1,this[e(605)]=new Map,this[e(528)]=new Map,this[e(748)]=new Map,this[e(702)]=new Map,this[e(497)]=new Map,this[e(509)]=new Map,this[e(439)]=new Map,this[e(451)]=new Map,this[e(598)]=new Map,this[e(531)]=new Map,this[e(493)]=1}[_n(466)](t){const e=_n;this[e(741)]=t;const i=new Map,n=new Map,r=this[e(624)][e(504)][e(486)][e(456)][e(470)]((t=>t[e(489)]));for(const t of r){const r=this[e(624)][e(504)][e(486)][e(725)](t),s=An(r);i[e(645)](t,s),n[e(645)](t,Object[e(688)](r[e(542)]()))}const s=Array[e(620)](this[e(624)][e(504)][e(596)])[e(470)]((t=>[t[e(676)],t[e(669)]()])),o=this[e(741)][e(700)];this[e(520)](o,i,s,n),this[e(635)]=this[e(493)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(645)](t,i),c[e(645)](t,{})}this[e(520)](Number[e(483)],a,[],c)}[_n(576)](t,e){const i=_n;if(this[i(680)]===t&&this[i(577)]<=e)this[i(630)][i(448)]>1&&this[i(587)](this[i(577)]),this[i(545)](this[i(577)],e,!0);else{if(!this[i(630)][i(713)](t)){const e=this[i(503)](t);this[i(494)](e,t,!1)}this[i(494)](t,e,!0)}return this[i(680)]=t,this[i(577)]=e,this[i(649)]()}[_n(642)](t){const e=_n;this[e(474)](),this[e(680)]=t[e(662)],this[e(577)]=t[e(571)];for(const i in t[e(516)]){const n=t[e(516)][i][e(580)],r=vi(t[e(516)][i][e(579)])||{},s=this[e(601)](t[e(516)][i][e(524)]);s[e(489)]=i,s[e(481)]=!n||!n[e(730)],s[e(730)]=()=>s[e(481)],this[e(702)][e(645)](i,s),this[e(497)][e(645)](i,r),n&&this[e(531)][e(645)](i,n);const o=this[e(628)](s);this[e(439)][e(645)](i,o);for(const[t,i]of s[e(596)]){if(!t[e(467)](e(739)))continue;const n=t[e(482)](":")[2];for(const t of i[e(691)]({singleCharacters:!0})){const i=this[e(557)](t),r=e(646)==t[e(609)]?t[e(664)][e(546)][e(541)](0,-1):t[e(664)][e(546)],s=o[e(610)](r)[e(631)](i);this[e(451)][e(645)](s,{userId:n})}}}this[e(635)]=this[e(493)];const i=[...Array(this[e(493)])[e(517)]()][e(541)](1)[e(733)]((t=>!this[e(451)][e(713)](t)));let n=0;const r=new Map;for(const s in t[e(516)]){const o=t[e(516)][s][e(580)],a=vi(t[e(516)][s][e(602)])||{},c=this[e(601)](t[e(516)][s][e(614)]);c[e(489)]=s,c[e(481)]=!o||o[e(730)],c[e(730)]=()=>c[e(481)],this[e(528)][e(645)](s,c),this[e(748)][e(645)](s,a);const u=this[e(628)](c,Number[e(483)]);this[e(509)][e(645)](s,u),r[e(645)](s,c[e(730)]()?a:{});for(const[t,i]of c[e(596)]){if(!t[e(467)](e(739)))continue;const n=t[e(482)](":")[2];for(const t of i[e(691)]({singleCharacters:!0})){const i=this[e(557)](t),r=this[e(493)]++,s=e(646)==t[e(609)]?t[e(664)][e(546)][e(541)](0,-1):t[e(664)][e(546)];u[e(610)](s)[e(465)](i,r),this[e(451)][e(645)](r,{userId:n})}}for(const t of this[e(624)][e(504)][e(442)](c)[e(691)]({singleCharacters:!0})){const r=this[e(557)](t),s=e(646)==t[e(609)]?t[e(664)][e(546)][e(541)](0,-1):t[e(664)][e(546)],o=u[e(610)](s);o[e(631)](r)>0||o[e(465)](r,i[n++])}for(const[t,i]of c[e(596)])t[e(467)](e(739))||this[e(605)][e(645)](t,i)}const s=Rn(e(704));this[e(702)][e(645)](e(704),s),this[e(439)][e(645)](e(704),this[e(628)](s,1));const o=Rn(e(704));this[e(528)][e(645)](e(704),o),this[e(509)][e(645)](e(704),this[e(628)](o,1));const a=Array[e(620)](this[e(528)])[e(470)]((([t,e])=>[t,An(e)]));this[e(520)](this[e(577)],a,this[e(605)],r)}[_n(601)](t){const e=_n,i=JSON[e(603)](t),n=this[e(624)][e(673)][e(490)][e(486)],r=new Bi.ViewDocumentFragment(n,i[e(470)]((t=>Tn(t,this[e(624)]))));return this[e(624)][e(491)][e(651)](r)}[_n(520)](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(645)](t,{start:e[r(606)][r(518)](),end:e[r(438)][r(518)](),rootName:e[r(444)][r(489)]});this[r(630)][r(645)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(587)](t){const e=_n;this[e(630)][e(636)](t)}[_n(502)](){const t=_n;this[t(474)](),this[t(680)]=-1,this[t(577)]=-1,this[t(630)][t(600)](),this[t(466)](this[t(741)])}[_n(474)](){const t=_n;this[t(451)][t(600)](),this[t(598)][t(600)](),this[t(531)][t(600)](),this[t(528)][t(600)](),this[t(748)][t(600)](),this[t(702)][t(600)](),this[t(497)][t(600)](),this[t(509)][t(600)](),this[t(439)][t(600)](),this[t(605)][t(600)](),this[t(493)]=1,this[t(635)]=this[t(493)]}[_n(628)](t,e=null){const i=_n;let n=null;t.is(i(553))||(n=new Bi.Element(t[i(676)],{vid_start:null===e?this[i(493)]++:e++}));const r=[];for(const n of t[i(472)]())if(n.is(i(621))){r[i(755)](this[i(628)](n,e));const t=r[r[i(655)]-1];null!==e&&(e=t.is(i(621),i(657))?t[i(631)](i(687))+1:t[i(631)](i(751))+1)}else for(let t=0;t<n[i(469)];t++)r[i(755)](new Bi.Element(i(657),{vid:null===e?this[i(493)]++:e++}));if(t.is(i(553))){const e=Rn(t[i(489)]);return e[i(446)](0,r),e}return n[i(465)](i(751),null===e?this[i(493)]++:e++),n[i(446)](0,r),n}[_n(494)](t,e,i){const n=_n;this[n(474)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(630)][n(538)](t);this[n(702)]=new Map(r),this[n(497)]=new Map(vi(o));for(const[t,e]of this[n(702)])if(n(704)!==t&&(this[n(528)][n(645)](t,An(e)),this[n(748)]=new Map(vi(o)),i)){const i=this[n(493)];this[n(509)][n(645)](t,this[n(628)](e)),this[n(439)][n(645)](t,this[n(628)](e,i))}this[n(635)]=this[n(493)],this[n(528)][n(645)](n(704),An(this[n(702)][n(538)](n(704)))),i&&this[n(509)][n(645)](n(704),this[n(628)](this[n(702)][n(538)](n(704))));for(const[t,e]of s){const i=this[n(702)][n(538)](e[n(489)]),r=this[n(528)][n(538)](e[n(489)]),s=new Bi.Range(this[n(718)](e[n(606)],i),this[n(718)](e[n(438)],i)),o=this[n(625)](s,r);i[n(596)][n(645)](t,s),this[n(605)][n(645)](t,o)}this[n(545)](t,e,i)}[_n(545)](t,e,i){const n=_n;for(const r of this[n(741)][n(440)](t,e))this[n(527)](r,i);for(const t of this[n(528)][n(616)]())t[n(596)][n(600)]();for(const[t,e]of this[n(605)])this[n(528)][n(538)](e[n(444)][n(489)])[n(596)][n(645)](t,e[n(518)]());const r=new Map,s=new Map;for(const[t,e]of this[n(528)])r[n(645)](t,An(e)),s[n(645)](t,this[n(748)][n(538)](t));this[n(520)](e,r,this[n(605)],s)}[_n(503)](t){const e=_n,i=Array[e(620)](this[e(630)][e(517)]());i[e(583)](((t,e)=>t-e)),i[e(572)]();for(const e of i)if(e<t)return e;return Number[e(483)]}[_n(729)](t,e){const i=_n,n=Array[i(620)](e[i(596)])[i(470)]((([e,n])=>[e,this[i(625)](n,t)]));t[i(596)]=new Map(n)}[_n(623)](t){const e=_n;for(const i of this[e(605)][e(616)]()){const n=i[e(753)](t),r=Bi.Range[e(540)](n);i[e(606)]=r[e(606)],i[e(438)]=r[e(438)]}}[_n(527)](t,e){const i=_n;if(i(453)!=t[i(609)]&&i(677)!=t[i(609)]){if(i(484)==t[i(609)]){const n=t[i(534)][i(444)][i(489)];this[i(528)][i(713)](n)||(this[i(528)][i(645)](n,Rn(n,!0)),this[i(748)][i(645)](n,{}),e&&this[i(509)][i(645)](n,Rn(n,!0)))}else{if(i(632)==t[i(609)]||i(573)==t[i(609)]||i(445)==t[i(609)])return void this[i(694)](t);i(455)==t[i(609)]&&this[i(648)](t)}if(i(455)!==t[i(609)]){const e=this[i(750)](t,this[i(528)]);e[i(582)](),this[i(623)](e)}if(e)switch(t[i(609)]){case i(484):this[i(477)](t);break;case i(532):case i(629):case i(510):this[i(641)](t);break;case i(685):this[i(457)](t);break;case i(482):this[i(726)](t)}}else this[i(563)](t,e)}[_n(750)](t,e){const i=_n,n=t[i(518)]();return n[i(473)]=t[i(473)],this[i(513)](n,e),n}[_n(593)](t){const e=_n;return t[e(470)]((t=>{const i=e,n=this[i(557)](t);return Number(t[i(496)][i(631)](n))}))}[_n(597)](t,e){const i=_n;if(t.is(i(621),i(657)))e[i(755)]({item:t,type:i(612)});else{t.is(i(621))&&e[i(755)]({item:t,type:i(435)});for(const n of t[i(472)]())this[i(597)](n,e);t.is(i(621))&&e[i(755)]({item:t,type:i(646)})}return e}[_n(649)](){const t=_n,e=new Map(this[t(451)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(702)][t(517)](),...this[t(528)][t(517)]()]);a[t(636)](t(704));for(const e of a){const i=this[t(528)][t(538)](e)||Rn(e,!1),n=this[t(702)][t(538)](e)||Rn(e,!1);i[t(730)]()||n[t(730)]()?(r[t(614)][e]=An(i),r[t(524)][e]=An(n),this[t(729)](r[t(524)][e],n),this[t(729)](r[t(614)][e],i),s[t(614)][e]=this[t(597)](this[t(509)][t(538)](e),[]),s[t(524)][e]=this[t(597)](this[t(439)][t(538)](e)||Rn(e,!1),[])):a[t(636)](e)}for(const r of a){const o=s[t(614)][r];for(const r of o){const s=this[t(557)](r),o=r[t(496)][t(631)](s);i[t(636)](o),o>=this[t(635)]&&n[t(645)](o,e[t(538)](o))}}for(const r of a){const a=s[t(614)][r],c=this[t(593)](s[t(524)][r]);let u=0;for(const r of a){const s=this[t(557)](r),a=r[t(496)][t(631)](s);if(!n[t(713)](a)&&!o[t(713)](a))if(i[t(713)](a))u++;else{if(a!=c[u]){const n=e[t(538)](a)||e[t(538)](c[u]);for(;a!=c[u];)i[t(713)](c[u])||(o[t(645)](c[u],n),e[t(645)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(614)][e];for(const e of r){const r=this[t(557)](e),s=e[t(496)][t(631)](r);if(o[t(713)](s)){const e=o[t(538)](s);i[t(713)](s)||i[t(645)](s,{...e}),n[t(645)](s,{...e})}}}for(const e of i[t(517)]())e>=this[t(635)]&&i[t(636)](e);const c=new Map;for(const e of a){let r=s[t(614)][e];for(const e of r)if(e[t(496)].is(t(621),t(618))){const i=this[t(557)](e),r=e[t(496)][t(631)](i);if(n[t(713)](r)){const i=e[t(496)][t(498)][t(498)][t(631)](t(461)),s=c[t(538)](i)||new Set;s[t(740)](n[t(538)](r)[t(681)]),c[t(645)](i,s)}}r=s[t(524)][e];for(const e of r)if(e[t(496)].is(t(621),t(618))){const n=this[t(557)](e),r=e[t(496)][t(631)](n);if(i[t(713)](r)){const n=e[t(496)][t(498)][t(498)][t(631)](t(461)),s=c[t(538)](n)||new Set;s[t(740)](i[t(538)](r)[t(681)]),c[t(645)](n,s)}}for(const e of c[t(517)]())(n[t(713)](e)||i[t(713)](e))&&c[t(636)](e)}for(const e of a){const r=s[t(614)][e];let o=null,a=null;for(const e of r){const r=this[t(557)](e),s=e[t(496)][t(631)](r),u=c[t(538)](s);u&&t(435)==e[t(609)]&&(o=Array[t(620)](u)[0],a=e[t(496)][t(631)](t(751))),o&&(i[t(645)](s,{userId:o}),n[t(645)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(524)][e],a=r[t(614)][e];for(const{userId:e}of this[t(598)][t(616)]())null!==e&&l[t(740)](e);for(const{userId:e}of this[t(531)][t(616)]())null!==e&&l[t(740)](e);this[t(529)](a,s[t(614)][e],n,t(549),l),this[t(529)](o,s[t(524)][e],i,t(666),l),u[e]={insertions:this[t(737)](a),deletions:this[t(737)](o),attachChange:this[t(531)][t(538)](e)||null,attributesBefore:vi(this[t(497)][t(538)](e))||{},attributesAfter:vi(this[t(748)][t(538)](e))}}return{diffData:u,authorsIds:Array[t(620)](l)}}[_n(613)](t){const e=_n;for(const[,i]of t[e(596)]){const t=i[e(606)][e(699)]()[e(733)]((t=>e(618)==t[e(676)]));for(const i of t)1==i[e(695)]&&i[e(667)](0).is(e(621),e(626))&&i[e(667)](0)[e(465)](e(462),!0)}}[_n(737)](t){const e=_n;this[e(613)](t);const i=this[e(624)][e(491)][e(447)](t,{}),n=Array[e(620)](i[e(472)]())[e(470)]((t=>this[e(463)](t)));return JSON[e(724)](n)}[_n(463)](t){const e=_n;if(t.is(e(657)))return t[e(491)];{const i=t;return{type:Object[e(517)](On)[e(565)]((e=>t instanceof On[e])),name:i[e(676)],attributes:Array[e(620)](i[e(542)]()),children:Array[e(620)](i[e(472)]())[e(470)]((t=>this[e(463)](t)))}}}[_n(529)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(624)][s(504)];for(let n=0;n<e[s(655)];n++){const r=this[s(557)](e[n]),c=e[n][s(496)][s(631)](r),h=i[s(538)](c),d=n==e[s(655)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(681)]!=o[s(681)])&&(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(681)],d=l(739)+n+":"+h+":"+c++,f=u[l(437)](i,a);t[l(596)][l(645)](d,f),null!==h&&r[l(740)](h)}}[_n(557)](t){const e=_n;switch(t[e(609)]){case e(435):return e(461);case e(646):return e(751);default:return e(687)}}[_n(513)](t,e){const i=_n;t[i(487)]=null;for(const n in t){const r=t[n];if(r instanceof Bi.Position){const s=e[i(538)](r[i(444)][i(489)]);t[n]=this[i(718)](r,s)}if(r instanceof Bi.Range){const s=e[i(538)](r[i(444)][i(489)]);t[n]=this[i(625)](r,s)}i(444)===n&&(t[i(444)]=e[i(538)](t[i(444)][i(489)]))}}[_n(625)](t,e){const i=_n;return this[i(624)][i(504)][i(437)](this[i(718)](t[i(606)],e),this[i(718)](t[i(438)],e))}[_n(718)](t,e){const i=_n;return this[i(624)][i(504)][i(452)](e,t[i(546)],t[i(574)])}[_n(477)](t){const e=_n,i=this[e(509)][e(538)](t[e(534)][e(444)][e(489)]),n=this[e(718)](t[e(534)],i),r=null===t[e(473)]?null:t[e(473)]||this[e(624)][e(564)][e(538)](e(555)).me.id,s=n[e(498)],o=this[e(493)],a=[];for(const i of t[e(458)])if(i.is(e(621)))a[e(755)](this[e(628)](i));else for(let t=0;t<i[e(469)];t++)a[e(755)](new Bi.Element(e(657),{vid:this[e(493)]++}));const c=this[e(493)];for(let t=o;t<c;t++)this[e(451)][e(645)](t,{userId:r});s[e(446)](n[e(661)],a)}[_n(641)](t){const e=_n;(t=this[e(750)](t,this[e(509)]))[e(582)]();const i=null===t[e(473)]?null:t[e(473)]||this[e(624)][e(564)][e(538)](e(555)).me.id,n=t[e(506)](),r=n[e(498)],s=n[e(661)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(667)](e);s.is(a(621),a(657))?n[a(645)](s[a(631)](a(687)),{userId:i}):(n[a(645)](s[a(631)](a(461)),{userId:i}),t(n,s,0,s[a(695)]),n[a(645)](s[a(631)](a(751)),{userId:i}))}}(this[e(451)],r,s,s+t[e(585)])}[_n(457)](t){const e=_n,i=null===(t=this[e(750)](t,this[e(509)]))[e(473)]?null:t[e(473)]||this[e(624)][e(564)][e(538)](e(555)).me.id,n=t[e(742)][e(498)],r=t[e(562)][e(498)],s=n[e(631)](e(751)),o=r[e(631)](e(461));n[e(465)](e(751),r[e(631)](e(751))),r[e(465)](e(751),s),this[e(451)][e(645)](o,{userId:i}),this[e(451)][e(645)](s,{userId:i}),t[e(582)]()}[_n(726)](t){const e=_n,i=null===(t=this[e(750)](t,this[e(509)]))[e(473)]?null:t[e(473)]||this[e(624)][e(564)][e(538)](e(555)).me.id,n=t[e(544)],r=t[e(732)][e(498)];t[e(582)]();const s=r[e(631)](e(751)),o=t[e(595)][e(570)];if(n){const t=o[e(631)](e(751)),n=r[e(631)](e(751));r[e(465)](e(751),t),o[e(465)](e(751),n),this[e(451)][e(645)](r[e(631)](e(751)),{userId:i}),this[e(451)][e(645)](o[e(631)](e(461)),{userId:i})}else{const t=this[e(493)]++,n=this[e(493)]++;r[e(465)](e(751),t),o[e(465)](e(461),n),o[e(465)](e(751),s),this[e(451)][e(645)](t,{userId:i}),this[e(451)][e(645)](n,{userId:i})}}[_n(648)](t){const e=_n;if(!t[e(475)])return;const i=(t=this[e(750)](t,this[e(528)]))[e(658)]?t[e(658)][e(444)]:null,n=t[e(707)]?t[e(707)][e(444)]:null;i&&this[e(605)][e(636)](t[e(676)]),n&&this[e(605)][e(645)](t[e(676)],t[e(707)][e(518)]());const r=null===t[e(473)]?null:t[e(473)]||this[e(624)][e(564)][e(538)](e(555)).me.id,s=t[e(676)];if(!this[e(598)][e(713)](s))return void this[e(598)][e(645)](s,{range:t[e(658)],userId:r});const o=this[e(598)][e(538)](s),a=o[e(712)],c=t[e(707)];null==a&&null==c||a&&c&&a[e(728)](c)?this[e(598)][e(636)](t[e(676)]):o[e(681)]=r}[_n(563)](t,e){const i=_n;this[i(528)][i(713)](t[i(489)])?this[i(528)][i(538)](t[i(489)])[i(481)]=t[i(663)]:(this[i(528)][i(645)](t[i(489)],Rn(t[i(489)],!0)),this[i(748)][i(645)](t[i(489)],{}),e&&this[i(509)][i(645)](t[i(489)],Rn(t[i(489)],!0)));const n=null===t[i(473)]?null:t[i(473)]||this[i(624)][i(564)][i(538)](i(555)).me.id,r=this[i(531)][i(538)](t[i(489)]);r&&r[i(681)]===n?this[i(531)][i(636)](t[i(489)]):this[i(531)][i(645)](t[i(489)],{userId:n,isAttached:t[i(663)]})}[_n(694)](t){const e=_n,i=this[e(748)][e(538)](t[e(444)][e(489)]);null===t[e(638)]?delete i[t[e(727)]]:i[t[e(727)]]=t[e(638)]}}function An(t){const e=_n,i=Rn(t[e(489)],t[e(730)]());for(const n of t[e(472)]()){const t=n[e(665)](!0);i[e(686)](t)}return i}function Rn(t,e=!0){const i=_n,n=new Bi.DocumentFragment;return n[i(489)]=t,n[i(481)]=e,n[i(730)]=()=>n[i(481)],n}function Mn(t,e,i){const n=_n,r=n(646)==t[n(609)]?i[n(547)](t[n(496)],n(438)):i[n(599)](t[n(496)]);return i[n(452)](e,r[n(546)],r[n(574)])}function Vn(t,e,i){const n=_n,r=n(435)==t[n(609)]?i[n(547)](t[n(496)],0):i[n(675)](t[n(496)]);return i[n(452)](e,r[n(546)],r[n(574)])}var En=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Ln=i(262),Pn=i.n(Ln),zn=i(667),Wn=i.n(zn),Un=i(357),Zn=i.n(Un),$n=i(426),Hn={attributes:{"data-cke":!0}};Hn.setAttributes=Wn(),Hn.insert=Pn().bind(null,"head"),Hn.domAPI=Fn(),Hn.insertStyleElement=Zn();Cn()($n.A,Hn);$n.A&&$n.A.locals&&$n.A.locals;var qn=i(959),Yn={attributes:{"data-cke":!0}};Yn.setAttributes=Wn(),Yn.insert=Pn().bind(null,"head"),Yn.domAPI=Fn(),Yn.insertStyleElement=Zn();Cn()(qn.A,Yn);qn.A&&qn.A.locals&&qn.A.locals;const Bn=Gn;function Jn(){const t=["arrowup","trim","set","value","errorText","16yYxMUv","_createRevisionNameInput","220","add","ck-responsive-form","Name of the revision","revisionNameInputView","revisionName","1091245JKdVnF","242592DjOhQm","stopPropagation","form","listenTo","953604ylMokD","arrowleft","arrowdown","locale","focusTracker","56004WGtVsT","ck-revision-history-save-revision-form","input","label","5854761KXVMcC","arrowright","element","setTemplate","focus","2631704iXELxJ","reset","fieldView","14LnrTlJ","render","revisionNameInputValue","extendTemplate","2487222YTAfDf","optional","keystrokes"];return(Jn=function(){return t})()}function Gn(t,e){const i=Jn();return(Gn=function(t,e){return i[t-=232]})(t,e)}!function(t){const e=Gn,i=t();for(;;)try{if(528501===parseInt(e(244))/1+-parseInt(e(235))/2+-parseInt(e(260))/3+parseInt(e(253))/4+-parseInt(e(234))/5+-parseInt(e(239))/6*(parseInt(e(256))/7)+parseInt(e(268))/8*(parseInt(e(248))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jn);class Kn extends En.View{constructor(e,i){const n=Gn;super(e),this[n(243)]=new t.FocusTracker,this[n(262)]=new t.KeystrokeHandler,this[n(265)](n(258),""),this[n(232)]=this[n(269)](i),this[n(251)]({tag:n(237),attributes:{class:["ck",n(245),n(272)],tabindex:"-1"},children:[this[n(232)]]}),(0,En.injectCssTransitionDisabler)(this)}[Bn(257)](){const t=Bn;super[t(257)](),(0,En.submitHandler)({view:this}),this[t(243)][t(271)](this[t(232)][t(250)]),this[t(262)][t(238)](this[t(250)]);const e=e=>e[t(236)]();this[t(262)][t(265)](t(249),e),this[t(262)][t(265)](t(240),e),this[t(262)][t(265)](t(263),e),this[t(262)][t(265)](t(241),e)}[Bn(252)](){const t=Bn;this[t(232)][t(252)]()}get[Bn(233)](){const t=Bn;return this[t(232)][t(255)][t(250)][t(266)][t(264)]()}set[Bn(233)](t){const e=Bn;this[e(232)][e(255)][e(250)][e(266)]=t[e(264)]()}[Bn(254)](){const t=Bn;this[t(232)][t(255)][t(250)][t(266)]="",this[t(232)][t(267)]=null}[Bn(269)](t){const e=Bn,i=new En.LabeledFieldView(this[e(242)],En.createLabeledInputText),n=i[e(255)];n[e(259)]({attributes:{maxlength:e(270)}});let r=Qi(this[e(242)],e(273));return!t&&(r+=" ("+Qi(this[e(242)],e(261))+")"),i[e(247)]=r,n.on(e(246),(()=>{const t=e;this[t(258)]=n[t(250)][t(266)][t(264)]()})),i}}const Xn=Qn;function Qn(t,e){const i=tr();return(Qn=function(t,e){return i[t-=321]})(t,e)}function tr(){const t=["show","Save current revision","ck-button-action","isReadOnly","view","7JFiMeI","11202YwIOhI","revisionHistory.requireRevisionName","The revision name cannot be empty.","isOpen","Cancel","errorText","get","buttonView","showRevisionViewerCallback","Accept","11869hotDpW","revisionName","panelView","init","editing","3492CGKftZ","isReady","Revision history","Dialog","delegate","_showDialog","submit","_createSaveRevisionFormView","isEnabled","pluginName","isOfficialPlugin","reset","RevisionHistoryUI","config","hide","_registerMenuComponent","history","addMany","menuitem","1041595zSSaHV","bind","10KjXKAt","130320JMqNXk","204pxaEXA","revisionSave","Open revision history","menuBar:revisionHistory","revisionHistory","add","RevisionTracker","focus","locale","render","99DzUijA","role","74TeyLhH","8479ETpvuU","saveRevision","requires","execute","revisionNameInputView","componentFactory","items","set","children","4628789jqGwmB","menu","3438342MFSbqc","isPremiumPlugin","editor","plugins","_saveRevisionFormView"];return(tr=function(){return t})()}!function(t){const e=Qn,i=t();for(;;)try{if(419861===-parseInt(e(346))/1*(-parseInt(e(345))/2)+parseInt(e(368))/3*(parseInt(e(333))/4)+parseInt(e(329))/5+-parseInt(e(357))/6*(-parseInt(e(367))/7)+-parseInt(e(332))/8*(parseInt(e(343))/9)+parseInt(e(331))/10*(-parseInt(e(355))/11)+-parseInt(e(383))/12*(parseInt(e(378))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends qi.Plugin{static get[Xn(392)](){return Xn(322)}static get[Xn(393)](){return!0}static get[Xn(358)](){return!0}static get[Xn(348)](){return[xn]}[Xn(381)](){const t=Xn,e=this[t(359)],i=e[t(360)][t(374)](t(339));e.ui[t(351)][t(338)](t(337),(n=>{const r=t,s=(0,En.createDropdown)(n),o=s[r(380)][r(354)],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(330)](r(391)).to(i,r(384),i,r(391),e,r(365),((t,e,i)=>t&&e&&!i)),s[r(375)][r(353)]({icon:qi.icons[r(326)],label:Qi(n,r(385)),tooltip:!0}),u[r(353)]({label:Qi(n,r(363)),withText:!0,role:r(328)}),u[r(330)](r(391)).to(i,r(384),i,r(391),e,r(365),((t,e,i)=>t&&e&&!i)),u.on(r(349),(()=>this[r(388)]())),h[r(353)]({label:Qi(n,r(335)),withText:!0,role:r(328)}),h[r(330)](r(391)).to(i,r(384),e,r(365),((t,e)=>t&&!e)),h.on(r(349),(()=>{const t=r;e[t(323)][t(374)](t(337))[t(376)](),s[t(371)]=!1,e[t(382)][t(366)][t(340)]()})),c[r(354)][r(338)](u),l[r(354)][r(338)](h),a[r(344)]=r(356),a[r(352)][r(327)]([c,l]),o[r(338)](a),s})),e.ui[t(351)][t(338)](t(336),(()=>this[t(325)]()))}[Xn(325)](){const t=Xn,e=this[t(359)],i=e[t(341)],n=new En.MenuBarMenuView(i),r=new En.MenuBarMenuListView(i);n[t(375)][t(353)]({icon:qi.icons[t(326)],label:Qi(i,t(385))});const s=new En.MenuBarMenuListItemView(i,n),o=new En.MenuBarMenuListItemButtonView(i);o[t(353)]({label:Qi(i,t(363))}),o[t(387)](t(349)).to(n),o.on(t(349),(()=>{this[t(388)]()})),s[t(354)][t(338)](o),r[t(352)][t(338)](s);const a=new En.MenuBarMenuListItemView(i,n),c=new En.MenuBarMenuListItemButtonView(i);return c[t(353)]({label:Qi(i,t(335))}),c[t(387)](t(349)).to(n),c.on(t(349),(()=>{const i=t;e[i(323)][i(374)](i(337))[i(376)]()})),a[t(354)][t(338)](c),r[t(352)][t(338)](a),n[t(380)][t(354)][t(338)](r),n}[Xn(388)](){const t=Xn,e=this[t(359)],i=e[t(341)],n=e[t(360)][t(374)](t(386)),r=e[t(360)][t(374)](t(339));function s(r){const s=t;e[s(323)][s(374)](s(369))&&""===r[s(379)]?r[s(350)][s(373)]=Qi(i,s(370)):(e[s(360)][s(374)](xn)[s(347)]({name:r[s(379)]}),n[s(324)]())}this[t(361)]||(this[t(390)](),this[t(361)].on(t(389),(()=>s(this[t(361)])))),this[t(361)][t(321)](),n[t(362)]({id:t(334),title:Qi(i,t(363)),isModal:!0,content:this[t(361)],actionButtons:[{label:Qi(e[t(341)],t(372)),withText:!0,onExecute:()=>n[t(324)]()},{label:Qi(e[t(341)],t(377)),class:t(364),withText:!0,onCreate(i){const n=t;i[n(330)](n(391)).to(r,n(384),r,n(391),e,n(365),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(361)])}]})}[Xn(390)](){const t=Xn,e=this[t(359)],i=e[t(341)];this[t(361)]=new Kn(i,e[t(323)][t(374)](t(369))),this[t(361)][t(342)]()}}const ir=nr;function nr(t,e){const i=rr();return(nr=function(t,e){return i[t-=214]})(t,e)}function rr(){const t=["div","bindTemplate","setTemplate","Added by","362697fNJDTN","set","4734653nZGPWn","Suggested by","span","type","data","2473392sPWygr","isSuggestion","changeId","name","add","_model","11879937aZorvM","ck-revision-change__label","850625mPUVZr","ck-annotation","author","ck-revision-change__","2344VxhEqW","5318322JcIKDg","focus","ck-revision-change","12brTIUS","Removed by","element","5195oViTuJ"];return(rr=function(){return t})()}!function(t){const e=nr,i=t();for(;;)try{if(451994===-parseInt(e(234))/1+parseInt(e(242))/2*(-parseInt(e(219))/3)+parseInt(e(238))/4*(parseInt(e(214))/5)+-parseInt(e(239))/6+parseInt(e(221))/7+parseInt(e(226))/8+parseInt(e(232))/9)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(231)]=e,this[i(228)]=e.id;const n=this[i(216)],r=Qi(t,e[i(225)][i(227)]?i(222):i(230)==e[i(224)]?i(218):i(243));this[i(220)](i(224),e[i(224)]),this[i(217)]({tag:i(215),attributes:{class:[i(235),i(241),n.to(i(224),(t=>i(237)+t))],tabindex:-1},children:[{tag:i(223),children:[{tag:i(223),attributes:{class:[i(233)]},children:[{text:r}]},{text:" "+e[i(236)][i(229)]}]}]})}[ir(240)](){const t=ir;this[t(244)][t(240)]()}}var or=cr;function ar(){var t=["author","data","set","20008384YbkKiV","11887491fqqWau","248559pfCiGq","createdAt","7810446fWbMxh","1936994VanRrv","type","4583324gNmCSq","1didcEM","rootName","toJSON","7412535bmzHGg","9QABQkz"];return(ar=function(){return t})()}function cr(t,e){var i=ar();return(cr=function(t,e){return i[t-=229]})(t,e)}!function(t){for(var e=cr,i=t();;)try{if(882256===-parseInt(e(230))/1*(parseInt(e(243))/2)+parseInt(e(240))/3+parseInt(e(229))/4+-parseInt(e(233))/5+parseInt(e(242))/6+-parseInt(e(239))/7+parseInt(e(238))/8*(parseInt(e(234))/9))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(235)]=e[i(235)],this[i(244)]=e[i(244)],this[i(236)]=e[i(236)]||{},this[i(231)]=e[i(231)],this[i(237)](i(241),e[i(241)])}[or(232)](){var t=or;return{id:this.id,authorId:this[t(235)].id,type:this[t(244)],data:this[t(236)],createdAt:this[t(241)]}}}function lr(t,e){const i=dr();return(lr=function(t,e){return i[t-=213]})(t,e)}const hr=lr;function dr(){const t=["_setChanges","56WOaFJB","add","234rvIYAL","10196quZQMN","133310PMPgSx","oldRevisionId","881509sknbFr","10264338nsMmhu","795891PcOXFF","2fGcoLI","19570606kbTjtL","535kKFLaT","206864aOMBGe","changes","newRevisionId"];return(dr=function(){return t})()}!function(t){const e=lr,i=t();for(;;)try{if(934502===parseInt(e(217))/1+-parseInt(e(220))/2*(-parseInt(e(219))/3)+-parseInt(e(214))/4*(-parseInt(e(222))/5)+-parseInt(e(218))/6+parseInt(e(223))/7*(-parseInt(e(227))/8)+-parseInt(e(213))/9*(parseInt(e(215))/10)+parseInt(e(221))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dr);class fr{constructor(e,i){const n=lr;this[n(225)]=e,this[n(216)]=i,this[n(224)]=new t.Collection}[hr(226)](t){const e=hr;for(const i of t)this[e(224)][e(228)](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;function vr(){const t=["revision-comment:","addClass","forEach","attributes","toViewElement","ck-suggestion-marker","4842UbxbrO","change","revisionHistoryLabel","compare","markers","_step","10zMXnnn","toViewRange","forceDisabled","mousedown","revision-end","destroy","hasAttribute","createRange","showPreviousChange","activeView","end","POSITIVE_INFINITY","userId","getIndex","concat","_removeUnsupportedChanges","markerToHighlight","wrap","showNextChange","backward","addRoot","isLimit","_changeIdToChange","slice","_setChanges","type","toData","addMarker:revision","shift","getAttribute","top","257136AxxglM","item","useFillerType","2250017AHIyQT","getRevision","_getChangeFromId","pop","find","marked","startIndex","_makeTape","createAttributeElement","getWalker","showStack","schema","view","createRangeIn","low","done","conversion","_refreshStartEndIndex","vid_end","_threeWayMerge","insertions","updatePosition","isIncorrect","_joinTapes","insert","mapper","getAttributes","_revisions","_update","roots","pluginName","_balloon","affectsData","setAttribute","return","dataDowncast","isEqual","document","_findChangeIdFromDomTarget","addMarker:revision-suggestion:insertion","markersEnd","isSuggestion","change:numberOfChanges","activeChange","getRevisionRootsAttributes","removeMarker","suggestion","dataToMarker","ck-suggestion-marker-merge","2PEPWhx","target","delete","_getDiff","upcast","addRevisionData","change:isEnabled","3808UefYdc","editingDowncast","elementToAttribute","writer","adapter","filter","for","ck-revision-history-root--active","viewItem","isNavigationMode","map","test","_getViewForChange","addHighlight","values","repository","unshift","forward","enableReadOnlyMode","ck-suggestion-marker--active","ck-suggestion-preview-marker-","_markMismatchedRemovedTags","isRemoved","attributesBefore","bottom","revisionHistory","currentChangeNumber","split","ck-revision-history-root-add","init","isAttached","execute","span","isAtStart","ck-suggestion-preview-marker","1535567uGriTK","isRemoveSuggestion","restoreRevisionCallback","loadRevisionData","downcastDispatcher","all","getRevisionData","oldRevisionId","data-change-id","set","_getViewObj","attachChange","from","_makeModelFromViewString","_markInsertions","diffData","_setConversion","createPositionFromPath","newRevisionId","_markSuggestions","code","add","get","createPositionBefore","diff","_makeModelFromTape","change:activeView","deletion","listenTo","endIndex","_initInteractions","isAfter","change:activeChange","isBefore","RevisionViewer","previousPosition","insertion","domConverter","parent","data-revision-","_markMarkers","_appendChild","start","_getRevisionsRange","markerName","ck-revision-history-root-remove","RevisionsRepository","addMarker:revision-suggestion:deletion","parse","authors","highest","377PmmiQi","has","ck-revision-history-root-","range","revision-suggestion","clear","reconvertMarker","getClientRects","abs","remove","change:isReady","isBlock","attributesAfter","refresh","default","vid_start","toViewPosition","rootName","first","194582ullUXV","createRevision","getChild","pairId","length","revision-suggestion:","enqueueChange","removeMarker:revision-suggestion","_removeRevisionMarkers","isOnRoot","isAtEnd","keys","flat","resolve","ck-suggestion-marker-","getItems","_removeMissingPairs","softBreak","nextPosition","nextSibling","12tCBLZs","ck-suggestion-marker-split","_sortAndFilterDiffChanges","side","editor","maxOffset","_activeViewTarget","children","markerToData","element:pre","changes","getLaterVisibleRevision","includes","attribute:vid","isInline","deletions","plugins","commands","_data","ck-editor__editable__overlay","isCollapsed","comment","isObject","removeMarker:revision","850765rvoXhL","mapViewToDom","isAddSuggestion","startsWith","removeClass","suggestion:","isPremiumPlugin","removeAttribute","uiElement","text","bindElementToMarker","toModel","bind","isEnabled","requires","checkAttribute","observeMarkers","addRevision","push","_changeView","revision-start","-new","level","_cleanMarkers","revision:","getDomRoot","modelRange","left","config","revisionHistoryAttachChange","string","consumable","stop","120FrTRUa","WidgetToolbarRepository","locale","numberOfChanges","detachRoot","high","unbindElementFromMarkerName","merge","domEvent","getRootNames","_processTape","model","_fixObsoleteTags","splice","markersStart","offsetSize","isContent","getCustomProperty","distance","markerRange","getRoot","_cleanUp","right","catch","element","createUIElement","elementEnd","data","vid","_setDistance","isOfficialPlugin","findIndex","restoreRevision","consume","elementStart","markerNameToElements","hasClass","editing","changeId","revision","then","error","17406ifvpLe","index","selection","mouseover","name","collaboration.channelId","next","revision-viewer","sort","nodeAfter","indexOf","isAdded","isReady","processor","object"];return(vr=function(){return t})()}const yr=gr;function gr(t,e){const i=vr();return(gr=function(t,e){return i[t-=195]})(t,e)}!function(t){const e=gr,i=t();for(;;)try{if(186330===parseInt(e(368))/1*(-parseInt(e(256))/2)+-parseInt(e(487))/3*(-parseInt(e(445))/4)+parseInt(e(412))/5*(-parseInt(e(388))/6)+parseInt(e(207))/7+parseInt(e(263))/8*(-parseInt(e(508))/9)+parseInt(e(514))/10*(-parseInt(e(298))/11)+-parseInt(e(204))/12*(-parseInt(e(349))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vr);const kr={c:Bi.ViewContainerElement,a:Bi.ViewAttributeElement,e:Bi.ViewEmptyElement,r:Bi.ViewRawElement,u:Bi.ViewUIElement};class br extends qi.Plugin{static get[yr(237)](){return yr(332)}static get[yr(475)](){return!0}static get[yr(418)](){return!0}static get[yr(426)](){return[Yi.Users,En.ContextualBalloon,Xi]}constructor(t){const e=yr;super(t),this[e(278)]=this[e(392)][e(404)][e(320)](e(344)),this[e(307)](e(250),null),this[e(307)](e(523),null),this[e(394)]=null,this[e(307)](e(322),null),this[e(307)](e(499),!1),this[e(307)](e(425),!0),this.on(e(262),((t,i,n)=>{const r=e;this[r(250)]=null,this[r(523)]=null,this[r(392)][r(482)][r(219)][r(509)]((t=>{const e=r;for(const i of this[e(392)][e(482)][e(219)][e(244)][e(236)])n?t[e(416)](e(407),i):t[e(503)](e(407),i)}))})),this[e(424)](e(272)).to(this,e(250),(t=>null!==t)),this[e(424)](e(289)).to(this,e(499),this,e(322),this,e(250),((t,i,n)=>t&&n?i[e(398)][e(527)](n):0)),this[e(424)](e(448)).to(this,e(499),this,e(322),((t,i)=>t?i[e(398)][e(372)]:0)),this[e(431)]=null,this[e(195)]=new Map,this[e(267)]=null,this[e(238)]=this[e(392)][e(404)][e(320)](En.ContextualBalloon)}[yr(292)](){const t=yr,e=this[t(392)],i=new Ir(e,{direction:t(533)}),n=new Ir(e,{direction:t(280)});e[t(405)][t(319)](t(522),i),e[t(405)][t(319)](t(532),n),e[t(405)][t(319)](t(477),new _r(e)),this.on(t(249),(()=>{const e=t;i[e(362)](),n[e(362)]()})),this[t(314)](),this[t(328)](),e[t(281)](t(494)),e[t(404)][t(350)](t(446))&&e[t(404)][t(320)](t(446))[t(516)](t(494))}async[yr(304)](t){const e=yr;await this[e(301)](t);const i={};for(const n in t[e(313)]){if(t[e(313)][n][e(309)]&&!t[e(313)][n][e(309)][e(293)])continue;const r=this[e(376)](JSON[e(346)](t[e(313)][n][e(227)])),s=this[e(392)][e(482)][e(219)][e(244)],o=new Bi.ViewDocumentFragment(s,r[e(273)]((t=>this[e(308)](t))));this[e(392)][e(472)][e(500)][e(206)](e(212)),i[n]=this[e(392)][e(472)][e(500)][e(199)](o),this[e(392)][e(472)][e(500)][e(206)](e(363))}return i}async[yr(251)](t){const e=yr;await this[e(301)](t);const i={};for(const n in t[e(313)])t[e(313)][n][e(309)]&&!t[e(313)][n][e(309)][e(293)]||(i[n]=t[e(313)][n][e(361)]||{});return i}[yr(376)](t){const e=yr;return(t=t[e(268)]((t=>!t[e(491)]||e(432)!==t[e(491)]&&e(518)!==t[e(491)])))[e(504)]((t=>{const i=e;i(442)!=typeof t&&(t[i(395)]=this[i(376)](t[i(395)]),t[i(505)]=t[i(505)][i(268)]((t=>!t[0][i(415)](i(337)))))})),t}async[yr(511)](t,e,i=!1){const n=yr;if(!this[n(425)])return;const r=this[n(322)],s=this[n(278)],o=n(442)==typeof t?s[n(208)](t):t,a=n(442)==typeof e?s[n(208)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(322)]&&this[n(322)][n(316)]===c&&this[n(322)][n(305)]===u)return Promise[n(381)]();this[n(499)]=!1,this[n(523)]=null,this[n(250)]=null,this[n(322)]=new fr(c,u);const l=this[n(341)](o,a,!0)[n(273)]((t=>this[n(301)](t)));return l[n(430)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(303)](l)[n(485)]((()=>{const t=n;if(!this[t(425)])return;this[t(466)]();const e=this[t(259)](c,u);for(const i of e[t(398)])this[t(195)][t(307)](i.id,i);this[t(392)][t(456)][t(374)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(392)][n(456)][n(244)][n(454)]())i[n(449)](t);for(const t of Object[n(379)](e[n(456)])){const r=i[n(534)](t);for(const s of Object[n(379)](e[n(505)][t]))i[n(240)](s,e[n(505)][t][s],r);i[n(231)](e[n(456)][t],r,0)}})),this[t(322)][t(197)](this[t(390)](e[t(398)])),this[t(499)]=!0}))[n(468)]((t=>{const e=n;console[e(486)](t),this[e(466)](),r&&(this[e(322)]=r),this[e(499)]=!0}))}[yr(261)](t,e){const i=yr,n=this[i(278)][i(369)](t);return n.on(i(235),((t,i,r)=>e(i,r,n))),this[i(278)][i(429)](n),n}[yr(301)](t){const e=yr;if(!t||t[e(313)])return Promise[e(381)]();{const i=this[e(392)][e(440)][e(320)](e(492));return this[e(267)][e(208)]({channelId:i,revisionId:t.id})[e(485)]((i=>{const n=e;t[n(235)]({diffData:i[n(313)]},!0)}))}}[yr(466)](){const t=yr;this[t(250)]=null,this[t(435)](),this[t(431)]&&this[t(431)][t(519)](),this[t(431)]=null,this[t(195)][t(354)](),this[t(392)][t(456)][t(374)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(392)][i(456)][i(244)][i(454)]())e[i(449)](t)}))}[yr(390)](t){const e=yr,i=[],n=new Map;for(const t of this[e(392)][e(456)][e(244)][e(454)]()){const r=this[e(392)][e(482)][e(219)][e(437)](t);if(!r)continue;const s=r[e(356)]()[e(205)](0);s&&(i[e(430)](t),n[e(307)](t,s))}return i[e(495)](((t,i)=>{const r=e,s=n[r(320)](t),o=n[r(320)](i);return s.y-o.y||s.x-o.x})),(t=t[e(268)]((t=>i[e(400)](t[e(366)]))))[e(495)](((t,n)=>i[e(497)](t[e(366)])-i[e(497)](n[e(366)]))),t}[yr(214)](t){const e=yr,i=Array[e(310)](t[e(512)])[e(268)]((([t,i])=>t[e(415)](e(436))&&!i[e(408)])),n=Array[e(310)](this[e(392)][e(456)][e(220)](t)[e(216)]({singleCharacters:!0}));if(0!=i[e(372)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(290)](":");if(r[e(524)][e(243)](t[e(386)])&&i[e(201)](),(t[e(333)][e(243)](r[e(340)])||t[e(333)][e(329)](r[e(340)]))&&(e(334)==s?t[e(498)]={userId:o}:e(325)==s&&(t[e(285)]={userId:o})),0==i[e(372)])break}return n}[yr(224)](t){const e=yr,i=new Map;for(let n=0;n<t[e(372)];n++)e(421)===t[n][e(198)]?(t[n][e(205)][e(213)]=n,t[n][e(205)][e(327)]=n):(e(479)===t[n][e(198)]?t[n][e(205)][e(213)]=n:e(471)===t[n][e(198)]&&(t[n][e(205)][e(327)]=n),i[e(307)](t[n].id,n));for(const n of i[e(277)]())e(479)===t[n][e(198)]?t[n][e(205)][e(327)]=i[e(320)](t[n][e(371)]):e(471)===t[n][e(198)]&&(t[n][e(205)][e(213)]=i[e(320)](t[n][e(371)]))}[yr(455)](t){const e=yr;for(let i=0;i<t[e(372)];i++){if(e(479)===t[i][e(198)])t[i][e(205)][e(213)]=i;else if(e(471)===t[i][e(198)]){t[i][e(205)][e(327)]=i;const n=t[i][e(205)][e(213)];t[n][e(371)]=t[i].id,t[i][e(371)]=t[n].id}else t[i][e(205)][e(213)]=i,t[i][e(205)][e(327)]=i,t[i][e(371)]=null;t[i][e(459)]||(t[i][e(459)]=[],t[i][e(247)]=[])}}[yr(312)](t,e){const i=yr,n=t[i(268)]((t=>!t[i(498)]));for(let t=0;t<e[i(372)];t++)e[t][i(498)]&&(n[t][i(498)]=e[t][i(498)])}[yr(311)](t){const e=yr,i=JSON[e(346)](t),n=this[e(392)][e(482)][e(219)][e(244)],r=new Bi.ViewDocumentFragment(n,i[e(273)]((t=>this[e(308)](t))));return this[e(392)][e(472)][e(423)](r)}[yr(308)](t){const e=yr,i=this[e(392)][e(482)][e(219)][e(244)];if(e(442)==typeof t)return new Bi.ViewText(i,t);{const n=t[e(395)][e(273)]((t=>this[e(308)](t)));return new(kr[t[e(198)]]||Bi.ViewElement)(i,t[e(491)],t[e(505)],n)}}[yr(259)](t,e=null){const i=yr,n=this[i(278)][i(208)](t),r=e?this[i(278)][i(208)](e):null,s=this[i(341)](n,r),o=s[s[i(372)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(372)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(379)](e[i(313)]))if(e[i(313)][t][i(309)]){const n=e[i(313)][t][i(309)];n[i(293)]?(u[i(319)](t),l[i(350)](t)&&l[i(320)](t)[i(526)]==n[i(526)]?l[i(258)](t):l[i(307)](t,n)):l[i(350)](t)?(u[i(258)](t),l[i(258)](t)):(u[i(319)](t),l[i(307)](t,n))}else u[i(319)](t)}for(const t of u){const e=l[i(350)](t)&&!l[i(320)](t)[i(293)];let n=e?s[i(372)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(313)][t]){const n=e?o[i(313)][t][i(286)]:o[i(313)][t][i(361)];c[i(505)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(456)]={};for(const e of t[i(347)])a[i(307)](e.id,e);for(const e of u){const n=t[i(313)][e]?t[i(313)][e][i(227)]:"[]",r=t[i(313)][e]?t[i(313)][e][i(403)]:"[]";t[i(456)][e]={insertions:this[i(311)](n),deletions:this[i(311)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(310)](n[i(456)][t][i(227)][i(512)])[i(268)]((([t])=>!t[i(415)](i(436)))));let h=0;for(const o of s){const s=this[i(214)](o[i(456)][t][i(227)]);o==n?(e=s,r=e[i(372)],e[i(504)]((t=>{t.id=h++})),this[i(455)](e)):this[i(312)](e,s);const a=e[i(268)]((t=>!t[i(498)]))[i(273)]((t=>t.id));let c=0;const l=this[i(214)](o[i(456)][t][i(403)]);l[i(504)]((t=>{t[i(285)]?t.id=r++:t.id=a[c++]})),this[i(455)](l),this[i(474)](e,i(498)),this[i(474)](l,i(285)),o==n&&this[i(338)](e,u),e=this[i(230)](e,l),this[i(224)](e),this[i(474)](e,i(285))}e=e[i(268)]((t=>!(t[i(498)]&&t[i(285)])));const d=new Map(o[i(456)][t][i(403)][i(512)]),f=new Set(u[i(379)]());for(const t of d[i(379)]())f[i(258)](t);this[i(317)](e,f),this[i(457)](e),e=this[i(384)](e),e=this[i(284)](e),e=this[i(529)](e);const{root:m,changes:p}=this[i(323)](e,a,t);c[i(456)][t]=m;const v=l[i(320)](t);if(v){const e=a[i(320)](v[i(526)]),n=new ur({author:e,type:v[i(293)]?i(319):i(358),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(279)](n),c[i(505)][t][i(441)]=n.id}c[i(398)]=c[i(398)][i(528)](p)}return c}[yr(338)](t,e){const i=yr;for(let n=0;n<t[i(372)];n++)for(const[r,s]of e)s[i(340)][i(243)](t[n][i(333)])&&t[n][i(459)][i(430)](r),s[i(524)][i(243)](t[n][i(386)])&&t[n][i(247)][i(430)](r)}[yr(230)](t,e){const i=yr;let n=[],r=0,s=0;for(;r<t[i(372)]||s<e[i(372)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(430)](o);else if(a[i(285)]&&o[i(498)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(226)](t,r,e,s);n=n[i(528)](o),r=a,s=c}else a[i(285)]?(s++,n[i(430)](a)):(r++,n[i(430)](o))}return n}[yr(317)](t,e){const i=yr,n=[];for(let o=0;o<t[i(372)];o++){for(let s=0;s<t[o][i(459)][i(372)];s++){const a=t[o][i(459)][s];if(!e[i(350)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(353)!=c||i(334)!=u&&i(325)!=u||(n[i(279)]({type:u,name:a,userId:l}),t[o][i(459)][i(458)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(247)][i(372)];s++){const a=t[o][i(247)][s];if(!e[i(350)](a))continue;const{group:c,type:u}=r(a);if(i(353)!=c||i(334)!=u&&i(325)!=u)continue;t[o][i(247)][i(458)](s,1),s--;const l=n[i(476)]((t=>t[i(491)]==a));l>-1&&n[i(458)](l,1)}}function r(t){const e=i,n=t[e(290)](":");return{group:n[0],type:n[1],subType:n[e(372)]>=5?n[2]:null,id:n[e(372)]<5?n[2]:n[3],authorId:n[e(372)]<5?n[3]:n[4],markerCount:6==n[e(372)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(372)];i++){if(t[e(498)]&&e(334)==n[i][e(198)])return t[e(414)]=n[i],void delete t[e(498)];if(!t[e(498)]&&!t[e(285)]&&e(325)==n[i][e(198)])return void(t[e(299)]=n[i])}}}[yr(474)](t,e){const i=yr;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(307)](o.id,n);for(let n=0;n<t[i(372)];n++){if(i(285)==e&&t[n][i(498)]||i(498)==e&&t[n][i(285)])continue;if(i(421)==t[n][i(198)]){t[n][i(463)]=0;continue}const r=s[i(320)](t[n][i(371)]),o=s[i(320)](t[n].id);t[n][i(463)]=r-o}}[yr(341)](t,e,i=!1){const n=yr,r=[];let s=this[n(278)][n(527)](t),o=this[n(278)][n(527)](e);for(-1==o&&(o=this[n(278)][n(234)][n(372)],i=!1);s<o;)r[n(430)](this[n(278)][n(208)](s)),s++;return i&&r[n(430)](this[n(278)][n(208)](s)),r}[yr(226)](t,e,i,n){const r=yr,s=this[r(392)][r(456)][r(218)];let o=e;for(;t[o]&&t[o][r(498)];)o++;let a=n;for(;i[a]&&i[a][r(285)];)a++;u(t,e,o),u(i,n,a);const c=i[r(196)](n,a)[r(528)](t[r(196)](e,o));return c[r(495)](((t,e)=>t[r(391)]!=e[r(391)]?t[r(391)]-e[r(391)]:t[r(434)]!=e[r(434)]?t[r(434)]-e[r(434)]:t[r(463)]!=e[r(463)]?e[r(463)]-t[r(463)]:!!t[r(498)]!=!!e[r(498)]?-1==t[r(391)]||0==t[r(391)]?t[r(498)]?-1:1:t[r(498)]?1:-1:t[r(488)]-e[r(488)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(525)],c=!0;for(let r=e;r<i;r++)if(s[n(402)](t[r][n(205)])||(c=!1),t[r][n(205)][n(213)]<e&&(o=r),t[r][n(205)][n(327)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(391)]=r<=o?-1:r<a?0:1,t[r][n(488)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(463)]?t[i][n(434)]=u:(u++,t[i][n(434)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(391)]&&(t[r][n(434)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(463)]?t[e][n(434)]=u:(u--,t[e][n(434)]=u,u--)}}[yr(457)](t){const e=yr,i=new Map,n=this[e(392)][e(456)][e(218)];for(let r=1;r<t[e(372)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(421)==c[e(198)])continue;if(c[e(198)]!=u[e(198)])continue;if(!n[e(360)](u[e(205)])||n[e(535)](u[e(205)]))continue;if(!n[e(360)](c[e(205)])||n[e(535)](c[e(205)]))continue;if((t[r][e(498)]||t[r][e(414)])&&t[r-1][e(285)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(285)]||!t[r-1][e(498)]&&!t[r-1][e(414)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(434)]==o[e(434)],h=Math[e(357)](s[e(434)])<Math[e(357)](o[e(434)])&&0==o[e(463)];(l||h)&&(i[e(307)](o.id,s.id),t[e(458)](a,1),r--,s[e(498)]=!1)}for(let n=0;n<t[e(372)];n++)i[e(350)](t[n][e(371)])&&(t[n][e(371)]=i[e(320)](t[n][e(371)]))}[yr(384)](t){const e=yr,i=new Set(t[e(273)]((t=>t.id)));for(let n=0;n<t[e(372)];n++)i[e(350)](t[n][e(371)])||0==t[n][e(463)]||(t[n][e(229)]=!0);return t[e(268)]((t=>!t[e(229)]))}[yr(284)](t){const e=yr,i=new Set;for(let n=0;n<t[e(372)];n++){if(i[e(350)](t[n].id)&&t[n][e(285)]&&(t[n][e(229)]=!0),t[n][e(229)])continue;if(0==t[n][e(463)])continue;if(e(479)!=t[n][e(198)])continue;if(null==t[n][e(371)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(371)];)e(479)==t[r][e(198)]?s++:e(471)==t[r][e(198)]&&s--,r++;if(0!=s)if(t[n][e(285)])t[n][e(229)]=!0;else for(;r!=n;)t[r][e(285)]&&0!=t[r][e(463)]&&(t[r][e(229)]=!0,i[e(319)](t[r][e(371)])),r--}return t[e(268)]((t=>!t[e(229)]))}[yr(529)](t){const e=yr,i=this[e(392)][e(456)][e(218)];for(let n=0;n<t[e(372)];n++){if(!(t[n][e(498)]||t[n][e(414)]||t[n][e(285)]||t[n][e(299)]))continue;if(0==t[n][e(463)])continue;const r=t[n][e(205)];i[e(360)](r)||i[e(535)](r)||(t[n][e(498)]&&delete t[n][e(498)],t[n][e(414)]&&delete t[n][e(414)],t[n][e(299)]&&delete t[n][e(299)],t[n][e(285)]&&(t[n][e(229)]=!0))}return t[e(268)]((t=>!t[e(229)]))}[yr(323)](t,e,i){const n=yr,r=new Bi.DocumentFragment,s=[],o=new Map,a=this[n(392)][n(456)],c=a[n(218)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(372)];e++)if(n(479)===t[e][n(198)]){t[e][n(333)]=a[n(315)](r,f);const i=new Bi.Element(t[e][n(205)][n(491)],t[e][n(205)][n(233)]());u[0][n(339)](i),f[n(430)](0),u[n(279)](i),t[e][n(386)]=a[n(315)](r,f)}else n(471)===t[e][n(198)]?(u[n(201)](),t[e][n(333)]=a[n(315)](r,f),f[n(210)](),f[f[n(372)]-1]++,t[e][n(386)]=a[n(315)](r,f)):(t[e][n(333)]=a[n(315)](r,f),d?d[n(406)]+=t[e][n(205)][n(472)]:d=new Bi.Text(t[e][n(205)][n(472)],t[e][n(205)][n(233)]()),t[e+1]&&n(421)===t[e+1][n(198)]&&v(d,t[e+1][n(205)])||(u[0][n(339)](d),d=null),f[f[n(372)]-1]+=t[e][n(205)][n(460)],t[e][n(386)]=a[n(315)](r,f));for(let e=0;e<t[n(372)];e++){const i=t[e][n(333)],r=t[e][n(386)];for(const r of t[e][n(459)])o[n(307)](r,{start:i,end:null});m(n(299),e,i,r),m(n(414),e,i,r),m(n(285),e,i,r),m(n(498),e,i,r);for(const i of t[e][n(247)])o[n(320)](i)[n(524)]=r}for(const[t,e]of o){const i=this[n(392)][n(456)][n(521)](e[n(340)],e[n(524)]);r[n(512)][n(307)](t,i)}return s[n(495)](((t,e)=>{const i=n,s=r[i(512)][i(320)](i(436)+t.id),o=r[i(512)][i(320)](i(436)+e.id);return s[i(340)][i(331)](o[i(340)])?-1:s[i(340)][i(329)](o[i(340)])?1:s[i(524)][i(331)](o[i(524)])?-1:s[i(524)][i(329)](o[i(524)])?1:i(319)===t[i(198)]?-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(526)]:null,d=i===t[o(372)]-1,f=h[e][0],m=c[o(410)](t[i][o(205)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(524)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(526)]!==u&&(l[e][o(524)]=r,f&&f[o(526)]===l[e][o(526)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(479)!==t[i][o(198)]||f&&f[o(526)]===u||h[e][o(279)]({userId:u,object:t[i][o(205)],change:l[e]}),o(471)===t[i][o(198)]&&f&&f[o(501)]===t[i][o(205)]&&(h[e][o(201)](),l[e]=f[o(509)])),l[e]&&d&&(l[e][o(524)]=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(205)],f=a[h(218)][h(360)](d)&&!a[h(218)][h(535)](d),m=t[h(496)]==o[h(336)]&&o[h(296)];if(f&&m)return;const p=a[h(521)](t,o),v=e[h(320)](u),y=new ur({author:v,type:h(498)==l||h(414)==l?h(319):h(358),data:{isSuggestion:h(414)==l||h(299)==l},createdAt:new Date,rootName:i});s[h(430)](y),r[h(512)][h(307)](h(436)+y.id,p)}function v(t,e){const i=n,r=t[i(233)](),s=e[i(233)]();for(const t of r){if(t[1]!==e[i(202)](t[0]))return!1;s[i(493)]()}return s[i(493)]()[i(222)]}}[yr(314)](){const t=yr;this[t(392)][t(223)][t(269)](t(260))[t(254)]({view:t(484)}),this[t(392)][t(223)][t(269)](t(264))[t(530)]({model:t(484),view:e=>{const i=t,n=e[i(342)][i(290)](":")[1],r=this[i(209)](n);if(!r)return null;const s=i(319)==r[i(198)]?i(334):i(325),o=[i(507),i(382)+s];return r[i(472)][i(248)]&&o[i(430)](i(382)+s+i(433)),this[i(250)]==r&&o[i(430)](i(282)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(392)][t(223)][t(269)](t(260))[t(319)]((e=>{const i=t;e.on(i(397),((t,e,n)=>{const r=i,s=e[r(271)][r(370)](0);if(!s||!s.is(r(469),r(318)))return;if(!n[r(443)][r(478)](s,{attributes:[r(364),r(225)]}))return;const o=e[r(438)][r(340)][r(496)];n[r(266)][r(240)](r(364),s[r(202)](r(364)),o),n[r(266)][r(240)](r(225),s[r(202)](r(225)),o)}),{priority:i(221)})})),this[t(392)][t(223)][t(269)](t(260))[t(319)]((e=>{const i=t;e.on(i(469),((t,e,n)=>{const r=i;if(!n[r(443)][r(478)](e[r(271)],{attributes:[r(364),r(225)]}))return;if(e[r(438)][r(408)])return;const s=e[r(438)][r(340)][r(496)];s[r(520)](r(364))||s[r(520)](r(473))||(n[r(266)][r(240)](r(364),e[r(271)][r(202)](r(364)),s),n[r(266)][r(240)](r(225),e[r(271)][r(202)](r(225)),s))}),{priority:i(221)})})),this[t(392)][t(223)][t(269)](t(260))[t(265)]({view:{name:t(295),attributes:{vid:!0}},model:{key:t(473),value:e=>e[t(202)](t(473))}}),this[t(392)][t(456)][t(218)].on(t(427),((e,[,i])=>{const n=t;[n(364),n(225),n(473)][n(400)](i)&&(e[n(241)]=!0,e[n(444)]())}),{priority:t(348)}),this[t(392)][t(223)][t(269)](t(242))[t(319)]((e=>{const i=t;e.on(i(401),((t,e,n)=>{const r=i;if(" "!=e[r(205)][r(472)]||e[r(205)][r(336)][r(393)]>1)return;if(!n[r(443)][r(478)](e[r(205)],t[r(491)]))return;const s=n[r(266)],o=n[r(232)][r(515)](e[r(352)]);s[r(531)](o,s[r(215)](r(295)))}))})),this[t(392)][t(223)][t(269)](t(242))[t(396)]({model:t(484)}),this[t(392)][t(482)][t(302)].on(t(200),function(e){const i=t,n=e[i(404)][i(320)](i(332));return(t,r,s)=>{const o=i,a=r[o(342)][o(290)](":")[1],c=n[o(209)](a);if(!c)return null;const u=o(319)==c[o(198)]?o(290):o(452);if(!s[o(443)][o(274)](r[o(464)],t[o(491)]))return;const l=r[o(464)][o(216)](),h=r[o(464)][o(340)],d=e[o(456)][o(218)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(205)];p=p||d[o(461)](e);const i=s[o(232)][o(506)](e);if(i&&i[o(462)](o(276)))return;o(471)==t[o(198)]&&d[o(360)](e)&&!d[o(535)](e)&&(e[o(387)]||h[o(378)]?f&&f[o(336)]==e||(f=e,y(t[o(333)]),v=!0):m=m||t[o(333)])}function y(t){const e=o,i=s[e(266)][e(470)](e(295),{class:e(382)+u}),a=s[e(232)][e(365)](t);c[e(472)][e(248)]&&s[e(266)][e(503)](e(382)+u+e(433),i),n[e(250)]==c&&s[e(266)][e(503)](e(282),i),s[e(266)][e(231)](a,i),s[e(232)][e(422)](i,r[e(342)])}p||v||!m||y(m)}}(this[t(392)]),{priority:t(450)}),this[t(392)][t(482)][t(302)].on(t(411),((e,i,n)=>{const r=t,s=n[r(232)][r(480)](i[r(342)]);if(s)for(const t of s)(t[r(481)](r(389))||t[r(481)](r(255)))&&(n[r(232)][r(451)](t,i[r(342)]),n[r(266)][r(358)](t))}),{priority:t(450)}),this[t(392)][t(482)][t(302)].on(t(200),((e,i,n)=>{const r=t,s=i[r(342)][r(290)](":")[1],o=this[r(209)](s);if(!o)return null;const a=r(319)==o[r(198)]?r(290):r(452);if(n[r(443)][r(274)](i[r(464)],e[r(491)]))for(const t of i[r(464)][r(383)]()){if(!t.is(r(469),r(385)))continue;const e=n[r(266)][r(470)](r(295),{class:r(382)+a}),s=n[r(232)][r(365)](this[r(392)][r(456)][r(321)](t));o[r(472)][r(248)]&&n[r(266)][r(503)](r(382)+a+r(433),e),this[r(250)]==o&&n[r(266)][r(503)](r(282),e),n[r(266)][r(231)](s,e),n[r(232)][r(422)](e,i[r(342)])}}),{priority:t(450)}),this[t(392)][t(456)][t(244)].on(t(509),(()=>{const e=t;this[e(392)][e(482)][e(219)][e(509)]((t=>{const i=e;for(const e of this[i(392)][i(456)][i(244)][i(454)]()){const n=this[i(392)][i(456)][i(244)][i(465)](e),r=this[i(392)][i(482)][i(219)][i(244)][i(465)](e);if(r){const e=n[i(202)](i(441));if(t[i(419)](i(306),r),t[i(416)](i(291),r),t[i(416)](i(343),r),t[i(416)](i(270),r),e){const n=this[i(209)](e);if(!n)return null;t[i(240)](i(306),e,r),t[i(503)](i(351)+n[i(198)],r),this[i(250)]==n&&t[i(503)](i(270),r)}}}}))})),this[t(392)][t(223)][t(269)](t(260))[t(254)]({view:t(409),model:e=>t(502)+e,converterPriority:t(348)}),this[t(392)][t(223)][t(269)](t(260))[t(254)]({view:t(253),model:e=>t(373)+e,converterPriority:t(348)}),this[t(392)][t(223)][t(269)](t(242))[t(396)]({model:t(353),view:e=>({name:t(417)+e,group:t(353)}),converterPriority:t(348)}),this[t(392)][t(223)][t(269)](t(264))[t(530)]({model:t(353),view:e=>{const i=t,n=e[i(342)][i(290)](":")[1];return i(334)!=n&&i(325)!=n?null:{classes:[i(297),i(283)+n]}}}),this[t(392)][t(482)][t(302)].on(t(345),wr(this[t(392)],t(452)),{priority:t(450)}),this[t(392)][t(482)][t(302)].on(t(246),wr(this[t(392)],t(290)),{priority:t(450)}),this[t(392)][t(482)][t(302)].on(t(375),((e,i,n)=>{const r=t,s=n[r(232)][r(480)](i[r(342)]);if(s)for(const t of s)t.is(r(420))&&(n[r(232)][r(451)](t,i[r(342)]),n[r(266)][r(358)](t))}),{priority:t(450)})}[yr(209)](t){const e=yr;return this[e(195)][e(320)](t)}[yr(275)](t){const e=yr;return this[e(431)]&&this[e(431)][e(519)](),this[e(431)]=new sr(this[e(392)][e(447)],t),this[e(431)]}[yr(328)](){const t=yr;this[t(392)][t(456)][t(244)][t(489)][t(428)](t(484)),this.on(t(324),((e,i,n,r)=>{const s=t;r&&this[s(238)][s(358)](r),n&&(this[s(238)][s(319)]({view:n,stackId:s(510),position:{target:()=>{const t=s,e=this[t(392)][t(482)],i=this[t(209)](n[t(483)]);let r;if(i[t(472)][t(377)]){const n=e[t(219)][t(437)](i[t(366)]);r=Array[t(310)](n[t(356)]())}else{const i=this[t(392)][t(456)][t(512)][t(320)](t(436)+n[t(483)]);r=Array[t(310)](e[t(232)][t(480)](i[t(491)]))[t(273)]((i=>e[t(219)][t(335)][t(413)](i)))[t(273)]((e=>Array[t(310)](e[t(356)]())))[t(380)]()}return this[t(394)]&&r[t(211)]((e=>e[t(203)]-3<=this[t(394)].y&&e[t(287)]+3>=this[t(394)].y&&e[t(439)]-3<=this[t(394)].x&&e[t(467)]+3>=this[t(394)].x))||r[0]}}}),this[s(238)][s(217)](s(510)))})),this.on(t(330),((e,i,n,r)=>{const s=t;this[s(523)]=n?this[s(275)](n):null,this[s(392)][s(456)][s(509)]((()=>{const t=s,e=this[t(392)][t(482)];r&&(r[t(472)][t(377)]?e[t(219)][t(509)]((i=>{const n=t;i[n(416)](n(270),e[n(219)][n(244)][n(465)](r[n(366)]))})):e[t(355)](t(436)+r.id)),n&&(n[t(472)][t(377)]?e[t(219)][t(509)]((i=>{const r=t;i[r(503)](r(270),e[r(219)][r(244)][r(465)](n[r(366)]))})):e[t(355)](t(436)+n.id))}))})),this[t(326)](this[t(392)][t(482)][t(219)][t(244)],t(490),((e,i)=>{const n=t;if(this[n(250)])return;const r=this[n(245)](i[n(257)]),s=this[n(195)][n(320)](r);s?(this[n(394)]={x:i[n(453)].x,y:i[n(453)].y},this[n(523)]=this[n(275)](s)):(this[n(394)]=null,this[n(523)]=null)})),this[t(326)](this[t(392)][t(482)][t(219)][t(244)],t(517),((e,i)=>{const n=t,r=this[n(245)](i[n(257)]),s=this[n(195)][n(320)](r);s?(this[n(394)]={x:i[n(453)].x,y:i[n(453)].y},s===this[n(250)]?this[n(238)][n(228)]():this[n(250)]=s):(this[n(394)]=null,this[n(250)]=null)}))}[yr(245)](t){const e=yr;do{const i=t[e(202)](e(306));if(i)return i;t=t[e(336)]}while(t);return null}[yr(435)](){const t=yr;this[t(392)][t(456)][t(509)]((e=>{const i=t;for(const t of this[i(392)][i(456)][i(512)])e[i(252)](t)}))}}function wr(t,e){return(i,n,r)=>{const s=gr;if(!r[s(443)][s(274)](n[s(464)],i[s(491)]))return;const o=n[s(464)][s(216)](),a=n[s(464)][s(340)],c=t[s(456)][s(218)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(205)];h=h||c[s(461)](e);const i=r[s(232)][s(506)](e);if(i&&i[s(462)](s(276)))return;s(471)==t[s(198)]&&c[s(360)](e)&&!c[s(535)](e)&&(e[s(387)]||a[s(378)]?u&&u[s(336)]==e||(u=e,f(t[s(333)]),d=!0):l=l||t[s(333)])}function f(t){const i=s,o=r[i(232)][i(365)](t),a=r[i(266)][i(470)](i(295),{class:i(283)+e});r[i(266)][i(231)](o,a),r[i(232)][i(422)](a,n[i(342)])}h||d||!l||f(l)}}class _r extends qi.Command{constructor(t){const e=yr;super(t);const i=t[e(404)][e(320)](br);this[e(239)]=!1,this[e(326)](i,e(359),(()=>this[e(362)]())),this[e(326)](i,e(262),(()=>this[e(362)]()))}[yr(294)](){const t=yr,e=this[t(392)],i=e[t(404)][t(320)](br),n=i[t(499)]?i[t(322)][t(316)]:null;e[t(440)][t(320)](t(288))[t(300)](n)}[yr(362)](){const t=yr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(392)][t(404)][t(320)](br),s=r&&n[t(399)](r[t(316)]);this[t(425)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=yr;super(t);const n=t[i(404)][i(320)](br);this[i(239)]=!1,this[i(513)]=i(280)===e?1:-1,this[i(326)](n,i(359),(()=>this[i(362)]())),this[i(326)](n,i(262),(()=>this[i(362)]())),this[i(326)](n,i(330),(()=>this[i(362)]()))}[yr(294)](){const e=yr,i=this[e(392)],n=i[e(404)][e(320)](br),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(250)]=r?n[e(322)][e(398)][e(320)](s+this[e(513)]):n[e(322)][e(398)][e(367)],n[e(250)][e(472)][e(377)])o=i[e(482)][e(219)][e(437)](n[e(250)][e(366)]);else{const t=i[e(456)][e(512)][e(320)](e(436)+n[e(250)].id);o=(0,Yi.getMarkerDomElement)(i[e(482)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[yr(362)](){const t=yr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(392)][t(404)][t(320)](br);this[t(425)]=!!(s&&r&&n)&&(!e||(1===this[t(513)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Pn().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Zn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(){const t=["4Luvtsj","isBackwardNavigationEnabled","ck-hidden","numberOfChanges","10192770eQThNJ","setTemplate","isNavigationMode","2308925FeUHUs","4155591yVrFWr","Show previous change","ck-revision-history-ui","execute","1928YdMLRa","div","bindTemplate","backward","Loading...","EDIT_X_OF_Y_REVISIONS","forward","isForwardNavigationEnabled","isReady","_statusText","currentChangeNumber","93DSwpxs","set","No changes","9354268DKtMBq","ck-revision-history-ui__changes-navigation__navigation","X_OF_Y_CHANGES","NUMBER_OF_CHANGES","Show next change","bind","fire","3433308rxWzQB","32510ZPdHpM","24210SdKjHI","isEnabled","ck-revision-history-ui__changes-navigation__wrapper","span","Total","ck-revision-history-ui__changes-navigation","ck-revision-history-ui__changes-navigation__label","_isStatusLabelVisible"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=424]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(829278===-parseInt(e(454))/1*(-parseInt(e(465))/2)+-parseInt(e(439))/3+-parseInt(e(431))/4*(-parseInt(e(438))/5)+parseInt(e(464))/6+parseInt(e(457))/7+-parseInt(e(443))/8*(parseInt(e(466))/9)+-parseInt(e(435))/10)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(445)],n=new En.ButtonView(t),r=new En.ButtonView(t);this[e(455)](e(437),!1),this[e(455)](e(451),!1),this[e(455)](e(453),0),this[e(455)](e(434),0),this[e(455)](e(450),!1),this[e(455)](e(432),!1),this[e(462)](e(430)).to(this,e(451),this,e(434),((t,e)=>t&&e>0)),this[e(462)](e(452)).to(this,e(451),this,e(453),this,e(434),this,e(437),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(447));if(!r)return Qi(t,o(456));const a=Qi(t,o(460),r);return s?Qi(t,o(459),[n+1,r]):a})),n[e(455)]({label:Qi(t,e(440)),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(455)]({label:Qi(t,e(461)),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(462)](e(424)).to(this,e(432)),r[e(462)](e(424)).to(this,e(450)),n.on(e(442),(()=>this[e(463)](e(442),e(446)))),r.on(e(442),(()=>this[e(463)](e(442),e(449)))),this[e(436)]({tag:e(444),attributes:{class:["ck",e(441),e(428)]},children:[{tag:e(426),attributes:{class:[e(425)]},children:[{tag:e(426),attributes:{class:[e(429),i.if(e(430),e(433),(t=>!t))]},children:[{text:i.to(e(437),(i=>i?Qi(t,e(448))+": ":Qi(t,e(427))+": "))}]},{text:i.to(e(452))}]},new En.ToolbarSeparatorView,{tag:e(444),attributes:{class:[e(458)]},children:[n,r]}]})}}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Pn().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;function Mr(t,e){const i=Er();return(Mr=function(t,e){return i[t-=213]})(t,e)}const Vr=Mr;function Er(){const t=["178011hKMmVo","isPremiumPlugin","726LKuyiz","editor","RevisionViewerLoadingOverlay","522075XcphPy","728NdFVAs","2148147wrOeNd","show","removeClass","2293118EiAONu","view","242667ldxAuc","ck-editor__editable__loading-overlay","addClass","20153WtWCnp","pluginName","editing","isOfficialPlugin","roots","document","hide","change","4556968fuXAUK"];return(Er=function(){return t})()}!function(t){const e=Mr,i=t();for(;;)try{if(991854===parseInt(e(215))/1+parseInt(e(213))/2+parseInt(e(234))/3+parseInt(e(226))/4+-parseInt(e(232))/5+parseInt(e(229))/6*(-parseInt(e(218))/7)+-parseInt(e(233))/8*(parseInt(e(227))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Er);const Dr=Vr(216);class Cr extends qi.Plugin{static get[Vr(219)](){return Vr(231)}static get[Vr(221)](){return!0}static get[Vr(228)](){return!0}[Vr(235)](){const t=Vr,e=this[t(230)][t(220)][t(214)];e[t(225)]((i=>{const n=t;for(const t of e[n(223)][n(222)])i[n(217)](Dr,t)}))}[Vr(224)](){const t=Vr,e=this[t(230)][t(220)][t(214)];e[t(225)]((i=>{const n=t;for(const t of e[n(223)][n(222)])i[n(236)](Dr,t)}))}}const jr=Lr;function Fr(){const t=["componentFactory","835HHpEhI","init","ck-revision-history-ui__back-to-editing","change:isReady","set","show","54558DFBcha","execute","isNavigationMode","297644TxFLNU","showNextChange","undo","forward","changesNavigation","bind","currentChangeNumber","isForwardNavigationEnabled","isEnabled","3445029oIedZx","1154001AWnOsT","Back to editing","isPremiumPlugin","pluginName","commands","Restore this revision","3637498lCskzk","2099184hGsXVY","plugins","5513648jUSLJT","showPreviousChange","isOfficialPlugin","50FZgRbg","isReady","add","restoreRevision","get","requires","revisionHistory","numberOfChanges","exitToEditing","isBackwardNavigationEnabled","listenTo","RevisionViewerUI","21LkUeHK","hide","config","editor","closeRevisionViewerCallback"];return(Fr=function(){return t})()}function Lr(t,e){const i=Fr();return(Lr=function(t,e){return i[t-=272]})(t,e)}!function(t){const e=Lr,i=t();for(;;)try{if(988871===-parseInt(e(317))/1+-parseInt(e(274))/2+-parseInt(e(292))/3*(parseInt(e(307))/4)+parseInt(e(298))/5*(parseInt(e(304))/6)+parseInt(e(277))/7+parseInt(e(275))/8+-parseInt(e(316))/9*(-parseInt(e(280))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fr);class Pr extends qi.Plugin{static get[jr(320)](){return jr(291)}static get[jr(279)](){return!0}static get[jr(319)](){return!0}static get[jr(285)](){return[br,Cr]}[jr(299)](){const t=jr,e=this[t(295)],i=e[t(276)][t(284)](br),n=e[t(276)][t(284)](Cr);e.ui[t(297)][t(282)](t(288),(i=>{const n=t,r=new En.ButtonView(i);return r[n(302)]({label:Qi(i,n(318)),icon:qi.icons[n(309)],withText:!0,tooltip:!0,class:n(300)}),this[n(290)](r,n(305),(()=>{const t=n;e[t(294)][t(284)](t(286))[t(296)]()})),r})),e.ui[t(297)][t(282)](t(283),(i=>{const n=t,r=new En.ButtonView(i);return r[n(302)]({label:Qi(i,n(273)),withText:!0,tooltip:!0}),r[n(312)](n(315)).to(e[n(272)][n(284)](n(283))),this[n(290)](r,n(305),(()=>e[n(305)](n(283)))),r})),e.ui[t(297)][t(282)](t(311),(n=>{const r=t,s=new Nr(n),o=e[r(272)][r(284)](r(278)),a=e[r(272)][r(284)](r(308));return s[r(312)](r(289)).to(o,r(315)),s[r(312)](r(314)).to(a,r(315)),s[r(312)](r(281),r(313),r(287),r(306)).to(i),this[r(290)](s,r(305),((t,i)=>{const n=r;e[n(305)](n(310)===i?n(308):n(278))})),s})),n[t(303)](),i.on(t(301),((e,i,r)=>{const s=t;r?n[s(293)]():n[s(303)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Pn().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Zn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Ur=Zr;function Zr(t,e){const i=Hr();return(Zr=function(t,e){return i[t-=277]})(t,e)}!function(t){const e=Zr,i=t();for(;;)try{if(306960===-parseInt(e(291))/1+parseInt(e(305))/2*(-parseInt(e(282))/3)+parseInt(e(278))/4+-parseInt(e(281))/5*(parseInt(e(290))/6)+parseInt(e(303))/7+parseInt(e(287))/8*(parseInt(e(288))/9)+-parseInt(e(297))/10)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(298)]=null;const n=this[i(295)];this[i(280)]({label:Qi(t,i(279)),_tooltipString:""}),this[i(283)][i(306)]=Qi(t,i(293)),this[i(302)]({tag:i(285),attributes:{class:[i(284)],"data-cke-tooltip-text":n.to(i(296)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(301)}})}[Ur(299)](){const e=Ur;super[e(299)](),this[e(298)]=new t.ResizeObserver(this[e(283)][e(277)],(()=>this[e(300)]())),this[e(286)](this[e(283)],e(292),(()=>this[e(300)]()))}[Ur(294)](){const t=Ur;super[t(294)](),this[t(298)]&&this[t(298)][t(294)]()}[Ur(300)](){const t=Ur,e=this[t(283)][t(277)];this[t(296)]=e[t(307)]>e[t(304)]&&e[t(289)]||""}}function Hr(){const t=["fieldView","ck-revision-history-sidebar__revision-name","span","listenTo","3334808uoDmyg","9hJwMxP","value","6FHRnyi","231875fTOmqp","input","Enter the revision name","destroy","bindTemplate","_tooltipString","1211610ycNQdt","_resizeObserver","render","_updateTooltipText","ck-tooltip_multi-line","extendTemplate","3070760XrsfWm","clientWidth","12QCcELn","placeholder","scrollWidth","element","1894300pTscry","Revision name","set","367600AgtlGh","297795pgyOXd"];return(Hr=function(){return t})()}var qr=i(249),Yr={attributes:{"data-cke":!0}};Yr.setAttributes=Wn(),Yr.insert=Pn().bind(null,"head"),Yr.domAPI=Fn(),Yr.insertStyleElement=Zn();Cn()(qr.A,Yr);qr.A&&qr.A.locals&&qr.A.locals;function Br(){const t=["name","327895FyjOLy","Revision author","ck-revision-history-sidebar__revision-author_creator","1242684zMZrfR","10aGEJLt","11907612FuKAvg","68173rKFbcR","Revision creator","ck-revision-history-sidebar__revision-author__name","1024VxDdXj","494849pbDVsd","push","150NxneeX","0 0 11 10","ck-revision-history-sidebar__revision-author","setTemplate","span","84380zuVvkU","7381055UVMYiB","6eVWIdg","set"];return(Br=function(){return t})()}function Jr(t,e){const i=Br();return(Jr=function(t,e){return i[t-=425]})(t,e)}!function(t){const e=Jr,i=t();for(;;)try{if(782991===parseInt(e(433))/1+-parseInt(e(426))/2+parseInt(e(435))/3*(-parseInt(e(440))/4)+parseInt(e(445))/5*(parseInt(e(442))/6)+-parseInt(e(429))/7*(-parseInt(e(432))/8)+-parseInt(e(428))/9*(-parseInt(e(427))/10)+-parseInt(e(441))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Br);class Gr extends En.View{constructor(t,e,i){const n=Jr;super(t);const r=new En.IconView;r[n(443)]({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(436)});const s=["ck",n(437)];i&&s[n(434)](n(425));const o=[{tag:n(439),attributes:{class:["ck",n(431)],title:Qi(t,n(i?430:446))},children:[r,e[n(444)]]}];this[n(438)]({tag:"li",attributes:{class:s},children:o})}}function Kr(t,e){var i=Xr();return(Kr=function(t,e){return i[t-=311]})(t,e)}function Xr(){var t=["toLocaleDateString","368112XCjSLg","8dlMofS","toLocaleTimeString","numeric","long","7bARycu","3277780GAvvkK","2831072HXwbIu","3141486JlxdgF","3648969Zbdswf","5889234Wpcnmm","271415tSPWzs"];return(Xr=function(){return t})()}!function(t){for(var e=Kr,i=t();;)try{if(620794===-parseInt(e(317))/1*(-parseInt(e(320))/2)+-parseInt(e(314))/3+parseInt(e(313))/4+-parseInt(e(312))/5+-parseInt(e(316))/6*(-parseInt(e(311))/7)+-parseInt(e(319))/8+-parseInt(e(315))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xr);var Qr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Pn().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Zn();Cn()(Qr.A,ts);Qr.A&&Qr.A.locals&&Qr.A.locals;function es(){const t=["Compare against selected","178053rLKQMD","listenTo","19TtWlNu","1052664wtSnWm","add","threeVerticalDots","panelPosition","2128462kgaREm","isActionsDropdownOpen","stopPropagation","menuitem","ck-on","children","_action","execute","21222KDfCzf","bindTemplate","class","extendTemplate","2227482GdonzN","6eVGutt","source","first","Restore this revision","function","1616435yDgVzJ","isOpen","Show more items","locale","isVisible","set","isEnabled","change:isActionsDropdownOpen","isReady","166936FJxyCX","ck-revision-history-sidebar__revision__actions","button","model","name","listView","buttonView","find","map","action","bind","Name this revision","menu","items"];return(es=function(){return t})()}function is(t,e){const i=es();return(is=function(t,e){return i[t-=450]})(t,e)}!function(t){const e=is,i=t();for(;;)try{if(166678===-parseInt(e(461))/1*(-parseInt(e(474))/2)+-parseInt(e(459))/3+-parseInt(e(462))/4+parseInt(e(484))/5+-parseInt(e(479))/6*(parseInt(e(466))/7)+parseInt(e(493))/8+parseInt(e(478))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(es);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Pn().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Zn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=as;function os(){const t=["_requireRevisionName","705947iVYcvY","map","9528200FZqsft","uiLanguage","ck-revision-history-sidebar__revision","4303596IRTsZZ","from","9oHXptb","ck-revision-history-sidebar__actions_dropdown_open","createdAt","revisionActionsView","value","extendTemplate","fieldView","isActionsDropdownOpen","220","set","isConfirm","ck-revision-history-sidebar__revision__controls-wrapper","revisionNameView","fire","191800CnIUkY","select","creator","setTemplate",".ck-thread__remove-confirm","136930gFAUQY","ck-reset","_createdAtFormatted","listenTo","srcElement","_revision","isHighlighted","filter","div","render","setName","bind","isSelected","2015965zCpaWZ","span","unshift","closest","isEnabled","130364TVWtKl","ck-revision-history-sidebar__revision-authors","bindTemplate","ck-revision-history-sidebar__revision_highlighted","change","isReady","unhighlight","288eFEDei","2wklhkV","ck-revision-history-sidebar__revision-wrapper","deselect","name","highlight","ck-revision-history-sidebar__revision_selected","ck-disabled","element","authors","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","length","133iccqqy","ck-revision-history-sidebar__revision__date"];return(os=function(){return t})()}function as(t,e){const i=os();return(as=function(t,e){return i[t-=148]})(t,e)}!function(t){const e=as,i=t();for(;;)try{if(371264===parseInt(e(149))/1*(parseInt(e(201))/2)+-parseInt(e(156))/3*(parseInt(e(193))/4)+-parseInt(e(188))/5+-parseInt(e(154))/6+parseInt(e(212))/7*(parseInt(e(170))/8)+parseInt(e(200))/9*(-parseInt(e(175))/10)+parseInt(e(151))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(os);class cs extends((0,Yi.ConfirmMixin)(En.View)){constructor(e,i,n,r){const s=as;super(e);const o=this[s(195)],a=function(t,e){const i=s,n=Array[i(155)](e[i(209)])[i(182)]((t=>t!=e[i(172)]));return e[i(172)]&&n[i(190)](e[i(172)]),n[i(150)]((n=>new Gr(t,n,n==e[i(172)])))}(e,i);this.id=i.id,this[s(180)]=i,this[s(148)]=r,this[s(186)](s(204),s(158)).to(i),this[s(186)](s(177)).to(this,s(158),(t=>{return i=e[s(152)],(n=t)[(r=Kr)(318)](i,{month:r(323),day:r(322)})+", "+n[r(321)](i,{hour:r(322),minute:r(322)});var i,n,r})),this[s(165)](s(187),!1),this[s(165)](s(181),!1),this[s(165)](s(163),!1),this[s(165)](s(198),!1),this[s(165)](s(192),!1),this[s(168)]=new $r(e,En.createLabeledInputText),this[s(168)][s(162)][s(161)]({attributes:{maxlength:s(164)}}),this[s(168)][s(162)][s(186)](s(160)).to(this,s(204),(t=>t||this[s(177)])),this[s(168)][s(186)](s(192)).to(this,s(187),this,s(192),((t,e)=>t&&e)),this[s(159)]=n&&n[s(211)]?function(e,i){const n=is,r=e[n(475)],s=e[n(487)],o=(0,En.createDropdown)(s);o[n(465)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=is,n=t[i(487)],r={"Compare against selected":Qi(n,i(458)),"Name this revision":Qi(n,i(455)),"Restore this revision":Qi(n,i(482))};return e[i(452)]((t=>{const e=i,n=r[t[e(497)]];return n&&n!==t[e(497)]&&(t[e(497)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(495),model:new En.ViewModel({label:t[r(497)],class:t[r(476)],withText:!0,role:r(469),_action:t[r(453)]})};i[r(496)][r(454)](r(490)).to(e,r(467),(i=>r(483)!=typeof t[r(490)]||!i||t[r(490)](e))),o[r(463)](i)}return o}(e,i);return e[n(454)](n(467)).to(o,n(485)),o[n(450)][n(489)]({label:Qi(s,n(486)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(464)]}),o[n(477)]({attributes:{class:[n(494),r.if(n(467),n(470))]},on:{click:r.to((t=>t[n(468)]()))}}),o.on(n(473),(t=>{const i=n;e[i(492)]&&i(483)==typeof t[i(480)][i(472)]&&t[i(480)][i(472)](e)})),(0,En.addListToDropdown)(o,a,{role:n(456)}),o[n(460)](e,n(491),((t,r,s)=>{const a=n;if(s)for(const t of o[a(498)][a(457)]){const n=t[a(471)][a(481)],r=i[a(451)]((t=>t[a(453)]===n[a(472)]))[a(488)];t[a(488)]=void 0===r||r(e)}})),o}(this,n):"",this[s(159)]&&this[s(159)][s(186)](s(192)).to(this),this[s(173)]({tag:s(183),attributes:{class:["ck",s(176),s(202),o.if(s(166),s(210))]},children:[{tag:s(183),attributes:{class:["ck",s(176),s(153),o.if(s(192),s(207),(t=>!t)),o.if(s(187),s(206)),o.if(s(181),s(196)),o.if(s(163),s(157))]},children:[this[s(168)],{tag:s(189),attributes:{class:["ck",s(213)]},children:[{text:o.to(s(177))}]},{tag:s(183),attributes:{class:["ck",s(167)]},children:[{tag:"ul",attributes:{class:["ck",s(194)]},children:a}]},this[s(159)]],on:{click:o.to((t=>{const e=s;t[e(179)][e(191)](e(174))||this[e(198)]&&this[e(192)]&&this[e(169)](e(171),{id:this.id})}))}}]})}[ss(184)](){const t=ss;super[t(184)]();const e=this[t(168)][t(162)][t(208)];this[t(178)](e,t(197),(()=>{const i=t;this[i(148)]&&!e[i(160)]||this[i(169)](i(185),{id:this.id,name:e[i(160)]}),e[i(160)]||(e[i(160)]=this[i(204)]?this[i(204)]:this[i(177)])}))}[ss(171)](){this[ss(187)]=!0}[ss(203)](){this[ss(187)]=!1}[ss(205)](){this[ss(181)]=!0}[ss(199)](){this[ss(181)]=!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 Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Zs=null;class $s extends Us{static get instance(){return null===Zs&&(Zs=new $s),Zs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Hs={};const qs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ys={};class Bs extends Us{static create(t){return Ys[t]||(Ys[t]=new Bs(t)),Ys[t]}static resetCache(){Ys={},Hs={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Bs.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,Hs[n]||(Hs[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Hs[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let 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&&Bs.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||n,this.dtf=Ks(e,r)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class so{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ho()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Qs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Qs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||xo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||xo.defaultNumberingSystem,c=i||xo.defaultOutputCalendar,u=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 Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class lo extends Us{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?$s.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Bs.create(t)}return Zo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,$s.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return Oo}static set defaultWeekSettings(t){Oo=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(),Bs.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(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function zo(t){const e=$o(t.year),i=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 Uo(t){return void 0===t}function Zo(t){return"number"==typeof t}function $o(t){return"number"==typeof t&&t%1==0}function Ho(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Yo(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 Bo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Jo(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Go(t.firstDay,1,7)||!Go(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Go(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Go(t,e,i){return $o(t)&&t>=e&&t<=i}function Ko(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Xo(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Qo(t){return Uo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Uo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function oa(t,e,i){return-Do(Mo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Bo(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"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function $a(t,e,i){const n=t[e];return Uo(n)?i:Xo(n)}function Ha(t,e){return[{hours:$a(t,e,0),minutes:$a(t,e+1,0),seconds:$a(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function qa(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ya(t,e){return[{},t[e]?Bs.create(t[e]):null,e+1]}const Ba=RegExp(`^T?${Fa.source}$`),Ja=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ga(t){const[e,i,n,r,s,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Qo(i)),months:d(Qo(n)),weeks:d(Qo(r)),days:d(Qo(s)),hours:d(Qo(o)),minutes:d(Qo(a)),seconds:d(Qo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Xa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Xo(e)):Xo(e),month:va.indexOf(i)+1,day:Xo(n),hour:Xo(r),minute:Xo(s)};return o&&(a.second=Xo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Qa=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Xa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ic=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,nc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function rc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Va(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Pa),ac=Va(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Pa),cc=Va(/(\d{4})-?(\d{3})/,Pa),uc=Va(La),lc=Ea((function(t,e){return[{year:$a(t,e),month:$a(t,e+1,1),day:$a(t,e+2,1)},null,e+3]}),Ha,qa,Ya),hc=Ea(za,Ha,qa,Ya),dc=Ea(Wa,Ha,qa,Ya),fc=Ea(Ha,qa,Ya);const mc=Ea(Ha);const pc=Va(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Va(Ua),yc=Ea(Ha,qa,Ya);const gc="Invalid Duration",kc={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},bc={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Ac(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of Oc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Nc(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Uo(e[r]))return n;if(n){const s=e[n]*i,o=t[r][n],a=Math.floor(s/o);e[r]+=a*i,e[n]-=a*o*i}return r}),null),Sc.reduce(((i,n)=>{if(Uo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Ac{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?Ic:bc;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ao.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Ac.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ps("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Ac({values:da(t,Ac.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Zo(t))return Ac.fromMillis(t);if(Ac.isDuration(t))return t;if("object"==typeof t)return Ac.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[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,[Ba,mc])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ds(i);return new Ac({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ms(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return Uo(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=ea(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return wu.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t),i={};for(const t of Sc)(Bo(e.values,t)||Bo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return xc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=ha(t(this.values[i],i));return xc(this,{values:e},!0)}get(t){return this[Ac.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Ac.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return xc(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Nc(this.matrix,t),xc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return xc(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Ac.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Zo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Zo(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Nc(this.matrix,e),xc(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return xc(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Mc{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new hs(i);return new Mc({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Mc.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:Mc.invalid("missing or invalid end"):Mc.invalid("missing or invalid start")}(i,n);return null==r?new Mc({start:i,end:n}):r}static after(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Mc.fromDateTimes(t,s);if(r){const i=Ac.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Ac.fromISO(i,e);if(t.isValid)return Mc.before(s,t)}}return Mc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?Mc.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Mc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Ac.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Mc.fromDateTimes(n,i)),n=i,r+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:Mc.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return Mc.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Mc.fromDateTimes(e,t.time)),e=null);return Mc.merge(n)}difference(...t){return Mc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Ac.invalid(this.invalidReason)}mapEndpoints(t){return Mc.fromDateTimes(t(this.s),t(this.e))}}class 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 Bs.isValidZone(t)}static normalizeZone(t){return ho(t,xo.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ao.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ao.create(e,null,"gregory").eras(t)}static features(){return{relative:Ho(),localeWeek:qo()}}}function Ec(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Ac.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Ec(t,e);return(i-i%7)/7}],["days",Ec]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Ac.fromObject(s,n);return u.length>0?Ac.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Lc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Pc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Lc).join("|")),deser:([i])=>t.findIndex((t=>Pc(i)===Pc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const Zc={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let $c=null;function Hc(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Bc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Hc(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Uc(l);case"uu":return Uc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Uc(/[a-z_+-/]{1,256}?/i);case" ":return Uc(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const r in i)if(Bo(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=Bs.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(Bo(i,"a")&&Bo(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 Yc(t,e,i){return new qc(t,i).explainFromTokens(e)}function Bc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter(($c||($c=wu.fromMillis(1555555555555)),$c)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Zc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const 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(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<-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(Zo(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Po(r,n),a=xo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=$o(t.weekYear),r=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=$o(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(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}=Yc(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=Bc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Hc(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Xc(this).weekYear:NaN}get weekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get weekday(){return this.isValid?Xc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Qc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Qc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?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=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Lo({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):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 Yo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Yo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Yc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return Ns}static get TIME_24_SIMPLE(){return As}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Ms}static get TIME_24_WITH_LONG_OFFSET(){return 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&&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(){const t=["month","110765seyQSX","weekdayLong","1501235MgdgwZ","year","3006486TFwlNO","24pkvRCP","10pWpKQO","week","day","monthLong","9PEQbDc","toRelativeCalendar","9228XEYMOv","11832850NPPZNs","fromJSDate","local","16RwkMNW","390247HImhyP","1456tFMWTU","toJSDate","minus","622672tXBYMn","startOf","setLocale","hasSame"];return(Iu=function(){return t})()}function Su(t,e){const i=Iu();return(Su=function(t,e){return i[t-=475]})(t,e)}function Ou(t,e){const i=Su,n=wu[i(488)](t)[i(497)](e),r=wu[i(489)](),s=r[i(494)]({days:1})[i(496)](i(482));let o,a;return n[i(498)](r,i(482))?(o=n[i(496)](i(482))[i(493)](),a=n[i(485)]()):n[i(498)](s,i(482))?(o=s[i(493)](),a=n[i(485)]()):n[i(498)](r,i(481))?(o=n[i(496)](i(481))[i(493)](),a=n[i(475)]||""):n[i(498)](r,i(477))?(o=n[i(496)](i(499))[i(493)](),a=n[i(483)]||""):(o=n[i(496)](i(477))[i(493)](),a=String(n[i(477)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Su,i=t();for(;;)try{if(757418===parseInt(e(500))/1*(-parseInt(e(480))/2)+parseInt(e(478))/3+parseInt(e(490))/4*(-parseInt(e(476))/5)+-parseInt(e(486))/6*(-parseInt(e(492))/7)+parseInt(e(495))/8+parseInt(e(484))/9*(parseInt(e(487))/10)+-parseInt(e(491))/11*(parseInt(e(479))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Iu);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 Nu(){const t=["select","5020RAvDMl","338193PPByYs","removeRevision","1003056NQPCpA","revisionViews","638352JmDJLe","setName","div","remove","_requireRevisionName","delegate","createCollection","startDate","93XMSasp","ck-revision-history-sidebar__time-period__label","165020zEpHKy","ck-revision-history-sidebar__time-period__revisions","1975850AvAsNf","span","7bhGZdO","add","localizedPeriodName","setTemplate","locale","233306PckRve","ck-revision-history-sidebar__time-period","find","addRevision","_revisionActions","uiLanguage","1dWSXAs"];return(Nu=function(){return t})()}const Au=Ru;function Ru(t,e){const i=Nu();return(Ru=function(t,e){return i[t-=263]})(t,e)}!function(t){const e=Ru,i=t();for(;;)try{if(101600===-parseInt(e(265))/1*(-parseInt(e(291))/2)+-parseInt(e(280))/3*(-parseInt(e(267))/4)+parseInt(e(282))/5+-parseInt(e(270))/6*(parseInt(e(286))/7)+-parseInt(e(272))/8+-parseInt(e(268))/9+parseInt(e(284))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Nu);class Mu extends En.View{constructor(t,e,i,n){const r=Ru;super(t);const s=Ou(e,this[r(290)][r(264)])[r(288)];this[r(279)]=e,this[r(271)]=this[r(278)](),this[r(263)]=i,this[r(276)]=n,this[r(271)][r(277)](r(266)).to(this),this[r(271)][r(277)](r(273)).to(this),this[r(289)]({tag:r(274),attributes:{class:["ck",r(292)]},children:[{tag:r(285),attributes:{class:["ck",r(281)]},children:[{text:s}]},{tag:r(274),attributes:{class:["ck",r(283)]},children:this[r(271)]}]})}[Au(294)](t){const e=Au,i=new cs(this[e(290)],t,this[e(263)],this[e(276)]);this[e(271)][e(287)](i)}[Au(269)](t){const e=Au,i=this[e(271)][e(293)]((e=>e.id===t.id));this[e(271)][e(275)](i)}}var Vu=i(173),Eu={attributes:{"data-cke":!0}};Eu.setAttributes=Wn(),Eu.insert=Pn().bind(null,"head"),Eu.domAPI=Fn(),Eu.insertStyleElement=Zn();Cn()(Vu.A,Eu);Vu.A&&Vu.A.locals&&Vu.A.locals;function Du(t,e){const i=Cu();return(Du=function(t,e){return i[t-=331]})(t,e)}function Cu(){const t=["div","10022OvLsWw","content","span","ck-revision-history-sidebar__header","1688944tleWzj","546WbOdJF","ck-revision-history-sidebar__header__label","19746GwaYsf","188924POcVcy","14108193cVxQrE","ck-reset_all","9HGuHKF","history","97zRtVas","setTemplate","5HQDxeC","2056550JAfPOu","Revision history","38694DmLlLM"];return(Cu=function(){return t})()}!function(t){const e=Du,i=t();for(;;)try{if(258288===parseInt(e(348))/1*(-parseInt(e(335))/2)+parseInt(e(342))/3+parseInt(e(343))/4*(-parseInt(e(350))/5)+parseInt(e(333))/6*(-parseInt(e(340))/7)+-parseInt(e(339))/8*(-parseInt(e(346))/9)+-parseInt(e(331))/10+parseInt(e(344))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cu);class ju extends En.View{constructor(t){const e=Du;super(t);const i=new En.IconView;i[e(336)]=qi.icons[e(347)],this[e(349)]({tag:e(334),attributes:{class:["ck",e(345),e(338)]},children:[i,{tag:e(337),attributes:{class:["ck",e(341)]},children:[Qi(t,e(332))]}]})}}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=["select","fire","91748qSzouw","div","102RGqIgA","selectRevision","deselect","createCollection","add","render","ck-reset","setTemplate","set","some","_addRevision","332195DXCxAK","ck-revision-history-sidebar__timeline","_removeRevision","ck-disabled","ck-revision-history-sidebar","getTime","addRevision","revisionSelected","_revisionActions","get","map","highlightRevisions","remove","find","3907194SbHNCE","uiLanguage","delegate","highlight","timePeriodViews","startDate","319595MYsWHl","revisionViews","_revisions","revisionSetName","_requireRevisionName","locale","setName","ck-rounded-corners","createdAt","19368WqMYkD","flat","isEnabled","1395520raAwbe","_getTimePeriodViewByStartDate","6228qzJpda","unhighlight","187782MVPefh","bindTemplate","removeRevision"];return(zu=function(){return t})()}function Wu(t,e){const i=zu();return(Wu=function(t,e){return i[t-=309]})(t,e)}!function(t){const e=Wu,i=t();for(;;)try{if(425973===-parseInt(e(338))/1+-parseInt(e(316))/2+-parseInt(e(327))/3*(parseInt(e(325))/4)+-parseInt(e(358))/5+parseInt(e(352))/6+-parseInt(e(320))/7+-parseInt(e(313))/8*(-parseInt(e(318))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zu);class Uu extends En.View{constructor(t,e,i,n){const r=Wu;super(t);const s=this[r(321)];this[r(356)]=this[r(330)](),this[r(356)][r(354)](r(323)).to(this),this[r(356)][r(354)](r(310)).to(this),this[r(360)]=e,this[r(346)]=i,this[r(362)]=n,this.on(r(323),((t,e)=>{const i=r;this[i(324)](i(345),e)})),this.on(r(310),((t,e)=>{const i=r;this[i(324)](i(361),e)})),this[r(335)](r(315),!1),this[r(334)]({tag:r(326),attributes:{class:["ck",r(333),r(311),r(342)]},children:[new ju(t),{tag:r(326),attributes:{class:["ck",r(339),s.if(r(315),r(341),(t=>!t))]},children:this[r(356)]}]})}[Pu(332)](){const t=Pu;super[t(332)]();for(const e of this[t(360)])this[t(337)](e);this[t(360)].on(t(331),((e,i)=>{this[t(337)](i)})),this[t(360)].on(t(350),((e,i)=>{this[t(340)](i)}))}get[Pu(359)](){const t=Pu;return this[t(356)][t(348)]((e=>e[t(359)][t(348)]((t=>t))))[t(314)]()}[Pu(328)](t){const e=Pu;for(const i of this[e(359)])t&&t.id===i.id?i[e(323)]():i[e(329)]()}[Pu(349)](t){const e=Pu;for(const i of this[e(359)])t[e(336)]((({id:t})=>t===i.id))?i[e(355)]():i[e(319)]()}[Pu(337)](t){const e=Pu,i=Ou(t[e(312)],this[e(309)][e(353)])[e(357)];let n=this[e(356)][e(347)](0);n&&n[e(357)][e(343)]()===i[e(343)]()||(n=new Mu(this[e(309)],i,this[e(346)],this[e(362)]),this[e(356)][e(331)](n)),n[e(344)](t)}[Pu(340)](t){const e=Pu,i=Ou(t[e(312)],this[e(309)][e(353)])[e(357)];this[e(317)](i)[e(322)](t)}[Pu(317)](t){const e=Pu;return this[e(356)][e(351)]((i=>i[e(357)][e(343)]()===t[e(343)]()))}}const Zu=Hu;function $u(){const t=["defaultRevisionActions","153651WkWNhe","string","RevisionsSidebar","isVisible","ready","_revisionsRepository","isReady","isEnabled","requires","action","nameRevision","length","revisionHistory.requireRevisionName","getLaterVisibleRevision","revisionSelected","_revisions","listenTo","element","_handleDiffChange","compare","bind","init","selectRevision","revisionHistory","_revisionViewer","locale","assign","restoreRevisionCallback","map","getEarlierVisibleRevision","269875nWICrl","isOfficialPlugin","config","restoreRevision","fieldView","isPremiumPlugin","_handleEditorDataReady","revisionViews","_handleRevisionSelected","add","18buqYmx","plugins","select","repository","highlightRevisions","destroy","setName","getIndex","Compare against selected","getRevision","isSelected","focus","_sidebarView","1280447cGpOCg","getRevisionsInDiff","revisionHistory.viewerSidebarContainer","41lxgNDQ","1056260YunsuC","editor","revisionSetName","8xjZgWJ","Name this revision","timePeriodViews","name","pluginName","diff","change:diff","render","revisionHistory.revisionActions","get","Restore this revision","_handleRevisionSetName","20YnSxSw","data","newRevisionId","22664gLWCep","_createRevisionActions","appendChild","2136798JCdZbk","compareAgainstSelected","availableRevisionActions","3251292zYHfaR","remove"];return($u=function(){return t})()}function Hu(t,e){const i=$u();return(Hu=function(t,e){return i[t-=228]})(t,e)}!function(t){const e=Hu,i=t();for(;;)try{if(243444===-parseInt(e(310))/1*(-parseInt(e(245))/2)+parseInt(e(254))/3*(-parseInt(e(242))/4)+-parseInt(e(284))/5+parseInt(e(248))/6+-parseInt(e(307))/7*(parseInt(e(230))/8)+parseInt(e(294))/9*(parseInt(e(311))/10)+-parseInt(e(251))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($u);class qu extends qi.Plugin{static get[Zu(234)](){return Zu(256)}static get[Zu(285)](){return!0}static get[Zu(289)](){return!0}static get[Zu(262)](){return[br]}constructor(t){const e=Zu;super(t),this[e(278)]=t[e(295)][e(239)](br),this[e(259)]=this[e(278)][e(297)],this[e(306)]=null}[Zu(275)](){const t=Zu,e=this[t(259)][t(269)],i=this[t(246)](),n=this[t(228)][t(286)][t(239)](t(309));this[t(306)]=new Uu(this[t(228)][t(279)],e,i,this[t(228)][t(286)][t(239)](t(266))),this[t(306)].on(t(268),this[t(292)][t(274)](this)),this[t(306)].on(t(229),this[t(241)][t(274)](this)),this[t(306)][t(274)](t(261)).to(this[t(278)]),this[t(306)][t(232)].on(t(293),((e,i)=>{const n=t;i[n(291)].on(n(293),((t,e)=>{const i=n;e[i(274)](i(261),i(260)).to(this[i(278)])}))})),this[t(306)][t(237)](),this[t(270)](this[t(228)][t(243)],t(258),this[t(290)][t(274)](this)),this[t(270)](this[t(278)],t(236),this[t(272)][t(274)](this)),n[t(247)](this[t(306)][t(271)])}[Zu(299)](){const t=Zu;this[t(306)][t(271)][t(252)](),this[t(306)][t(299)]()}[Zu(290)](){const t=Zu,e=this[t(259)][t(303)](0);if(e){const i=this[t(259)][t(283)](e.id);this[t(278)][t(273)](e,i)}}[Zu(292)](t,e){const i=Zu,n=this[i(259)][i(303)](e.id),r=this[i(259)][i(283)](n.id);this[i(278)][i(273)](n,r)}[Zu(241)](t,e){const i=Zu;this[i(259)][i(303)](e.id)[i(300)](e[i(233)])}[Zu(272)](t,e,i){const n=Zu,r=this[n(259)][n(308)](i);r[n(265)]>2?(this[n(306)][n(298)](r),this[n(306)][n(276)](null)):(this[n(306)][n(298)]([]),this[n(306)][n(276)](r[0]))}[Zu(246)](){const t=Zu,e=this[t(228)],i=qu[t(250)],n=e[t(286)][t(239)](t(238))||qu[t(253)];if(n[t(265)])return n[t(282)]((n=>{const r=t,s=r(255)==typeof n?Object[r(280)]({},i[n]):n;return s[r(263)]=s[r(263)][r(274)](this,e),s[r(257)]&&(s[r(257)]=s[r(257)][r(274)](this,e)),s}))}}qu[Zu(253)]=[Zu(249),Zu(287),Zu(264)],qu[Zu(250)]={compareAgainstSelected:{name:Zu(302),action:({plugins:t},e)=>{const i=Zu,n=t[i(239)](br),r=n[i(297)];let s=n[i(235)][i(244)],o=e.id;r[i(301)](s)>r[i(301)](o)&&([s,o]=[o,s]),n[i(273)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(239)](br);return!(n[i(297)][i(308)](n[i(235)])[i(265)]>2||e[i(304)])}},restoreRevision:{name:Zu(240),action:(t,{id:e})=>{const i=Zu;t[i(286)][i(239)](i(277))[i(281)](e)},isVisible:({plugins:t},e)=>!!t[Zu(239)](br)[Zu(297)][Zu(267)](e.id)},nameRevision:{name:Zu(231),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(239)](br),s=r[n(297)][n(283)](e);r[n(273)](e,s),i[n(305)](),i[n(288)][n(296)]()}}};const Yu=qu,Bu=Ju;function Ju(t,e){const i=Gu();return(Ju=function(t,e){return i[t-=232]})(t,e)}function Gu(){const t=["_elementReplacer","init","componentFactory","view","6TcWnwd","viewportTopOffset","element","focusTracker","fire","config","addToolbar","toolbar","1446081EdbXBA","editable","editing","detachDomRoot","getRoot","_view","_toolbarConfig","get","rootName","limiterElement","isFocused","attachDomRoot","restore","_initToolbar","setEditableElement","bind","render","replace","32dRPOXe","stickyPanel","1379276InbquT","isActive","editor","1916405UqKNgr","name","viewportOffset","1206714wCogYM","563712RvkYJQ","ready","fillFromConfig","383697ebaBAi","document","destroy","123596iHivyo"];return(Gu=function(){return t})()}!function(t){const e=Ju,i=t();for(;;)try{if(209513===-parseInt(e(272))/1+parseInt(e(266))/2+parseInt(e(265))/3+-parseInt(e(259))/4+-parseInt(e(262))/5+parseInt(e(277))/6*(parseInt(e(239))/7)+parseInt(e(257))/8*(parseInt(e(269))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gu);class Ku extends En.EditorUI{get[Bu(276)](){return this[Bu(244)]}constructor(e,i){const n=Bu;super(e),this[n(244)]=i,this[n(245)]=(0,En.normalizeToolbarConfig)(e[n(236)][n(246)](n(238))),this[n(273)]=new t.ElementReplacer}get[Bu(233)](){const t=Bu;return this[t(276)][t(233)]}[Bu(274)](t){const e=Bu,i=this[e(261)],n=this[e(276)],r=i[e(241)][e(276)],s=n[e(240)],o=r[e(270)][e(243)]();s[e(263)]=o[e(247)],n[e(255)]();const a=s[e(233)];this[e(253)](s[e(263)],a),n[e(240)][e(254)](e(249)).to(this[e(234)]),r[e(250)](a),this[e(273)][e(256)](t,this[e(233)]),this[e(252)](),this[e(235)](e(267))}[Bu(271)](){const t=Bu;super[t(271)]();const e=this[t(276)],i=this[t(261)][t(241)][t(276)];this[t(273)][t(251)](),i[t(242)](e[t(240)][t(263)]),e[t(271)]()}[Bu(252)](){const t=Bu,e=this[t(276)];e[t(258)][t(254)](t(260)).to(this[t(234)],t(249)),e[t(258)][t(248)]=e[t(233)],e[t(258)][t(254)](t(232)).to(this,t(264),(({top:t})=>t)),e[t(238)][t(268)](this[t(245)],this[t(275)]),this[t(237)](e[t(238)])}}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=nl();return(el=function(t,e){return i[t-=379]})(t,e)}!function(t){for(var e=el,i=t();;)try{if(170428===parseInt(e(384))/1+-parseInt(e(397))/2+-parseInt(e(383))/3*(parseInt(e(398))/4)+-parseInt(e(395))/5*(parseInt(e(396))/6)+-parseInt(e(394))/7+-parseInt(e(379))/8*(parseInt(e(389))/9)+parseInt(e(385))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nl);class il extends En.BoxedEditorUIView{get[tl(386)](){return this[tl(390)]}constructor(t,e,i={}){var n=tl;super(t),this[n(387)]=new En.StickyPanelView(t),this[n(392)]=new En.ToolbarView(t,{shouldGroupWhenFull:i[n(382)]}),this[n(390)]=new En.InlineEditableUIView(t,e)}[tl(380)](){var t=tl;super[t(380)](),this[t(387)][t(381)][t(393)](this[t(392)]),this[t(388)][t(393)](this[t(387)]),this[t(391)][t(393)](this[t(386)])}}function nl(){var t=["18FRSDne","_editable","main","toolbar","add","211239UsONNQ","12715hGfJmc","174bKhvVS","204064QaabSf","4tccYbg","472008aXbuNy","render","content","shouldToolbarGroupWhenFull","918363HzYKyy","166874JPyCFj","6336330GLcUUE","editable","stickyPanel","top"];return(nl=function(){return t})()}const rl=ol;function sl(){const t=["5wDkDEv","destroy","1690164dnuVps","initialData","editing","9CkToPX","118210KgWIyj","create","798TgqOxJ","document","model","locale","15956BRLLUz","get","data","view","_ui","21119pxtSHt","sourceElement","ready","createRoot","updateSourceElement","fire","initPlugins","155bFyfcv","264VVpQXk","223660znCnDi","1257768VJAoim","init","359608zleNYB","config"];return(sl=function(){return t})()}function ol(t,e){const i=sl();return(ol=function(t,e){return i[t-=150]})(t,e)}!function(t){const e=ol,i=t();for(;;)try{if(296841===parseInt(e(180))/1*(parseInt(e(175))/2)+-parseInt(e(151))/3+-parseInt(e(161))/4*(-parseInt(e(173))/5)+parseInt(e(157))/6*(parseInt(e(166))/7)+-parseInt(e(178))/8*(parseInt(e(154))/9)+-parseInt(e(155))/10*(parseInt(e(174))/11)+parseInt(e(176))/12)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(165)]}constructor(t,e){const i=ol;super(e),this[i(167)]=t,this[i(159)][i(158)][i(169)]();const n=new il(this[i(160)],this[i(153)][i(164)],{shouldToolbarGroupWhenFull:!0});this[i(165)]=new Ku(this,n)}[rl(150)](){const t=rl;return this[t(170)](),this.ui[t(150)](),super[t(150)]()}static async[rl(156)](t,e){const i=rl,n=new this(t,e);return await n[i(172)](),await n.ui[i(177)](t),await n[i(163)][i(177)](n[i(179)][i(162)](i(152))||""),n[i(171)](i(168)),n}}const cl=ll;function ul(){const t=["create","getRevisions","changesNavigation","define","isEnabled","toLocaleDateString","map","refreshPositioning","hide","refreshVisibility","numeric","getAttributeKeys","revisionHistory.editorContainer","includes","users","rootName","1237062IVXWbc","enableReadOnlyMode","revisionHistory.restoreRevisionCallback","isAnonymous","selection","editor","fromCharCode","3Iyizrf","remove","indexOf","setAttribute","name","_enhanceCloseRevisionViewerCallback","10iffwdU","toVersion","requires","RevisionViewerIntegration","lazyRoots","revisionHistory.closeRevisionViewerCallback","display","bind","RevisionViewer","addRevisionData","pluginName","12560DbKYsy","adapter","toJSON","_closeRevisionViewer","Annotations","get","$graveyard","block","translations","revisionHistory.viewerEditorElement","then","uiLanguage","disableReadOnlyMode","900930YhoQEn","locale","has","RevisionHistoryUI","isOpen","removeMarker","isAttached","style","_cleanUp","_getRevisionViewerEditorConfig","exitToEditing","commands","model","config","RevisionHistory","isPremiumPlugin","isOfficialPlugin","_enhanceShowRevisionViewerCallback","_update","revision-history-missing-configuration","restrictedEditingException","repository","RevisionsRepository","11384VASGYz","isReady","long","detachRoot","join","Dialog","init","getMarkersGroup","createRangeIn","removeSelectionAttribute","save","roots","getRevisionRootsAttributes","plugins","isReadOnly","_viewerEditor","showRevisionViewerCallback","getUser","parse","creator","addUser","toLocaleTimeString","PaginationLookup","data","3537MrJeCi","keys","restoreRevision","_restoreRevision","getRevisionData","catch","setSelection","revisionHistory.viewerContainer","167639nXrhEW","RevisionTracker","error","revision-history-viewer-opened","RestrictedEditingMode","from","getRevision","_recalculatePageBreaks","getRoot","addRoot","result","4707409lOGDeE","revisionHistory.showRevisionViewerCallback","3122920ifPvYs","end","saveRevision","none","fromVersion","revisionHistory.requireRevisionName","removeAttribute","update","destroy","_showRevisionViewer","revisionHistory","enqueueChange","push","Autosave","Users","toolbar","insert","Restored","document","createdAt","markers","change","closeRevisionViewerCallback","set"];return(ul=function(){return t})()}function ll(t,e){const i=ul();return(ll=function(t,e){return i[t-=461]})(t,e)}!function(t){const e=ll,i=t();for(;;)try{if(361389===parseInt(e(533))/1+-parseInt(e(586))/2*(-parseInt(e(593))/3)+-parseInt(e(501))/4*(parseInt(e(599))/5)+parseInt(e(478))/6+-parseInt(e(544))/7+-parseInt(e(546))/8+parseInt(e(525))/9*(parseInt(e(465))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ul);const hl=[cl(481),cl(537)];class dl extends qi.Plugin{static get[cl(464)](){return cl(602)}static get[cl(494)](){return!0}static get[cl(493)](){return!0}constructor(t){const e=cl;function i(t){const e=ll;return t[e(576)]((t=>String[e(592)](t)))[e(505)]("")}super(t),this[e(543)]=e(547),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(464)](){return cl(492)}static get[cl(494)](){return!0}static get[cl(493)](){return!0}static get[cl(601)](){return[xn,er]}constructor(e){const i=cl;if(super(e),!this[i(591)][i(491)][i(470)](i(556)))throw new t.CKEditorError(i(497),this);this[i(516)]=null,this[i(591)][i(491)][i(573)](i(545),(t=>this[i(555)]({...t,translations:this[i(591)][i(479)][i(473)]}))),this[i(591)][i(491)][i(573)](i(604),(t=>this[i(468)](t))),this[i(591)][i(491)][i(573)](i(588),(t=>this[i(528)](t))),this[i(591)][i(491)][i(573)](i(551),!1),this[i(495)](),this[i(598)]()}set[cl(466)](t){const e=cl;this[e(591)][e(514)][e(470)](e(534))[e(466)]=t}get[cl(466)](){const t=cl;return this[t(591)][t(514)][t(470)](t(534))[t(466)]}[cl(463)](t){const e=cl;return this[e(591)][e(514)][e(470)](e(534))[e(463)](t)}[cl(539)](t){const e=cl;return this[e(591)][e(514)][e(470)](e(500))[e(539)](t)}[cl(571)](t){const e=cl;return this[e(591)][e(514)][e(470)](e(500))[e(571)](t||{toJSON:!1})}[cl(487)](){const e=cl,i=this[e(591)],n=(0,Yi.sanitizeEditorConfig)(i,hl),r=i[e(514)][e(470)](e(534)),s=i[e(514)][e(470)](e(560))[e(584)];return n[e(561)]=[e(488),e(527),e(572)],delete n[e(603)],n[e(514)][e(558)](dl,br,Pr,class extends qi.Plugin{static get[e(601)](){return[br,e(560)]}[e(507)](){const n=e,o=this[n(591)][n(514)][n(470)](n(560));for(const t of s)t[n(589)]||o[n(518)](t.id)||o[n(521)](t);const a=r[n(499)][n(571)]();let c=null;const u=this[n(591)][n(514)][n(470)](n(462));u[n(466)]=r[n(466)],u[n(461)](n(574)).to(r),this[n(591)][n(489)][n(470)](n(527))[n(461)](n(574)).to(i,n(515),(t=>!t));for(const e of a){const i=null===e[n(520)];if(i&&e[n(600)]===e[n(550)])continue;const s=e[n(467)]();u[n(463)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(496)](s,o);else if(!o){const e=a[u(467)]();e.id=(0,t.uid)(),r[u(548)](e,a[u(600)])[u(475)]((t=>{c=t}))}}else e[u(496)](s,o)}))}}},Yu),n}[cl(495)](){const t=cl,e=this[t(591)][t(491)][t(470)](t(556))[t(517)];this[t(591)][t(491)][t(569)](t(545),(async()=>{const i=t;this[i(591)][i(587)](i(536));const n=this[i(591)][i(514)][i(470)](i(534));if(this[i(591)][i(514)][i(480)](i(559))){const t=this[i(591)][i(514)][i(470)](i(559));await t[i(511)]()}else await n[i(553)]();if(this[i(591)][i(514)][i(480)](i(523))&&this[i(591)][i(514)][i(470)](i(523))[i(540)](),this[i(591)][i(514)][i(480)](i(506))){const t=this[i(591)][i(514)][i(470)](i(506));t[i(482)]&&t[i(578)]()}const r=this[i(487)]();return e(r)[i(475)]((t=>{const e=i;return this[e(516)]=t,this[e(591)][e(514)][e(480)](e(469))&&this[e(591)][e(514)][e(470)](e(469))[e(579)](),t}))[i(530)]((t=>(console[i(535)](t),this[i(591)][i(477)](i(536)),null)))}))}[cl(598)](){const t=cl,e=this[t(591)][t(491)][t(470)](t(556))[t(568)];this[t(591)][t(491)][t(569)](t(604),(()=>(this[t(591)][t(514)][t(480)](t(523))&&this[t(591)][t(514)][t(470)](t(523))[t(540)](),this[t(516)][t(514)][t(470)](t(462))[t(486)](),e(this[t(516)])[t(475)]((()=>{const e=t;if(this[e(591)][e(477)](e(536)),this[e(516)]=null,this[e(591)][e(514)][e(480)](e(469))){const t=this[e(591)][e(514)][e(470)](e(469));t[e(579)](),t[e(577)]()}})))))}[cl(555)](t){const e=cl,i=this[e(591)][e(491)][e(470)](e(582)),n=this[e(591)][e(491)][e(470)](e(532)),r=this[e(591)][e(491)][e(470)](e(474));return al[e(570)](r,t)[e(475)]((t=>(n[e(485)][e(605)]=e(472),i[e(485)][e(605)]=e(549),t)))}[cl(468)](t){const e=cl,i=this[e(591)][e(491)][e(470)](e(582));return this[e(591)][e(491)][e(470)](e(532))[e(485)][e(605)]=e(549),i[e(485)][e(605)]="",t[e(554)]()}async[cl(528)](t){const e=cl,i=this[e(591)],n=this[e(516)][e(514)][e(470)](e(462)),r=i[e(514)][e(470)](e(534)),s=n[e(499)][e(539)](t);let o,a,c;try{o=await n[e(529)](s),a=await n[e(513)](s)}catch(t){return void console[e(535)](t)}i[e(490)][e(567)]((t=>{const n=e;for(const e of Array[n(538)](i[n(490)][n(566)][n(508)](n(498))))t[n(483)](e)})),n[e(502)]=!1,i[e(490)][e(557)]((t=>{const n=e;t[n(531)](null),t[n(510)](i[n(490)][n(564)][n(590)][n(581)]());const r=Object[n(526)](o);for(const e of i[n(490)][n(564)][n(512)])n(471)!=e[n(585)]&&e[n(484)]()&&!r[n(583)](e[n(585)])&&t[n(504)](e);for(const e of r){let r=i[n(490)][n(564)][n(541)](e);r&&r[n(484)]()||(r=t[n(542)](e));const s=a[e],c=Object[n(526)](s),u=o[e];for(const e of r[n(581)]())c[n(583)](e)||t[n(552)](e,r);for(const i of c)t[n(596)](i,a[e][i],r);t[n(594)](t[n(509)](r)),t[n(562)](i[n(524)][n(519)](u,r),r,0)}}));const u=Qi(i[e(479)],e(563));return c=s[e(597)]?-1==s[e(597)][e(595)](u)?u+": "+s[e(597)]:s[e(597)]:u+": "+s[e(565)][e(575)](i[e(479)][e(476)],{month:e(503),day:e(580)})+", "+s[e(565)][e(522)](i[e(479)][e(476)],{hour:e(580),minute:e(580)}),await r[e(548)]({name:c}),n[e(502)]=!0,i[e(491)][e(470)](e(556))[e(568)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=383]})(t,e)}function pl(){var t=["1818402hccUmN","3029012YYTEFF","1849312RSWegu","7361904BssUry","5qkDJir","1780449XCfHtd","1096628GakkOI","84132ylyjnM"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(548596===-parseInt(e(385))/1+-parseInt(e(384))/2+parseInt(e(383))/3+-parseInt(e(388))/4+parseInt(e(390))/5*(-parseInt(e(386))/6)+parseInt(e(387))/7+parseInt(e(389))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();