@ckeditor/ckeditor5-revision-history 47.0.0-alpha.0 → 47.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +7 -7
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +12 -12
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={6:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},140:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},193:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(931)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},290:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},302:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},316:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},342:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},439:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},532:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{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-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-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},549:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},557:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},574:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},602:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},606:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},628:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;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},660:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},718:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},750:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},931:t=>{"use strict";t.exports=CKEditor5.collaborationDll},933:t=>{"use strict";t.exports=function(t){return t[1]}},997:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>le,Revision:()=>J,RevisionHistory:()=>na,RevisionHistoryUI:()=>$t,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Ko,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Ie,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const M=A?.(t,e,i,s);if(null!=M)return M;if(null==(R=t)||"object"!=typeof R&&"function"!=typeof R)return t;var R;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function M(t){return A(t)}function R(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const E=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/;function P(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(L.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function j(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function U(t,e,i){return function(t,e,i,s){if(null==t&&!z(t))return t;const n=P(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=j(n[e]);if(R(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[e+1])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(R(e))return i;const s=t[e];return void 0===s?H(e)?Z(t,W(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=j(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(R(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(R(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function $(t,e){const i=Z(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(R(s))return!1;try{return delete i[s],!0}catch{return!1}}const q=Y;function B(){const t=["removeAttribute","fire","10tdJyXv","model","3KJCUgt","attributes","205004siXrLM","565315BNQOjh","18pabtyP","setName","8282liompb","createdAt","set","3513933FrbDfy","1512092ZVoOcv","5139764RcTFhC","diffData","authors","_update","toVersion","toJSON","name","creatorId","authorsIds","1206216dmhPdx","fromVersion","creator","map","setAttribute"];return(B=function(){return t})()}function Y(t,e){const i=B();return(Y=function(t,e){return i[t-=460]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(367484===parseInt(e(484))/1+parseInt(e(480))/2+-parseInt(e(478))/3*(parseInt(e(488))/4)+-parseInt(e(481))/5*(parseInt(e(482))/6)+parseInt(e(460))/7+-parseInt(e(469))/8+parseInt(e(487))/9*(parseInt(e(476))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class J extends((0,t.ObservableMixin)()){id;[q(471)];[q(462)];[q(461)];[q(464)];[q(470)];[q(477)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(471)]=e[i(471)]||null,this[i(462)]=e[i(462)]||[],this[i(461)]=e[i(461)]||null,this[i(464)]=e[i(464)]||0,this[i(470)]=e[i(470)]||0,this[i(486)](i(466),e[i(466)]||""),this[i(486)](i(485),e[i(485)]||new Date),this[i(486)](i(479),e[i(479)]||{})}[q(483)](t){this[q(463)]({name:t})}[q(473)](t,e){const i=q,s=M(this[i(479)]);U(s,t,e),this[i(463)]({attributes:s})}[q(474)](t){const e=q,i=M(this[e(479)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return $(t,e);if("number"==typeof e?e=j(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),R(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return $(t,W(e));if(R(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(463)]({attributes:i})}[q(463)](t,e=!1){const i=q;let s=!1;const n={id:this.id},r=[i(466),i(485),i(461),i(462),i(479),i(464),i(470),i(467)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(462)]&&(n[i(468)]=n[i(462)][i(472)](t=>t.id),delete n[i(462)]),this[i(475)](i(463),n,e))}[q(465)](){const t=q;return{id:this.id,name:this[t(466)],creatorId:this[t(471)]?this[t(471)].id:null,authorsIds:this[t(462)][t(472)](t=>t.id),diffData:this[t(461)],createdAt:this[t(485)],attributes:this[t(479)],fromVersion:this[t(470)],toVersion:this[t(464)]}}}var G=i(782),X=i(211),K=i(783);function Q(t,e){const i=et();return(Q=function(t,e){return i[t-=424]})(t,e)}const tt=Q;function et(){const t=["newRevisionId","getRevisionsIterator","Users","fromVersion","939544UNkrhy","pluginName","3HmaJhp","25065LJvDdU","fromCharCode","83809qtlXUv","editor","requires","1332MPlWwH","name","48DaSyvC","length","getEarlierVisibleRevision","isOfficialPlugin","later","9HEzAAR","_revisions","createdAt","join","getRevisionsInDiff","getLaterVisibleRevision","isNaN","toVersion","toJSON","getIndex","230IxOhyj","earlier","addRevision","afterInit","get","add","from","reverse","getRevisions","map","attributes","plugins","5023000pmltNX","oldRevisionId","819372QWXocR","createRevision","push","diffData","isPremiumPlugin","getRevision","getUser","868286gKePba","data","href","authorsIds","creatorId","1264361TLWqFm","RevisionsRepository"];return(et=function(){return t})()}!function(t){const e=Q,i=t();for(;;)try{if(726343===parseInt(e(432))/1*(-parseInt(e(476))/2)+parseInt(e(445))/3*(-parseInt(e(430))/4)+parseInt(e(467))/5+-parseInt(e(469))/6+parseInt(e(424))/7*(parseInt(e(440))/8)+-parseInt(e(433))/9*(parseInt(e(455))/10)+parseInt(e(435))/11*(parseInt(e(438))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[tt(446)];static get[tt(437)](){return[X.Users]}static get[tt(431)](){return tt(425)}static get[tt(443)](){return!0}static get[tt(473)](){return!0}get[tt(441)](){const t=tt;return this[t(446)][t(441)]}constructor(e){const i=tt;super(e),this[i(446)]=new t.Collection}[tt(458)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(451)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=Q;return t[e(464)](t=>String[e(434)](t))[e(448)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1758672e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(478)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>n[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[tt(470)](t){const e=tt,i=this[e(436)][e(466)][e(459)](e(428));return new J({id:t.id,name:t[e(439)],creator:t[e(480)]?i[e(475)](t[e(480)]):null,diffData:t[e(472)]||t[e(477)],authors:t[e(479)][e(464)](t=>i[e(475)](t)),createdAt:new Date(t[e(447)]),attributes:t[e(465)],fromVersion:t[e(429)],toVersion:t[e(452)]})}[tt(457)](t,e=0){const i=tt;this[i(446)][i(460)](t,e)}[tt(474)](t){const e=tt;return this[e(446)][e(459)](t)}[tt(463)](t={toJSON:!1}){const e=tt,i=Array[e(461)](this[e(446)]);return i[e(462)](),t[e(453)]?i[e(464)](t=>t[e(453)]()):i}[tt(454)](t){const e=tt;return this[e(446)][e(454)](t)}[tt(442)](t){const e=tt,[,i]=this[e(427)](t,{direction:e(456)});return i}[tt(450)](t){const e=tt,[,i]=this[e(427)](t,{direction:e(444)});return i}[tt(449)](t){const e=tt,i=[];for(const s of this[e(427)](t[e(426)]))if(i[e(471)](s),s.id===t[e(468)])break;return i}*[tt(427)](t,{direction:e=tt(456),filter:i=()=>!0}={}){const s=tt,n=s(456)===e?1:-1;let r=this[s(446)][s(459)](t),o=this[s(454)](r);for(yield r;r;){if(o+=n,r=this[s(474)](o),!r)return;i(r)&&(yield r)}}}function st(t,e){const i=rt();return(st=function(t,e){return i[t-=447]})(t,e)}const nt=st;function rt(){const t=["attributes","fillerOffset","isPremiumPlugin","data-revision-","length","from","marked","52pBnHMv","isOfficialPlugin","editing","filter","div","domConverter","attributesAfter","render","toData","diffData","innerHTML","editor","get","data","isAttached","constructor","getRevision","revision-start","children","domDocument","insertions","config","getFillerOffset","25817koMYLB","parse","startsWith","type","_getViewFromDiffObj","viewChildrenToDom","35015wFBXXp","RevisionHistoryUtils","name","144KUkycl","pluginName","append","_removeRevisionMarkers","3551334JEAxzw","_typeCharToViewClass","revision-end","document","customProperties","processor","childNodes","_getTypeCharForViewElement","view","2769998fPAbqg","attachChange","58byFjsv","htmlProcessor","string","_appendChild","loadRevisionData","1083540KWiQjn","useFillerType","81QTpTLp","_viewClassToTypeChar","_makeModelFromViewString","_setCustomProperty","729584QiLDgF","getRevisionRootsAttributes","945951GXmuCg","collaboration.channelId","domChildrenToView","forEach","98LhXBvz","createElement","default","map","getRevisionDocumentData","toModel"];return(rt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(795002===parseInt(e(455))/1*(parseInt(e(479))/2)+parseInt(e(492))/3+-parseInt(e(509))/4*(parseInt(e(461))/5)+parseInt(e(468))/6+-parseInt(e(496))/7*(-parseInt(e(490))/8)+parseInt(e(486))/9*(parseInt(e(484))/10)+-parseInt(e(477))/11*(parseInt(e(464))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[nt(465)](){return nt(462)}static get[nt(510)](){return!0}static get[nt(504)](){return!0}[nt(487)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[nt(469)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[nt(483)](t,e){const i=nt;if(t[i(518)]||!e)return;const s=this[i(520)][i(453)][i(521)](i(493)),n=await e[i(448)]({channelId:s,revisionId:t.id});t[i(518)]=n[i(518)]}[nt(500)](t){const e=nt,i={};for(const s in t[e(518)]){if(t[e(518)][s][e(478)]&&!t[e(518)][s][e(478)][e(523)])continue;const n=this[e(467)](JSON[e(456)](t[e(518)][s][e(452)])),r=this[e(520)][e(511)][e(476)][e(471)],o=new K.ViewDocumentFragment(r,n[e(499)](t=>this[e(459)](t,!1)));this[e(520)][e(522)][e(473)][e(485)](e(508)),i[s]=this[e(520)][e(522)][e(473)][e(517)](o),this[e(520)][e(522)][e(473)][e(485)](e(498))}return i}[nt(491)](t){const e=nt,i={};for(const s in t[e(518)])t[e(518)][s][e(478)]&&!t[e(518)][s][e(478)][e(523)]||(i[s]=t[e(518)][s][e(515)]||{});return i}[nt(475)](t){const e=nt;return this[e(487)][e(521)](t[e(447)])}[nt(459)](t,e){const i=nt,s=this[i(520)][i(511)][i(476)][i(471)];if(i(481)==typeof t)return new K.ViewText(s,t);{let n,r;r="u"==t[i(458)]||"r"==t[i(458)]?[]:t[i(450)][i(499)](t=>this[i(459)](t,e));const o=this[i(469)][i(521)](t[i(458)])||K.ViewElement,a=this[i(520)][i(522)][i(480)][i(514)];if(n=new o(s,t[i(463)],t[i(502)],r),"u"==t[i(458)]&&t[i(450)][0]){const r=t[i(450)][0];if(n[i(516)]=function(t){const e=i,s=t[e(497)](e(513));return s[e(519)]=r,s[e(474)][0]},e){const t=new K.ViewDocumentFragment(s);t[i(482)](n);const e=Array[i(507)](a[i(460)](t,{bind:!1})),r=a[i(451)][i(497)](i(513));r[i(466)](...e),n=Array[i(507)](a[i(494)](r))[0]}}else if("r"==t[i(458)]&&t[i(450)][0]){const r=t[i(450)][0];if(n[i(516)]=function(t){t[i(519)]=r},e){const t=new K.ViewDocumentFragment(s);t[i(482)](n);const e=Array[i(507)](a[i(460)](t,{bind:!1})),r=a[i(451)][i(497)](i(513));r[i(466)](...e);const o=Array[i(507)](a[i(494)](r));o[i(506)]>1?n[i(482)](o):n=o[0]}}if(t[i(472)])for(const[e,s]of t[i(472)])n[i(489)](e,s);const c=void 0===t[i(503)]?null:t[i(503)];return null!==c&&(n[i(454)]=()=>c),n}}[nt(488)](t){const e=nt,i=JSON[e(456)](t),s=this[e(520)][e(511)][e(476)][e(471)],n=new K.ViewDocumentFragment(s,i[e(499)](t=>this[e(459)](t,!0)));return this[e(520)][e(522)][e(501)](n)}[nt(467)](t){const e=nt;return(t=t[e(512)](t=>!t[e(463)]||e(449)!==t[e(463)]&&e(470)!==t[e(463)]))[e(495)](t=>{const i=e;i(481)!=typeof t&&(t[i(450)]=this[i(467)](t[i(450)]),t[i(502)]=t[i(502)][i(512)](t=>!t[0][i(457)](i(505))))}),t}}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const M=(s=s??new Map).get(t),R=s.get(i);if(null!=M&&null!=R)return M===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,x));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,x)||ct(t)&&ct(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=pt();return(mt=function(t,e){return i[t-=434]})(t,e)}function pt(){const t=["revisionHistoryLicenseKeyInvalid","shift","getAncestors","invalid","createRange","getAttributes","_handleSplitOperation","542sbckkj","baseVersion","getAttribute","fromEntries","revision:","innerHTML","_utils","123396qSEvLJ","conversion","merge","_bufferUpdate","text","range","getCustomProperties","define","children","type","creator","_removeMetaData","_findInsertionIndex","upcast","init","getMovedRangeStart","_clone","getChild","PENDING_ACTION_REVISION_HISTORY","graveyardPosition","_processRootBeforeSave","position","paragraph","fillerOffset","locale","find","source","getRoot","sendBufferedUpdates","rawElement","_diffRoots","authors","changeRootAttribute","vid_end","isEqual","_makeIdsRoot","elementEnd","createPositionAt","sort","detachRoot","setRevisionData","revisionHistoryLicenseKeyUsageLimit","diffData","push","_getTypeCharForViewElement","userId","item","RevisionHistory","insertions","max","keys","_prepareViewToSave","_applyOperations","model","_removePendingAction","dataToMarker","3312opcnSl","isPremiumPlugin","getRootNames","_startingVersion","createRevision","creatorId","includes","218337wqoRsw","createRangeIn","render","markers","$comment","rootName","domDocument","key","_licenseKeyCheckInterval","_idsRoots","repository","getOperations","attachChange","version","targetPosition","updateRevisions","_handleRootOperation","finally","_loadedStateData","_savedMetaData","values","usageLimit","addRoot","getRevisionRootsAttributes","afterInit","_makeRevision","offset","_handleRootAttributeOperation","_revisionId","set","roots","destroy","stickiness","splitPosition","update","_initialRevisionId","Users","_getFromVersion","some","5181525YGAfxx","_makeModelFromViewString","bind","deletions","$graveyard","currentRevision","marker","getFillerOffset","delete","getIndex","element","createdAt","1050388LGfolt","trim","data","oldRange","getTime","_lastFrom","config","createPositionBefore","_createCurrentRevision","_source","editor-initial-data-replaced-with-revision-data","stringify","_createFromRanges","clone","getLatestVersion","saveRevision","authorsIds","_cloneOperation","_reset","filter","createElement","evaluationLimit","getRevisionDocumentData","_continueCurrentRevision","getRange","documentFragment","_operations","end","slice","_baseRootsAttributes","requires","_insertChild","getTransformedByOperation","then","howMany","_setConversion","_startingRevisionId","2580522fpsZVH","collaboration.channelId","_appendChild","toView","getWalker","_handleMarkerOperation","buildRevisionData","customProperties","editor","_authorId","RevisionHistoryUtils","move","uiElement","_getPreviousFrom","initial","isReady","addRevision","_getState","get","revisionHistoryLicenseKeyExpired","_execute","affectsData","loadState","_markers","split","getUser","revisionHistoryLicenseKeyValid","_handleInsertOperation","history","addRevisionData","trialLimit","isOfficialPlugin","RealTimeCollaborationClient","revisionHistory.resumeUnsavedRevision","getOperation","_isPendingUpdate","getChildren","_copyMarkers","_getVidAttributeName","parent","hasContent","revision","260170mnlxQR","domConverter","nodeAfter","ready","insertionPosition","markerToData","revisionHistoryLicenseKeyEvaluationLimit","reverse","rootsAttributes","isEnabled","isAdd","getRevision","_transformMarkers","_diffRootsAttributes","path","adapter","sourcePosition","_showLicenseError","add","$text","PendingActions","RevisionsRepository","_baseRoots","revisionHistoryLicenseKeyNotAllowed","_handleMoveOperation","319UQZDVE","expired","nodes","size","_saveMetaData","plugins","deletion","_baseIdsRoots","_markChanges","start","attributesBefore","reInit","keepParagraph","licenseKey","Empty document","RevisionTracker","_calculateMetaData","reinsert","_touchedMarkers","previousPosition","vid","getCurrentRevisionId","_bufferedUpdates","_generateTape","_setAttribute","revisionHistoryLicenseKeyTrialLimit","has","_getBaseVids","clear","initialData","_fixRange","domainLimit","getNodeByPath","_loadState","remove","from","newRange","_pendingAction","outerHTML","name","string","getData","revisionHistoryLicenseKeyDomainLimit","removeRootAttribute","elementStart","10gCePcQ","7899MePobJ","length","attributesAfter","8jLYdnP","map","getRevisions","dataDowncast","_getViewJson","7vMLEpG","offsetSize","featureNotAllowed","newValue","Initial revision","vid_start","setSource","_handleOperation","_revisionDataBuilder","_createInitialRevision","insertion","NEGATIVE_INFINITY","startsWith","_isAttached","toVersion","tableCell","_touchedRoots","createPositionFromPath","pluginName","for","_fixOperation","_lastTo","_update","createPositionAfter","root","resolve","childCount","document","addRootAttribute","_fixPosition","loadRevisionData","_handleMergeOperation","_isInit","_addPendingAction","_replaceEditorDataWithRevisionData","fromVersion","insert","isAttached","_touched","htmlProcessor"];return(pt=function(){return t})()}!function(t){const e=mt,i=t();for(;;)try{if(452801===-parseInt(e(592))/1+-parseInt(e(522))/2*(parseInt(e(467))/3)+-parseInt(e(643))/4*(-parseInt(e(466))/5)+parseInt(e(680))/6*(-parseInt(e(475))/7)+-parseInt(e(470))/8*(parseInt(e(631))/9)+parseInt(e(722))/10*(-parseInt(e(747))/11)+parseInt(e(585))/12*(parseInt(e(529))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends G.Plugin{[ft(434)];[ft(600)];[ft(636)]=null;[ft(602)];[ft(737)]=null;[ft(483)];[ft(652)];[ft(627)];[ft(443)];[ft(528)];[ft(458)];[ft(666)];[ft(588)];[ft(610)];static get[ft(493)](){return ft(436)}static get[ft(711)](){return!0}static get[ft(586)](){return!0}static get[ft(673)](){return[X.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(602)]=this[i(688)][i(752)][i(698)](i(743)),this[i(528)]=this[i(688)][i(752)][i(698)](i(690)),this[i(483)]=new gt(this[i(688)]),this[i(627)]=this[i(688)][i(649)][i(698)](i(681))||i(694),this[i(443)]=new Map,this[i(610)]=null;const s=(0,t.uid)();this[i(652)]={history:this[i(688)][i(582)][i(502)][i(708)],getLatestVersion:()=>Promise[i(500)](this[i(688)][i(582)][i(502)][i(605)]),getCurrentRevisionId:()=>s},this[i(621)](i(695),!1),this[i(621)](i(731),!0),this[i(621)](i(715),!1),this[i(688)][i(649)][i(536)](i(713),!0),this[i(688)][i(530)][i(494)](i(542))[i(584)]({view:i(721)})}[ft(543)](){const t=ft;this[t(678)](),this[t(688)][t(645)].on(t(725),()=>{const e=t,i=this[e(602)][e(733)](0),s=i&&null===i[e(539)]?i:null;if(this[e(666)]=!!s&&this[e(688)][e(649)][e(698)](e(713)),this[e(688)][e(752)][e(447)](e(712))){const t=this[e(652)][e(442)](),n=this[e(602)][e(733)](t);if(n)this[e(588)]=n[e(510)],this[e(666)]=!1;else{const t=this[e(652)][e(708)][e(669)][e(554)](t=>!t[e(507)]),n=t?t[e(523)]:this[e(652)][e(708)][e(605)];i?(i[e(489)]<n&&i[e(497)]({toVersion:n}),this[e(666)]?(this[e(652)][e(442)]=()=>s.id,this[e(588)]=s[e(510)]):(this[e(588)]=i[e(489)],this[e(666)]=!1)):(this[e(588)]=n,this[e(666)]=!1)}}else s&&(this[e(688)][e(582)][e(502)][e(708)][e(605)]=Math[e(578)](s[e(489)],this[e(688)][e(582)][e(502)][e(708)][e(605)]),s[e(510)]===s[e(489)]?(0!==s[e(510)]&&(this[e(652)][e(442)]=()=>s.id),this[e(666)]=!1):this[e(666)]&&(this[e(652)][e(442)]=()=>s.id,this[e(588)]=s[e(510)])),this[e(666)]||(this[e(588)]=this[e(688)][e(582)][e(502)][e(605)]);this[e(483)][e(543)](this[e(652)][e(708)]),this[e(484)](this[e(588)]),this[e(651)](this[e(588)]),this[e(737)]&&this[e(557)]()}),this[t(633)](t(695)).to(this,t(715),t=>!t),this[t(434)]=this[t(688)][t(649)][t(698)](t(434));const e=this[t(688)];this[t(600)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(706)==r||i(515)==r||i(699)==r||i(463)==r||i(745)==r||i(728)==r||i(446)==r||i(570)==r){delete e[n],s=r,clearInterval(this[i(600)]),this[i(600)]=void 0;break}}i(515)==s&&e[i(739)](i(518)),i(699)==s&&e[i(739)](i(748)),i(463)==s&&e[i(739)](i(452)),i(745)==s&&e[i(739)](i(477),i(576)),i(728)==s&&e[i(739)](i(664)),i(446)==s&&e[i(739)](i(710)),i(570)==s&&e[i(739)](i(613))},1e3)}async[ft(616)](){const t=ft;if(this[t(602)][t(468)]>0){const e=this[t(602)][t(733)](0),i=await this[t(665)](e),s=await this[t(615)](e);this[t(509)](i,s)}}[ft(623)](){const t=ft;super[t(623)](),this[t(600)]&&clearInterval(this[t(600)])}[ft(481)](t){this[ft(652)]=t}async[ft(626)](){const t=ft,e=await this[t(652)][t(657)]();if(e>this[t(636)][t(489)]){await this[t(454)]();const i=this[t(686)]({revision:this[t(636)],to:e});i[t(560)]=i[t(659)][t(471)](e=>this[t(688)][t(752)][t(698)](t(628))[t(705)](e)),this[t(636)][t(497)](i)}}async[ft(658)](e={},i=null){const s=ft,n=[];await this[s(454)](),this[s(666)]=!1,i>this[s(636)][s(489)]&&(i=null),null===i&&(i=await this[s(652)][s(657)]());const r=this[s(629)](i),o=this[s(686)]({from:r,to:i});if(this[s(636)][s(489)]<i){const t=this[s(686)]({revision:this[s(636)],from:i,to:i});t[s(560)]=[],t[s(659)]=[],t.id=this[s(636)].id,this[s(636)][s(497)](t,!0),delete t[s(560)],n[s(572)](t)}e[s(590)]=this[s(688)][s(752)][s(698)](s(628)).me.id,e[s(460)]=e[s(460)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(709)](e);n[s(572)](e);const c=this[s(602)][s(640)](a);if(0!==c){const t=this[s(602)][s(733)](c-1);if(t[s(510)]!==i){const r=this[s(483)][s(462)](i,t[s(489)]),o={id:t.id,diffData:r[s(571)],authorsIds:r[s(659)],authors:r[s(659)][s(471)](t=>this[s(688)][s(752)][s(698)](s(628))[s(705)](t)),fromVersion:i};t===this[s(636)]&&(o[s(642)]=new Date(e[s(642)][s(647)]()+10)),t[s(497)](o,!0),delete o[s(560)],n[s(572)](o)}}if(this[s(737)]){for(const t of n)this[s(532)](t.id,t,!0);this[s(557)]()}return a}[ft(709)](t){const e=ft,i=this[e(602)][e(589)](t);return this[e(737)]&&i.on(e(497),(t,i,s)=>{const n=e;s||(this[n(532)](i.id,i,!0),this[n(557)]())}),this[e(602)][e(696)](i,this[e(541)](i)),i}async[ft(665)](t){const e=ft;return await this[e(528)][e(505)](t,this[e(737)]),this[e(528)][e(665)](t)}async[ft(615)](t){const e=ft;return await this[e(528)][e(505)](t,this[e(737)]),this[e(528)][e(615)](t)}[ft(557)](){const t=ft;if(0===this[t(443)][t(750)])return;if(this[t(715)])return;let e=Array[t(456)](this[t(443)][t(612)]());this[t(443)][t(449)]();for(let i=0;i<e[t(468)];i++){const s=e[i];let n=!1;for(const e of Object[t(579)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(662)](t=>null!==t),!e[t(468)])return;for(let i=0;i<e[t(468)];i++){const s=e[i];void 0!==s[t(510)]&&void 0===s[t(489)]&&(s[t(489)]=this[t(602)][t(733)](s.id)[t(489)]),void 0!==s[t(489)]&&void 0===s[t(510)]&&(s[t(510)]=this[t(602)][t(733)](s.id)[t(510)])}const i=this[t(688)][t(649)][t(698)](t(681));this[t(715)]=!0,this[t(508)](),this[t(737)][t(607)](e,i)[t(609)](()=>{this[t(715)]=!1})[t(676)](e=>{const i=t;if(e)for(const t of e)this[i(569)]({id:t.id,createdAt:t[i(642)]});this[i(583)](),this[i(557)]()})}[ft(686)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(510)],i=null!==i?i:t[s(489)];const n=this[s(483)][s(462)](e,i),r={diffData:n[s(571)],authorsIds:n[s(659)],fromVersion:e,toVersion:i};if(!t||i!==t[s(489)]){const t=i-1,e=this[s(652)][s(708)][s(714)](t);r[s(642)]=e&&e[s(642)]||new Date}if(this[s(610)]&&e===this[s(610)][s(510)])for(const t of this[s(610)][s(560)])r[s(659)][s(591)](t.id)||r[s(659)][s(572)](t.id);return r}[ft(532)](t,e,i){const s=ft;if(this[s(443)][s(447)](t)){const n=this[s(443)][s(698)](t);e=i?{...n,...e}:{...e,...n}}this[s(443)][s(621)](t,e)}[ft(569)](t){const e=ft,i=this[e(602)][e(733)](t.id);if(t[e(642)]&&(t[e(642)]=new Date(t[e(642)])),t[e(659)]){const i=this[e(688)][e(752)][e(698)](e(628));t[e(560)]=t[e(659)][e(471)](t=>i[e(705)](t))}i[e(497)](t,!0)}[ft(484)](t){const e=ft,i=this[e(602)][e(733)](this[e(602)][e(468)]-1);if(i)this[e(627)]=i.id;else{const i=!this[e(688)][e(582)][e(502)][e(622)][e(554)](t=>this[e(688)][e(582)][e(720)](t)),s=this[e(688)][e(752)][e(698)](e(628)).me.id,n=at(this[e(688)][e(553)],e(i?435:479));this[e(617)]({from:t,to:t,id:this[e(627)],name:n,creatorId:s})}}[ft(651)](t){const e=ft,i=this[e(652)][e(442)]();this[e(636)]=this[e(602)][e(733)](i),this[e(636)]||(this[e(636)]=this[e(617)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(454)](){const t=ft;this[t(666)]&&!this[t(610)]&&(await this[t(528)][t(505)](this[t(636)],this[t(737)]),this[t(483)][t(702)](this[t(636)]),this[t(610)]={fromVersion:this[t(636)][t(510)],authors:this[t(636)][t(560)][t(671)]()})}[ft(509)](e,i){const s=ft;let n=this[s(688)][s(649)][s(698)](s(450)),r=this[s(688)][s(649)][s(698)](s(730));if(void 0===n){n={};for(const t of this[s(688)][s(582)][s(502)][s(587)]())n[t]=""}if(s(461)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(688)][s(582)][s(502)][s(587)]())r[t]={}}let o=!1;const a=Object[s(579)](n),c=Object[s(579)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(644)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(579)](r[t])[s(468)]>0){o=!0;break}}o||(o=c[s(630)](t=>!this[s(688)][s(582)][s(502)][s(556)](t))),o&&(0,t.logWarning)(s(653),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(688)][s(649)][s(621)](s(450),e),this[s(688)][s(649)][s(621)](s(730),i)}[ft(508)](){const t=ft;if(!this[t(458)]){const e=this[t(688)][t(752)][t(698)](t(742));this[t(458)]=e[t(740)](at(this[t(688)][t(553)],t(547)))}}[ft(583)](){const t=ft;this[t(458)]&&(this[t(688)][t(752)][t(698)](t(742))[t(455)](this[t(458)]),this[t(458)]=null)}[ft(541)](t){const e=ft,i=this[e(602)][e(472)]();i[e(729)]();let s=0;for(;s<i[e(468)];){const n=i[s];if(n===this[e(636)]){s++;continue}if(n.id===this[e(627)])break;const r=t[e(489)]-n[e(489)]||t[e(510)]-n[e(510)];if(r>0)break;if(r<0)s++;else{if(!t[e(539)]&&n[e(539)])break;if(n[e(539)]||!t[e(539)]){if(t[e(642)]>n[e(642)])break;s++}else s++}}return s}[ft(629)](t){const e=ft,i=this[e(602)][e(472)]();i[e(729)](),i[e(516)]();const s=i[e(554)](i=>i[e(489)]<=t)[e(489)];return s<this[e(588)]?this[e(588)]:s}[ft(617)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(686)]({from:e,to:i});o[r(460)]=t,o[r(590)]=s,o.id=n;const a=this[r(709)](o);return this[r(737)]&&this[r(532)](o.id,o,!0),a}[ft(678)](){const t=ft;this[t(688)][t(530)][t(494)](t(473))[t(727)]({model:t(721)})}}class gt{[ft(688)];[ft(555)];[ft(611)];[ft(648)];[ft(496)];[ft(703)];[ft(559)];[ft(735)];[ft(744)];[ft(672)];[ft(601)];[ft(754)];[ft(513)];[ft(439)];[ft(491)];[ft(620)];[ft(679)];constructor(t){const e=ft;this[e(688)]=t,this[e(611)]=new Map,this[e(648)]=-1,this[e(496)]=-1,this[e(703)]=new Map,this[e(559)]=new Map,this[e(735)]=new Map,this[e(744)]=new Map,this[e(672)]=new Map,this[e(601)]=new Map,this[e(754)]=new Map,this[e(513)]=new Map,this[e(439)]=new Map,this[e(491)]=new Map,this[e(620)]=1}[ft(543)](t){const e=ft;this[e(555)]=t;const i=new Map,s=new Map,n=this[e(688)][e(582)][e(502)][e(622)][e(471)](t=>t[e(597)]);for(const t of n){const n=this[e(688)][e(582)][e(502)][e(556)](t),r=yt(n);i[e(621)](t,r),s[e(621)](t,Object[e(525)](n[e(520)]()))}const r=Array[e(456)](this[e(688)][e(582)][e(595)])[e(471)](t=>[t[e(460)],t[e(667)]()]),o=this[e(555)][e(605)];this[e(751)](o,i,r,s),this[e(679)]=this[e(620)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(621)](t,i),c[e(621)](t,{})}this[e(751)](Number[e(486)],a,[],c)}[ft(462)](t,e){const i=ft;if(this[i(648)]===t&&this[i(496)]<=e)this[i(611)][i(750)]>1&&this[i(540)](this[i(496)]),this[i(581)](this[i(496)],e,!0);else{if(!this[i(611)][i(447)](t)){const e=this[i(693)](t);this[i(437)](e,t,!1)}this[i(437)](t,e,!0)}return this[i(648)]=t,this[i(496)]=e,this[i(697)]()}[ft(702)](t){const e=ft;if(!this[e(611)][e(447)](t[e(510)])){const i=this[e(693)](t[e(510)]);this[e(437)](i,t[e(510)],!1)}this[e(437)](t[e(510)],t[e(489)],!1);const i=this[e(688)][e(752)][e(698)](e(690));this[e(661)](),this[e(648)]=t[e(510)],this[e(496)]=t[e(489)];for(const s in t[e(571)]){const n=t[e(571)][s][e(604)],r=M(t[e(571)][s][e(757)])||{},o=i[e(632)](t[e(571)][s][e(634)]);o[e(597)]=s,o[e(488)]=!n||!n[e(512)],o[e(512)]=()=>o[e(488)],this[e(744)][e(621)](s,o),this[e(672)][e(621)](s,r),n&&this[e(491)][e(621)](s,n);const a=this[e(564)](o);this[e(754)][e(621)](s,a);for(const[t,i]of o[e(595)]){if(!t[e(487)](e(526)))continue;const s=t[e(704)](":")[2];for(const t of i[e(684)]({singleCharacters:!0})){const i=this[e(718)](t),n=e(565)==t[e(538)]?t[e(440)][e(736)][e(671)](0,-1):t[e(440)][e(736)],r=a[e(453)](n)[e(524)](i);this[e(513)][e(621)](r,{userId:s})}}}this[e(679)]=this[e(620)];const s=[...Array(this[e(620)])[e(579)]()][e(671)](1)[e(662)](t=>!this[e(513)][e(447)](t));let n=0;const r=new Map;for(const o in t[e(571)]){const a=t[e(571)][o][e(604)],c=M(t[e(571)][o][e(469)])||{},u=i[e(632)](t[e(571)][o][e(577)]);u[e(597)]=o,u[e(488)]=!a||a[e(512)],u[e(512)]=()=>u[e(488)],this[e(559)][e(621)](o,u),this[e(735)][e(621)](o,c);const l=this[e(564)](u,Number[e(486)]);this[e(601)][e(621)](o,l),r[e(621)](o,u[e(512)]()?c:{});for(const[t,i]of u[e(595)]){if(!t[e(487)](e(526)))continue;const s=t[e(704)](":")[2];for(const t of i[e(684)]({singleCharacters:!0})){const i=this[e(718)](t),n=this[e(620)]++,r=e(565)==t[e(538)]?t[e(440)][e(736)][e(671)](0,-1):t[e(440)][e(736)];l[e(453)](r)[e(445)](i,n),this[e(513)][e(621)](n,{userId:s})}}for(const t of this[e(688)][e(582)][e(593)](u)[e(684)]({singleCharacters:!0})){const i=this[e(718)](t),r=e(565)==t[e(538)]?t[e(440)][e(736)][e(671)](0,-1):t[e(440)][e(736)],o=l[e(453)](r);o[e(524)](i)>0||o[e(445)](i,s[n++])}for(const[t,i]of u[e(595)])t[e(487)](e(526))||this[e(703)][e(621)](t,i)}const{roots:o}=this[e(611)][e(698)](t[e(510)]),{roots:a}=this[e(611)][e(698)](t[e(489)]),c=yt(o[e(698)](e(635)));this[e(744)][e(621)](e(635),c),this[e(754)][e(621)](e(635),this[e(564)](c,Number[e(486)]));const u=yt(a[e(698)](e(635)));this[e(559)][e(621)](e(635),u),this[e(601)][e(621)](e(635),this[e(564)](u));const l=Array[e(456)](this[e(559)])[e(471)](([t,e])=>[t,yt(e)]);this[e(751)](this[e(496)],l,this[e(703)],r)}[ft(758)](){const t=ft;this[t(661)](),this[t(648)]=-1,this[t(496)]=-1,this[t(611)][t(449)](),this[t(543)](this[t(555)])}[ft(751)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(M(s)),a=new Map;for(const[t,e]of i)a[n(621)](t,{start:e[n(756)][n(656)](),end:e[n(670)][n(656)](),rootName:e[n(499)][n(597)]});this[n(611)][n(621)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(540)](t){const e=ft;this[e(611)][e(639)](t)}[ft(661)](){const t=ft;this[t(513)][t(449)](),this[t(439)][t(449)](),this[t(491)][t(449)](),this[t(559)][t(449)](),this[t(735)][t(449)](),this[t(744)][t(449)](),this[t(672)][t(449)](),this[t(601)][t(449)](),this[t(754)][t(449)](),this[t(703)][t(449)](),this[t(620)]=1,this[t(679)]=this[t(620)]}[ft(564)](t,e=null){const i=ft;let s=null;t.is(i(668))||(s=new K.ModelElement(t[i(460)],{vid_start:null===e?this[i(620)]++:e++}));const n=[];for(const s of t[i(716)]())if(s.is(i(641))){n[i(572)](this[i(564)](s,e));const t=n[n[i(468)]-1];null!==e&&(e=t.is(i(641),i(741))?t[i(524)](i(441))+1:t[i(524)](i(562))+1)}else for(let t=0;t<s[i(476)];t++)n[i(572)](new K.ModelElement(i(741),{vid:null===e?this[i(620)]++:e++}));if(t.is(i(668))){const e=kt(t[i(597)]);return e[i(674)](0,n),e}return s[i(445)](i(562),null===e?this[i(620)]++:e++),s[i(674)](0,n),s}[ft(437)](t,e,i){const s=ft;this[s(661)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(611)][s(698)](t);this[s(744)]=new Map(n),this[s(672)]=new Map(M(o));for(const[t,e]of this[s(744)])if(s(635)!==t&&(this[s(559)][s(621)](t,yt(e)),this[s(735)]=new Map(M(o)),i)){const i=this[s(620)];this[s(601)][s(621)](t,this[s(564)](e)),this[s(754)][s(621)](t,this[s(564)](e,i))}this[s(679)]=this[s(620)],this[s(559)][s(621)](s(635),yt(this[s(744)][s(698)](s(635)))),i&&this[s(601)][s(621)](s(635),this[s(564)](this[s(744)][s(698)](s(635))));for(const[t,e]of r){const i=this[s(744)][s(698)](e[s(597)]),n=this[s(559)][s(698)](e[s(597)]),r=new K.ModelRange(this[s(504)](e[s(756)],i),this[s(504)](e[s(670)],i)),o=this[s(451)](r,n);i[s(595)][s(621)](t,r),this[s(703)][s(621)](t,o)}this[s(581)](t,e,i)}[ft(581)](t,e,i){const s=ft;for(const n of this[s(555)][s(603)](t,e))this[s(482)](n,i);for(const t of this[s(559)][s(612)]())t[s(595)][s(449)]();for(const[t,e]of this[s(703)])this[s(559)][s(698)](e[s(499)][s(597)])[s(595)][s(621)](t,e[s(656)]());const n=new Map,r=new Map;for(const[t,e]of this[s(559)])n[s(621)](t,yt(e)),r[s(621)](t,this[s(735)][s(698)](t));this[s(751)](e,n,this[s(703)],r)}[ft(693)](t){const e=ft,i=Array[e(456)](this[e(611)][e(579)]());i[e(567)]((t,e)=>t-e),i[e(729)]();for(const e of i)if(e<t)return e;return Number[e(486)]}[ft(717)](t,e){const i=ft,s=Array[i(456)](e[i(595)])[i(471)](([e,s])=>[e,this[i(451)](s,t)]);t[i(595)]=new Map(s)}[ft(734)](t){const e=ft;for(const i of this[e(703)][e(612)]()){const s=i[e(675)](t),n=K.ModelRange[e(655)](s);i[e(756)]=n[e(756)],i[e(670)]=n[e(670)]}}[ft(482)](t,e){const i=ft;if(i(614)!=t[i(538)]&&i(568)!=t[i(538)]){if(i(511)==t[i(538)]){const s=t[i(550)][i(499)][i(597)];this[i(559)][i(447)](s)||(this[i(559)][i(621)](s,kt(s,!0)),this[i(735)][i(621)](s,{}),e&&this[i(601)][i(621)](s,kt(s,!0)))}else{if(i(503)==t[i(538)]||i(464)==t[i(538)]||i(561)==t[i(538)])return void this[i(619)](t);i(637)==t[i(538)]&&this[i(685)](t)}if(i(637)!==t[i(538)]){const e=this[i(660)](t,this[i(559)]);e[i(700)](),this[i(734)](e)}if(e)switch(t[i(538)]){case i(511):this[i(707)](t);break;case i(691):case i(455):case i(438):this[i(746)](t);break;case i(531):this[i(506)](t);break;case i(704):this[i(521)](t)}}else this[i(608)](t,e)}[ft(660)](t,e){const i=ft,s=t[i(656)]();return s[i(689)]=t[i(689)],this[i(495)](s,e),s}[ft(448)](t){const e=ft;return t[e(471)](t=>{const i=e,s=this[i(718)](t);return Number(t[i(575)][i(524)](s))})}[ft(444)](t,e){const i=ft;if(t.is(i(641),i(741)))e[i(572)]({item:t,type:i(533)});else{t.is(i(641))&&e[i(572)]({item:t,type:i(465)});for(const s of t[i(716)]())this[i(444)](s,e);t.is(i(641))&&e[i(572)]({item:t,type:i(565)})}return e}[ft(697)](){const t=ft,e=new Map(this[t(513)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(744)][t(579)](),...this[t(559)][t(579)]()]);a[t(639)](t(635));for(const e of a){const i=this[t(559)][t(698)](e)||kt(e,!1),s=this[t(744)][t(698)](e)||kt(e,!1);i[t(512)]()||s[t(512)]()?(n[t(577)][e]=yt(i),n[t(634)][e]=yt(s),this[t(717)](n[t(634)][e],s),this[t(717)](n[t(577)][e],i),r[t(577)][e]=this[t(444)](this[t(601)][t(698)](e),[]),r[t(634)][e]=this[t(444)](this[t(754)][t(698)](e)||kt(e,!1),[])):a[t(639)](e)}for(const n of a){const o=r[t(577)][n];for(const n of o){const r=this[t(718)](n),o=n[t(575)][t(524)](r);i[t(639)](o),o>=this[t(679)]&&s[t(621)](o,e[t(698)](o))}}for(const n of a){const a=r[t(577)][n],c=this[t(448)](r[t(634)][n]);let u=0;for(const n of a){const r=this[t(718)](n),a=n[t(575)][t(524)](r);if(!s[t(447)](a)&&!o[t(447)](a))if(i[t(447)](a))u++;else{if(a!=c[u]){const s=e[t(698)](a)||e[t(698)](c[u]);for(;a!=c[u];)i[t(447)](c[u])||(o[t(621)](c[u],s),e[t(621)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(577)][e];for(const e of n){const n=this[t(718)](e),r=e[t(575)][t(524)](n);if(o[t(447)](r)){const e=o[t(698)](r);i[t(447)](r)||i[t(621)](r,{...e}),s[t(621)](r,{...e})}}}for(const e of i[t(579)]())e>=this[t(679)]&&i[t(639)](e);const c=new Map;for(const e of a){let n=r[t(577)][e];for(const e of n)if(e[t(575)].is(t(641),t(490))){const i=this[t(718)](e),n=e[t(575)][t(524)](i);if(s[t(447)](n)){const i=e[t(575)][t(719)][t(719)][t(524)](t(480)),r=c[t(698)](i)||new Set;r[t(740)](s[t(698)](n)[t(574)]),c[t(621)](i,r)}}n=r[t(634)][e];for(const e of n)if(e[t(575)].is(t(641),t(490))){const s=this[t(718)](e),n=e[t(575)][t(524)](s);if(i[t(447)](n)){const s=e[t(575)][t(719)][t(719)][t(524)](t(480)),r=c[t(698)](s)||new Set;r[t(740)](i[t(698)](n)[t(574)]),c[t(621)](s,r)}}for(const e of c[t(579)]())(s[t(447)](e)||i[t(447)](e))&&c[t(639)](e)}for(const e of a){const n=r[t(577)][e];let o=null,a=null;for(const e of n){const n=this[t(718)](e),r=e[t(575)][t(524)](n),u=c[t(698)](r);u&&t(465)==e[t(538)]&&(o=Array[t(456)](u)[0],a=e[t(575)][t(524)](t(562))),o&&(i[t(621)](r,{userId:o}),s[t(621)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(634)][e],a=n[t(577)][e];for(const{userId:e}of this[t(439)][t(612)]())null!==e&&l[t(740)](e);for(const{userId:e}of this[t(491)][t(612)]())null!==e&&l[t(740)](e);this[t(755)](a,r[t(577)][e],s,t(485),l),this[t(755)](o,r[t(634)][e],i,t(753),l),u[e]={insertions:this[t(580)](a),deletions:this[t(580)](o),attachChange:this[t(491)][t(698)](e)||null,attributesBefore:M(this[t(672)][t(698)](e))||{},attributesAfter:M(this[t(735)][t(698)](e))}}return{diffData:u,authorsIds:Array[t(456)](l)}}[ft(549)](t){const e=ft;for(const[,i]of t[e(595)]){const t=i[e(756)][e(517)]()[e(662)](t=>e(490)==t[e(460)]);for(const i of t)1==i[e(501)]&&i[e(546)](0).is(e(641),e(551))&&i[e(546)](0)[e(445)](e(759),!0)}}[ft(580)](t){const e=ft;this[e(549)](t);const i=this[e(688)][e(645)][e(683)](t,{}),s=Array[e(456)](i[e(716)]())[e(471)](t=>this[e(474)](t));return JSON[e(654)](s)}[ft(474)](t){const e=ft;if(t.is(e(741)))return t[e(645)];{const i=this[e(688)][e(752)][e(698)](e(690)),s=t,n=this[e(688)][e(645)][e(514)][e(723)],r={type:i[e(573)](s),name:s[e(460)],attributes:Array[e(456)](s[e(520)]()),children:Array[e(456)](s[e(716)]())[e(471)](t=>this[e(474)](t))};if(t.is(e(692))&&e(596)!=t[e(460)]){const i=t[e(594)](n[e(598)],n);r[e(537)][e(572)](i[e(459)])}else if(t.is(e(558))){const i=n[e(598)][e(663)](s[e(460)]);t[e(594)](i,n),r[e(537)][e(572)](i[e(527)])}const o=Array[e(456)](s[e(535)]());o[e(468)]>0&&(r[e(687)]=o);const a=s[e(638)]();return null!==a&&(r[e(552)]=a),r}}[ft(755)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(688)][r(582)];for(let s=0;s<e[r(468)];s++){const n=this[r(718)](e[s]),c=e[s][r(575)][r(524)](n),h=i[r(698)](c),d=s==e[r(468)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(574)]!=o[r(574)])&&(l(h,bt(a,t,u),bt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,bt(a,t,u),wt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(574)],d=l(526)+s+":"+h+":"+c++,f=u[l(519)](i,a);t[l(595)][l(621)](d,f),null!==h&&n[l(740)](h)}}[ft(718)](t){const e=ft;switch(t[e(538)]){case e(465):return e(480);case e(565):return e(562);default:return e(441)}}[ft(495)](t,e){const i=ft;t[i(523)]=null;for(const s in t){const n=t[s];if(n instanceof K.ModelPosition){const r=e[i(698)](n[i(499)][i(597)]);t[s]=this[i(504)](n,r)}if(n instanceof K.ModelRange){const r=e[i(698)](n[i(499)][i(597)]);t[s]=this[i(451)](n,r)}i(499)===s&&(t[i(499)]=e[i(698)](t[i(499)][i(597)]))}}[ft(451)](t,e){const i=ft;return this[i(688)][i(582)][i(519)](this[i(504)](t[i(756)],e),this[i(504)](t[i(670)],e))}[ft(504)](t,e){const i=ft;return this[i(688)][i(582)][i(492)](e,t[i(736)],t[i(624)])}[ft(707)](t){const e=ft,i=this[e(601)][e(698)](t[e(550)][e(499)][e(597)]),s=this[e(504)](t[e(550)],i),n=null===t[e(689)]?null:t[e(689)]||this[e(688)][e(752)][e(698)](e(628)).me.id,r=s[e(719)],o=this[e(620)],a=[];for(const i of t[e(749)])if(i.is(e(641)))a[e(572)](this[e(564)](i));else for(let t=0;t<i[e(476)];t++)a[e(572)](new K.ModelElement(e(741),{vid:this[e(620)]++}));const c=this[e(620)];for(let t=o;t<c;t++)this[e(513)][e(621)](t,{userId:n});r[e(674)](s[e(618)],a)}[ft(746)](t){const e=ft;(t=this[e(660)](t,this[e(601)]))[e(700)]();const i=null===t[e(689)]?null:t[e(689)]||this[e(688)][e(752)][e(698)](e(628)).me.id,s=t[e(544)](),n=s[e(719)],r=s[e(618)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(546)](e);r.is(a(641),a(741))?s[a(621)](r[a(524)](a(441)),{userId:i}):(s[a(621)](r[a(524)](a(480)),{userId:i}),t(s,r,0,r[a(501)]),s[a(621)](r[a(524)](a(562)),{userId:i}))}}(this[e(513)],n,r,r+t[e(677)])}[ft(506)](t){const e=ft,i=null===(t=this[e(660)](t,this[e(601)]))[e(689)]?null:t[e(689)]||this[e(688)][e(752)][e(698)](e(628)).me.id,s=t[e(606)][e(719)],n=t[e(738)][e(719)],r=s[e(524)](e(562)),o=n[e(524)](e(480));s[e(445)](e(562),n[e(524)](e(562))),n[e(445)](e(562),r),this[e(513)][e(621)](o,{userId:i}),this[e(513)][e(621)](r,{userId:i}),t[e(700)]()}[ft(521)](t){const e=ft,i=null===(t=this[e(660)](t,this[e(601)]))[e(689)]?null:t[e(689)]||this[e(688)][e(752)][e(698)](e(628)).me.id,s=t[e(548)],n=t[e(625)][e(719)];t[e(700)]();const r=n[e(524)](e(562)),o=t[e(726)][e(724)];if(s){const t=o[e(524)](e(562)),s=n[e(524)](e(562));n[e(445)](e(562),t),o[e(445)](e(562),s),this[e(513)][e(621)](n[e(524)](e(562)),{userId:i}),this[e(513)][e(621)](o[e(524)](e(480)),{userId:i})}else{const t=this[e(620)]++,s=this[e(620)]++;n[e(445)](e(562),t),o[e(445)](e(480),s),o[e(445)](e(562),r),this[e(513)][e(621)](t,{userId:i}),this[e(513)][e(621)](s,{userId:i})}}[ft(685)](t){const e=ft;if(!t[e(701)])return;const i=(t=this[e(660)](t,this[e(559)]))[e(646)]?t[e(646)][e(499)]:null,s=t[e(457)]?t[e(457)][e(499)]:null;i&&this[e(703)][e(639)](t[e(460)]),s&&this[e(703)][e(621)](t[e(460)],t[e(457)][e(656)]());const n=null===t[e(689)]?null:t[e(689)]||this[e(688)][e(752)][e(698)](e(628)).me.id,r=t[e(460)];if(!this[e(439)][e(447)](r))return void this[e(439)][e(621)](r,{range:t[e(646)],userId:n});const o=this[e(439)][e(698)](r),a=o[e(534)],c=t[e(457)];null==a&&null==c||a&&c&&a[e(563)](c)?this[e(439)][e(639)](t[e(460)]):o[e(574)]=n}[ft(608)](t,e){const i=ft;this[i(559)][i(447)](t[i(597)])?this[i(559)][i(698)](t[i(597)])[i(488)]=t[i(732)]:(this[i(559)][i(621)](t[i(597)],kt(t[i(597)],!0)),this[i(735)][i(621)](t[i(597)],{}),e&&this[i(601)][i(621)](t[i(597)],kt(t[i(597)],!0)));const s=null===t[i(689)]?null:t[i(689)]||this[i(688)][i(752)][i(698)](i(628)).me.id,n=this[i(491)][i(698)](t[i(597)]);n&&n[i(574)]===s?this[i(491)][i(639)](t[i(597)]):this[i(491)][i(621)](t[i(597)],{userId:s,isAttached:t[i(732)]})}[ft(619)](t){const e=ft,i=this[e(735)][e(698)](t[e(499)][e(597)]);null===t[e(478)]?delete i[t[e(599)]]:i[t[e(599)]]=t[e(478)]}}function yt(t){const e=ft,i=kt(t[e(597)],t[e(512)]());for(const s of t[e(716)]()){const t=s[e(545)](!0);i[e(682)](t)}return i}function kt(t,e=!0){const i=ft,s=new K.ModelDocumentFragment;return s[i(597)]=t,s[i(488)]=e,s[i(512)]=()=>s[i(488)],s}function bt(t,e,i){const s=ft,n=s(565)==t[s(538)]?i[s(566)](t[s(575)],s(670)):i[s(650)](t[s(575)]);return i[s(492)](e,n[s(736)],n[s(624)])}function wt(t,e,i){const s=ft,n=s(465)==t[s(538)]?i[s(566)](t[s(575)],0):i[s(498)](t[s(575)]);return i[s(492)](e,n[s(736)],n[s(624)])}var _t=i(355),It=i(311),St=i(6),Ot=i.n(St),Tt=i(602),xt=i.n(Tt),Nt=i(557),At=i.n(Nt),Mt=i(302),Rt=i.n(Mt),Vt=i(290),Et=i.n(Vt),Dt=i(606),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Rt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(660),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Rt(),Lt.insert=At().bind(null,"head"),Lt.domAPI=xt(),Lt.insertStyleElement=Et();Ot()(Ft.A,Lt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Pt=jt;function jt(t,e){const i=Wt();return(jt=function(t,e){return i[t-=169]})(t,e)}!function(t){const e=jt,i=t();for(;;)try{if(956251===parseInt(e(186))/1*(parseInt(e(182))/2)+-parseInt(e(199))/3*(parseInt(e(172))/4)+-parseInt(e(209))/5*(parseInt(e(206))/6)+-parseInt(e(181))/7+parseInt(e(171))/8+parseInt(e(207))/9+-parseInt(e(210))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(170)];[Pt(177)];[Pt(196)];constructor(e,i){const s=Pt;super(e),this[s(170)]=new t.FocusTracker,this[s(177)]=new t.KeystrokeHandler,this[s(192)](s(178),""),this[s(196)]=this[s(189)](i),this[s(169)]({tag:s(180),attributes:{class:["ck",s(205),s(183)],tabindex:"-1"},children:[this[s(196)]]}),this[s(208)]()}[Pt(211)](){const t=Pt;super[t(211)](),(0,It.submitHandler)({view:this}),this[t(170)][t(200)](this[t(196)][t(195)]),this[t(177)][t(175)](this[t(195)]);const e=e=>e[t(190)]();this[t(177)][t(192)](t(188),e),this[t(177)][t(192)](t(193),e),this[t(177)][t(192)](t(203),e),this[t(177)][t(192)](t(194),e)}[Pt(179)](){const t=Pt;this[t(196)][t(179)]()}get[Pt(191)](){const t=Pt;return this[t(196)][t(197)][t(195)][t(174)][t(201)]()}set[Pt(191)](t){const e=Pt;this[e(196)][e(197)][e(195)][e(174)]=t[e(201)]()}[Pt(198)](){const t=Pt;this[t(196)][t(197)][t(195)][t(174)]="",this[t(196)][t(176)]=null}[Pt(189)](t){const e=Pt,i=new It.LabeledFieldView(this[e(185)],It.createLabeledInputText),s=i[e(197)];s[e(212)]({attributes:{maxlength:e(202)}});let n=at(this[e(185)],e(173));return!t&&(n+=" ("+at(this[e(185)],e(187))+")"),i[e(204)]=n,s.on(e(184),()=>{const t=e;this[t(178)]=s[t(195)][t(174)][t(201)]()}),i}}function Wt(){const t=["render","extendTemplate","setTemplate","focusTracker","4995048oMBqCj","1387108fTgKZf","Name of the revision","value","listenTo","errorText","keystrokes","revisionNameInputValue","focus","form","10029873Pwbhjm","2lkMwwg","ck-responsive-form","input","locale","1242737BXvvUU","optional","arrowright","_createRevisionNameInput","stopPropagation","revisionName","set","arrowleft","arrowdown","element","revisionNameInputView","fieldView","reset","3LdMLbZ","add","trim","220","arrowup","label","ck-revision-history-save-revision-form","3204DHEBdH","16518348kMgTnB","initializeCssTransitionDisablerMixin","3945rorDvr","5452970URbEKk"];return(Wt=function(){return t})()}function Ut(t,e){const i=Zt();return(Ut=function(t,e){return i[t-=260]})(t,e)}const Ht=Ut;function Zt(){const t=["Dialog","18JCIqXZ","547623cdgbld","menuBar:revisionHistory","delegate","RevisionHistoryUI","view","revisionNameInputView","show","panelView","isOfficialPlugin","70lOAFIh","33PWIjTm","Accept","Save current revision","items","saveRevision","isPremiumPlugin","get","191670OSMczW","componentFactory","_saveRevisionFormView","config","hide","isReady","Cancel","bind","menu","_createSaveRevisionFormView","ck-button-action","plugins","focus","_showDialog","12332VLlzsV","reset","locale","children","buttonView","The revision name cannot be empty.","isOpen","Open revision history","_registerMenuComponent","requires","revisionHistory.requireRevisionName","submit","RevisionTracker","revisionSave","Revision history","editing","revisionHistory","editor","add","role","render","execute","menuitem","init","24572YUADLZ","484800iCiblk","98464hMXPgx","errorText","showRevisionViewerCallback","191025QyIvwB","pluginName","isEnabled","revisionName","addMany","isReadOnly","set"];return(Zt=function(){return t})()}!function(t){const e=Ut,i=t();for(;;)try{if(104863===-parseInt(e(301))/1*(-parseInt(e(322))/2)+-parseInt(e(291))/3+parseInt(e(277))/4+-parseInt(e(308))/5*(parseInt(e(290))/6)+-parseInt(e(300))/7*(-parseInt(e(279))/8)+parseInt(e(282))/9+parseInt(e(278))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class $t extends G.Plugin{static get[Ht(283)](){return Ht(294)}static get[Ht(299)](){return!0}static get[Ht(306)](){return!0}static get[Ht(262)](){return[vt]}[Ht(310)];[Ht(276)](){const t=Ht,e=this[t(270)],i=e[t(319)][t(307)](t(265));e.ui[t(309)][t(271)](t(269),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(298)][n(325)],a=new It.ListView(s),c=new It.ListItemView(s),u=new It.ButtonView(s),l=new It.ListItemView(s),h=new It.ButtonView(s);return r[n(315)](n(284)).to(i,n(313),i,n(284),e,n(287),(t,e,i)=>t&&e&&!i),r[n(326)][n(288)]({icon:_t.IconHistory,label:at(s,n(267)),tooltip:!0}),u[n(288)]({label:at(s,n(303)),withText:!0,role:n(275)}),u[n(315)](n(284)).to(i,n(313),i,n(284),e,n(287),(t,e,i)=>t&&e&&!i),u.on(n(274),()=>this[n(321)]()),h[n(288)]({label:at(s,n(260)),withText:!0,role:n(275)}),h[n(315)](n(284)).to(i,n(313),e,n(287),(t,e)=>t&&!e),h.on(n(274),()=>{const t=n;e[t(311)][t(307)](t(269))[t(281)](),r[t(328)]=!1,e[t(268)][t(295)][t(320)]()}),c[n(325)][n(271)](u),l[n(325)][n(271)](h),a[n(272)]=n(316),a[n(304)][n(286)]([c,l]),o[n(271)](a),r}),e.ui[t(309)][t(271)](t(292),()=>this[t(261)]())}[Ht(261)](){const t=Ht,e=this[t(270)],i=e[t(324)],s=new It.MenuBarMenuView(i),n=new It.MenuBarMenuListView(i);s[t(326)][t(288)]({icon:_t.IconHistory,label:at(i,t(267))});const r=new It.MenuBarMenuListItemView(i,s),o=new It.MenuBarMenuListItemButtonView(i);o[t(288)]({label:at(i,t(303))}),o[t(293)](t(274)).to(s),o.on(t(274),()=>{this[t(321)]()}),r[t(325)][t(271)](o),n[t(304)][t(271)](r);const a=new It.MenuBarMenuListItemView(i,s),c=new It.MenuBarMenuListItemButtonView(i);return c[t(288)]({label:at(i,t(260))}),c[t(293)](t(274)).to(s),c.on(t(274),()=>{const i=t;e[i(311)][i(307)](i(269))[i(281)]()}),a[t(325)][t(271)](c),n[t(304)][t(271)](a),s[t(298)][t(325)][t(271)](n),s}[Ht(321)](){const t=Ht,e=this[t(270)],i=e[t(324)],s=e[t(319)][t(307)](t(289)),n=e[t(319)][t(307)](t(265));function r(n){const r=t;e[r(311)][r(307)](r(263))&&""===n[r(285)]?n[r(296)][r(280)]=at(i,r(327)):(e[r(319)][r(307)](vt)[r(305)]({name:n[r(285)]}),s[r(312)]())}this[t(310)]||(this[t(317)](),this[t(310)].on(t(264),()=>r(this[t(310)]))),this[t(310)][t(323)](),s[t(297)]({id:t(266),title:at(i,t(303)),isModal:!0,content:this[t(310)],actionButtons:[{label:at(e[t(324)],t(314)),withText:!0,onExecute:()=>s[t(312)]()},{label:at(e[t(324)],t(302)),class:t(318),withText:!0,onCreate(i){const s=t;i[s(315)](s(284)).to(n,s(313),n,s(284),e,s(287),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(310)])}]})}[Ht(317)](){const t=Ht,e=this[t(270)],i=e[t(324)];this[t(310)]=new zt(i,e[t(311)][t(307)](t(263))),this[t(310)][t(273)]()}}const qt=Yt;function Bt(){const t=["_model","Added by","span","focus","4450581fdtHKB","265PpGFYg","ck-revision-change","div","ck-revision-change__","setTemplate","ck-annotation","add","Suggested by","293028PAAamS","565158Sqnczg","data","ck-revision-change__label","author","name","element","14gEybJf","changeId","Removed by","763215ujvLbq","12764uZORAa","250628oblWjS","set","isSuggestion","bindTemplate","type","2453600oMJjkg"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=314]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(311283===parseInt(e(321))/1+parseInt(e(340))/2+-parseInt(e(319))/3+parseInt(e(320))/4*(parseInt(e(332))/5)+-parseInt(e(341))/6*(parseInt(e(316))/7)+-parseInt(e(326))/8+parseInt(e(331))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt extends It.View{[qt(317)];[qt(327)];constructor(t,e){const i=qt;super(t),this[i(327)]=e,this[i(317)]=e.id;const s=this[i(324)],n=at(t,e[i(342)][i(323)]?i(339):i(338)==e[i(325)]?i(328):i(318));this[i(322)](i(325),e[i(325)]),this[i(336)]({tag:i(334),attributes:{class:[i(337),i(333),s.to(i(325),t=>i(335)+t)],tabindex:-1},children:[{tag:i(329),children:[{tag:i(329),attributes:{class:[i(343)]},children:[{text:n}]},{text:" "+e[i(344)][i(314)]}]}]})}[qt(330)](){const t=qt;this[t(315)][t(330)]()}}function Gt(){var t=["1206SkRXtm","2365506julDEU","toJSON","220562wyNEIC","set","type","39784dcKozd","data","createdAt","585042sGdNFF","author","898935xpLmjU","rootName","961918NZkoTQ","1901368VSwasO","12wUNtsj"];return(Gt=function(){return t})()}var Xt=Kt;function Kt(t,e){var i=Gt();return(Kt=function(t,e){return i[t-=240]})(t,e)}!function(t){for(var e=Kt,i=t();;)try{if(357681===parseInt(e(250))/1+parseInt(e(244))/2+parseInt(e(240))/3+-parseInt(e(246))/4*(parseInt(e(242))/5)+-parseInt(e(248))/6+-parseInt(e(245))/7+-parseInt(e(253))/8*(-parseInt(e(247))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Qt extends((0,t.ObservableMixin)()){id;[Xt(241)];[Xt(252)];[Xt(254)];[Xt(243)];constructor(e){var i=Xt;super(),this.id=e.id||(0,t.uid)(),this[i(241)]=e[i(241)],this[i(252)]=e[i(252)],this[i(254)]=e[i(254)]||{},this[i(243)]=e[i(243)],this[i(251)](i(255),e[i(255)])}[Xt(249)](){var t=Xt;return{id:this.id,authorId:this[t(241)].id,type:this[t(252)],data:this[t(254)],createdAt:this[t(255)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=447]})(t,e)}function ie(){const t=["add","33426100mdDosv","oldRevisionId","4694445hUIMSw","81525lbWzxb","1757907FIBpNe","2EhyUog","605079PrfsnN","234rufikN","1528240qSbntv","newRevisionId","96VebSNK","686051zcIJmw","changes","_setChanges"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(424772===-parseInt(e(461))/1*(-parseInt(e(455))/2)+parseInt(e(454))/3+parseInt(e(458))/4+-parseInt(e(453))/5*(-parseInt(e(457))/6)+parseInt(e(452))/7+-parseInt(e(460))/8*(-parseInt(e(456))/9)+-parseInt(e(450))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class se{[te(459)];[te(451)];[te(447)];constructor(e,i){const s=te;this[s(459)]=e,this[s(451)]=i,this[s(447)]=new t.Collection}[te(448)](t){const e=te;for(const i of t)this[e(447)][e(449)](i)}}var ne=i(316),re={attributes:{"data-cke":!0}};re.setAttributes=Rt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ae;function ae(t,e){const i=he();return(ae=function(t,e){return i[t-=242]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(432374===-parseInt(e(509))/1+parseInt(e(348))/2*(parseInt(e(383))/3)+-parseInt(e(542))/4+-parseInt(e(405))/5*(-parseInt(e(525))/6)+-parseInt(e(415))/7*(parseInt(e(392))/8)+-parseInt(e(403))/9+parseInt(e(563))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(he);class ce extends G.Plugin{[oe(399)];[oe(498)]=null;[oe(421)];[oe(268)];[oe(327)];[oe(378)];[oe(346)];static get[oe(558)](){return oe(517)}static get[oe(368)](){return!0}static get[oe(490)](){return!0}static get[oe(467)](){return[X.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(399)]=this[e(428)][e(556)][e(507)](e(351)),this[e(421)]=this[e(428)][e(556)][e(507)](e(285)),this[e(545)](e(406),null),this[e(545)](e(252),null),this[e(268)]=null,this[e(545)](e(311),null),this[e(545)](e(266),!1),this[e(545)](e(565),!0),this.on(e(416),(t,i,s)=>{const n=e;this[n(406)]=null,this[n(252)]=null,this[n(428)][n(308)][n(441)][n(536)](t=>{const e=n;for(const i of this[e(428)][e(308)][e(441)][e(350)][e(434)])s?t[e(359)](e(387),i):t[e(367)](e(387),i)})}),this[e(404)](e(316)).to(this,e(406),t=>null!==t),this[e(404)](e(528)).to(this,e(266),this,e(311),this,e(406),(t,i,s)=>t&&s?i[e(338)][e(297)](s):0),this[e(404)](e(290)).to(this,e(266),this,e(311),(t,i)=>t?i[e(338)][e(409)]:0),this[e(327)]=null,this[e(378)]=new Map,this[e(346)]=this[e(428)][e(556)][e(507)](It.ContextualBalloon)}[oe(306)](){const t=oe,e=this[t(428)],i=new de(e,{direction:t(259)}),s=new de(e,{direction:t(379)});e[t(272)][t(559)](t(242),i),e[t(272)][t(559)](t(512),s),e[t(272)][t(559)](t(485),new le(e)),this.on(t(286),()=>{const e=t;i[e(314)](),s[e(314)]()}),this[t(564)](),this[t(370)](),e[t(302)](t(262)),e[t(556)][t(439)](t(522))&&e[t(556)][t(507)](t(522))[t(443)](t(262))}async[oe(487)](t){const e=oe;return await this[e(421)][e(393)](t,this[e(498)]),this[e(421)][e(487)](t)}async[oe(397)](t){const e=oe;return await this[e(421)][e(393)](t,this[e(498)]),this[e(421)][e(397)](t)}async[oe(299)](t,e,i=!1){const s=oe;if(!this[s(565)])return;const n=this[s(311)],r=this[s(399)],o=s(335)==typeof t?r[s(382)](t):t,a=s(335)==typeof e?r[s(382)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(311)]&&this[s(311)][s(432)]===c&&this[s(311)][s(519)]===u)return Promise[s(269)]();this[s(266)]=!1,this[s(252)]=null,this[s(406)]=null,this[s(311)]=new se(c,u);const l=this[s(402)](o,a,!0)[s(377)](t=>this[s(421)][s(393)](t,this[s(498)]));return l[s(301)](new Promise(t=>{setTimeout(t,20)})),Promise[s(423)](l)[s(458)](()=>{const t=s;if(!this[t(565)])return;this[t(481)]();const e=this[t(523)](c,u);for(const i of e[t(338)])this[t(378)][t(545)](i.id,i);this[t(428)][t(312)][t(513)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(428)][s(312)][s(350)][s(561)]())i[s(395)](t);for(const t of Object[s(380)](e[s(312)])){const n=i[s(253)](t);for(const r of Object[s(380)](e[s(437)][t]))i[s(444)](r,e[s(437)][t][r],n);i[s(493)](e[s(312)][t],n,0)}}),this[t(311)][t(524)](this[t(309)](e[t(338)])),this[t(266)]=!0})[s(508)](t=>{const e=s;console[e(463)](t),this[e(481)](),n&&(this[e(311)]=n),this[e(266)]=!0})}[oe(303)](t,e){const i=oe,s=this[i(399)][i(396)](t);return s.on(i(320),(t,i,n)=>e(i,n,s)),this[i(399)][i(511)](s),s}[oe(481)](){const t=oe;this[t(406)]=null,this[t(371)](),this[t(327)]&&this[t(327)][t(347)](),this[t(327)]=null,this[t(378)][t(389)](),this[t(428)][t(312)][t(513)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(428)][i(312)][i(350)][i(561)]())e[i(395)](t)})}[oe(309)](t){const e=oe,i=[],s=new Map;for(const t of this[e(428)][e(312)][e(350)][e(561)]()){const n=this[e(428)][e(308)][e(441)][e(298)](t);if(!n)continue;const r=n[e(462)]()[e(455)](0);r&&(i[e(301)](t),s[e(545)](t,r))}return i[e(456)]((t,i)=>{const n=e,r=s[n(507)](t),o=s[n(507)](i);return r.y-o.y||r.x-o.x}),(t=t[e(255)](t=>i[e(267)](t[e(339)])))[e(456)]((t,s)=>i[e(337)](t[e(339)])-i[e(337)](s[e(339)])),t}[oe(276)](t){const e=oe,i=Array[e(278)](t[e(452)])[e(255)](([t,i])=>t[e(369)](e(270))&&!i[e(251)]),s=Array[e(278)](this[e(428)][e(312)][e(304)](t)[e(313)]({singleCharacters:!0}));if(0!=i[e(409)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(474)](":");if(n[e(445)][e(358)](t[e(362)])&&i[e(484)](),(t[e(330)][e(358)](n[e(465)])||t[e(330)][e(504)](n[e(465)]))&&(e(460)==r?t[e(246)]={userId:o}:e(400)==r&&(t[e(527)]={userId:o})),0==i[e(409)])break}return s}[oe(331)](t){const e=oe,i=new Map;for(let s=0;s<t[e(409)];s++)e(506)===t[s][e(243)]?(t[s][e(455)][e(373)]=s,t[s][e(455)][e(449)]=s):(e(325)===t[s][e(243)]?t[s][e(455)][e(373)]=s:e(254)===t[s][e(243)]&&(t[s][e(455)][e(449)]=s),i[e(545)](t[s].id,s));for(const s of i[e(538)]())e(325)===t[s][e(243)]?t[s][e(455)][e(449)]=i[e(507)](t[s][e(300)]):e(254)===t[s][e(243)]&&(t[s][e(455)][e(373)]=i[e(507)](t[s][e(300)]))}[oe(541)](t){const e=oe;for(let i=0;i<t[e(409)];i++){if(e(325)===t[i][e(243)])t[i][e(455)][e(373)]=i;else if(e(254)===t[i][e(243)]){t[i][e(455)][e(449)]=i;const s=t[i][e(455)][e(373)];t[s][e(300)]=t[i].id,t[i][e(300)]=t[s].id}else t[i][e(455)][e(373)]=i,t[i][e(455)][e(449)]=i,t[i][e(300)]=null;t[i][e(386)]||(t[i][e(386)]=[],t[i][e(257)]=[])}}[oe(247)](t,e){const i=oe,s=t[i(255)](t=>!t[i(246)]);for(let t=0;t<e[i(409)];t++)e[t][i(246)]&&(s[t][i(246)]=e[t][i(246)])}[oe(523)](t,e=null){const i=oe,s=this[i(399)][i(382)](t),n=e?this[i(399)][i(382)](e):null,r=this[i(402)](s,n),o=r[r[i(409)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(409)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(380)](e[i(263)]))if(e[i(263)][t][i(472)]){const s=e[i(263)][t][i(472)];s[i(482)]?(u[i(559)](t),l[i(439)](t)&&l[i(507)](t)[i(422)]==s[i(422)]?l[i(433)](t):l[i(545)](t,s)):l[i(439)](t)?(u[i(433)](t),l[i(433)](t)):(u[i(559)](t),l[i(545)](t,s))}else u[i(559)](t)}for(const t of u){const e=l[i(439)](t)&&!l[i(507)](t)[i(482)];let s=e?r[i(409)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(263)][t]){const s=e?o[i(263)][t][i(531)]:o[i(263)][t][i(281)];c[i(437)][t]=s?M(s):{};break}s+=n}}for(const t of r){t[i(312)]={};for(const e of t[i(540)])a[i(545)](e.id,e);for(const e of u){const s=t[i(263)][e]?t[i(263)][e][i(282)]:"[]",n=t[i(263)][e]?t[i(263)][e][i(375)]:"[]";t[i(312)][e]={insertions:this[i(421)][i(532)](s),deletions:this[i(421)][i(532)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(278)](s[i(312)][t][i(282)][i(452)])[i(255)](([t])=>!t[i(369)](i(270))));let h=0;for(const o of r){const r=this[i(276)](o[i(312)][t][i(282)]);o==s?(e=r,n=e[i(409)],e[i(448)](t=>{t.id=h++}),this[i(541)](e)):this[i(247)](e,r);const a=e[i(255)](t=>!t[i(246)])[i(377)](t=>t.id);let c=0;const l=this[i(276)](o[i(312)][t][i(375)]);l[i(448)](t=>{t[i(527)]?t.id=n++:t.id=a[c++]}),this[i(541)](l),this[i(296)](e,i(246)),this[i(296)](l,i(527)),o==s&&this[i(273)](e,u),e=this[i(489)](e,l),this[i(331)](e),this[i(296)](e,i(527))}e=e[i(255)](t=>!(t[i(246)]&&t[i(527)]));const d=new Map(o[i(312)][t][i(375)][i(452)]),f=new Set(u[i(380)]());for(const t of d[i(380)]())f[i(433)](t);this[i(479)](e,f),this[i(436)](e),e=this[i(562)](e),e=this[i(407)](e),e=this[i(450)](e);const{root:m,changes:p}=this[i(261)](e,a,t);c[i(312)][t]=m;const v=l[i(507)](t);if(v){const e=a[i(507)](v[i(422)]),s=new Qt({author:e,type:v[i(482)]?i(559):i(429),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(552)](s),c[i(437)][t][i(275)]=s.id}c[i(338)]=c[i(338)][i(398)](p)}return c}[oe(273)](t,e){const i=oe;for(let s=0;s<t[i(409)];s++)for(const[n,r]of e)!r[i(251)]&&r[i(465)][i(358)](t[s][i(330)])&&t[s][i(386)][i(301)](n),r[i(445)][i(358)](t[s][i(362)])&&t[s][i(257)][i(301)](n)}[oe(489)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(409)]||r<e[i(409)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(301)](o);else if(a[i(527)]&&o[i(246)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(364)](t,n,e,r);s=s[i(398)](o),n=a,r=c}else a[i(527)]?(r++,s[i(301)](a)):(n++,s[i(301)](o))}return s}[oe(479)](t,e){const i=oe,s=[];for(let o=0;o<t[i(409)];o++){for(let r=0;r<t[o][i(386)][i(409)];r++){const a=t[o][i(386)][r];if(!e[i(439)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(442)!=c||i(460)!=u&&i(400)!=u||(s[i(552)]({type:u,name:a,userId:l}),t[o][i(386)][i(560)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(257)][i(409)];r++){const a=t[o][i(257)][r];if(!e[i(439)](a))continue;const{group:c,type:u}=n(a);if(i(442)!=c||i(460)!=u&&i(400)!=u)continue;t[o][i(257)][i(560)](r,1),r--;const l=s[i(424)](t=>t[i(515)]==a);l>-1&&s[i(560)](l,1)}}function n(t){const e=i,s=t[e(474)](":");return{group:s[0],type:s[1],subType:s[e(409)]>=5?s[2]:null,id:s[e(409)]<5?s[2]:s[3],authorId:s[e(409)]<5?s[3]:s[4],markerCount:6==s[e(409)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(409)];i++){if(t[e(246)]&&e(460)==s[i][e(243)]&&t[e(246)][e(422)]==s[i][e(422)])return t[e(391)]=s[i],void delete t[e(246)];if(!t[e(246)]&&!t[e(527)]&&e(400)==s[i][e(243)])return void(t[e(349)]=s[i])}}}[oe(296)](t,e){const i=oe;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(545)](o.id,s);for(let s=0;s<t[i(409)];s++){if(i(527)==e&&t[s][i(246)]||i(246)==e&&t[s][i(527)])continue;if(i(506)==t[s][i(243)]){t[s][i(547)]=0;continue}const n=r[i(507)](t[s][i(300)]),o=r[i(507)](t[s].id);t[s][i(547)]=n-o}}[oe(402)](t,e,i=!1){const s=oe,n=[];let r=this[s(399)][s(297)](t),o=this[s(399)][s(297)](e);for(-1==o&&(o=this[s(399)][s(394)][s(409)],i=!1);r<o;)n[s(301)](this[s(399)][s(382)](r)),r++;return i&&n[s(301)](this[s(399)][s(382)](r)),n}[oe(364)](t,e,i,s){const n=oe,r=this[n(428)][n(312)][n(514)];let o=e;for(;t[o]&&t[o][n(246)];)o++;let a=s;for(;i[a]&&i[a][n(527)];)a++;u(t,e,o),u(i,s,a);const c=i[n(353)](s,a)[n(398)](t[n(353)](e,o));return c[n(456)]((t,e)=>t[n(274)]!=e[n(274)]?t[n(274)]-e[n(274)]:t[n(357)]!=e[n(357)]?t[n(357)]-e[n(357)]:t[n(547)]!=e[n(547)]?e[n(547)]-t[n(547)]:!!t[n(246)]!=!!e[n(246)]?-1==t[n(274)]||0==t[n(274)]?t[n(246)]?-1:1:t[n(246)]?1:-1:t[n(446)]-e[n(446)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(544)],c=!0;for(let n=e;n<i;n++)if(r[s(486)](t[n][s(455)])||(c=!1),t[n][s(455)][s(373)]<e&&(o=n),t[n][s(455)][s(449)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(274)]=n<=o?-1:n<a?0:1,t[n][s(446)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(547)]?t[i][s(357)]=u:(u++,t[i][s(357)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(274)]&&(t[n][s(357)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(547)]?t[e][s(357)]=u:(u--,t[e][s(357)]=u,u--)}}[oe(436)](t){const e=oe,i=new Map,s=this[e(428)][e(312)][e(514)];for(let n=1;n<t[e(409)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(506)==c[e(243)])continue;if(c[e(243)]!=u[e(243)])continue;if(!s[e(419)](u[e(455)])||s[e(293)](u[e(455)]))continue;if(!s[e(419)](c[e(455)])||s[e(293)](c[e(455)]))continue;if((t[n][e(246)]||t[n][e(391)])&&t[n-1][e(527)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(527)]||!t[n-1][e(246)]&&!t[n-1][e(391)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(357)]==o[e(357)],h=Math[e(390)](r[e(357)])<Math[e(390)](o[e(357)])&&0==o[e(547)];(l||h)&&(i[e(545)](o.id,r.id),t[e(560)](a,1),n--,r[e(246)]=!1)}for(let s=0;s<t[e(409)];s++)i[e(439)](t[s][e(300)])&&(t[s][e(300)]=i[e(507)](t[s][e(300)]))}[oe(562)](t){const e=oe,i=new Set(t[e(377)](t=>t.id));for(let s=0;s<t[e(409)];s++)i[e(439)](t[s][e(300)])||0==t[s][e(547)]||(t[s][e(466)]=!0);return t[e(255)](t=>!t[e(466)])}[oe(407)](t){const e=oe,i=new Set;for(let s=0;s<t[e(409)];s++){if(i[e(439)](t[s].id)&&t[s][e(527)]&&(t[s][e(466)]=!0),t[s][e(466)])continue;if(0==t[s][e(547)])continue;if(e(325)!=t[s][e(243)])continue;if(null==t[s][e(300)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(300)];)e(325)==t[n][e(243)]?r++:e(254)==t[n][e(243)]&&r--,n++;if(0!=r)if(t[s][e(527)])t[s][e(466)]=!0;else for(;n!=s;)t[n][e(527)]&&0!=t[n][e(547)]&&(t[n][e(466)]=!0,i[e(559)](t[n][e(300)])),n--}return t[e(255)](t=>!t[e(466)])}[oe(450)](t){const e=oe,i=this[e(428)][e(312)][e(514)];for(let s=0;s<t[e(409)];s++){if(!(t[s][e(246)]||t[s][e(391)]||t[s][e(527)]||t[s][e(349)]))continue;if(0==t[s][e(547)])continue;const n=t[s][e(455)];i[e(419)](n)||i[e(293)](n)||(t[s][e(246)]&&delete t[s][e(246)],t[s][e(391)]&&delete t[s][e(391)],t[s][e(349)]&&delete t[s][e(349)],t[s][e(527)]&&(t[s][e(466)]=!0))}return t[e(255)](t=>!t[e(466)])}[oe(261)](t,e,i){const s=oe,n=new K.ModelDocumentFragment,r=[],o=new Map,a=this[s(428)][s(312)],c=a[s(514)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(409)];e++)if(s(325)===t[e][s(243)]){t[e][s(330)]=a[s(318)](n,f);const i=new K.ModelElement(t[e][s(455)][s(515)],t[e][s(455)][s(250)]());u[0][s(363)](i),f[s(301)](0),u[s(552)](i),t[e][s(362)]=a[s(318)](n,f)}else s(254)===t[e][s(243)]?(u[s(484)](),t[e][s(330)]=a[s(318)](n,f),f[s(341)](),f[f[s(409)]-1]++,t[e][s(362)]=a[s(318)](n,f)):(t[e][s(330)]=a[s(318)](n,f),d?d[s(555)]+=t[e][s(455)][s(478)]:d=new K.ModelText(t[e][s(455)][s(478)],t[e][s(455)][s(250)]()),t[e+1]&&s(506)===t[e+1][s(243)]&&v(d,t[e+1][s(455)])||(u[0][s(363)](d),d=null),f[f[s(409)]-1]+=t[e][s(455)][s(333)],t[e][s(362)]=a[s(318)](n,f));for(let e=0;e<t[s(409)];e++){const i=t[e][s(330)],n=t[e][s(362)];for(const n of t[e][s(386)])o[s(545)](n,{start:i,end:null});m(s(349),e,i,n),m(s(391),e,i,n),m(s(527),e,i,n),m(s(246),e,i,n);for(const i of t[e][s(257)]){const t=o[s(507)](i);t?t[s(445)]=n:o[s(545)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(428)][s(312)][s(557)](e[s(465)],e[s(445)]);n[s(452)][s(545)](t,i)}return r[s(456)]((t,e)=>{const i=s,r=n[i(452)][i(507)](i(270)+t.id),o=n[i(452)][i(507)](i(270)+e.id);return r[i(465)][i(340)](o[i(465)])?-1:r[i(465)][i(504)](o[i(465)])?1:r[i(445)][i(340)](o[i(445)])?-1:r[i(445)][i(504)](o[i(445)])?1:i(559)===t[i(243)]?-1:1}),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(422)]:null,d=i===t[o(409)]-1,f=h[e][0],m=c[o(291)](t[i][o(455)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(445)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(422)]!==u&&(l[e][o(445)]=n,f&&f[o(422)]===l[e][o(422)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(325)!==t[i][o(243)]||f&&f[o(422)]===u||h[e][o(552)]({userId:u,object:t[i][o(455)],change:l[e]}),o(254)===t[i][o(243)]&&f&&f[o(317)]===t[i][o(455)]&&(h[e][o(484)](),l[e]=f[o(536)])),l[e]&&d&&(l[e][o(445)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(455)],f=a[h(514)][h(419)](d)&&!a[h(514)][h(293)](d),m=t[h(352)]==o[h(451)]&&o[h(277)];if(f&&m)return;const p=a[h(557)](t,o),v=e[h(507)](u),g=new Qt({author:v,type:h(246)==l||h(391)==l?h(559):h(429),data:{isSuggestion:h(391)==l||h(349)==l},createdAt:new Date,rootName:i});r[h(301)](g),n[h(452)][h(545)](h(270)+g.id,p)}function v(t,e){const i=s,n=t[i(250)](),r=e[i(250)]();for(const t of n){if(t[1]!==e[i(265)](t[0]))return!1;r[i(381)]()}return r[i(381)]()[i(497)]}}[oe(564)](){const t=oe;this[t(428)][t(401)][t(292)](t(355))[t(426)]({view:t(534)}),this[t(428)][t(401)][t(292)](t(310))[t(468)]({model:t(534),view:e=>{const i=t,s=e[i(372)][i(474)](":")[1],n=this[i(516)](s);if(!n)return null;const r=i(559)==n[i(243)]?i(460):i(400),o=[i(551),i(307)+r];return n[i(478)][i(322)]&&o[i(301)](i(307)+r+i(438)),this[i(406)]==n&&o[i(301)](i(249)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(428)][t(401)][t(292)](t(355))[t(559)](e=>{const i=t;e.on(i(530),(t,e,s)=>{const n=i,r=e[n(435)][n(471)](0);if(!r||!r.is(n(496),n(412)))return;if(!s[n(549)][n(324)](r,{attributes:[n(535),n(550)]}))return;const o=e[n(495)][n(465)][n(352)];s[n(328)][n(444)](n(535),r[n(265)](n(535)),o),s[n(328)][n(444)](n(550),r[n(265)](n(550)),o)},{priority:i(414)})}),this[t(428)][t(401)][t(292)](t(355))[t(559)](e=>{const i=t;e.on(i(496),(t,e,s)=>{const n=i;if(!s[n(549)][n(324)](e[n(435)],{attributes:[n(535),n(550)]}))return;if(e[n(495)][n(251)])return;const r=e[n(495)][n(465)][n(352)];r[n(518)](n(535))||r[n(518)](n(294))||(s[n(328)][n(444)](n(535),e[n(435)][n(265)](n(535)),r),s[n(328)][n(444)](n(550),e[n(435)][n(265)](n(550)),r))},{priority:i(414)})}),this[t(428)][t(401)][t(292)](t(355))[t(537)]({view:{name:t(289),attributes:{vid:!0}},model:{key:t(294),value:e=>e[t(265)](t(294))}}),this[t(428)][t(312)][t(514)].on(t(256),(e,[,i])=>{const s=t;[s(535),s(550),s(294)][s(267)](i)&&(e[s(284)]=!0,e[s(323)]())},{priority:t(356)}),this[t(428)][t(401)][t(292)](t(343))[t(559)](e=>{const i=t;e.on(i(321),(t,e,s)=>{const n=i;if(" "!=e[n(455)][n(478)]||e[n(455)][n(451)][n(360)]>1)return;if(!s[n(549)][n(324)](e[n(455)],t[n(515)]))return;const r=s[n(328)],o=s[n(505)][n(264)](e[n(345)]);r[n(295)](o,r[n(457)](n(289)))})}),this[t(428)][t(401)][t(292)](t(343))[t(384)]({model:t(534)}),this[t(428)][t(308)][t(388)].on(t(288),function(e){const i=t,s=e[i(556)][i(507)](i(517));return(t,n,r)=>{const o=i,a=n[o(372)][o(474)](":")[1],c=s[o(516)](a);if(!c)return null;const u=o(559)==c[o(243)]?o(474):o(420);if(!r[o(549)][o(447)](n[o(492)],t[o(515)]))return;const l=n[o(492)][o(313)](),h=n[o(492)][o(465)],d=e[o(312)][o(514)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(455)];p=p||d[o(543)](e);const i=r[o(505)][o(475)](e);if(i&&i[o(533)](o(319)))return;o(254)==t[o(243)]&&d[o(419)](e)&&!d[o(293)](e)&&(e[o(336)]||h[o(411)]?f&&f[o(451)]==e||(f=e,g(t[o(330)]),v=!0):m=m||t[o(330)])}function g(t){const e=o,i=r[e(328)][e(469)](e(289),{class:e(307)+u}),a=r[e(505)][e(553)](t);c[e(478)][e(322)]&&r[e(328)][e(367)](e(307)+u+e(438),i),s[e(406)]==c&&r[e(328)][e(367)](e(249),i),r[e(328)][e(493)](a,i),r[e(505)][e(427)](i,n[e(372)])}p||v||!m||g(m)}}(this[t(428)]),{priority:t(500)}),this[t(428)][t(308)][t(388)].on(t(480),(e,i,s)=>{const n=t,r=s[n(505)][n(413)](i[n(372)]);if(r)for(const t of r)(t[n(502)](n(418))||t[n(502)](n(548)))&&(s[n(505)][n(248)](t,i[n(372)]),s[n(328)][n(429)](t))},{priority:t(500)}),this[t(428)][t(308)][t(388)].on(t(288),(e,i,s)=>{const n=t,r=i[n(372)][n(474)](":")[1],o=this[n(516)](r);if(!o)return null;const a=n(559)==o[n(243)]?n(474):n(420);if(s[n(549)][n(447)](i[n(492)],e[n(515)]))for(const t of i[n(492)][n(529)]()){if(!t.is(n(496),n(526)))continue;const e=s[n(328)][n(469)](n(289),{class:n(307)+a}),r=s[n(505)][n(553)](this[n(428)][n(312)][n(499)](t));o[n(478)][n(322)]&&s[n(328)][n(367)](n(307)+a+n(438),e),this[n(406)]==o&&s[n(328)][n(367)](n(249),e),s[n(328)][n(493)](r,e),s[n(505)][n(427)](e,i[n(372)])}},{priority:t(500)}),this[t(428)][t(312)][t(350)].on(t(536),()=>{const e=t;this[e(428)][e(308)][e(441)][e(536)](t=>{const i=e;for(const e of this[i(428)][i(312)][i(350)][i(561)]()){const s=this[i(428)][i(312)][i(350)][i(539)](e),n=this[i(428)][i(308)][i(441)][i(350)][i(539)](e);if(n){const e=s[i(265)](i(275));if(t[i(473)](i(546),n),t[i(359)](i(503),n),t[i(359)](i(464),n),t[i(359)](i(376),n),e){const s=this[i(516)](e);if(!s)return null;t[i(444)](i(546),e,n),t[i(367)](i(554)+s[i(243)],n),this[i(406)]==s&&t[i(367)](i(376),n)}}}})}),this[t(428)][t(401)][t(292)](t(355))[t(426)]({view:t(454),model:e=>t(566)+e,converterPriority:t(356)}),this[t(428)][t(401)][t(292)](t(355))[t(426)]({view:t(329),model:e=>t(283)+e,converterPriority:t(356)}),this[t(428)][t(401)][t(292)](t(343))[t(384)]({model:t(442),view:e=>({name:t(567)+e,group:t(442)}),converterPriority:t(356)}),this[t(428)][t(401)][t(292)](t(310))[t(468)]({model:t(442),view:e=>{const i=t,s=e[i(372)][i(474)](":")[1];return i(460)!=s&&i(400)!=s?null:{classes:[i(520),i(332)+s]}}}),this[t(428)][t(308)][t(388)].on(t(315),ue(this[t(428)],t(420)),{priority:t(500)}),this[t(428)][t(308)][t(388)].on(t(491),ue(this[t(428)],t(474)),{priority:t(500)}),this[t(428)][t(308)][t(388)].on(t(366),(e,i,s)=>{const n=t,r=s[n(505)][n(413)](i[n(372)]);if(r)for(const t of r)t.is(n(374))&&(s[n(505)][n(248)](t,i[n(372)]),s[n(328)][n(429)](t))},{priority:t(500)})}[oe(516)](t){const e=oe;return this[e(378)][e(507)](t)}[oe(354)](t){const e=oe;return this[e(327)]&&this[e(327)][e(347)](),this[e(327)]=new Jt(this[e(428)][e(453)],t),this[e(327)]}[oe(370)](){const t=oe;this[t(428)][t(312)][t(350)][t(271)][t(408)](t(534)),this.on(t(258),(e,i,s,n)=>{const r=t;n&&this[r(346)][r(429)](n),s&&(this[r(346)][r(559)]({view:s,stackId:r(459),position:{target:()=>{const t=r,e=this[t(428)][t(308)],i=this[t(516)](s[t(476)]);let n;if(i[t(478)][t(260)]){const s=e[t(441)][t(298)](i[t(339)]);n=Array[t(278)](s[t(462)]())}else{const i=this[t(428)][t(312)][t(452)][t(507)](t(270)+s[t(476)]);n=Array[t(278)](e[t(505)][t(413)](i[t(515)]))[t(377)](i=>e[t(441)][t(470)][t(385)](i))[t(377)](e=>Array[t(278)](e[t(462)]()))[t(501)]()}return this[t(268)]&&n[t(361)](e=>e[t(245)]-3<=this[t(268)].y&&e[t(494)]+3>=this[t(268)].y&&e[t(425)]-3<=this[t(268)].x&&e[t(431)]+3>=this[t(268)].x)||n[0]}}}),this[r(346)][r(334)](r(459)))}),this.on(t(344),(e,i,s,n)=>{const r=t;this[r(252)]=s?this[r(354)](s):null,this[r(428)][r(312)][r(536)](()=>{const t=r,e=this[t(428)][t(308)];n&&(n[t(478)][t(260)]?e[t(441)][t(536)](i=>{const s=t;i[s(359)](s(376),e[s(441)][s(350)][s(539)](n[s(339)]))}):e[t(440)](t(270)+n.id)),s&&(s[t(478)][t(260)]?e[t(441)][t(536)](i=>{const n=t;i[n(367)](n(376),e[n(441)][n(350)][n(539)](s[n(339)]))}):e[t(440)](t(270)+s.id))})}),this[t(410)](this[t(428)][t(308)][t(441)][t(350)],t(305),(e,i)=>{const s=t;if(this[s(406)])return;const n=this[s(342)](i[s(477)]),r=this[s(378)][s(507)](n);r?(this[s(268)]={x:i[s(279)].x,y:i[s(279)].y},this[s(252)]=this[s(354)](r)):(this[s(268)]=null,this[s(252)]=null)}),this[t(410)](this[t(428)][t(308)][t(441)][t(350)],t(287),(e,i)=>{const s=t,n=this[s(342)](i[s(477)]),r=this[s(378)][s(507)](n);r?(this[s(268)]={x:i[s(279)].x,y:i[s(279)].y},r===this[s(406)]?this[s(346)][s(510)]():this[s(406)]=r):(this[s(268)]=null,this[s(406)]=null)})}[oe(342)](t){const e=oe;do{const i=t[e(265)](e(546));if(i)return i;t=t[e(451)]}while(t);return null}[oe(371)](){const t=oe;this[t(428)][t(312)][t(536)](e=>{const i=t;for(const t of this[i(428)][i(312)][i(452)])e[i(488)](t)})}}function ue(t,e){return(i,s,n)=>{const r=ae;if(!n[r(549)][r(447)](s[r(492)],i[r(515)]))return;const o=s[r(492)][r(313)](),a=s[r(492)][r(465)],c=t[r(312)][r(514)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(455)];h=h||c[r(543)](e);const i=n[r(505)][r(475)](e);if(i&&i[r(533)](r(319)))return;r(254)==t[r(243)]&&c[r(419)](e)&&!c[r(293)](e)&&(e[r(336)]||a[r(411)]?u&&u[r(451)]==e||(u=e,f(t[r(330)]),d=!0):l=l||t[r(330)])}function f(t){const i=r,o=n[i(505)][i(553)](t),a=n[i(328)][i(469)](i(289),{class:i(332)+e});n[i(328)][i(493)](o,a),n[i(505)][i(427)](a,s[i(372)])}h||d||!l||f(l)}}class le extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(556)][e(507)](ce);this[e(461)]=!1,this[e(410)](i,e(417),()=>this[e(314)]()),this[e(410)](i,e(416),()=>this[e(314)]())}[oe(483)](){const t=oe,e=this[t(428)],i=e[t(556)][t(507)](ce),s=i[t(266)]?i[t(311)][t(432)]:null;e[t(521)][t(507)](t(365))[t(244)](s)}[oe(314)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(428)][t(556)][t(507)](ce),r=n&&s[t(430)](n[t(432)]);this[t(565)]=e&&i&&Boolean(r)}}function he(){const t=["86481SHmYkD","bind","2785XlSrAG","activeChange","_markMismatchedRemovedTags","observeMarkers","length","listenTo","isAtEnd","code","markerNameToElements","low","535738KzOaEh","change:isEnabled","change:isReady","ck-suggestion-marker-split","isBlock","merge","_utils","userId","all","findIndex","left","dataToMarker","bindElementToMarker","editor","remove","getLaterVisibleRevision","right","newRevisionId","delete","roots","viewItem","_fixObsoleteTags","attributes","-new","has","reconvertMarker","view","revision-suggestion","forceDisabled","setAttribute","end","index","test","forEach","endIndex","_removeUnsupportedChanges","parent","markers","locale","comment","item","sort","createAttributeElement","then","revisionHistoryLabel","insertion","affectsData","getClientRects","error","ck-revision-history-root-remove","start","isIncorrect","requires","markerToHighlight","createUIElement","domConverter","getChild","attachChange","removeAttribute","split","toViewElement","changeId","target","data","_markSuggestions","removeMarker:revision","_cleanUp","isAttached","execute","shift","restoreRevision","isInline","getRevisionDocumentData","removeMarker","_joinTapes","isPremiumPlugin","addMarker:revision-suggestion:insertion","markerRange","insert","bottom","modelRange","element","done","adapter","createPositionBefore","high","flat","hasClass","ck-revision-history-root-add","isAfter","mapper","text","get","catch","295936sXoDfl","updatePosition","addRevision","showNextChange","enqueueChange","schema","name","_getChangeFromId","RevisionViewer","hasAttribute","oldRevisionId","ck-suggestion-preview-marker","config","WidgetToolbarRepository","_getDiff","_setChanges","7386sUEzgu","softBreak","isRemoved","currentChangeNumber","getItems","element:pre","attributesBefore","_makeModelFromViewString","getCustomProperty","revision","vid_start","change","elementToAttribute","values","getRoot","authors","_processTape","2631844upeZxe","isContent","POSITIVE_INFINITY","set","data-change-id","distance","ck-suggestion-marker-merge","consumable","vid_end","ck-suggestion-marker","unshift","toViewPosition","ck-revision-history-root-","_data","plugins","createRange","pluginName","add","splice","getRootNames","_removeMissingPairs","3352260iVlxGT","_setConversion","isEnabled","revision-comment:","suggestion:","showPreviousChange","type","restoreRevisionCallback","top","isAdded","_markInsertions","unbindElementFromMarkerName","ck-suggestion-marker--active","getAttributes","isCollapsed","activeView","addRoot","elementEnd","filter","checkAttribute","markersEnd","change:activeView","backward","isOnRoot","_makeModelFromTape","revision-viewer","diffData","toViewRange","getAttribute","isReady","includes","_activeViewTarget","resolve","revision:","selection","commands","_markMarkers","side","revisionHistoryAttachChange","_makeTape","isAtStart","from","domEvent","_step","attributesAfter","insertions","revision-suggestion:","return","RevisionHistoryUtils","change:numberOfChanges","mousedown","addMarker:revision","span","numberOfChanges","isObject","for","isLimit","vid","wrap","_setDistance","getIndex","getDomRoot","compare","pairId","push","enableReadOnlyMode","addRevisionData","createRangeIn","mouseover","init","ck-suggestion-marker-","editing","_sortAndFilterDiffChanges","editingDowncast","diff","model","getWalker","refresh","addMarker:revision-suggestion:deletion","isNavigationMode","object","createPositionFromPath","addHighlight","_update","attribute:vid","isSuggestion","stop","consume","elementStart","first","_changeView","writer","suggestion","previousPosition","_refreshStartEndIndex","ck-suggestion-preview-marker-","offsetSize","showStack","string","nextSibling","indexOf","changes","rootName","isBefore","pop","_findChangeIdFromDomTarget","dataDowncast","change:activeChange","range","_balloon","destroy","6NWXBhO","isRemoveSuggestion","document","RevisionsRepository","nodeAfter","slice","_getViewForChange","upcast","highest","level","isEqual","removeClass","maxOffset","find","nextPosition","_appendChild","_threeWayMerge","revisionHistory","removeMarker:revision-suggestion","addClass","isOfficialPlugin","startsWith","_initInteractions","_cleanMarkers","markerName","startIndex","uiElement","deletions","ck-revision-history-root--active","map","_changeIdToChange","forward","keys","next","getRevision","681123vJECBK","markerToData","mapViewToDom","markersStart","ck-editor__editable__overlay","downcastDispatcher","clear","abs","isAddSuggestion","32jVLCan","loadRevisionData","_revisions","detachRoot","createRevision","getRevisionRootsAttributes","concat","repository","deletion","conversion","_getRevisionsRange"];return(he=function(){return t})()}class de extends G.Command{[oe(280)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(556)][i(507)](ce);this[i(461)]=!1,this[i(280)]=i(379)===e?1:-1,this[i(410)](s,i(417),()=>this[i(314)]()),this[i(410)](s,i(416),()=>this[i(314)]()),this[i(410)](s,i(344),()=>this[i(314)]())}[oe(483)](){const e=oe,i=this[e(428)],s=i[e(556)][e(507)](ce),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(406)]=n?s[e(311)][e(338)][e(507)](r+this[e(280)]):s[e(311)][e(338)][e(326)],s[e(406)][e(478)][e(260)])o=i[e(308)][e(441)][e(298)](s[e(406)][e(339)]);else{const t=i[e(312)][e(452)][e(507)](e(270)+s[e(406)].id);o=(0,X.getMarkerDomElement)(i[e(308)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(314)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(428)][t(556)][t(507)](ce);this[t(565)]=!!(r&&n&&s)&&(!e||(1===this[t(280)]?i<s-1:i>0))}}var fe=i(140),me={attributes:{"data-cke":!0}};me.setAttributes=Rt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Et();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ge();return(pe=function(t,e){return i[t-=333]})(t,e)}!function(t){const e=pe,i=t();for(;;)try{if(187550===-parseInt(e(369))/1+parseInt(e(359))/2*(parseInt(e(350))/3)+parseInt(e(374))/4*(-parseInt(e(356))/5)+parseInt(e(365))/6+parseInt(e(337))/7+parseInt(e(361))/8+parseInt(e(366))/9*(-parseInt(e(352))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ve extends It.View{constructor(t){const e=pe;super(t);const i=this[e(343)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(347)](e(340),!1),this[e(347)](e(334),!1),this[e(347)](e(348),0),this[e(347)](e(341),0),this[e(347)](e(370),!1),this[e(347)](e(351),!1),this[e(354)](e(345)).to(this,e(334),this,e(341),(t,e)=>t&&e>0),this[e(354)](e(349)).to(this,e(334),this,e(348),this,e(341),this,e(340),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(375));if(!n)return at(t,o(353));const a=at(t,o(346),n);return r?at(t,o(373),[s+1,n]):a}),s[e(347)]({label:at(t,e(333)),tooltip:!0,icon:_t.IconChevronUp}),n[e(347)]({label:at(t,e(372)),tooltip:!0,icon:_t.IconChevronDown}),s[e(354)](e(362)).to(this,e(351)),n[e(354)](e(362)).to(this,e(370)),s.on(e(355),()=>this[e(367)](e(355),e(344))),n.on(e(355),()=>this[e(367)](e(355),e(338))),this[e(364)]({tag:e(363),attributes:{class:["ck",e(335),e(342)]},children:[{tag:e(336),attributes:{class:[e(371)]},children:[{tag:e(336),attributes:{class:[e(360),i.if(e(345),e(357),t=>!t)]},children:[{text:i.to(e(340),i=>i?at(t,e(339))+": ":at(t,e(358))+": ")}]},{text:i.to(e(349))}]},new It.ToolbarSeparatorView,{tag:e(363),attributes:{class:[e(368)]},children:[s,n]}]})}}function ge(){const t=["1527218NmPHpG","forward","EDIT_X_OF_Y_REVISIONS","isNavigationMode","numberOfChanges","ck-revision-history-ui__changes-navigation","bindTemplate","backward","_isStatusLabelVisible","NUMBER_OF_CHANGES","set","currentChangeNumber","_statusText","3jLTTMP","isBackwardNavigationEnabled","30WxQgod","No changes","bind","execute","145CcyqgC","ck-hidden","Total","319538XfLjuL","ck-revision-history-ui__changes-navigation__label","2833824ibmLJy","isEnabled","div","setTemplate","399186TQOuWU","851733rtFbvL","fire","ck-revision-history-ui__changes-navigation__navigation","7371iihwkP","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__wrapper","Show next change","X_OF_Y_CHANGES","44120VedjhB","Loading...","Show previous change","isReady","ck-revision-history-ui","span"];return(ge=function(){return t})()}var ye=i(628),ke={attributes:{"data-cke":!0}};ke.setAttributes=Rt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=Se();return(we=function(t,e){return i[t-=296]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(102155===parseInt(e(297))/1*(parseInt(e(319))/2)+-parseInt(e(308))/3*(-parseInt(e(317))/4)+parseInt(e(313))/5*(-parseInt(e(309))/6)+parseInt(e(315))/7+-parseInt(e(311))/8*(parseInt(e(312))/9)+parseInt(e(303))/10+parseInt(e(301))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);const _e=be(304);class Ie extends G.Plugin{static get[be(310)](){return be(321)}static get[be(306)](){return!0}static get[be(296)](){return!0}[be(299)](){const t=be,e=this[t(305)][t(307)][t(318)];e[t(314)](i=>{const s=t;for(const t of e[s(298)][s(300)])i[s(302)](_e,t)})}[be(316)](){const t=be,e=this[t(305)][t(307)][t(318)];e[t(314)](i=>{const s=t;for(const t of e[s(298)][s(300)])i[s(320)](_e,t)})}}function Se(){const t=["1316798NDOvkn","hide","22488EFrdzQ","view","17270dgIvoz","removeClass","RevisionViewerLoadingOverlay","isPremiumPlugin","10RksVfT","document","show","roots","1079628xVkPwX","addClass","123770FOeQkZ","ck-editor__editable__loading-overlay","editor","isOfficialPlugin","editing","6RCoswT","231654swhPXP","pluginName","558568kQOakp","18GtSMgW","20meTxqF","change"];return(Se=function(){return t})()}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=491]})(t,e)}function xe(){const t=["301014VIFOWf","currentChangeNumber","commands","numberOfChanges","isEnabled","listenTo","config","17316ALOVJO","execute","20pDoOcc","requires","153183UrMWGJ","ck-revision-history-ui__back-to-editing","set","plugins","restoreRevision","isReady","isForwardNavigationEnabled","327828tHrNZv","isOfficialPlugin","hide","forward","showNextChange","1056010gtWaAS","showPreviousChange","pluginName","Back to editing","6KVCKAD","isPremiumPlugin","isBackwardNavigationEnabled","revisionHistory","show","63hPCVEo","editor","add","change:isReady","changesNavigation","14064325hdYXdS","get","exitToEditing","componentFactory","closeRevisionViewerCallback","Restore this revision","417916fBWCEd","isNavigationMode","RevisionViewerUI","bind","init","120QPJSCO"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(311234===-parseInt(e(502))/1+-parseInt(e(535))/2*(-parseInt(e(519))/3)+parseInt(e(526))/4*(-parseInt(e(517))/5)+parseInt(e(508))/6*(-parseInt(e(491))/7)+parseInt(e(507))/8*(-parseInt(e(515))/9)+parseInt(e(531))/10+parseInt(e(496))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(533)](){return Oe(504)}static get[Oe(527)](){return!0}static get[Oe(536)](){return!0}static get[Oe(518)](){return[ce,Ie]}[Oe(506)](){const t=Oe,e=this[t(492)],i=e[t(522)][t(497)](ce),s=e[t(522)][t(497)](Ie);e.ui[t(499)][t(493)](t(498),i=>{const s=t,n=new It.ButtonView(i);return n[s(521)]({label:at(i,s(534)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(520)}),this[s(513)](n,s(516),()=>{const t=s;e[t(514)][t(497)](t(538))[t(500)]()}),n}),e.ui[t(499)][t(493)](t(523),i=>{const s=t,n=new It.ButtonView(i);return n[s(521)]({label:at(i,s(501)),withText:!0,tooltip:!0}),n[s(505)](s(512)).to(e[s(510)][s(497)](s(523))),this[s(513)](n,s(516),()=>e[s(516)](s(523))),n}),e.ui[t(499)][t(493)](t(495),s=>{const n=t,r=new ve(s),o=e[n(510)][n(497)](n(532)),a=e[n(510)][n(497)](n(530));return r[n(505)](n(537)).to(o,n(512)),r[n(505)](n(525)).to(a,n(512)),r[n(505)](n(524),n(509),n(511),n(503)).to(i),this[n(513)](r,n(516),(t,i)=>{const s=n;e[s(516)](s(529)===i?s(530):s(532))}),r}),s[t(539)](),i.on(t(494),(e,i,n)=>{const r=t;n?s[r(528)]():s[r(539)]()})}}var Ae=i(549),Me={attributes:{"data-cke":!0}};Me.setAttributes=Rt(),Me.insert=At().bind(null,"head"),Me.domAPI=xt(),Me.insertStyleElement=Et();Ot()(Ae.A,Me);Ae.A&&Ae.A.locals&&Ae.A.locals;const Re=Ee;function Ve(){const t=["11vVMmjH","114651DVuNho","_updateTooltipText","fieldView","6kFDqLP","listenTo","placeholder","destroy","input","_resizeObserver","7490148bKEmFy","ck-tooltip_multi-line","span","bindTemplate","1184865LHeynx","6378XNdDMv","Revision name","scrollWidth","_tooltipString","ck-revision-history-sidebar__revision-name","987681xdPeUh","4tiIMis","3820GZSMyr","Enter the revision name","render","extendTemplate","element","272BGvWMo","set","value","clientWidth","130WpDcpE","866831rmIIcy"];return(Ve=function(){return t})()}function Ee(t,e){const i=Ve();return(Ee=function(t,e){return i[t-=446]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(427030===-parseInt(e(453))/1*(parseInt(e(470))/2)+-parseInt(e(475))/3*(parseInt(e(476))/4)+parseInt(e(469))/5+-parseInt(e(459))/6*(parseInt(e(454))/7)+-parseInt(e(449))/8*(-parseInt(e(456))/9)+parseInt(e(477))/10+parseInt(e(455))/11*(parseInt(e(465))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends It.LabeledFieldView{[Re(464)]=null;constructor(t,e){const i=Re;super(t,e);const s=this[i(468)];this[i(450)]({label:at(t,i(471)),_tooltipString:""}),this[i(458)][i(461)]=at(t,i(478)),this[i(447)]({tag:i(467),attributes:{class:[i(474)],"data-cke-tooltip-text":s.to(i(473)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(466)}})}[Re(446)](){const e=Re;super[e(446)](),this[e(464)]=new t.ResizeObserver(this[e(458)][e(448)],()=>this[e(457)]()),this[e(460)](this[e(458)],e(463),()=>this[e(457)]())}[Re(462)](){const t=Re;super[t(462)](),this[t(464)]&&this[t(464)][t(462)]()}[Re(457)](){const t=Re,e=this[t(458)][t(448)];this[t(473)]=e[t(472)]>e[t(452)]&&e[t(451)]||""}}var Ce=i(997),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Rt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Le(){const t=["4714620HBAYlS","span","ck-revision-history-sidebar__revision-author__name","3943648zvJIpk","name","push","119JepehV","ck-revision-history-sidebar__revision-author","8730750dcEmei","12YjtVKO","0 0 11 10","4876209sIneda","ck-revision-history-sidebar__revision-author_creator","143dKUuvO","Revision creator","set","72497prEICk","6EQMKba","9jhHtnT","Revision author","124656UkIleg","setTemplate","7249190PgzsOY"];return(Le=function(){return t})()}function Pe(t,e){const i=Le();return(Pe=function(t,e){return i[t-=478]})(t,e)}!function(t){const e=Pe,i=t();for(;;)try{if(873153===parseInt(e(493))/1*(parseInt(e(486))/2)+-parseInt(e(488))/3+-parseInt(e(480))/4+-parseInt(e(499))/5*(parseInt(e(494))/6)+parseInt(e(483))/7*(parseInt(e(497))/8)+parseInt(e(495))/9*(-parseInt(e(485))/10)+-parseInt(e(490))/11*(-parseInt(e(500))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class je extends It.View{constructor(t,e,i){const s=Pe;super(t);const n=new It.IconView;n[s(492)]({content:_t.IconUser,viewBox:s(487)});const r=["ck",s(484)];i&&r[s(482)](s(489));const o=[{tag:s(478),attributes:{class:["ck",s(479)],title:at(t,s(i?491:496))},children:[n,e[s(481)]]}];this[s(498)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=149]})(t,e)}function We(){var t=["9647728vxyOpK","5373665FXwigI","numeric","39qXJDeE","1107788aGNGXP","toLocaleDateString","4861764WtlIRS","87390WHqYyd","526589iMfdhI","40dHlEaV","804917TlfSGf","toLocaleTimeString","long","42CxJHCO"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(669423===-parseInt(e(159))/1+-parseInt(e(156))/2*(parseInt(e(152))/3)+parseInt(e(153))/4+-parseInt(e(150))/5+-parseInt(e(162))/6*(parseInt(e(157))/7)+parseInt(e(149))/8+parseInt(e(155))/9*(parseInt(e(158))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(439),He={attributes:{"data-cke":!0}};He.setAttributes=Rt(),He.insert=At().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Et();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=$e();return(Ze=function(t,e){return i[t-=344]})(t,e)}function $e(){const t=["603536SDxFYb","name","menu","model","panelPosition","isActionsDropdownOpen","ck-revision-history-sidebar__revision__actions","117QdPmnA","change:isActionsDropdownOpen","Name this revision","Restore this revision","6020357SVuYFs","ck-on","Compare against selected","_action","set","menuitem","isOpen","function","buttonView","244BTvRMV","isReady","15427470CXPJrC","isEnabled","4018512NMRZHX","extendTemplate","bind","class","execute","stopPropagation","bindTemplate","1734ealEdT","20fkJCzb","children","map","isVisible","listenTo","action","187647NgORQl","add","Show more items","button","1819775JqWdmC","locale","first","listView","source","items","find"];return($e=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(634460===parseInt(e(367))/1*(parseInt(e(356))/2)+-parseInt(e(374))/3*(parseInt(e(368))/4)+parseInt(e(378))/5+parseInt(e(360))/6+-parseInt(e(347))/7+parseInt(e(385))/8*(-parseInt(e(392))/9)+parseInt(e(358))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($e);var qe=i(532),Be={attributes:{"data-cke":!0}};Be.setAttributes=Rt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;const Ye=Je;function Je(t,e){const i=Xe();return(Je=function(t,e){return i[t-=187]})(t,e)}!function(t){const e=Je,i=t();for(;;)try{if(266050===-parseInt(e(194))/1+parseInt(e(205))/2+-parseInt(e(191))/3+parseInt(e(245))/4*(-parseInt(e(232))/5)+-parseInt(e(219))/6+-parseInt(e(189))/7+parseInt(e(224))/8*(parseInt(e(209))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xe);class Ge extends((0,X.ConfirmMixin)(It.View)){id;[Ye(196)];[Ye(243)];[Ye(238)];[Ye(198)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(220)],a=function(t,e){const i=r,s=Array[i(217)](e[i(204)])[i(227)](t=>t!=e[i(202)]);return e[i(202)]&&s[i(190)](e[i(202)]),s[i(206)](s=>new je(t,s,s==e[i(202)]))}(e,i);this.id=i.id,this[r(238)]=i,this[r(198)]=n,this[r(226)](r(241),r(228)).to(i),this[r(226)](r(216)).to(this,r(228),t=>{return i=e[r(203)],(s=t)[(n=ze)(154)](i,{month:n(161),day:n(151)})+", "+s[n(160)](i,{hour:n(151),minute:n(151)});var i,s,n}),this[r(248)](r(187),!1),this[r(248)](r(230),!1),this[r(248)](r(250),!1),this[r(248)](r(222),!1),this[r(248)](r(239),!1),this[r(196)]=new De(e,It.createLabeledInputText),this[r(196)][r(201)][r(236)]({attributes:{maxlength:r(212)}}),this[r(196)][r(201)][r(226)](r(200)).to(this,r(241),t=>t||this[r(216)]),this[r(196)][r(226)](r(239)).to(this,r(187),this,r(239),(t,e)=>t&&e),this[r(243)]=s&&s[r(233)]?function(e,i){const s=Ze,n=e[s(366)],r=e[s(379)],o=(0,It.createDropdown)(r);o[s(389)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ze,s=t[i(379)],n={"Compare against selected":at(s,i(349)),"Name this revision":at(s,i(345)),"Restore this revision":at(s,i(346))};return e[i(370)](t=>{const e=i,s=n[t[e(386)]];return s&&s!==t[e(386)]&&(t[e(386)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(377),model:new It.UIModel({label:t[n(386)],class:t[n(363)],withText:!0,role:n(352),_action:t[n(373)]})};i[n(388)][n(362)](n(359)).to(e,n(390),i=>n(354)!=typeof t[n(359)]||!i||t[n(359)](e)),o[n(375)](i)}return o}(e,i);return e[s(362)](s(390)).to(o,s(353)),o[s(355)][s(351)]({label:at(r,s(376)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(361)]({attributes:{class:[s(391),n.if(s(390),s(348))]},on:{click:n.to(t=>t[s(365)]())}}),o.on(s(364),t=>{const i=s;e[i(357)]&&i(354)==typeof t[i(382)][i(350)]&&t[i(382)][i(350)](e)}),(0,It.addListToDropdown)(o,a,{role:s(387)}),o[s(372)](e,s(344),(t,n,r)=>{const a=s;if(r)for(const t of o[a(381)][a(383)]){const s=t[a(369)][a(380)],n=i[a(384)](t=>t[a(373)]===s[a(350)])[a(371)];t[a(371)]=void 0===n||n(e)}}),o}(this,s):"",this[r(243)]&&this[r(243)][r(226)](r(239)).to(this),this[r(208)]({tag:r(211),attributes:{class:["ck",r(231),r(207),o.if(r(237),r(249))]},children:[{tag:r(211),attributes:{class:["ck",r(231),r(214),o.if(r(239),r(235),t=>!t),o.if(r(187),r(240)),o.if(r(230),r(188)),o.if(r(250),r(192))]},children:[this[r(196)],{tag:r(195),attributes:{class:["ck",r(223)]},children:[{text:o.to(r(216))}]},{tag:r(211),attributes:{class:["ck",r(210)]},children:[{tag:"ul",attributes:{class:["ck",r(199)]},children:a}]},this[r(243)]],on:{click:o.to(t=>{const e=r;t[e(229)][e(234)](e(213))||this[e(222)]&&this[e(239)]&&this[e(215)](e(247),{id:this.id})})}}]})}[Ye(221)](){const t=Ye;super[t(221)]();const e=this[t(196)][t(201)][t(244)];this[t(225)](e,t(197),()=>{const i=t;this[i(198)]&&!e[i(200)]||this[i(215)](i(246),{id:this.id,name:e[i(200)]}),e[i(200)]||(e[i(200)]=this[i(241)]?this[i(241)]:this[i(216)])})}[Ye(247)](){this[Ye(187)]=!0}[Ye(242)](){this[Ye(187)]=!1}[Ye(218)](){this[Ye(230)]=!0}[Ye(193)](){this[Ye(230)]=!1}}function Xe(){const t=["220",".ck-confirm-view","ck-revision-history-sidebar__revision","fire","_createdAtFormatted","from","highlight","3043050lAFSCl","bindTemplate","render","isReady","ck-revision-history-sidebar__revision__date","5259056YJFBlH","listenTo","bind","filter","createdAt","srcElement","isHighlighted","ck-reset","36185sVoJYX","length","closest","ck-disabled","extendTemplate","isConfirm","_revision","isEnabled","ck-revision-history-sidebar__revision_selected","name","deselect","revisionActionsView","element","164vFanwc","setName","select","set","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isActionsDropdownOpen","isSelected","ck-revision-history-sidebar__revision_highlighted","1963549iDpehI","unshift","1074024vpbkbx","ck-revision-history-sidebar__actions_dropdown_open","unhighlight","1518rBMBvX","span","revisionNameView","change","_requireRevisionName","ck-revision-history-sidebar__revision-authors","value","fieldView","creator","uiLanguage","authors","790422KNKbwG","map","ck-revision-history-sidebar__revision-wrapper","setTemplate","18YGmDnP","ck-revision-history-sidebar__revision__controls-wrapper","div"];return(Xe=function(){return t})()}class Ke extends Error{}class Qe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Ke{}class si extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Ke{}class ri extends Ke{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Mi={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Ri{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Ei extends Ri{static get instance(){return null===Vi&&(Vi=new Ei),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class Li extends Ri{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Li(t)),e}static resetCache(){Fi.clear(),Di.clear()}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=Li.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i,this.name)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Vs(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Js({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Pi={};const ji=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let s=ji.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),ji.set(i,s)),s}const Wi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function $i(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const qi=new Map;function Bi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Wi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Wi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ws(this.floor?Math.floor(t):$s(t,3),this.padTo)}}class Ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Li.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=zi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ui.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Xi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ki{static fromOpts(t){return Ki.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=js(s)||vs.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Hi=null,ji.clear(),Wi.clear(),Ui.clear(),Zi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ki.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=zi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=zi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===$i(t.locale).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?Ki.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,js(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 Bi(this,t,un,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=fo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Bi(this,t,fn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,yn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Pi[i];return s||(s=new Intl.ListFormat(t,e),Pi[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||$i(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fs()?function(t){let e=qi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Xi,...e}),qi.set(t,e)}return e}(this.locale):Xi}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 Qi=null;class ts extends Ri{static get utcInstance(){return null===Qi&&(Qi=new ts(0)),Qi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(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 es extends Ri{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 is(t,e){if(Vs(t)||null===t)return e;if(t instanceof Ri)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Ei.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||Li.create(t)}return Es(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={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]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Ei.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=js(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Ki.resetCache(),Li.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+(qs(t)?ks:ys)[e-1]}function Is(t,e){const i=qs(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Xs(c,e,i)):u>Xs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function Ts(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function xs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ns(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function As(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(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 Ms(t){const e=Ds(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Rs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Es(t){return"number"==typeof t}function Ds(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ls(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Ps(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function js(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return Ds(t)&&t>=e&&t<=i}function Ws(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Us(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Hs(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Zs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $s(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function qs(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return qs(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?qs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(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 Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Xs(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Ks(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Qs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(Ps(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ws(i,2)}:${Ws(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ws(i,2)}${Ws(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];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 ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Mi};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[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 Ws(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function Tn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Us(e[i+n]);return[s,null,i+n]}}const xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,An=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),Mn=RegExp(`(?:T${An.source})?`),Rn=Tn("weekYear","weekNumber","weekDay"),Vn=Tn("year","ordinal"),En=RegExp(`${Nn.source} ?(?:${xn.source}|(${_n.source}))?`),Dn=RegExp(`(?: ${En.source})?`);function Cn(t,e,i){const s=t[e];return Vs(s)?i:Us(s)}function Fn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Zs(t[e+3])},null,e+4]}function Ln(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Pn(t,e){return[{},t[e]?Li.create(t[e]):null,e+1]}const jn=RegExp(`^T?${Nn.source}$`),zn=/^-?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 Wn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Hs(i)),months:d(Hs(s)),weeks:d(Hs(n)),days:d(Hs(r)),hours:d(Hs(o)),minutes:d(Hs(a)),seconds:d(Hs(c),"-0"===c),milliseconds:d(Zs(u),h)}]}const Un={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hn(t,e,i,s,n,r,o){const a={year:2===e.length?Ks(Us(e)):Us(e),month:an.indexOf(i)+1,day:Us(s),hour:Us(n),minute:Us(r)};return o&&(a.second=Us(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Zn=/^(?:(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 $n(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Hn(e,n,s,i,r,o,a);let f;return f=c?Un[c]:u?0:tn(l,h),[d,new ts(f)]}const qn=/^(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$/,Bn=/^(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$/,Yn=/^(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 Jn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,a,i,s,n,r,o),ts.utcInstance]}const Xn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Mn),Kn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Mn),Qn=In(/(\d{4})-?(\d{3})/,Mn),tr=In(An),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,Ln,Pn),ir=Sn(Rn,Fn,Ln,Pn),sr=Sn(Vn,Fn,Ln,Pn),nr=Sn(Fn,Ln,Pn);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,Dn),ar=In(En),cr=Sn(Fn,Ln,Pn);const ur="Invalid Duration",lr={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}},hr={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},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,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:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Vs(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),pr.reduce((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ki.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Es(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[zn,Wn])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return On(t,[jn,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({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 si(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?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vs(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+=$s(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 fo.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?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Ps(e.values,t)||Ps(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.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]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Es(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Es(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return kr(this.matrix,e),gr(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 gr(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;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{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 ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.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:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.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 lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.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 _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[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=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Li.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ki.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ki.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ki.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ki.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ki.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Mr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Rr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Mr(i)===Mr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Er(t){return{regex:t,deser:([t])=>t}}const Dr={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 Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=jr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Lr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(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 Rr(e.eras("short"),0);case"GG":return Rr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Ks);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(s);case"MMM":return Rr(e.months("short",!0),1);case"MMMM":return Rr(e.months("long",!0),1);case"LLL":return Rr(e.months("short",!1),1);case"LLLL":return Rr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(n);case"u":return Er(l);case"uu":return Er(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Rr(e.meridiems(),0);case"EEE":return Rr(e.weekdays("short",!1),1);case"EEEE":return Rr(e.weekdays("long",!1),1);case"ccc":return Rr(e.weekdays("short",!0),1);case"cccc":return Rr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Er(/[a-z_+-/]{1,256}?/i);case" ":return Er(/[^\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]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ps(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return Vs(t.z)||(i=Li.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(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),Vs(t.u)||(t.S=Zs(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Ps(i,"a")&&Ps(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Pr(t,e,i){return new Lr(t,i).explainFromTokens(e)}function jr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Os(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function $r(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function qr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Br(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 Yr(t,e,i){return qr(Js(t),e,i)}function Jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.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=Js(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Xr(t,e,i=!0){return t.isValid?wn.create(Ki.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ws(t.c.year,i?6:4),e?(s+="-",s+=Ws(t.c.month),s+="-",s+=Ws(t.c.day)):(s+=Ws(t.c.month),s+=Ws(t.c.day)),s}function Qr(t,e,i,s,n,r){let o=Ws(t.c.hour);return e?(o+=":",o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ws(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ws(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ws(Math.trunc(-t.o/60)),o+=":",o+=Ws(Math.trunc(-t.o%60))):(o+="+",o+=Ws(Math.trunc(t.o/60)),o+=":",o+=Ws(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(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 si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Ki.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=Ms(t)||Rs(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=$s(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function uo(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 lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Vs(t.ts)?vs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Es(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ki.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Ki.fromObject(e)}):fo.invalid(Ur(n))}static fromMillis(t,e={}){if(Es(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Ki.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Es(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Ki.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Ki.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=xs(g)):(p=so,v=to);let y=!1;for(const t of p){Vs(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ds(t.weekYear),n=zs(t.weekNumber,1,Xs(t.weekYear,e,i)),r=zs(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ds(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Ms(n),b=k||Rs(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?Ns(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Xn,er],[Kn,ir],[Qn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zn,$n])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[qn,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ki.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Pr(t,e,i);return[s,n,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=jr(t,Ki.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Ki.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}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?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?xs(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.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=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[$r(this,{ts:a}),$r(this,{ts:c})]:[this]}get isInLeapYear(){return qs(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Yr(i,e,t)}return $r(this,{ts:s,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return $r(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=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=As(e,this.loc),n=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=Ts({...Os(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=Ns({...xs(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return $r(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Kr(this,r);return o+="T",o+=Qr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Kr(this,"extended"===t):null}toISOWeekDate(){return Xr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Qr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Xr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Xr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Xr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[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 br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return Ls(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return Ls(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Pr(Ki.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ki.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Lr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ki.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Mi}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Es(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=487]})(t,e)}function vo(){const t=["121420YiepPy","toJSDate","day","634059sZuAcj","setLocale","1671730qjFdIR","7544PmVdsp","10647858pPNWJY","fromJSDate","weekdayLong","39CfXVvY","monthLong","1744125YLXUXG","minus","toRelativeCalendar","13216GDvCub","startOf","week","year","187vmAJKo","48pvkDCo","month","local","hasSame","172708YMGOrP"];return(vo=function(){return t})()}function go(t,e){const i=po,s=fo[i(492)](t)[i(488)](e),n=fo[i(506)](),r=n[i(497)]({days:1})[i(500)](i(511));let o,a;return s[i(507)](n,i(511))?(o=s[i(500)](i(511))[i(510)](),a=s[i(498)]()):s[i(507)](r,i(511))?(o=r[i(510)](),a=s[i(498)]()):s[i(507)](n,i(501))?(o=s[i(500)](i(501))[i(510)](),a=s[i(493)]||""):s[i(507)](n,i(502))?(o=s[i(500)](i(505))[i(510)](),a=s[i(495)]||""):(o=s[i(500)](i(502))[i(510)](),a=String(s[i(502)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(972750===parseInt(e(496))/1+parseInt(e(508))/2*(-parseInt(e(494))/3)+parseInt(e(504))/4*(-parseInt(e(509))/5)+parseInt(e(491))/6+-parseInt(e(499))/7*(-parseInt(e(490))/8)+-parseInt(e(487))/9+-parseInt(e(489))/10*(parseInt(e(503))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(342),ko={attributes:{"data-cke":!0}};ko.setAttributes=Rt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=Io();return(wo=function(t,e){return i[t-=357]})(t,e)}!function(t){const e=wo,i=t();for(;;)try{if(492311===-parseInt(e(374))/1*(parseInt(e(375))/2)+parseInt(e(370))/3+-parseInt(e(377))/4*(-parseInt(e(383))/5)+-parseInt(e(386))/6+-parseInt(e(369))/7+-parseInt(e(362))/8*(-parseInt(e(385))/9)+parseInt(e(380))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class _o extends It.View{[bo(388)];[bo(366)];[bo(384)];[bo(368)];constructor(t,e,i,s){const n=bo;super(t);const r=go(e,this[n(376)][n(373)])[n(367)];this[n(388)]=e,this[n(366)]=this[n(363)](),this[n(384)]=i,this[n(368)]=s,this[n(366)][n(379)](n(361)).to(this),this[n(366)][n(379)](n(364)).to(this),this[n(378)]({tag:n(372),attributes:{class:["ck",n(381)]},children:[{tag:n(359),attributes:{class:["ck",n(357)]},children:[{text:r}]},{tag:n(372),attributes:{class:["ck",n(382)]},children:this[n(366)]}]})}[bo(387)](t){const e=bo,i=new Ge(this[e(376)],t,this[e(384)],this[e(368)]);this[e(366)][e(360)](i)}[bo(371)](t){const e=bo,i=this[e(366)][e(365)](e=>e.id===t.id);this[e(366)][e(358)](i)}}function Io(){const t=["localizedPeriodName","_requireRevisionName","3896536LTLBiX","1126278HiHSto","removeRevision","div","uiLanguage","3238YtnXcg","592sMzpKF","locale","4QylmlE","setTemplate","delegate","3707950PYyHEW","ck-revision-history-sidebar__time-period","ck-revision-history-sidebar__time-period__revisions","4890035yAYCNp","_revisionActions","189495RbWAvv","2217156LLNJjE","addRevision","startDate","ck-revision-history-sidebar__time-period__label","remove","span","add","select","248zhNRsh","createCollection","setName","find","revisionViews"];return(Io=function(){return t})()}var So=i(193),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Rt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=No();return(To=function(t,e){return i[t-=142]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(672522===parseInt(e(152))/1*(parseInt(e(154))/2)+parseInt(e(142))/3+-parseInt(e(149))/4+parseInt(e(146))/5*(parseInt(e(145))/6)+parseInt(e(157))/7+parseInt(e(159))/8*(parseInt(e(144))/9)+-parseInt(e(158))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(148)]=_t.IconHistory,this[e(147)]({tag:e(156),attributes:{class:["ck",e(150),e(143)]},children:[i,{tag:e(155),attributes:{class:["ck",e(151)]},children:[at(t,e(153))]}]})}}function No(){const t=["26006770wJOSbM","16aAPMzg","3319356gpjOTT","ck-revision-history-sidebar__header","1879353JFsTLm","97284PwZIoQ","235zNVQDM","setTemplate","content","1317568lejxjD","ck-reset_all","ck-revision-history-sidebar__header__label","1EgDyVh","Revision history","445858qJfMVY","span","div","7654626ChIkYc"];return(No=function(){return t})()}var Ao=i(574),Mo={attributes:{"data-cke":!0}};Mo.setAttributes=Rt(),Mo.insert=At().bind(null,"head"),Mo.domAPI=xt(),Mo.insertStyleElement=Et();Ot()(Ao.A,Mo);Ao.A&&Ao.A.locals&&Ao.A.locals;const Ro=Eo;function Vo(){const t=["add","5PAuSQb","createCollection","setName","ck-revision-history-sidebar__timeline","find","removeRevision","selectRevision","highlight","_removeRevision","10187904OzCJJP","1602954bzIKnf","timePeriodViews","fire","setTemplate","820564dIoHAJ","deselect","highlightRevisions","ck-reset","revisionViews","_addRevision","_requireRevisionName","render","addRevision","select","bindTemplate","_revisions","ck-revision-history-sidebar","3158141FzKPpQ","3012244tDmzPx","getTime","startDate","remove","unhighlight","revisionSetName","isEnabled","flat","revisionSelected","set","div","ck-disabled","ck-rounded-corners","map","get","uiLanguage","locale","createdAt","383520XrifmX","604770BOXSju","_getTimePeriodViewByStartDate","_revisionActions","some","delegate"];return(Vo=function(){return t})()}function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=105]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(512781===parseInt(e(131))/1+parseInt(e(127))/2+-parseInt(e(111))/3+-parseInt(e(145))/4*(-parseInt(e(117))/5)+parseInt(e(110))/6+-parseInt(e(144))/7+-parseInt(e(126))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends It.View{[Ro(128)];[Ro(142)];[Ro(113)];[Ro(137)];constructor(t,e,i,s){const n=Ro;super(t);const r=this[n(141)];this[n(128)]=this[n(118)](),this[n(128)][n(115)](n(140)).to(this),this[n(128)][n(115)](n(119)).to(this),this[n(142)]=e,this[n(113)]=i,this[n(137)]=s,this.on(n(140),(t,e)=>{const i=n;this[i(129)](i(153),e)}),this.on(n(119),(t,e)=>{const i=n;this[i(129)](i(150),e)}),this[n(154)](n(151),!1),this[n(130)]({tag:n(155),attributes:{class:["ck",n(134),n(157),n(143)]},children:[new xo(t),{tag:n(155),attributes:{class:["ck",n(120),r.if(n(151),n(156),t=>!t)]},children:this[n(128)]}]})}[Ro(138)](){const t=Ro;super[t(138)]();for(const e of this[t(142)])this[t(136)](e);this[t(142)].on(t(116),(e,i)=>{this[t(136)](i)}),this[t(142)].on(t(148),(e,i)=>{this[t(125)](i)})}get[Ro(135)](){const t=Ro;return this[t(128)][t(105)](e=>e[t(135)][t(105)](t=>t))[t(152)]()}[Ro(123)](t){const e=Ro;for(const i of this[e(135)])t&&t.id===i.id?i[e(140)]():i[e(132)]()}[Ro(133)](t){const e=Ro;for(const i of this[e(135)])t[e(114)](({id:t})=>t===i.id)?i[e(124)]():i[e(149)]()}[Ro(136)](t){const e=Ro,i=go(t[e(109)],this[e(108)][e(107)])[e(147)];let s=this[e(128)][e(106)](0);s&&s[e(147)][e(146)]()===i[e(146)]()||(s=new _o(this[e(108)],i,this[e(113)],this[e(137)]),this[e(128)][e(116)](s)),s[e(139)](t)}[Ro(125)](t){const e=Ro,i=go(t[e(109)],this[e(108)][e(107)])[e(147)];this[e(112)](i)[e(122)](t)}[Ro(112)](t){const e=Ro;return this[e(128)][e(121)](i=>i[e(147)][e(146)]()===t[e(146)]())}}const Co=Fo;function Fo(t,e){const i=Po();return(Fo=function(t,e){return i[t-=274]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(538714===-parseInt(e(344))/1*(parseInt(e(324))/2)+parseInt(e(304))/3+-parseInt(e(350))/4*(-parseInt(e(320))/5)+parseInt(e(357))/6*(-parseInt(e(288))/7)+-parseInt(e(317))/8*(parseInt(e(326))/9)+-parseInt(e(276))/10*(-parseInt(e(280))/11)+parseInt(e(331))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Lo extends G.Plugin{[Co(285)];[Co(286)];[Co(329)];static[Co(322)]=[Co(332),Co(351),Co(341)];static[Co(281)]=function(){const t=Co;return{compareAgainstSelected:{name:t(327),action:({plugins:e},i)=>{const s=t,n=e[s(319)](ce),r=n[s(354)];let o=n[s(278)][s(340)],a=i.id;r[s(303)](o)>r[s(303)](a)&&([o,a]=[a,o]),n[s(290)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(319)](ce);return!(n[s(354)][s(283)](n[s(278)])[s(321)]>2||i[s(330)])}},restoreRevision:{name:t(309),action:(e,{id:i})=>{const s=t;e[s(274)][s(319)](s(346))[s(347)](i)},isVisible:({plugins:e},i)=>!!e[t(319)](ce)[t(354)][t(333)](i.id)},nameRevision:{name:t(343),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(319)](ce),o=r[n(354)][n(356)](i);r[n(290)](i,o),s[n(275)](),s[n(282)][n(300)]()}}}}();static get[Co(337)](){return Co(345)}static get[Co(353)](){return!0}static get[Co(299)](){return!0}static get[Co(284)](){return[ce]}constructor(t){const e=Co;super(t),this[e(285)]=t[e(306)][e(319)](ce),this[e(286)]=this[e(285)][e(354)],this[e(329)]=null}[Co(305)](){const t=Co,e=this[t(286)][t(338)],i=this[t(311)](),s=this[t(298)][t(274)][t(319)](t(325));this[t(329)]=new Do(this[t(298)][t(292)],e,i,this[t(298)][t(274)][t(319)](t(352))),this[t(329)].on(t(287),this[t(335)][t(308)](this)),this[t(329)].on(t(316),this[t(302)][t(308)](this)),this[t(329)][t(308)](t(358)).to(this[t(285)]),this[t(329)][t(314)].on(t(277),(e,i)=>{const s=t;i[s(313)].on(s(277),(t,e)=>{const i=s;e[i(308)](i(358),i(349)).to(this[i(285)])})}),this[t(329)][t(355)](),this[t(334)](this[t(298)][t(301)],t(342),this[t(339)][t(308)](this)),this[t(334)](this[t(285)],t(323),this[t(318)][t(308)](this)),s[t(336)](this[t(329)][t(296)])}[Co(279)](){const t=Co;this[t(329)][t(296)][t(295)](),this[t(329)][t(279)]()}[Co(339)](){const t=Co,e=this[t(286)][t(307)](0);if(e){const i=this[t(286)][t(356)](e.id);this[t(285)][t(290)](e,i)}}[Co(335)](t,e){const i=Co,s=this[i(286)][i(307)](e.id),n=this[i(286)][i(356)](s.id);this[i(285)][i(290)](s,n)}[Co(302)](t,e){const i=Co;this[i(286)][i(307)](e.id)[i(294)](e[i(328)])}[Co(318)](t,e,i){const s=Co,n=this[s(286)][s(283)](i);n[s(321)]>2?(this[s(329)][s(291)](n),this[s(329)][s(315)](null)):(this[s(329)][s(291)]([]),this[s(329)][s(315)](n[0]))}[Co(311)](){const t=Co,e=this[t(298)],i=Lo[t(281)],s=e[t(274)][t(319)](t(289))||Lo[t(322)];if(s[t(321)])return s[t(310)](s=>{const n=t,r=n(348)==typeof s?Object[n(297)]({},i[s]):s;return r[n(293)]=r[n(293)][n(308)](this,e),r[n(312)]&&(r[n(312)]=r[n(312)][n(308)](this,e)),r})}}function Po(){const t=["remove","element","assign","editor","isPremiumPlugin","select","data","_handleRevisionSetName","getIndex","1307652qUrIey","init","plugins","getRevision","bind","Restore this revision","map","_createRevisionActions","isVisible","revisionViews","timePeriodViews","selectRevision","revisionSetName","8berFsf","_handleDiffChange","get","50yGZAdV","length","defaultRevisionActions","change:diff","9778JUDmXL","revisionHistory.viewerSidebarContainer","5762781YtpkEL","Compare against selected","name","_sidebarView","isSelected","11978796ferenE","compareAgainstSelected","getLaterVisibleRevision","listenTo","_handleRevisionSelected","appendChild","pluginName","_revisions","_handleEditorDataReady","newRevisionId","nameRevision","ready","Name this revision","112raYvyN","RevisionsSidebar","revisionHistory","restoreRevisionCallback","string","isReady","406996AztBLy","restoreRevision","revisionHistory.requireRevisionName","isOfficialPlugin","repository","render","getEarlierVisibleRevision","4741818ifOTDe","isEnabled","config","focus","652870AGxlgV","add","diff","destroy","11qjbvRK","availableRevisionActions","fieldView","getRevisionsInDiff","requires","_revisionViewer","_revisionsRepository","revisionSelected","7sxSbZb","revisionHistory.revisionActions","compare","highlightRevisions","locale","action","setName"];return(Po=function(){return t})()}function jo(t,e){const i=zo();return(jo=function(t,e){return i[t-=132]})(t,e)}function zo(){const t=["3937280EAWchv","2763LTQnue","focusTracker","element","87810GQnwOT","document","view","editor","76725LsjxZQ","8684389guCcyg","restore","init","2991935yHABna","_initToolbar","editing","208140eQfbOW","toolbar","editable","viewportTopOffset","limiterElement","8KsvEzB","replace","stickyPanel","componentFactory","setEditableElement","config","attachDomRoot","_elementReplacer","name","rootName","1339932DukByb","isFocused","fillFromConfig","detachDomRoot","fire","4HYDQnN","_toolbarConfig","addToolbar","getRoot","destroy","bind","isActive","render","_view","get","viewportOffset","ready"];return(zo=function(){return t})()}const Wo=jo;!function(t){const e=jo,i=t();for(;;)try{if(692971===parseInt(e(177))/1*(parseInt(e(157))/2)+parseInt(e(152))/3+parseInt(e(169))/4+parseInt(e(134))/5+-parseInt(e(137))/6+parseInt(e(178))/7*(parseInt(e(142))/8)+-parseInt(e(170))/9*(parseInt(e(173))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Wo(165)];[Wo(158)];[Wo(149)];get[Wo(175)](){return this[Wo(165)]}constructor(e,i){const s=Wo;super(e),this[s(165)]=i,this[s(158)]=(0,It.normalizeToolbarConfig)(e[s(147)][s(166)](s(138))),this[s(149)]=new t.ElementReplacer}get[Wo(172)](){const t=Wo;return this[t(175)][t(172)]}[Wo(133)](t){const e=Wo,i=this[e(176)],s=this[e(175)],n=i[e(136)][e(175)],r=s[e(139)],o=n[e(174)][e(160)]();r[e(150)]=o[e(151)],s[e(164)]();const a=r[e(172)];this[e(146)](r[e(150)],a),s[e(139)][e(162)](e(153)).to(this[e(171)]),n[e(148)](a),this[e(149)][e(143)](t,this[e(172)]),this[e(135)](),this[e(156)](e(168))}[Wo(161)](){const t=Wo;super[t(161)]();const e=this[t(175)],i=this[t(176)][t(136)][t(175)];this[t(149)][t(132)](),i[t(155)](e[t(139)][t(150)]),e[t(161)]()}[Wo(135)](){const t=Wo,e=this[t(175)];e[t(144)][t(162)](t(163)).to(this[t(171)],t(153)),e[t(144)][t(141)]=e[t(172)],e[t(144)][t(162)](t(140)).to(this,t(167),({top:t})=>t),e[t(138)][t(154)](this[t(158)],this[t(145)]),this[t(159)](e[t(138)])}}var Ho=i(750),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Rt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Et();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var $o=qo;function qo(t,e){var i=Yo();return(qo=function(t,e){return i[t-=430]})(t,e)}!function(t){for(var e=qo,i=t();;)try{if(449413===-parseInt(e(450))/1*(parseInt(e(448))/2)+parseInt(e(447))/3*(-parseInt(e(442))/4)+parseInt(e(443))/5+parseInt(e(433))/6*(parseInt(e(431))/7)+parseInt(e(439))/8+-parseInt(e(434))/9*(-parseInt(e(437))/10)+-parseInt(e(444))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);class Bo extends It.BoxedEditorUIView{[$o(449)];[$o(438)];[$o(435)];get[$o(432)](){return this[$o(449)]}constructor(t,e,i={}){var s=$o;super(t),this[s(438)]=new It.StickyPanelView(t),this[s(435)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(430)]}),this[s(449)]=new It.InlineEditableUIView(t,e)}[$o(445)](){var t=$o;super[t(445)](),this[t(438)][t(446)][t(440)](this[t(435)]),this[t(436)][t(440)](this[t(438)]),this[t(441)][t(440)](this[t(432)])}}function Yo(){var t=["1154835zZwIve","6393332sRQQaD","render","content","15IabuMK","770286hzcrWK","_editable","1CXLiHf","shouldToolbarGroupWhenFull","7QmGFda","editable","2053092fHqiRc","459Ifcmph","toolbar","top","14690fGgPCX","stickyPanel","6423800veXLmu","add","main","28220PmmCDy"];return(Yo=function(){return t})()}const Jo=Xo;function Go(){const t=["323212VcJrIf","46NPwbLX","55FPtqzZ","document","locale","editing","sourceElement","649950JtsCsP","destroy","_ui","6261104qwRzOy","100330yscxYs","init","483187YzlEic","data","fire","70479IpbmKI","model","4341204HSReJQ","updateSourceElement","config","2259fyOJKG","get","create","view","initPlugins","ready","initialData","createRoot"];return(Go=function(){return t})()}function Xo(t,e){const i=Go();return(Xo=function(t,e){return i[t-=322]})(t,e)}!function(t){const e=Xo,i=t();for(;;)try{if(551783===-parseInt(e(326))/1+parseInt(e(343))/2*(-parseInt(e(329))/3)+parseInt(e(342))/4*(-parseInt(e(344))/5)+parseInt(e(349))/6+parseInt(e(331))/7+-parseInt(e(323))/8+-parseInt(e(334))/9*(-parseInt(e(324))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Ko extends((0,G.ElementApiMixin)(G.Editor)){[Jo(322)];get ui(){return this[Jo(322)]}constructor(t,e){const i=Jo;super(e),this[i(348)]=t,this[i(330)][i(345)][i(341)]();const s=new Bo(this[i(346)],this[i(347)][i(337)],{shouldToolbarGroupWhenFull:!0});this[i(322)]=new Uo(this,s)}[Jo(350)](){const t=Jo;return this[t(332)](),this.ui[t(350)](),super[t(350)]()}static async[Jo(336)](t,e){const i=Jo,s=new this(t,e);return await s[i(338)](),await s.ui[i(325)](t),await s[i(327)][i(325)](s[i(333)][i(335)](i(340))||""),s[i(328)](i(339)),s}}const Qo=ea;function ta(){const t=["revisionHistory.requireRevisionName","DocumentOutlineUI","requires","7AEvmvr","set","RevisionHistoryUI","_update","removeMarker","3408080URwHti","refreshPositioning","getRevisions","revisionHistory.restoreRevisionCallback","define","model","refreshVisibility","data","$graveyard","RevisionsRepository","9wFbDGo","revisionHistory.closeRevisionViewerCallback","setAttribute","exitToEditing","isRevisionViewerOpen","revisionHistory.viewerContainer","creator","419343OUVebu","indexOf","repository","Restored","map","insert","getRevisionDocumentData","block","init","display","RevisionHistory","change","numeric","error","adapter","isAnonymous","toolbar","plugins","none","saveRevision","DocumentOutline","toJSON","getUser","getAttributeKeys","_enhanceShowRevisionViewerCallback","hide","includes","editor","users","3586736AiZIas","selection","translations","from","RevisionTracker","loadRevisionData","changesNavigation","markers","_restoreRevision","fromVersion","2251887iFpHca","enqueueChange","destroy","addRevisionData","document","_showRevisionViewer","bind","createdAt","result","isReadOnly","end","revision-history-missing-configuration","createRangeIn","2640642ZEsJzc","disableReadOnlyMode","has","remove","style","getMarkersGroup","get","_viewerEditor","roots","getRevision","closeRevisionViewerCallback","Users","_cleanUp","enableReadOnlyMode","_getRevisionViewerEditorConfig","addRoot","detachRoot","name","catch","4421890qxVxBd","commands","Dialog","Annotations","join","isAttached","fromCharCode","save","32914BzTnrX","4FcuMij","uiLanguage","config","parse","RevisionViewerIntegration","addUser","removeAttribute","element","then","restoreRevision","setSelection","isOpen","RevisionHistoryUtils","getRoot","PaginationLookup","create","toLocaleTimeString","_recalculatePageBreaks","update","isReady","pluginName","42zhBrwO","getRevisionRootsAttributes","Autosave","RevisionViewer","isOfficialPlugin","toLocaleDateString","locale","keys","revisionHistory.viewerEditorElement","push","_closeRevisionViewer","revisionHistory.showRevisionViewerCallback","isEnabled","showRevisionViewerCallback","toVersion","lazyRoots","revisionHistory","revisionHistory.editorContainer","restrictedEditingException","RestrictedEditingMode","removeSelectionAttribute","view","rootName","isPremiumPlugin","long","revision-history-viewer-opened","_enhanceCloseRevisionViewerCallback"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=385]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(359440===-parseInt(e(522))/1*(parseInt(e(391))/2)+-parseInt(e(443))/3*(-parseInt(e(523))/4)+parseInt(e(426))/5+parseInt(e(495))/6+parseInt(e(421))/7*(-parseInt(e(472))/8)+parseInt(e(436))/9*(parseInt(e(514))/10)+-parseInt(e(482))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Qo(423),Qo(410)];class sa extends G.Plugin{[Qo(490)];static get[Qo(390)](){return Qo(527)}static get[Qo(395)](){return!0}static get[Qo(414)](){return!0}constructor(t){const e=Qo;function i(t){const e=ea;return t[e(447)](t=>String[e(520)](t))[e(518)]("")}super(t),this[e(490)]=e(492),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 na extends G.Plugin{[Qo(502)];static get[Qo(390)](){return Qo(453)}static get[Qo(395)](){return!0}static get[Qo(414)](){return!0}static get[Qo(420)](){return[vt,$t]}constructor(e){const i=Qo;if(super(e),!this[i(470)][i(525)][i(501)](i(407)))throw new t.CKEditorError(i(493),this);this[i(502)]=null,this[i(422)](i(440),!1),this[i(470)][i(525)][i(430)](i(402),t=>this[i(487)]({...t,translations:this[i(470)][i(397)][i(474)]})),this[i(470)][i(525)][i(430)](i(437),t=>this[i(401)](t)),this[i(470)][i(525)][i(430)](i(429),t=>this[i(480)](t)),this[i(470)][i(525)][i(430)](i(418),!1),this[i(467)](),this[i(417)]()}set[Qo(457)](t){const e=Qo;this[e(470)][e(460)][e(501)](e(476))[e(457)]=t}get[Qo(457)](){const t=Qo;return this[t(470)][t(460)][t(501)](t(476))[t(457)]}[Qo(485)](t){const e=Qo;return this[e(470)][e(460)][e(501)](e(476))[e(485)](t)}[Qo(504)](t){const e=Qo;return this[e(470)][e(460)][e(501)](e(435))[e(504)](t)}[Qo(428)](t){const e=Qo;return this[e(470)][e(460)][e(501)](e(435))[e(428)](t||{toJSON:!1})}[Qo(509)](){const e=Qo,i=this[e(470)],s=(0,X.sanitizeEditorConfig)(i,ia),n=i[e(460)][e(501)](e(476)),r=i[e(460)][e(501)](e(506))[e(471)];return s[e(459)]=[e(439),e(532),e(478)],delete s[e(406)],s[e(460)][e(400)](sa,ce,Ne,class extends G.Plugin{static get[e(420)](){return[ce,e(506)]}[e(451)](){const s=e,o=this[s(470)][s(460)][s(501)](s(506));for(const t of r)t[s(458)]||o[s(465)](t.id)||o[s(528)](t);const a=n[s(445)][s(428)]();let c=null;const u=this[s(470)][s(460)][s(501)](s(394));u[s(457)]=n[s(457)],u[s(488)](s(403)).to(n),this[s(470)][s(515)][s(501)](s(532))[s(488)](s(403)).to(i,s(491),t=>!t);for(const e of a){const i=null===e[s(442)];if(i&&e[s(405)]===e[s(481)])continue;const r=e[s(464)]();u[s(485)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(424)](r,o);else if(!o){const e=a[u(464)]();e.id=(0,t.uid)(),n[u(462)](e,a[u(405)])[u(531)](t=>{c=t})}}else e[u(424)](r,o)})}}},Lo),s}[Qo(467)](){const t=Qo,e=this[t(470)][t(525)][t(501)](t(407))[t(404)];this[t(470)][t(525)][t(422)](t(402),async()=>{const i=t;this[i(470)][i(508)](i(416));const s=this[i(470)][i(460)][i(501)](i(476));if(this[i(470)][i(460)][i(497)](i(393))){const t=this[i(470)][i(460)][i(501)](i(393));await t[i(521)]()}else await s[i(388)]();if(this[i(470)][i(460)][i(497)](i(537))&&this[i(470)][i(460)][i(501)](i(537))[i(387)](),this[i(470)][i(460)][i(497)](i(516))){const t=this[i(470)][i(460)][i(501)](i(516));t[i(534)]&&t[i(468)]()}const n=this[i(509)]();return e(n)[i(531)](t=>{const e=i;return this[e(502)]=t,this[e(470)][e(460)][e(497)](e(517))&&this[e(470)][e(460)][e(501)](e(517))[e(432)](),this[e(470)][e(460)][e(497)](e(463))&&(this[e(470)][e(460)][e(501)](e(419))[e(412)][e(530)][e(499)][e(452)]=e(461)),t})[i(513)](t=>(console[i(456)](t),this[i(470)][i(496)](i(416)),null))})}[Qo(417)](){const t=Qo,e=this[t(470)][t(525)][t(501)](t(407))[t(505)];this[t(470)][t(525)][t(422)](t(437),()=>(this[t(470)][t(460)][t(497)](t(537))&&this[t(470)][t(460)][t(501)](t(537))[t(387)](),this[t(470)][t(460)][t(497)](t(463))&&(this[t(470)][t(460)][t(501)](t(419))[t(412)][t(530)][t(499)][t(452)]=""),this[t(502)][t(460)][t(501)](t(394))[t(507)](),e(this[t(502)])[t(531)](()=>{const e=t;if(this[e(470)][e(496)](e(416)),this[e(502)]=null,this[e(470)][e(460)][e(497)](e(517))){const t=this[e(470)][e(460)][e(501)](e(517));t[e(432)](),t[e(427)]()}})))}[Qo(487)](t){const e=Qo,i=this[e(470)][e(525)][e(501)](e(408)),s=this[e(470)][e(525)][e(501)](e(441)),n=this[e(470)][e(525)][e(501)](e(399));return Ko[e(385)](n,t)[e(531)](t=>(s[e(499)][e(452)]=e(450),i[e(499)][e(452)]=e(461),this[e(440)]=!0,t))}[Qo(401)](t){const e=Qo,i=this[e(470)][e(525)][e(501)](e(408));return this[e(470)][e(525)][e(501)](e(441))[e(499)][e(452)]=e(461),i[e(499)][e(452)]="",this[e(440)]=!1,t[e(484)]()}async[Qo(480)](t){const e=Qo,i=this[e(470)],s=this[e(502)][e(460)][e(501)](e(394)),n=i[e(460)][e(501)](e(476)),r=i[e(460)][e(501)](e(535)),o=s[e(445)][e(504)](t);let a,c,u;try{await r[e(477)](o,this[e(457)]),a=r[e(449)](o),c=r[e(392)](o)}catch(t){return void console[e(456)](t)}i[e(431)][e(454)](t=>{const s=e;for(const e of Array[s(475)](i[s(431)][s(479)][s(500)](s(409))))t[s(425)](e)}),s[e(389)]=!1,i[e(431)][e(483)](t=>{const s=e;t[s(533)](null),t[s(411)](i[s(431)][s(486)][s(473)][s(466)]());const n=Object[s(398)](a);for(const e of i[s(431)][s(486)][s(503)])s(434)!=e[s(413)]&&e[s(519)]()&&!n[s(469)](e[s(413)])&&t[s(511)](e);for(const e of n){let n=i[s(431)][s(486)][s(536)](e);n&&n[s(519)]()||(n=t[s(510)](e));const r=c[e],o=Object[s(398)](r),u=a[e];for(const e of n[s(466)]())o[s(469)](e)||t[s(529)](e,n);for(const i of o)t[s(438)](i,c[e][i],n);t[s(498)](t[s(494)](n)),t[s(448)](i[s(433)][s(526)](u,n),n,0)}});const l=at(i[e(397)],e(446));return u=o[e(512)]?-1==o[e(512)][e(444)](l)?l+": "+o[e(512)]:o[e(512)]:l+": "+o[e(489)][e(396)](i[e(397)][e(524)],{month:e(415),day:e(455)})+", "+o[e(489)][e(386)](i[e(397)][e(524)],{hour:e(455),minute:e(455)}),await n[e(462)]({name:u}),s[e(389)]=!0,i[e(525)][e(501)](e(407))[e(505)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=475]})(t,e)}function oa(){var t=["1419036oeKZpr","5UiBUrg","3654540zkmAXd","63QQtjqT","33PDZCSj","114kzjnxc","1507668eEfxzw","6855730UTEIUB","749095ifAziv","1166392dWdZuM","147707YuowNf"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(635359===parseInt(e(475))/1+-parseInt(e(478))/2+-parseInt(e(480))/3+parseInt(e(484))/4*(parseInt(e(479))/5)+-parseInt(e(483))/6*(-parseInt(e(477))/7)+-parseInt(e(476))/8*(parseInt(e(481))/9)+parseInt(e(485))/10*(parseInt(e(482))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={6: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 r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(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,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},140:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},193:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(931)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},290:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},302:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},316:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},342:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},439:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},532:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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-confirm-view{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-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-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},549:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},557: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)}},574:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},602:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},606:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},628:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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:0s;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},660:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},718: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,s,r){"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!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},750:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},931:t=>{"use strict";t.exports=CKEditor5.collaborationDll},933:t=>{"use strict";t.exports=function(t){return t[1]}},997:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var 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,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,A),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,n,s,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&V(n,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function H(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function W(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?H(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function U(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?U(e)?Z(t,H(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const $=B;function B(t,e){const i=Y();return(B=function(t,e){return i[t-=247]})(t,e)}function Y(){const t=["model","319txczOb","111VXhNVt","469CyjHSb","map","creator","206750JPFxRy","12EIALsn","authorsIds","toVersion","529091jdOexN","setAttribute","creatorId","23324561cyOLpm","108726QgCFwk","diffData","77504QMyvhV","fromVersion","_update","removeAttribute","toJSON","set","424sHmMzD","228339WWQtWL","attributes","fire","authors","setName","createdAt","name","245oFxafV","29090ViKwQK"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(952614===parseInt(e(258))/1+parseInt(e(247))/2*(parseInt(e(250))/3)+-parseInt(e(264))/4*(-parseInt(e(278))/5)+-parseInt(e(262))/6*(parseInt(e(251))/7)+parseInt(e(270))/8*(parseInt(e(271))/9)+parseInt(e(254))/10*(parseInt(e(249))/11)+-parseInt(e(255))/12*(parseInt(e(261))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[$(253)];[$(274)];[$(263)];[$(257)];[$(265)];[$(248)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(253)]=e[i(253)]||null,this[i(274)]=e[i(274)]||[],this[i(263)]=e[i(263)]||null,this[i(257)]=e[i(257)]||0,this[i(265)]=e[i(265)]||0,this[i(269)](i(277),e[i(277)]||""),this[i(269)](i(276),e[i(276)]||new Date),this[i(269)](i(272),e[i(272)]||{})}[$(275)](t){this[$(266)]({name:t})}[$(259)](t,e){const i=$,n=R(this[i(272)]);W(n,t,e),this[i(266)]({attributes:n})}[$(267)](t){const e=$,i=R(this[e(272)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&U(e))return q(t,H(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(266)]({attributes:i})}[$(266)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(277),i(276),i(263),i(274),i(272),i(257),i(265),i(260)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(274)]&&(s[i(256)]=s[i(274)][i(252)](t=>t.id),delete s[i(274)]),this[i(273)](i(266),s,e))}[$(268)](){const t=$;return{id:this.id,name:this[t(277)],creatorId:this[t(253)]?this[t(253)].id:null,authorsIds:this[t(274)][t(252)](t=>t.id),diffData:this[t(263)],createdAt:this[t(276)],attributes:this[t(272)],fromVersion:this[t(265)],toVersion:this[t(257)]}}}var G=i(782),K=i(211),Q=i(783);function X(){const t=["6444EKyzOu","name","isNaN","150gsTtLj","1958665IGzWGd","creatorId","23580vrPAVb","oldRevisionId","getRevision","28631647gUfhUC","getEarlierVisibleRevision","1938660rbgtub","later","editor","createRevision","attributes","10848496JkWhSY","afterInit","diffData","getIndex","toJSON","push","isPremiumPlugin","data","getRevisionsIterator","newRevisionId","createdAt","get","2072lPdabq","addRevision","earlier","getLaterVisibleRevision","href","isOfficialPlugin","fromCharCode","requires","authorsIds","toVersion","join","length","add","from","24VlZePD","392371SkfKJG","plugins","reverse","RevisionsRepository","map","fromVersion","Users","_revisions","8OAhbiF","getRevisionsInDiff","getUser","getRevisions","pluginName","180QbdwUk"];return(X=function(){return t})()}const tt=et;function et(t,e){const i=X();return(et=function(t,e){return i[t-=383]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(856127===-parseInt(e(383))/1*(-parseInt(e(411))/2)+parseInt(e(423))/3+-parseInt(e(406))/4*(-parseInt(e(416))/5)+parseInt(e(415))/6*(parseInt(e(398))/7)+parseInt(e(428))/8+-parseInt(e(412))/9*(-parseInt(e(418))/10)+-parseInt(e(421))/11*(parseInt(e(397))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(X);class it extends G.Plugin{[tt(405)];static get[tt(390)](){return[K.Users]}static get[tt(410)](){return tt(401)}static get[tt(388)](){return!0}static get[tt(434)](){return!0}get[tt(394)](){const t=tt;return this[t(405)][t(394)]}constructor(e){const i=tt;super(e),this[i(405)]=new t.Collection}[tt(429)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function 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=et;for(const e in window)if(window[k([78,117,109,98,101,114])][i(414)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}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 r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=et;return t[e(402)](t=>String[e(389)](t))[e(393)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=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=g(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])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,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(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-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 r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/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)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{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 s=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)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1758758400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=et,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(387)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=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([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[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{return k([73,110,118,97,108,105,100])}}())}(this)}[tt(426)](t){const e=tt,i=this[e(425)][e(399)][e(439)](e(404));return new J({id:t.id,name:t[e(413)],creator:t[e(417)]?i[e(408)](t[e(417)]):null,diffData:t[e(430)]||t[e(435)],authors:t[e(391)][e(402)](t=>i[e(408)](t)),createdAt:new Date(t[e(438)]),attributes:t[e(427)],fromVersion:t[e(403)],toVersion:t[e(392)]})}[tt(384)](t,e=0){const i=tt;this[i(405)][i(395)](t,e)}[tt(420)](t){const e=tt;return this[e(405)][e(439)](t)}[tt(409)](t={toJSON:!1}){const e=tt,i=Array[e(396)](this[e(405)]);return i[e(400)](),t[e(432)]?i[e(402)](t=>t[e(432)]()):i}[tt(431)](t){const e=tt;return this[e(405)][e(431)](t)}[tt(422)](t){const e=tt,[,i]=this[e(436)](t,{direction:e(385)});return i}[tt(386)](t){const e=tt,[,i]=this[e(436)](t,{direction:e(424)});return i}[tt(407)](t){const e=tt,i=[];for(const n of this[e(436)](t[e(437)]))if(i[e(433)](n),n.id===t[e(419)])break;return i}*[tt(436)](t,{direction:e=tt(385),filter:i=()=>!0}={}){const n=tt,s=n(385)===e?1:-1;let r=this[n(405)][n(439)](t),o=this[n(431)](r);for(yield r;r;){if(o+=s,r=this[n(420)](o),!r)return;i(r)&&(yield r)}}}function nt(t,e){const i=rt();return(nt=function(t,e){return i[t-=229]})(t,e)}const st=nt;function rt(){const t=["type","22703304THQztH","htmlProcessor","data","_getTypeCharForViewElement","attachChange","document","_appendChild","from","children","diffData","2198auqudf","parse","584372KIxwXi","pluginName","getRevisionDocumentData","domDocument","marked","revision-start","_viewClassToTypeChar","data-revision-","_typeCharToViewClass","forEach","constructor","toModel","getRevisionRootsAttributes","10JueKBR","name","loadRevisionData","viewChildrenToDom","getRevision","append","isPremiumPlugin","6222050iSPxXS","map","collaboration.channelId","domChildrenToView","16782TuDGDa","_setCustomProperty","attributes","22iYUEpI","getFillerOffset","startsWith","div","_getViewFromDiffObj","insertions","revision-end","filter","editor","useFillerType","config","default","render","length","innerHTML","1956vtgYhK","toData","string","isOfficialPlugin","_makeModelFromViewString","2156YPKjcD","476145oadCpY","customProperties","childNodes","isAttached","attributesAfter","_removeRevisionMarkers","7518969aVqqjj","editing","RevisionHistoryUtils","createElement","get","processor","8YnAgby","domConverter","view","fillerOffset"];return(rt=function(){return t})()}!function(t){const e=nt,i=t();for(;;)try{if(780838===parseInt(e(276))/1+parseInt(e(275))/2*(parseInt(e(270))/3)+-parseInt(e(305))/4*(-parseInt(e(241))/5)+-parseInt(e(252))/6*(parseInt(e(303))/7)+parseInt(e(288))/8*(parseInt(e(282))/9)+-parseInt(e(248))/10*(-parseInt(e(255))/11)+-parseInt(e(293))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[st(229)](){return st(284)}static get[st(273)](){return!0}static get[st(247)](){return!0}[st(234)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[st(236)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[st(243)](t,e){const i=st;if(t[i(302)]||!e)return;const n=this[i(263)][i(265)][i(286)](i(250)),s=await e[i(245)]({channelId:n,revisionId:t.id});t[i(302)]=s[i(302)]}[st(230)](t){const e=st,i={};for(const n in t[e(302)]){if(t[e(302)][n][e(297)]&&!t[e(302)][n][e(297)][e(279)])continue;const s=this[e(281)](JSON[e(304)](t[e(302)][n][e(260)])),r=this[e(263)][e(283)][e(290)][e(298)],o=new Q.ViewDocumentFragment(r,s[e(249)](t=>this[e(259)](t,!1)));this[e(263)][e(295)][e(287)][e(264)](e(232)),i[n]=this[e(263)][e(295)][e(287)][e(271)](o),this[e(263)][e(295)][e(287)][e(264)](e(266))}return i}[st(240)](t){const e=st,i={};for(const n in t[e(302)])t[e(302)][n][e(297)]&&!t[e(302)][n][e(297)][e(279)]||(i[n]=t[e(302)][n][e(280)]||{});return i}[st(296)](t){const e=st;return this[e(234)][e(286)](t[e(238)])}[st(259)](t,e){const i=st,n=this[i(263)][i(283)][i(290)][i(298)];if(i(272)==typeof t)return new Q.ViewText(n,t);{let s,r;r="u"==t[i(292)]||"r"==t[i(292)]?[]:t[i(301)][i(249)](t=>this[i(259)](t,e));const o=this[i(236)][i(286)](t[i(292)])||Q.ViewElement,a=this[i(263)][i(295)][i(294)][i(289)];if(s=new o(n,t[i(242)],t[i(254)],r),"u"==t[i(292)]&&t[i(301)][0]){const r=t[i(301)][0];if(s[i(267)]=function(t){const e=i,n=t[e(285)](e(258));return n[e(269)]=r,n[e(278)][0]},e){const t=new Q.ViewDocumentFragment(n);t[i(299)](s);const e=Array[i(300)](a[i(244)](t,{bind:!1})),r=a[i(231)][i(285)](i(258));r[i(246)](...e),s=Array[i(300)](a[i(251)](r))[0]}}else if("r"==t[i(292)]&&t[i(301)][0]){const r=t[i(301)][0];if(s[i(267)]=function(t){t[i(269)]=r},e){const t=new Q.ViewDocumentFragment(n);t[i(299)](s);const e=Array[i(300)](a[i(244)](t,{bind:!1})),r=a[i(231)][i(285)](i(258));r[i(246)](...e);const o=Array[i(300)](a[i(251)](r));o[i(268)]>1?s[i(299)](o):s=o[0]}}if(t[i(277)])for(const[e,n]of t[i(277)])s[i(253)](e,n);const c=void 0===t[i(291)]?null:t[i(291)];return null!==c&&(s[i(256)]=()=>c),s}}[st(274)](t){const e=st,i=JSON[e(304)](t),n=this[e(263)][e(283)][e(290)][e(298)],s=new Q.ViewDocumentFragment(n,i[e(249)](t=>this[e(259)](t,!0)));return this[e(263)][e(295)][e(239)](s)}[st(281)](t){const e=st;return(t=t[e(262)](t=>!t[e(242)]||e(233)!==t[e(242)]&&e(261)!==t[e(242)]))[e(237)](t=>{const i=e;i(272)!=typeof t&&(t[i(301)]=this[i(281)](t[i(301)]),t[i(254)]=t[i(254)][i(262)](t=>!t[0][i(257)](i(235))))}),t}}function at(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""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),A=s(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(n=n??new Map).get(t),M=n.get(i);if(null!=R&&null!=M)return R===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=kt();return(mt=function(t,e){return i[t-=308]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(896542===-parseInt(e(415))/1*(-parseInt(e(314))/2)+-parseInt(e(352))/3*(-parseInt(e(548))/4)+-parseInt(e(440))/5+-parseInt(e(417))/6*(-parseInt(e(527))/7)+-parseInt(e(621))/8*(-parseInt(e(489))/9)+-parseInt(e(466))/10*(-parseInt(e(376))/11)+-parseInt(e(407))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(kt);class pt extends G.Plugin{[ft(312)];[ft(356)];[ft(616)]=null;[ft(629)];[ft(412)]=null;[ft(453)];[ft(549)];[ft(341)];[ft(360)];[ft(320)];[ft(416)];[ft(363)];[ft(396)];[ft(391)];static get[ft(524)](){return ft(544)}static get[ft(626)](){return!0}static get[ft(588)](){return!0}static get[ft(329)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(629)]=this[i(582)][i(437)][i(470)](i(610)),this[i(320)]=this[i(582)][i(437)][i(470)](i(500)),this[i(453)]=new vt(this[i(582)]),this[i(341)]=this[i(582)][i(361)][i(470)](i(488))||i(478),this[i(360)]=new Map,this[i(391)]=null;const n=(0,t.uid)();this[i(549)]={history:this[i(582)][i(429)][i(564)][i(395)],getLatestVersion:()=>Promise[i(612)](this[i(582)][i(429)][i(564)][i(624)]),getCurrentRevisionId:()=>n},this[i(553)](i(516),!1),this[i(553)](i(551),!0),this[i(553)](i(578),!1),this[i(582)][i(361)][i(427)](i(608),!0),this[i(582)][i(390)][i(383)](i(321))[i(525)]({view:i(559)})}[ft(375)](){const t=ft;this[t(606)](),this[t(582)][t(419)].on(t(332),()=>{const e=t,i=this[e(629)][e(399)](0),n=i&&null===i[e(501)]?i:null;if(this[e(363)]=!!n&&this[e(582)][e(361)][e(470)](e(608)),this[e(582)][e(437)][e(531)](e(454))){const t=this[e(549)][e(369)](),s=this[e(629)][e(399)](t);if(s)this[e(396)]=s[e(388)],this[e(363)]=!1;else{const t=this[e(549)][e(395)][e(357)][e(495)](t=>!t[e(632)]),s=t?t[e(465)]:this[e(549)][e(395)][e(624)];i?(i[e(534)]<s&&i[e(339)]({toVersion:s}),this[e(363)]?(this[e(549)][e(369)]=()=>n.id,this[e(396)]=n[e(388)]):(this[e(396)]=i[e(534)],this[e(363)]=!1)):(this[e(396)]=s,this[e(363)]=!1)}}else n&&(this[e(582)][e(429)][e(564)][e(395)][e(624)]=Math[e(519)](n[e(534)],this[e(582)][e(429)][e(564)][e(395)][e(624)]),n[e(388)]===n[e(534)]?(0!==n[e(388)]&&(this[e(549)][e(369)]=()=>n.id),this[e(363)]=!1):this[e(363)]&&(this[e(549)][e(369)]=()=>n.id,this[e(396)]=n[e(388)])),this[e(363)]||(this[e(396)]=this[e(582)][e(429)][e(564)][e(624)]);this[e(453)][e(375)](this[e(549)][e(395)]),this[e(514)](this[e(396)]),this[e(598)](this[e(396)]),this[e(412)]&&this[e(494)]()}),this[t(533)](t(516)).to(this,t(578),t=>!t),this[t(312)]=this[t(582)][t(361)][t(470)](t(312));const e=this[t(582)];this[t(356)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(618)==r||i(503)==r||i(557)==r||i(580)==r||i(445)==r||i(585)==r||i(589)==r||i(528)==r){delete e[s],n=r,clearInterval(this[i(356)]),this[i(356)]=void 0;break}}i(503)==n&&e[i(502)](i(365)),i(557)==n&&e[i(502)](i(392)),i(580)==n&&e[i(502)](i(538)),i(445)==n&&e[i(502)](i(513),i(460)),i(585)==n&&e[i(502)](i(384)),i(589)==n&&e[i(502)](i(333)),i(528)==n&&e[i(502)](i(480))},1e3)}async[ft(615)](){const t=ft;if(this[t(629)][t(345)]>0){const e=this[t(629)][t(399)](0),i=await this[t(349)](e),n=await this[t(436)](e);this[t(617)](i,n)}}[ft(367)](){const t=ft;super[t(367)](),this[t(356)]&&clearInterval(this[t(356)])}[ft(540)](t){this[ft(549)]=t}async[ft(343)](){const t=ft,e=await this[t(549)][t(347)]();if(e>this[t(616)][t(534)]){await this[t(439)]();const i=this[t(342)]({revision:this[t(616)],to:e});i[t(394)]=i[t(327)][t(483)](e=>this[t(582)][t(437)][t(470)](t(405))[t(474)](e)),this[t(616)][t(339)](i)}}async[ft(563)](e={},i=null){const n=ft,s=[];await this[n(439)](),this[n(363)]=!1,i>this[n(616)][n(534)]&&(i=null),null===i&&(i=await this[n(549)][n(347)]());const r=this[n(558)](i),o=this[n(342)]({from:r,to:i});if(this[n(616)][n(534)]<i){const t=this[n(342)]({revision:this[n(616)],from:i,to:i});t[n(394)]=[],t[n(327)]=[],t.id=this[n(616)].id,this[n(616)][n(339)](t,!0),delete t[n(394)],s[n(451)](t)}e[n(330)]=this[n(582)][n(437)][n(470)](n(405)).me.id,e[n(459)]=e[n(459)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(386)](e);s[n(451)](e);const c=this[n(629)][n(370)](a);if(0!==c){const t=this[n(629)][n(399)](c-1);if(t[n(388)]!==i){const r=this[n(453)][n(571)](i,t[n(534)]),o={id:t.id,diffData:r[n(574)],authorsIds:r[n(327)],authors:r[n(327)][n(483)](t=>this[n(582)][n(437)][n(470)](n(405))[n(474)](t)),fromVersion:i};t===this[n(616)]&&(o[n(413)]=new Date(e[n(413)][n(487)]()+10)),t[n(339)](o,!0),delete o[n(394)],s[n(451)](o)}}if(this[n(412)]){for(const t of s)this[n(526)](t.id,t,!0);this[n(494)]()}return a}[ft(386)](t){const e=ft,i=this[e(629)][e(322)](t);return this[e(412)]&&i.on(e(339),(t,i,n)=>{const s=e;n||(this[s(526)](i.id,i,!0),this[s(494)]())}),this[e(629)][e(438)](i,this[e(456)](i)),i}async[ft(349)](t){const e=ft;return await this[e(320)][e(623)](t,this[e(412)]),this[e(320)][e(349)](t)}async[ft(436)](t){const e=ft;return await this[e(320)][e(623)](t,this[e(412)]),this[e(320)][e(436)](t)}[ft(494)](){const t=ft;if(0===this[t(360)][t(336)])return;if(this[t(578)])return;let e=Array[t(613)](this[t(360)][t(546)]());this[t(360)][t(560)]();for(let i=0;i<e[t(345)];i++){const n=e[i];let s=!1;for(const e of Object[t(599)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(446)](t=>null!==t),!e[t(345)])return;for(let i=0;i<e[t(345)];i++){const n=e[i];void 0!==n[t(388)]&&void 0===n[t(534)]&&(n[t(534)]=this[t(629)][t(399)](n.id)[t(534)]),void 0!==n[t(534)]&&void 0===n[t(388)]&&(n[t(388)]=this[t(629)][t(399)](n.id)[t(388)])}const i=this[t(582)][t(361)][t(470)](t(488));this[t(578)]=!0,this[t(318)](),this[t(412)][t(344)](e,i)[t(334)](()=>{this[t(578)]=!1})[t(404)](e=>{const i=t;if(e)for(const t of e)this[i(572)]({id:t.id,createdAt:t[i(413)]});this[i(492)](),this[i(494)]()})}[ft(342)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(388)],i=null!==i?i:t[n(534)];const s=this[n(453)][n(571)](e,i),r={diffData:s[n(574)],authorsIds:s[n(327)],fromVersion:e,toVersion:i};if(!t||i!==t[n(534)]){const t=i-1,e=this[n(549)][n(395)][n(324)](t);r[n(413)]=e&&e[n(413)]||new Date}if(this[n(391)]&&e===this[n(391)][n(388)])for(const t of this[n(391)][n(394)])r[n(327)][n(310)](t.id)||r[n(327)][n(451)](t.id);return r}[ft(526)](t,e,i){const n=ft;if(this[n(360)][n(531)](t)){const s=this[n(360)][n(470)](t);e=i?{...s,...e}:{...e,...s}}this[n(360)][n(553)](t,e)}[ft(572)](t){const e=ft,i=this[e(629)][e(399)](t.id);if(t[e(413)]&&(t[e(413)]=new Date(t[e(413)])),t[e(327)]){const i=this[e(582)][e(437)][e(470)](e(405));t[e(394)]=t[e(327)][e(483)](t=>i[e(474)](t))}i[e(339)](t,!0)}[ft(514)](t){const e=ft,i=this[e(629)][e(399)](this[e(629)][e(345)]-1);if(i)this[e(341)]=i.id;else{const i=!this[e(582)][e(429)][e(564)][e(378)][e(495)](t=>this[e(582)][e(429)][e(543)](t)),n=this[e(582)][e(437)][e(470)](e(405)).me.id,s=at(this[e(582)][e(447)],e(i?331:364));this[e(362)]({from:t,to:t,id:this[e(341)],name:s,creatorId:n})}}[ft(598)](t){const e=ft,i=this[e(549)][e(369)]();this[e(616)]=this[e(629)][e(399)](i),this[e(616)]||(this[e(616)]=this[e(362)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(439)](){const t=ft;this[t(363)]&&!this[t(391)]&&(await this[t(320)][t(623)](this[t(616)],this[t(412)]),this[t(453)][t(484)](this[t(616)]),this[t(391)]={fromVersion:this[t(616)][t(388)],authors:this[t(616)][t(394)][t(393)]()})}[ft(617)](e,i){const n=ft;let s=this[n(582)][n(361)][n(470)](n(603)),r=this[n(582)][n(361)][n(470)](n(317));if(void 0===s){s={};for(const t of this[n(582)][n(429)][n(564)][n(536)]())s[t]=""}if(n(620)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(582)][n(429)][n(564)][n(536)]())r[t]={}}let o=!1;const a=Object[n(599)](s),c=Object[n(599)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(382)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(599)](r[t])[n(345)]>0){o=!0;break}}o||(o=c[n(593)](t=>!this[n(582)][n(429)][n(564)][n(346)](t))),o&&(0,t.logWarning)(n(428),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(582)][n(361)][n(553)](n(603),e),this[n(582)][n(361)][n(553)](n(317),i)}[ft(318)](){const t=ft;if(!this[t(416)]){const e=this[t(582)][t(437)][t(470)](t(555));this[t(416)]=e[t(587)](at(this[t(582)][t(447)],t(373)))}}[ft(492)](){const t=ft;this[t(416)]&&(this[t(582)][t(437)][t(470)](t(555))[t(458)](this[t(416)]),this[t(416)]=null)}[ft(456)](t){const e=ft,i=this[e(629)][e(609)]();i[e(550)]();let n=0;for(;n<i[e(345)];){const s=i[n];if(s===this[e(616)]){n++;continue}if(s.id===this[e(341)])break;const r=t[e(534)]-s[e(534)]||t[e(388)]-s[e(388)];if(r>0)break;if(r<0)n++;else{if(!t[e(501)]&&s[e(501)])break;if(s[e(501)]||!t[e(501)]){if(t[e(413)]>s[e(413)])break;n++}else n++}}return n}[ft(558)](t){const e=ft,i=this[e(629)][e(609)]();i[e(550)](),i[e(387)]();const n=i[e(495)](i=>i[e(534)]<=t)[e(534)];return n<this[e(396)]?this[e(396)]:n}[ft(362)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(342)]({from:e,to:i});o[r(459)]=t,o[r(330)]=n,o.id=s;const a=this[r(386)](o);return this[r(412)]&&this[r(526)](o.id,o,!0),a}[ft(606)](){const t=ft;this[t(582)][t(390)][t(383)](t(426))[t(607)]({model:t(559)})}}class vt{[ft(582)];[ft(505)];[ft(566)];[ft(627)];[ft(335)];[ft(583)];[ft(448)];[ft(414)];[ft(354)];[ft(592)];[ft(400)];[ft(486)];[ft(374)];[ft(541)];[ft(431)];[ft(530)];[ft(529)];constructor(t){const e=ft;this[e(582)]=t,this[e(566)]=new Map,this[e(627)]=-1,this[e(335)]=-1,this[e(583)]=new Map,this[e(448)]=new Map,this[e(414)]=new Map,this[e(354)]=new Map,this[e(592)]=new Map,this[e(400)]=new Map,this[e(486)]=new Map,this[e(374)]=new Map,this[e(541)]=new Map,this[e(431)]=new Map,this[e(530)]=1}[ft(375)](t){const e=ft;this[e(505)]=t;const i=new Map,n=new Map,s=this[e(582)][e(429)][e(564)][e(378)][e(483)](t=>t[e(622)]);for(const t of s){const s=this[e(582)][e(429)][e(564)][e(346)](t),r=gt(s);i[e(553)](t,r),n[e(553)](t,Object[e(377)](s[e(368)]()))}const r=Array[e(613)](this[e(582)][e(429)][e(485)])[e(483)](t=>[t[e(459)],t[e(628)]()]),o=this[e(505)][e(624)];this[e(601)](o,i,r,n),this[e(529)]=this[e(530)];const a=new Map,c=new Map;for(const t of s){const i=yt(t);a[e(553)](t,i),c[e(553)](t,{})}this[e(601)](Number[e(496)],a,[],c)}[ft(571)](t,e){const i=ft;if(this[i(627)]===t&&this[i(335)]<=e)this[i(566)][i(336)]>1&&this[i(462)](this[i(335)]),this[i(591)](this[i(335)],e,!0);else{if(!this[i(566)][i(531)](t)){const e=this[i(398)](t);this[i(434)](e,t,!1)}this[i(434)](t,e,!0)}return this[i(627)]=t,this[i(335)]=e,this[i(595)]()}[ft(484)](t){const e=ft;if(!this[e(566)][e(531)](t[e(388)])){const i=this[e(398)](t[e(388)]);this[e(434)](i,t[e(388)],!1)}this[e(434)](t[e(388)],t[e(534)],!1);const i=this[e(582)][e(437)][e(470)](e(500));this[e(463)](),this[e(627)]=t[e(388)],this[e(335)]=t[e(534)];for(const n in t[e(574)]){const s=t[e(574)][n][e(338)],r=R(t[e(574)][n][e(355)])||{},o=i[e(537)](t[e(574)][n][e(584)]);o[e(622)]=n,o[e(348)]=!s||!s[e(406)],o[e(406)]=()=>o[e(348)],this[e(354)][e(553)](n,o),this[e(592)][e(553)](n,r),s&&this[e(431)][e(553)](n,s);const a=this[e(385)](o);this[e(486)][e(553)](n,a);for(const[t,i]of o[e(485)]){if(!t[e(381)](e(532)))continue;const n=t[e(351)](":")[2];for(const t of i[e(311)]({singleCharacters:!0})){const i=this[e(359)](t),s=e(475)==t[e(420)]?t[e(401)][e(325)][e(393)](0,-1):t[e(401)][e(325)],r=a[e(315)](s)[e(575)](i);this[e(374)][e(553)](r,{userId:n})}}}this[e(529)]=this[e(530)];const n=[...Array(this[e(530)])[e(599)]()][e(393)](1)[e(446)](t=>!this[e(374)][e(531)](t));let s=0;const r=new Map;for(const o in t[e(574)]){const a=t[e(574)][o][e(338)],c=R(t[e(574)][o][e(511)])||{},u=i[e(537)](t[e(574)][o][e(430)]);u[e(622)]=o,u[e(348)]=!a||a[e(406)],u[e(406)]=()=>u[e(348)],this[e(448)][e(553)](o,u),this[e(414)][e(553)](o,c);const l=this[e(385)](u,Number[e(496)]);this[e(400)][e(553)](o,l),r[e(553)](o,u[e(406)]()?c:{});for(const[t,i]of u[e(485)]){if(!t[e(381)](e(532)))continue;const n=t[e(351)](":")[2];for(const t of i[e(311)]({singleCharacters:!0})){const i=this[e(359)](t),s=this[e(530)]++,r=e(475)==t[e(420)]?t[e(401)][e(325)][e(393)](0,-1):t[e(401)][e(325)];l[e(315)](r)[e(469)](i,s),this[e(374)][e(553)](s,{userId:n})}}for(const t of this[e(582)][e(429)][e(328)](u)[e(311)]({singleCharacters:!0})){const i=this[e(359)](t),r=e(475)==t[e(420)]?t[e(401)][e(325)][e(393)](0,-1):t[e(401)][e(325)],o=l[e(315)](r);o[e(575)](i)>0||o[e(469)](i,n[s++])}for(const[t,i]of u[e(485)])t[e(381)](e(532))||this[e(583)][e(553)](t,i)}const{roots:o}=this[e(566)][e(470)](t[e(388)]),{roots:a}=this[e(566)][e(470)](t[e(534)]),c=gt(o[e(470)](e(506)));this[e(354)][e(553)](e(506),c),this[e(486)][e(553)](e(506),this[e(385)](c,Number[e(496)]));const u=gt(a[e(470)](e(506)));this[e(448)][e(553)](e(506),u),this[e(400)][e(553)](e(506),this[e(385)](u));const l=Array[e(613)](this[e(448)])[e(483)](([t,e])=>[t,gt(e)]);this[e(601)](this[e(335)],l,this[e(583)],r)}[ft(605)](){const t=ft;this[t(463)](),this[t(627)]=-1,this[t(335)]=-1,this[t(566)][t(560)](),this[t(375)](this[t(505)])}[ft(601)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(553)](t,{start:e[s(461)][s(479)](),end:e[s(579)][s(479)](),rootName:e[s(350)][s(622)]});this[s(566)][s(553)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(462)](t){const e=ft;this[e(566)][e(590)](t)}[ft(463)](){const t=ft;this[t(374)][t(560)](),this[t(541)][t(560)](),this[t(431)][t(560)](),this[t(448)][t(560)](),this[t(414)][t(560)](),this[t(354)][t(560)](),this[t(592)][t(560)](),this[t(400)][t(560)](),this[t(486)][t(560)](),this[t(583)][t(560)](),this[t(530)]=1,this[t(529)]=this[t(530)]}[ft(385)](t,e=null){const i=ft;let n=null;t.is(i(408))||(n=new Q.ModelElement(t[i(459)],{vid_start:null===e?this[i(530)]++:e++}));const s=[];for(const n of t[i(518)]())if(n.is(i(457))){s[i(451)](this[i(385)](n,e));const t=s[s[i(345)]-1];null!==e&&(e=t.is(i(457),i(380))?t[i(575)](i(542))+1:t[i(575)](i(444))+1)}else for(let t=0;t<n[i(468)];t++)s[i(451)](new Q.ModelElement(i(380),{vid:null===e?this[i(530)]++:e++}));if(t.is(i(408))){const e=yt(t[i(622)]);return e[i(504)](0,s),e}return n[i(469)](i(444),null===e?this[i(530)]++:e++),n[i(504)](0,s),n}[ft(434)](t,e,i){const n=ft;this[n(463)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(566)][n(470)](t);this[n(354)]=new Map(s),this[n(592)]=new Map(R(o));for(const[t,e]of this[n(354)])if(n(506)!==t&&(this[n(448)][n(553)](t,gt(e)),this[n(414)]=new Map(R(o)),i)){const i=this[n(530)];this[n(400)][n(553)](t,this[n(385)](e)),this[n(486)][n(553)](t,this[n(385)](e,i))}this[n(529)]=this[n(530)],this[n(448)][n(553)](n(506),gt(this[n(354)][n(470)](n(506)))),i&&this[n(400)][n(553)](n(506),this[n(385)](this[n(354)][n(470)](n(506))));for(const[t,e]of r){const i=this[n(354)][n(470)](e[n(622)]),s=this[n(448)][n(470)](e[n(622)]),r=new Q.ModelRange(this[n(471)](e[n(461)],i),this[n(471)](e[n(579)],i)),o=this[n(597)](r,s);i[n(485)][n(553)](t,r),this[n(583)][n(553)](t,o)}this[n(591)](t,e,i)}[ft(591)](t,e,i){const n=ft;for(const s of this[n(505)][n(596)](t,e))this[n(508)](s,i);for(const t of this[n(448)][n(546)]())t[n(485)][n(560)]();for(const[t,e]of this[n(583)])this[n(448)][n(470)](e[n(350)][n(622)])[n(485)][n(553)](t,e[n(479)]());const s=new Map,r=new Map;for(const[t,e]of this[n(448)])s[n(553)](t,gt(e)),r[n(553)](t,this[n(414)][n(470)](t));this[n(601)](e,s,this[n(583)],r)}[ft(398)](t){const e=ft,i=Array[e(613)](this[e(566)][e(599)]());i[e(602)]((t,e)=>t-e),i[e(550)]();for(const e of i)if(e<t)return e;return Number[e(496)]}[ft(308)](t,e){const i=ft,n=Array[i(613)](e[i(485)])[i(483)](([e,n])=>[e,this[i(597)](n,t)]);t[i(485)]=new Map(n)}[ft(476)](t){const e=ft;for(const i of this[e(583)][e(546)]()){const n=i[e(577)](t),s=Q.ModelRange[e(473)](n);i[e(461)]=s[e(461)],i[e(579)]=s[e(579)]}}[ft(508)](t,e){const i=ft;if(i(581)!=t[i(420)]&&i(604)!=t[i(420)]){if(i(515)==t[i(420)]){const n=t[i(452)][i(350)][i(622)];this[i(448)][i(531)](n)||(this[i(448)][i(553)](n,yt(n,!0)),this[i(414)][i(553)](n,{}),e&&this[i(400)][i(553)](n,yt(n,!0)))}else{if(i(410)==t[i(420)]||i(522)==t[i(420)]||i(326)==t[i(420)])return void this[i(568)](t);i(625)==t[i(420)]&&this[i(358)](t)}if(i(625)!==t[i(420)]){const e=this[i(561)](t,this[i(448)]);e[i(512)](),this[i(476)](e)}if(e)switch(t[i(420)]){case i(515):this[i(402)](t);break;case i(521):case i(458):case i(418):this[i(379)](t);break;case i(517):this[i(520)](t);break;case i(351):this[i(366)](t)}}else this[i(313)](t,e)}[ft(561)](t,e){const i=ft,n=t[i(479)]();return n[i(449)]=t[i(449)],this[i(545)](n,e),n}[ft(569)](t){const e=ft;return t[e(483)](t=>{const i=e,n=this[i(359)](t);return Number(t[i(441)][i(575)](n))})}[ft(552)](t,e){const i=ft;if(t.is(i(457),i(380)))e[i(451)]({item:t,type:i(443)});else{t.is(i(457))&&e[i(451)]({item:t,type:i(403)});for(const n of t[i(518)]())this[i(552)](n,e);t.is(i(457))&&e[i(451)]({item:t,type:i(475)})}return e}[ft(595)](){const t=ft,e=new Map(this[t(374)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(354)][t(599)](),...this[t(448)][t(599)]()]);a[t(590)](t(506));for(const e of a){const i=this[t(448)][t(470)](e)||yt(e,!1),n=this[t(354)][t(470)](e)||yt(e,!1);i[t(406)]()||n[t(406)]()?(s[t(430)][e]=gt(i),s[t(584)][e]=gt(n),this[t(308)](s[t(584)][e],n),this[t(308)](s[t(430)][e],i),r[t(430)][e]=this[t(552)](this[t(400)][t(470)](e),[]),r[t(584)][e]=this[t(552)](this[t(486)][t(470)](e)||yt(e,!1),[])):a[t(590)](e)}for(const s of a){const o=r[t(430)][s];for(const s of o){const r=this[t(359)](s),o=s[t(441)][t(575)](r);i[t(590)](o),o>=this[t(529)]&&n[t(553)](o,e[t(470)](o))}}for(const s of a){const a=r[t(430)][s],c=this[t(569)](r[t(584)][s]);let u=0;for(const s of a){const r=this[t(359)](s),a=s[t(441)][t(575)](r);if(!n[t(531)](a)&&!o[t(531)](a))if(i[t(531)](a))u++;else{if(a!=c[u]){const n=e[t(470)](a)||e[t(470)](c[u]);for(;a!=c[u];)i[t(531)](c[u])||(o[t(553)](c[u],n),e[t(553)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(430)][e];for(const e of s){const s=this[t(359)](e),r=e[t(441)][t(575)](s);if(o[t(531)](r)){const e=o[t(470)](r);i[t(531)](r)||i[t(553)](r,{...e}),n[t(553)](r,{...e})}}}for(const e of i[t(599)]())e>=this[t(529)]&&i[t(590)](e);const c=new Map;for(const e of a){let s=r[t(430)][e];for(const e of s)if(e[t(441)].is(t(457),t(432))){const i=this[t(359)](e),s=e[t(441)][t(575)](i);if(n[t(531)](s)){const i=e[t(441)][t(442)][t(442)][t(575)](t(594)),r=c[t(470)](i)||new Set;r[t(587)](n[t(470)](s)[t(319)]),c[t(553)](i,r)}}s=r[t(584)][e];for(const e of s)if(e[t(441)].is(t(457),t(432))){const n=this[t(359)](e),s=e[t(441)][t(575)](n);if(i[t(531)](s)){const n=e[t(441)][t(442)][t(442)][t(575)](t(594)),r=c[t(470)](n)||new Set;r[t(587)](i[t(470)](s)[t(319)]),c[t(553)](n,r)}}for(const e of c[t(599)]())(n[t(531)](e)||i[t(531)](e))&&c[t(590)](e)}for(const e of a){const s=r[t(430)][e];let o=null,a=null;for(const e of s){const s=this[t(359)](e),r=e[t(441)][t(575)](s),u=c[t(470)](r);u&&t(403)==e[t(420)]&&(o=Array[t(613)](u)[0],a=e[t(441)][t(575)](t(444))),o&&(i[t(553)](r,{userId:o}),n[t(553)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(584)][e],a=s[t(430)][e];for(const{userId:e}of this[t(541)][t(546)]())null!==e&&l[t(587)](e);for(const{userId:e}of this[t(431)][t(546)]())null!==e&&l[t(587)](e);this[t(535)](a,r[t(430)][e],n,t(554),l),this[t(535)](o,r[t(584)][e],i,t(340),l),u[e]={insertions:this[t(424)](a),deletions:this[t(424)](o),attachChange:this[t(431)][t(470)](e)||null,attributesBefore:R(this[t(592)][t(470)](e))||{},attributesAfter:R(this[t(414)][t(470)](e))}}return{diffData:u,authorsIds:Array[t(613)](l)}}[ft(422)](t){const e=ft;for(const[,i]of t[e(485)]){const t=i[e(461)][e(425)]()[e(446)](t=>e(432)==t[e(459)]);for(const i of t)1==i[e(316)]&&i[e(631)](0).is(e(457),e(562))&&i[e(631)](0)[e(469)](e(586),!0)}}[ft(424)](t){const e=ft;this[e(422)](t);const i=this[e(582)][e(419)][e(477)](t,{}),n=Array[e(613)](i[e(518)]())[e(483)](t=>this[e(337)](t));return JSON[e(510)](n)}[ft(337)](t){const e=ft;if(t.is(e(380)))return t[e(419)];{const i=this[e(582)][e(437)][e(470)](e(500)),n=t,s=this[e(582)][e(419)][e(493)][e(450)],r={type:i[e(630)](n),name:n[e(459)],attributes:Array[e(613)](n[e(368)]()),children:Array[e(613)](n[e(518)]())[e(483)](t=>this[e(337)](t))};if(t.is(e(464))&&e(389)!=t[e(459)]){const i=t[e(435)](s[e(455)],s);r[e(611)][e(451)](i[e(433)])}else if(t.is(e(481))){const i=s[e(455)][e(309)](n[e(459)]);t[e(435)](i,s),r[e(611)][e(451)](i[e(556)])}const o=Array[e(613)](n[e(576)]());o[e(345)]>0&&(r[e(497)]=o);const a=n[e(467)]();return null!==a&&(r[e(372)]=a),r}}[ft(535)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(582)][r(429)];for(let n=0;n<e[r(345)];n++){const s=this[r(359)](e[n]),c=e[n][r(441)][r(575)](s),h=i[r(470)](c),d=n==e[r(345)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(319)]!=o[r(319)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(319)],d=l(532)+n+":"+h+":"+c++,f=u[l(614)](i,a);t[l(485)][l(553)](d,f),null!==h&&s[l(587)](h)}}[ft(359)](t){const e=ft;switch(t[e(420)]){case e(403):return e(594);case e(475):return e(444);default:return e(542)}}[ft(545)](t,e){const i=ft;t[i(465)]=null;for(const n in t){const s=t[n];if(s instanceof Q.ModelPosition){const r=e[i(470)](s[i(350)][i(622)]);t[n]=this[i(471)](s,r)}if(s instanceof Q.ModelRange){const r=e[i(470)](s[i(350)][i(622)]);t[n]=this[i(597)](s,r)}i(350)===n&&(t[i(350)]=e[i(470)](t[i(350)][i(622)]))}}[ft(597)](t,e){const i=ft;return this[i(582)][i(429)][i(614)](this[i(471)](t[i(461)],e),this[i(471)](t[i(579)],e))}[ft(471)](t,e){const i=ft;return this[i(582)][i(429)][i(482)](e,t[i(325)],t[i(397)])}[ft(402)](t){const e=ft,i=this[e(400)][e(470)](t[e(452)][e(350)][e(622)]),n=this[e(471)](t[e(452)],i),s=null===t[e(449)]?null:t[e(449)]||this[e(582)][e(437)][e(470)](e(405)).me.id,r=n[e(442)],o=this[e(530)],a=[];for(const i of t[e(547)])if(i.is(e(457)))a[e(451)](this[e(385)](i));else for(let t=0;t<i[e(468)];t++)a[e(451)](new Q.ModelElement(e(380),{vid:this[e(530)]++}));const c=this[e(530)];for(let t=o;t<c;t++)this[e(374)][e(553)](t,{userId:s});r[e(504)](n[e(491)],a)}[ft(379)](t){const e=ft;(t=this[e(561)](t,this[e(400)]))[e(512)]();const i=null===t[e(449)]?null:t[e(449)]||this[e(582)][e(437)][e(470)](e(405)).me.id,n=t[e(539)](),s=n[e(442)],r=n[e(491)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(631)](e);r.is(a(457),a(380))?n[a(553)](r[a(575)](a(542)),{userId:i}):(n[a(553)](r[a(575)](a(594)),{userId:i}),t(n,r,0,r[a(316)]),n[a(553)](r[a(575)](a(444)),{userId:i}))}}(this[e(374)],s,r,r+t[e(570)])}[ft(520)](t){const e=ft,i=null===(t=this[e(561)](t,this[e(400)]))[e(449)]?null:t[e(449)]||this[e(582)][e(437)][e(470)](e(405)).me.id,n=t[e(567)][e(442)],s=t[e(573)][e(442)],r=n[e(575)](e(444)),o=s[e(575)](e(594));n[e(469)](e(444),s[e(575)](e(444))),s[e(469)](e(444),r),this[e(374)][e(553)](o,{userId:i}),this[e(374)][e(553)](r,{userId:i}),t[e(512)]()}[ft(366)](t){const e=ft,i=null===(t=this[e(561)](t,this[e(400)]))[e(449)]?null:t[e(449)]||this[e(582)][e(437)][e(470)](e(405)).me.id,n=t[e(323)],s=t[e(490)][e(442)];t[e(512)]();const r=s[e(575)](e(444)),o=t[e(411)][e(423)];if(n){const t=o[e(575)](e(444)),n=s[e(575)](e(444));s[e(469)](e(444),t),o[e(469)](e(444),n),this[e(374)][e(553)](s[e(575)](e(444)),{userId:i}),this[e(374)][e(553)](o[e(575)](e(594)),{userId:i})}else{const t=this[e(530)]++,n=this[e(530)]++;s[e(469)](e(444),t),o[e(469)](e(594),n),o[e(469)](e(444),r),this[e(374)][e(553)](t,{userId:i}),this[e(374)][e(553)](n,{userId:i})}}[ft(358)](t){const e=ft;if(!t[e(507)])return;const i=(t=this[e(561)](t,this[e(448)]))[e(409)]?t[e(409)][e(350)]:null,n=t[e(499)]?t[e(499)][e(350)]:null;i&&this[e(583)][e(590)](t[e(459)]),n&&this[e(583)][e(553)](t[e(459)],t[e(499)][e(479)]());const s=null===t[e(449)]?null:t[e(449)]||this[e(582)][e(437)][e(470)](e(405)).me.id,r=t[e(459)];if(!this[e(541)][e(531)](r))return void this[e(541)][e(553)](r,{range:t[e(409)],userId:s});const o=this[e(541)][e(470)](r),a=o[e(509)],c=t[e(499)];null==a&&null==c||a&&c&&a[e(600)](c)?this[e(541)][e(590)](t[e(459)]):o[e(319)]=s}[ft(313)](t,e){const i=ft;this[i(448)][i(531)](t[i(622)])?this[i(448)][i(470)](t[i(622)])[i(348)]=t[i(565)]:(this[i(448)][i(553)](t[i(622)],yt(t[i(622)],!0)),this[i(414)][i(553)](t[i(622)],{}),e&&this[i(400)][i(553)](t[i(622)],yt(t[i(622)],!0)));const n=null===t[i(449)]?null:t[i(449)]||this[i(582)][i(437)][i(470)](i(405)).me.id,s=this[i(431)][i(470)](t[i(622)]);s&&s[i(319)]===n?this[i(431)][i(590)](t[i(622)]):this[i(431)][i(553)](t[i(622)],{userId:n,isAttached:t[i(565)]})}[ft(568)](t){const e=ft,i=this[e(414)][e(470)](t[e(350)][e(622)]);null===t[e(619)]?delete i[t[e(523)]]:i[t[e(523)]]=t[e(619)]}}function gt(t){const e=ft,i=yt(t[e(622)],t[e(406)]());for(const n of t[e(518)]()){const t=n[e(371)](!0);i[e(353)](t)}return i}function yt(t,e=!0){const i=ft,n=new Q.ModelDocumentFragment;return n[i(622)]=t,n[i(348)]=e,n[i(406)]=()=>n[i(348)],n}function kt(){const t=["_fixPosition","createPositionBefore","_createFromRanges","getUser","elementEnd","_transformMarkers","toView","initial","clone","usageLimit","rawElement","createPositionFromPath","map","loadState","markers","_baseIdsRoots","getTime","collaboration.channelId","9WxoUTD","splitPosition","offset","_removePendingAction","htmlProcessor","sendBufferedUpdates","find","NEGATIVE_INFINITY","customProperties","createPositionAt","newRange","RevisionHistoryUtils","creator","_showLicenseError","revisionHistoryLicenseKeyInvalid","_insertChild","source","$graveyard","affectsData","_handleOperation","range","stringify","attributesAfter","_execute","featureNotAllowed","_createInitialRevision","insert","isReady","merge","getChildren","max","_handleMergeOperation","move","removeRootAttribute","key","pluginName","dataToMarker","_bufferUpdate","4144kvwjSq","revisionHistoryLicenseKeyUsageLimit","_startingRevisionId","_revisionId","has","revision:","bind","toVersion","_markChanges","getRootNames","_makeModelFromViewString","domainLimit","getMovedRangeStart","setSource","_touchedMarkers","vid","hasContent","RevisionTracker","_fixOperation","values","nodes","4JaaxND","_source","reverse","isEnabled","_generateTape","set","insertion","PendingActions","innerHTML","revisionHistoryLicenseKeyExpired","_getFromVersion","revision","clear","_cloneOperation","paragraph","saveRevision","document","isAdd","_savedMetaData","targetPosition","_handleRootAttributeOperation","_getBaseVids","howMany","getData","setRevisionData","sourcePosition","diffData","getAttribute","getCustomProperties","getTransformedByOperation","_isPendingUpdate","end","revisionHistoryLicenseKeyDomainLimit","addRoot","editor","_markers","deletions","revisionHistoryLicenseKeyEvaluationLimit","keepParagraph","add","isPremiumPlugin","revisionHistoryLicenseKeyTrialLimit","delete","_applyOperations","_baseRootsAttributes","some","vid_start","_getState","getOperations","_fixRange","_createCurrentRevision","keys","isEqual","_saveMetaData","sort","initialData","detachRoot","reInit","_setConversion","markerToData","revisionHistory.resumeUnsavedRevision","getRevisions","RevisionsRepository","children","resolve","from","createRange","afterInit","currentRevision","_replaceEditorDataWithRevisionData","revisionHistoryLicenseKeyValid","newValue","string","2568896vmjgJN","rootName","loadRevisionData","version","marker","isOfficialPlugin","_lastFrom","getRange","repository","_getTypeCharForViewElement","getChild","_isInit","_copyMarkers","createElement","includes","getWalker","licenseKey","_handleRootOperation","34FbBEbE","getNodeByPath","childCount","rootsAttributes","_addPendingAction","userId","_utils","upcast","createRevision","graveyardPosition","getOperation","path","changeRootAttribute","authorsIds","createRangeIn","requires","creatorId","Empty document","ready","trialLimit","finally","_lastTo","size","_getViewJson","attachChange","_update","deletion","_initialRevisionId","buildRevisionData","update","updateRevisions","length","getRoot","getLatestVersion","_isAttached","getRevisionDocumentData","root","split","5237130wdHBUr","_appendChild","_baseRoots","attributesBefore","_licenseKeyCheckInterval","_operations","_handleMarkerOperation","_getVidAttributeName","_bufferedUpdates","config","_makeRevision","_continueCurrentRevision","Initial revision","invalid","_handleSplitOperation","destroy","getAttributes","getCurrentRevisionId","getIndex","_clone","fillerOffset","PENDING_ACTION_REVISION_HISTORY","_touched","init","69311DaiRzZ","fromEntries","roots","_handleMoveOperation","$text","startsWith","trim","for","evaluationLimit","_makeIdsRoot","addRevisionData","shift","fromVersion","$comment","conversion","_loadedStateData","expired","slice","authors","history","_startingVersion","stickiness","_getPreviousFrom","getRevision","_idsRoots","previousPosition","_handleInsertOperation","elementStart","then","Users","isAttached","22247604omTpOz","documentFragment","oldRange","addRootAttribute","insertionPosition","adapter","createdAt","_diffRootsAttributes","28627rItpwr","_pendingAction","1206zVjlhA","reinsert","data","type","createPositionAfter","_processRootBeforeSave","nodeAfter","_prepareViewToSave","getAncestors","dataDowncast","define","editor-initial-data-replaced-with-revision-data","model","insertions","_touchedRoots","tableCell","outerHTML","_calculateMetaData","render","getRevisionRootsAttributes","plugins","addRevision","_loadState","5627275HdIMEo","item","parent","text","vid_end","revisionHistoryLicenseKeyNotAllowed","filter","locale","_diffRoots","_authorId","domConverter","push","position","_revisionDataBuilder","RealTimeCollaborationClient","domDocument","_findInsertionIndex","element","remove","name","RevisionHistory","start","_removeMetaData","_reset","uiElement","baseVersion","1910lepnwS","getFillerOffset","offsetSize","_setAttribute","get"];return(kt=function(){return t})()}function bt(t,e,i){const n=ft,s=n(475)==t[n(420)]?i[n(498)](t[n(441)],n(579)):i[n(472)](t[n(441)]);return i[n(482)](e,s[n(325)],s[n(397)])}function wt(t,e,i){const n=ft,s=n(403)==t[n(420)]?i[n(498)](t[n(441)],0):i[n(421)](t[n(441)]);return i[n(482)](e,s[n(325)],s[n(397)])}var _t=i(355),It=i(311),St=i(6),Ot=i.n(St),Tt=i(602),xt=i.n(Tt),Nt=i(557),At=i.n(Nt),Rt=i(302),Mt=i.n(Rt),Vt=i(290),Dt=i.n(Vt),Et=i(606),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Dt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(660),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=At().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Dt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=Pt;function Pt(t,e){const i=Ht();return(Pt=function(t,e){return i[t-=218]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(779819===-parseInt(e(257))/1*(-parseInt(e(238))/2)+-parseInt(e(253))/3+-parseInt(e(260))/4*(parseInt(e(222))/5)+-parseInt(e(244))/6+parseInt(e(226))/7+-parseInt(e(247))/8*(-parseInt(e(239))/9)+parseInt(e(248))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(228)];[Lt(224)];[Lt(221)];constructor(e,i){const n=Lt;super(e),this[n(228)]=new t.FocusTracker,this[n(224)]=new t.KeystrokeHandler,this[n(249)](n(234),""),this[n(221)]=this[n(225)](i),this[n(218)]({tag:n(254),attributes:{class:["ck",n(250),n(256)],tabindex:"-1"},children:[this[n(221)]]}),this[n(220)]()}[Lt(227)](){const t=Lt;super[t(227)](),(0,It.submitHandler)({view:this}),this[t(228)][t(230)](this[t(221)][t(246)]),this[t(224)][t(223)](this[t(246)]);const e=e=>e[t(229)]();this[t(224)][t(249)](t(243),e),this[t(224)][t(249)](t(242),e),this[t(224)][t(249)](t(219),e),this[t(224)][t(249)](t(241),e)}[Lt(235)](){const t=Lt;this[t(221)][t(235)]()}get[Lt(240)](){const t=Lt;return this[t(221)][t(245)][t(246)][t(231)][t(237)]()}set[Lt(240)](t){const e=Lt;this[e(221)][e(245)][e(246)][e(231)]=t[e(237)]()}[Lt(233)](){const t=Lt;this[t(221)][t(245)][t(246)][t(231)]="",this[t(221)][t(251)]=null}[Lt(225)](t){const e=Lt,i=new It.LabeledFieldView(this[e(255)],It.createLabeledInputText),n=i[e(245)];n[e(261)]({attributes:{maxlength:e(252)}});let s=at(this[e(255)],e(236));return!t&&(s+=" ("+at(this[e(255)],e(259))+")"),i[e(258)]=s,n.on(e(232),()=>{const t=e;this[t(234)]=n[t(246)][t(231)][t(237)]()}),i}}function Ht(){const t=["1765746KeBVvh","fieldView","element","2146808njxvhK","5598240aPfTlf","set","ck-revision-history-save-revision-form","errorText","220","717840akHPeQ","form","locale","ck-responsive-form","3840ZCnfzb","label","optional","12708IHOQrI","extendTemplate","setTemplate","arrowup","initializeCssTransitionDisablerMixin","revisionNameInputView","1970BCQyeE","listenTo","keystrokes","_createRevisionNameInput","2858191EtwNEl","render","focusTracker","stopPropagation","add","value","input","reset","revisionNameInputValue","focus","Name of the revision","trim","692qQQiaL","9lcnyvG","revisionName","arrowdown","arrowleft","arrowright"];return(Ht=function(){return t})()}function Wt(t,e){const i=Zt();return(Wt=function(t,e){return i[t-=400]})(t,e)}const Ut=Wt;function Zt(){const t=["get","3199890DAJTEO","_createSaveRevisionFormView","plugins","errorText","24134tvcEWW","6krEJKK","_registerMenuComponent","Save current revision","isReady","menuitem","revisionName","editing","_showDialog","isOfficialPlugin","3417580TfivRF","set","RevisionHistoryUI","editor","Dialog","isReadOnly","requires","revisionHistory","items","6806052TRWWGb","2954303qqqIph","The revision name cannot be empty.","menu","_saveRevisionFormView","ck-button-action","Revision history","saveRevision","Open revision history","Cancel","addMany","config","revisionSave","render","panelView","children","RevisionTracker","bind","isPremiumPlugin","1582704ToyqDp","isEnabled","288ZdXMXi","view","181069esJGQl","10jghyoy","menuBar:revisionHistory","init","revisionNameInputView","23kaKMru","isOpen","Accept","add","pluginName","revisionHistory.requireRevisionName","buttonView","focus","reset","submit","showRevisionViewerCallback","delegate","componentFactory","hide","execute","role","locale","show"];return(Zt=function(){return t})()}!function(t){const e=Wt,i=t();for(;;)try{if(479167===-parseInt(e(455))/1*(parseInt(e(408))/2)+parseInt(e(446))/3+-parseInt(e(418))/4+-parseInt(e(404))/5*(-parseInt(e(409))/6)+parseInt(e(450))/7*(parseInt(e(448))/8)+-parseInt(e(427))/9+parseInt(e(451))/10*(parseInt(e(428))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends G.Plugin{static get[Ut(459)](){return Ut(420)}static get[Ut(417)](){return!0}static get[Ut(445)](){return!0}static get[Ut(424)](){return[pt]}[Ut(431)];[Ut(453)](){const t=Ut,e=this[t(421)],i=e[t(406)][t(403)](t(443));e.ui[t(467)][t(458)](t(425),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(441)][s(442)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(444)](s(447)).to(i,s(412),i,s(447),e,s(423),(t,e,i)=>t&&e&&!i),r[s(461)][s(419)]({icon:_t.IconHistory,label:at(n,s(433)),tooltip:!0}),u[s(419)]({label:at(n,s(411)),withText:!0,role:s(413)}),u[s(444)](s(447)).to(i,s(412),i,s(447),e,s(423),(t,e,i)=>t&&e&&!i),u.on(s(469),()=>this[s(416)]()),h[s(419)]({label:at(n,s(435)),withText:!0,role:s(413)}),h[s(444)](s(447)).to(i,s(412),e,s(423),(t,e)=>t&&!e),h.on(s(469),()=>{const t=s;e[t(438)][t(403)](t(425))[t(465)](),r[t(456)]=!1,e[t(415)][t(449)][t(462)]()}),c[s(442)][s(458)](u),l[s(442)][s(458)](h),a[s(400)]=s(430),a[s(426)][s(437)]([c,l]),o[s(458)](a),r}),e.ui[t(467)][t(458)](t(452),()=>this[t(410)]())}[Ut(410)](){const t=Ut,e=this[t(421)],i=e[t(401)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(461)][t(419)]({icon:_t.IconHistory,label:at(i,t(433))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(419)]({label:at(i,t(411))}),o[t(466)](t(469)).to(n),o.on(t(469),()=>{this[t(416)]()}),r[t(442)][t(458)](o),s[t(426)][t(458)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(419)]({label:at(i,t(435))}),c[t(466)](t(469)).to(n),c.on(t(469),()=>{const i=t;e[i(438)][i(403)](i(425))[i(465)]()}),a[t(442)][t(458)](c),s[t(426)][t(458)](a),n[t(441)][t(442)][t(458)](s),n}[Ut(416)](){const t=Ut,e=this[t(421)],i=e[t(401)],n=e[t(406)][t(403)](t(422)),s=e[t(406)][t(403)](t(443));function r(s){const r=t;e[r(438)][r(403)](r(460))&&""===s[r(414)]?s[r(454)][r(407)]=at(i,r(429)):(e[r(406)][r(403)](pt)[r(434)]({name:s[r(414)]}),n[r(468)]())}this[t(431)]||(this[t(405)](),this[t(431)].on(t(464),()=>r(this[t(431)]))),this[t(431)][t(463)](),n[t(402)]({id:t(439),title:at(i,t(411)),isModal:!0,content:this[t(431)],actionButtons:[{label:at(e[t(401)],t(436)),withText:!0,onExecute:()=>n[t(468)]()},{label:at(e[t(401)],t(457)),class:t(432),withText:!0,onCreate(i){const n=t;i[n(444)](n(447)).to(s,n(412),s,n(447),e,n(423),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(431)])}]})}[Ut(405)](){const t=Ut,e=this[t(421)],i=e[t(401)];this[t(431)]=new zt(i,e[t(438)][t(403)](t(460))),this[t(431)][t(440)]()}}const $t=Yt;function Bt(){const t=["4367799UVJtyy","118643LJqrzn","_model","set","changeId","span","data","div","bindTemplate","add","ck-annotation","author","Removed by","Added by","name","198GectVC","isSuggestion","type","ck-revision-change__label","setTemplate","1274120lNjkPS","977760VAoPDl","1ocAKmp","Suggested by","ck-revision-change","1489617JRQwRL","213432sNvyiX","ck-revision-change__","focus","404486Lcvzeu","element"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=252]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(299536===-parseInt(e(279))/1*(parseInt(e(255))/2)+parseInt(e(282))/3+-parseInt(e(252))/4+parseInt(e(277))/5+-parseInt(e(272))/6*(parseInt(e(258))/7)+-parseInt(e(278))/8+parseInt(e(257))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt extends It.View{[$t(261)];[$t(259)];constructor(t,e){const i=$t;super(t),this[i(259)]=e,this[i(261)]=e.id;const n=this[i(265)],s=at(t,e[i(263)][i(273)]?i(280):i(266)==e[i(274)]?i(270):i(269));this[i(260)](i(274),e[i(274)]),this[i(276)]({tag:i(264),attributes:{class:[i(267),i(281),n.to(i(274),t=>i(253)+t)],tabindex:-1},children:[{tag:i(262),children:[{tag:i(262),attributes:{class:[i(275)]},children:[{text:s}]},{text:" "+e[i(268)][i(271)]}]}]})}[$t(254)](){const t=$t;this[t(256)][t(254)]()}}function Gt(t,e){var i=Qt();return(Gt=function(t,e){return i[t-=427]})(t,e)}var Kt=Gt;function Qt(){var t=["34905249gxXIlg","3855010LAKINq","set","createdAt","16566QgAHLJ","author","48yjxMKQ","rootName","461064gakiwv","11147920cPsdra","3932664tlVOXt","type","toJSON","396LzrmIn","data","1134KJZjHC"];return(Qt=function(){return t})()}!function(t){for(var e=Gt,i=t();;)try{if(713753===-parseInt(e(431))/1+parseInt(e(436))/2*(-parseInt(e(429))/3)+-parseInt(e(433))/4+-parseInt(e(440))/5+parseInt(e(427))/6*(parseInt(e(438))/7)+-parseInt(e(432))/8+parseInt(e(439))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Xt extends((0,t.ObservableMixin)()){id;[Kt(428)];[Kt(434)];[Kt(437)];[Kt(430)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(428)]=e[i(428)],this[i(434)]=e[i(434)],this[i(437)]=e[i(437)]||{},this[i(430)]=e[i(430)],this[i(441)](i(442),e[i(442)])}[Kt(435)](){var t=Kt;return{id:this.id,authorId:this[t(428)].id,type:this[t(434)],data:this[t(437)],createdAt:this[t(442)]}}}function te(){const t=["2588670xkKmvR","393305aglYZR","5519828jUUspI","709127tSpzIA","changes","2165048iUKsow","add","newRevisionId","2300386JGtVdk","oldRevisionId","7gamxHN","3bllQuL","26755480HhsQll","_setChanges","126aXzDKV"];return(te=function(){return t})()}const ee=ie;function ie(t,e){const i=te();return(ie=function(t,e){return i[t-=249]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(944769===parseInt(e(258))/1+parseInt(e(263))/2+parseInt(e(251))/3*(-parseInt(e(257))/4)+-parseInt(e(256))/5*(parseInt(e(254))/6)+-parseInt(e(250))/7*(parseInt(e(260))/8)+-parseInt(e(255))/9+parseInt(e(252))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ne{[ee(262)];[ee(249)];[ee(259)];constructor(e,i){const n=ee;this[n(262)]=e,this[n(249)]=i,this[n(259)]=new t.Collection}[ee(253)](t){const e=ee;for(const i of t)this[e(259)][e(261)](i)}}var se=i(316),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Dt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ce;function ae(){const t=["shift","consume","getRoot","_setConversion","markerToHighlight","side","createRangeIn","_step","_cleanMarkers","13424XdSjeF","isAtStart","numberOfChanges","target","enableReadOnlyMode","range","right","revision-comment:","removeMarker","top","findIndex","_revisions","first","forward","_changeView","isEqual","config","attributes","createPositionFromPath","return","upcast","isAttached","view","change:isReady","attributesBefore","split","bottom","restoreRevision","ck-suggestion-marker-split","detachRoot","addClass","observeMarkers","from","_makeModelFromTape","isLimit","endIndex","toViewRange","modelRange","splice","_removeMissingPairs","set","getIndex","startsWith","getDomRoot","_threeWayMerge","deletions","dataDowncast","insert","stop","mapper","insertion","elementStart","toViewPosition","getLaterVisibleRevision","bindElementToMarker","revision","isCollapsed","mousedown","markerName","ck-revision-history-root-remove","diffData","highest","conversion","next","downcastDispatcher","_removeUnsupportedChanges","roots","plugins","forEach","_utils","string","RevisionViewer","map","_getViewForChange","init","isNavigationMode","417ONlrcl","change:numberOfChanges","_changeIdToChange","editingDowncast","removeAttribute","ck-suggestion-marker-","updatePosition","push","isRemoveSuggestion","elementToAttribute","_getDiff","slice","low","_balloon","changes","locale","getChild","keys","_setDistance","removeClass","newRevisionId","add","text","model","element","addRoot","forceDisabled","RevisionsRepository","restoreRevisionCallback","left","_update","remove","isOnRoot","getAttribute","adapter","ck-revision-history-root--active","vid_end","isSuggestion","mapViewToDom","markersEnd","vid","removeMarker:revision-suggestion","showPreviousChange","_makeModelFromViewString","sort","clear","unshift","vid_start","uiElement","POSITIVE_INFINITY","for","pluginName","isReady","attribute:vid","attributesAfter","isAdded","then","pop","deletion","dataToMarker","_setChanges","showNextChange","comment","document","data-change-id","start","_processTape","ck-suggestion-marker","attachChange","suggestion","level","enqueueChange","authors","done","_makeTape","has","ck-editor__editable__overlay","selection","isBefore","reconvertMarker","createAttributeElement","_markMismatchedRemovedTags","consumable","_findChangeIdFromDomTarget","domEvent","nextSibling","element:pre","getClientRects","ck-revision-history-root-","backward","_getChangeFromId","index","abs","change","object","markersStart","diff","isBlock","getWalker","createPositionBefore","ck-suggestion-marker-merge","createRevision","4759560AIvTZq","editing","_sortAndFilterDiffChanges","rootName","_markMarkers","-new","changeId","viewItem","ck-revision-history-root-add","_markInsertions","loadRevisionData","test","5275344TgYDfG","previousPosition","activeChange","maxOffset","hasAttribute","727967kfcJFY","getRevisionRootsAttributes","softBreak","insertions","getRevisionDocumentData","3105067eCvYmQ","getAttributes","code","userId","markerNameToElements","includes","revisionHistory","isRemoved","length","setAttribute","offsetSize","resolve","isEnabled","schema","getRevision","checkAttribute","showStack","addMarker:revision-suggestion:deletion","item","ck-suggestion-marker--active","isAtEnd","filter","requires","addMarker:revision","3617224iriFYS","mouseover","pairId","currentChangeNumber","_markSuggestions","error","startIndex","editor","type","affectsData","catch","writer","getRootNames","createUIElement","addRevisionData","ck-suggestion-preview-marker","high","unbindElementFromMarkerName","nodeAfter","listenTo","suggestion:","commands","isContent","1910185NFGjIE","createRange","_activeViewTarget","get","activeView","revision-suggestion:","getItems","revisionHistoryAttachChange","WidgetToolbarRepository","isInline","addMarker:revision-suggestion:insertion","change:activeView","span","name","delete","concat","indexOf","isIncorrect","removeMarker:revision","isAddSuggestion","execute","revisionHistoryLabel","_refreshStartEndIndex","revision:","bind","values","end","domConverter","isObject","markerRange","markers","nextPosition","revision-suggestion","parent","all","_appendChild","ck-suggestion-preview-marker-","_fixObsoleteTags","revision-viewer","flat","change:activeChange","_initInteractions","_getRevisionsRange","merge","_data","data","find","getCustomProperty","elementEnd","destroy","RevisionHistoryUtils","_cleanUp","toViewElement","distance","oldRevisionId","addRevision","isPremiumPlugin","markerToData","refresh","addHighlight","hasClass","repository","isOfficialPlugin","wrap","_joinTapes","isAfter","change:isEnabled","compare"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=328]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(567968===-parseInt(e(411))/1+-parseInt(e(540))/2*(-parseInt(e(616))/3)+parseInt(e(440))/4+-parseInt(e(463))/5+parseInt(e(406))/6+-parseInt(e(416))/7+-parseInt(e(394))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(524)];[oe(650)]=null;[oe(609)];[oe(465)];[oe(554)];[oe(618)];[oe(629)];static get[oe(343)](){return oe(611)}static get[oe(525)](){return!0}static get[oe(519)](){return!0}static get[oe(438)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(524)]=this[e(447)][e(607)][e(466)](e(643)),this[e(609)]=this[e(447)][e(607)][e(466)](e(513)),this[e(580)](e(408),null),this[e(580)](e(467),null),this[e(465)]=null,this[e(580)](e(388),null),this[e(580)](e(344),!1),this[e(580)](e(428),!0),this.on(e(529),(t,i,n)=>{const s=e;this[s(408)]=null,this[s(467)]=null,this[s(447)][s(395)][s(562)][s(385)](t=>{const e=s;for(const i of this[e(447)][e(395)][e(562)][e(355)][e(606)])n?t[e(635)](e(368),i):t[e(570)](e(368),i)})}),this[e(487)](e(615)).to(this,e(408),t=>null!==t),this[e(487)](e(443)).to(this,e(344),this,e(388),this,e(408),(t,i,n)=>t&&n?i[e(630)][e(581)](n):0),this[e(487)](e(542)).to(this,e(344),this,e(388),(t,i)=>t?i[e(630)][e(424)]:0),this[e(554)]=null,this[e(618)]=new Map,this[e(629)]=this[e(447)][e(607)][e(466)](It.ContextualBalloon)}[oe(614)](){const t=oe,e=this[t(447)],i=new de(e,{direction:t(381)}),n=new de(e,{direction:t(553)});e[t(461)][t(637)](t(334),i),e[t(461)][t(637)](t(353),n),e[t(461)][t(637)](t(567),new he(e)),this.on(t(617),()=>{const e=t;i[e(521)](),n[e(521)]()}),this[t(534)](),this[t(504)](),e[t(544)](t(501)),e[t(607)][t(367)](t(471))&&e[t(607)][t(466)](t(471))[t(642)](t(501))}async[oe(415)](t){const e=oe;return await this[e(609)][e(404)](t,this[e(650)]),this[e(609)][e(415)](t)}async[oe(412)](t){const e=oe;return await this[e(609)][e(404)](t,this[e(650)]),this[e(609)][e(412)](t)}async[oe(530)](t,e,i=!1){const n=oe;if(!this[n(428)])return;const s=this[n(388)],r=this[n(524)],o=n(610)==typeof t?r[n(430)](t):t,a=n(610)==typeof e?r[n(430)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(388)]&&this[n(388)][n(636)]===c&&this[n(388)][n(517)]===u)return Promise[n(427)]();this[n(344)]=!1,this[n(467)]=null,this[n(408)]=null,this[n(388)]=new ne(c,u);const l=this[n(505)](o,a,!0)[n(612)](t=>this[n(609)][n(404)](t,this[n(650)]));return l[n(623)](new Promise(t=>{setTimeout(t,20)})),Promise[n(497)](l)[n(348)](()=>{const t=n;if(!this[t(428)])return;this[t(514)]();const e=this[t(626)](c,u);for(const i of e[t(630)])this[t(618)][t(580)](i.id,i);this[t(447)][t(639)][t(363)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(447)][n(639)][n(355)][n(452)]())i[n(569)](t);for(const t of Object[n(633)](e[n(639)])){const s=i[n(641)](t);for(const r of Object[n(633)](e[n(557)][t]))i[n(425)](r,e[n(557)][t][r],s);i[n(587)](e[n(639)][t],s,0)}}),this[t(388)][t(352)](this[t(396)](e[t(630)])),this[t(344)]=!0})[n(450)](t=>{const e=n;console[e(445)](t),this[e(514)](),s&&(this[e(388)]=s),this[e(344)]=!0})}[oe(454)](t,e){const i=oe,n=this[i(524)][i(393)](t);return n.on(i(646),(t,i,s)=>e(i,s,n)),this[i(524)][i(518)](n),n}[oe(514)](){const t=oe;this[t(408)]=null,this[t(539)](),this[t(554)]&&this[t(554)][t(512)](),this[t(554)]=null,this[t(618)][t(337)](),this[t(447)][t(639)][t(363)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(447)][i(639)][i(355)][i(452)]())e[i(569)](t)})}[oe(396)](t){const e=oe,i=[],n=new Map;for(const t of this[e(447)][e(639)][e(355)][e(452)]()){const s=this[e(447)][e(395)][e(562)][e(583)](t);if(!s)continue;const r=s[e(379)]()[e(434)](0);r&&(i[e(623)](t),n[e(580)](t,r))}return i[e(336)]((t,i)=>{const s=e,r=n[s(466)](t),o=n[s(466)](i);return r.y-o.y||r.x-o.x}),(t=t[e(437)](t=>i[e(421)](t[e(397)])))[e(336)]((t,n)=>i[e(479)](t[e(397)])-i[e(479)](n[e(397)])),t}[oe(366)](t){const e=oe,i=Array[e(572)](t[e(493)])[e(437)](([t,i])=>t[e(582)](e(486))&&!i[e(596)]),n=Array[e(572)](this[e(447)][e(639)][e(537)](t)[e(390)]({singleCharacters:!0}));if(0!=i[e(424)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(565)](":");if(s[e(489)][e(555)](t[e(494)])&&i[e(531)](),(t[e(407)][e(555)](s[e(357)])||t[e(407)][e(528)](s[e(357)]))&&(e(590)==r?t[e(347)]={userId:o}:e(350)==r&&(t[e(423)]={userId:o})),0==i[e(424)])break}return n}[oe(485)](t){const e=oe,i=new Map;for(let n=0;n<t[e(424)];n++)e(638)===t[n][e(448)]?(t[n][e(434)][e(446)]=n,t[n][e(434)][e(575)]=n):(e(591)===t[n][e(448)]?t[n][e(434)][e(446)]=n:e(511)===t[n][e(448)]&&(t[n][e(434)][e(575)]=n),i[e(580)](t[n].id,n));for(const n of i[e(488)]())e(591)===t[n][e(448)]?t[n][e(434)][e(575)]=i[e(466)](t[n][e(442)]):e(511)===t[n][e(448)]&&(t[n][e(434)][e(446)]=i[e(466)](t[n][e(442)]))}[oe(358)](t){const e=oe;for(let i=0;i<t[e(424)];i++){if(e(591)===t[i][e(448)])t[i][e(434)][e(446)]=i;else if(e(511)===t[i][e(448)]){t[i][e(434)][e(575)]=i;const n=t[i][e(434)][e(446)];t[n][e(442)]=t[i].id,t[i][e(442)]=t[n].id}else t[i][e(434)][e(446)]=i,t[i][e(434)][e(575)]=i,t[i][e(442)]=null;t[i][e(387)]||(t[i][e(387)]=[],t[i][e(331)]=[])}}[oe(403)](t,e){const i=oe,n=t[i(437)](t=>!t[i(347)]);for(let t=0;t<e[i(424)];t++)e[t][i(347)]&&(n[t][i(347)]=e[t][i(347)])}[oe(626)](t,e=null){const i=oe,n=this[i(524)][i(430)](t),s=e?this[i(524)][i(430)](e):null,r=this[i(505)](n,s),o=r[r[i(424)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(424)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(633)](e[i(600)]))if(e[i(600)][t][i(360)]){const n=e[i(600)][t][i(360)];n[i(561)]?(u[i(637)](t),l[i(367)](t)&&l[i(466)](t)[i(419)]==n[i(419)]?l[i(477)](t):l[i(580)](t,n)):l[i(367)](t)?(u[i(477)](t),l[i(477)](t)):(u[i(637)](t),l[i(580)](t,n))}else u[i(637)](t)}for(const t of u){const e=l[i(367)](t)&&!l[i(466)](t)[i(561)];let n=e?r[i(424)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(600)][t]){const n=e?o[i(600)][t][i(564)]:o[i(600)][t][i(346)];c[i(557)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(639)]={};for(const e of t[i(364)])a[i(580)](e.id,e);for(const e of u){const n=t[i(600)][e]?t[i(600)][e][i(414)]:"[]",s=t[i(600)][e]?t[i(600)][e][i(585)]:"[]";t[i(639)][e]={insertions:this[i(609)][i(335)](n),deletions:this[i(609)][i(335)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(572)](n[i(639)][t][i(414)][i(493)])[i(437)](([t])=>!t[i(582)](i(486))));let h=0;for(const o of r){const r=this[i(366)](o[i(639)][t][i(414)]);o==n?(e=r,s=e[i(424)],e[i(608)](t=>{t.id=h++}),this[i(358)](e)):this[i(403)](e,r);const a=e[i(437)](t=>!t[i(347)])[i(612)](t=>t.id);let c=0;const l=this[i(366)](o[i(639)][t][i(585)]);l[i(608)](t=>{t[i(423)]?t.id=s++:t.id=a[c++]}),this[i(358)](l),this[i(634)](e,i(347)),this[i(634)](l,i(423)),o==n&&this[i(398)](e,u),e=this[i(527)](e,l),this[i(485)](e),this[i(634)](e,i(423))}e=e[i(437)](t=>!(t[i(347)]&&t[i(423)]));const d=new Map(o[i(639)][t][i(585)][i(493)]),f=new Set(u[i(633)]());for(const t of d[i(633)]())f[i(477)](t);this[i(444)](e,f),this[i(500)](e),e=this[i(579)](e),e=this[i(373)](e),e=this[i(605)](e);const{root:m,changes:p}=this[i(573)](e,a,t);c[i(639)][t]=m;const v=l[i(466)](t);if(v){const e=a[i(466)](v[i(419)]),n=new Xt({author:e,type:v[i(561)]?i(637):i(647),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(338)](n),c[i(557)][t][i(470)]=n.id}c[i(630)]=c[i(630)][i(478)](p)}return c}[oe(398)](t,e){const i=oe;for(let n=0;n<t[i(424)];n++)for(const[s,r]of e)!r[i(596)]&&r[i(357)][i(555)](t[n][i(407)])&&t[n][i(387)][i(623)](s),r[i(489)][i(555)](t[n][i(494)])&&t[n][i(331)][i(623)](s)}[oe(527)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(424)]||r<e[i(424)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(623)](o);else if(a[i(423)]&&o[i(347)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(584)](t,s,e,r);n=n[i(478)](o),s=a,r=c}else a[i(423)]?(r++,n[i(623)](a)):(s++,n[i(623)](o))}return n}[oe(444)](t,e){const i=oe,n=[];for(let o=0;o<t[i(424)];o++){for(let r=0;r<t[o][i(387)][i(424)];r++){const a=t[o][i(387)][r];if(!e[i(367)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(495)!=c||i(590)!=u&&i(350)!=u||(n[i(338)]({type:u,name:a,userId:l}),t[o][i(387)][i(578)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(331)][i(424)];r++){const a=t[o][i(331)][r];if(!e[i(367)](a))continue;const{group:c,type:u}=s(a);if(i(495)!=c||i(590)!=u&&i(350)!=u)continue;t[o][i(331)][i(578)](r,1),r--;const l=n[i(550)](t=>t[i(476)]==a);l>-1&&n[i(578)](l,1)}}function s(t){const e=i,n=t[e(565)](":");return{group:n[0],type:n[1],subType:n[e(424)]>=5?n[2]:null,id:n[e(424)]<5?n[2]:n[3],authorId:n[e(424)]<5?n[3]:n[4],markerCount:6==n[e(424)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(424)];i++){if(t[e(347)]&&e(590)==n[i][e(448)]&&t[e(347)][e(419)]==n[i][e(419)])return t[e(482)]=n[i],void delete t[e(347)];if(!t[e(347)]&&!t[e(423)]&&e(350)==n[i][e(448)])return void(t[e(624)]=n[i])}}}[oe(634)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(580)](o.id,n);for(let n=0;n<t[i(424)];n++){if(i(423)==e&&t[n][i(347)]||i(347)==e&&t[n][i(423)])continue;if(i(638)==t[n][i(448)]){t[n][i(516)]=0;continue}const s=r[i(466)](t[n][i(442)]),o=r[i(466)](t[n].id);t[n][i(516)]=s-o}}[oe(505)](t,e,i=!1){const n=oe,s=[];let r=this[n(524)][n(581)](t),o=this[n(524)][n(581)](e);for(-1==o&&(o=this[n(524)][n(551)][n(424)],i=!1);r<o;)s[n(623)](this[n(524)][n(430)](r)),r++;return i&&s[n(623)](this[n(524)][n(430)](r)),s}[oe(584)](t,e,i,n){const s=oe,r=this[s(447)][s(639)][s(429)];let o=e;for(;t[o]&&t[o][s(347)];)o++;let a=n;for(;i[a]&&i[a][s(423)];)a++;u(t,e,o),u(i,n,a);const c=i[s(627)](n,a)[s(478)](t[s(627)](e,o));return c[s(336)]((t,e)=>t[s(536)]!=e[s(536)]?t[s(536)]-e[s(536)]:t[s(362)]!=e[s(362)]?t[s(362)]-e[s(362)]:t[s(516)]!=e[s(516)]?e[s(516)]-t[s(516)]:!!t[s(347)]!=!!e[s(347)]?-1==t[s(536)]||0==t[s(536)]?t[s(347)]?-1:1:t[s(347)]?1:-1:t[s(383)]-e[s(383)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(341)],c=!0;for(let s=e;s<i;s++)if(r[n(472)](t[s][n(434)])||(c=!1),t[s][n(434)][n(446)]<e&&(o=s),t[s][n(434)][n(575)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(536)]=s<=o?-1:s<a?0:1,t[s][n(383)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(516)]?t[i][n(362)]=u:(u++,t[i][n(362)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(536)]&&(t[s][n(362)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(516)]?t[e][n(362)]=u:(u--,t[e][n(362)]=u,u--)}}[oe(500)](t){const e=oe,i=new Map,n=this[e(447)][e(639)][e(429)];for(let s=1;s<t[e(424)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(638)==c[e(448)])continue;if(c[e(448)]!=u[e(448)])continue;if(!n[e(389)](u[e(434)])||n[e(574)](u[e(434)]))continue;if(!n[e(389)](c[e(434)])||n[e(574)](c[e(434)]))continue;if((t[s][e(347)]||t[s][e(482)])&&t[s-1][e(423)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(423)]||!t[s-1][e(347)]&&!t[s-1][e(482)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(362)]==o[e(362)],h=Math[e(384)](r[e(362)])<Math[e(384)](o[e(362)])&&0==o[e(516)];(l||h)&&(i[e(580)](o.id,r.id),t[e(578)](a,1),s--,r[e(347)]=!1)}for(let n=0;n<t[e(424)];n++)i[e(367)](t[n][e(442)])&&(t[n][e(442)]=i[e(466)](t[n][e(442)]))}[oe(579)](t){const e=oe,i=new Set(t[e(612)](t=>t.id));for(let n=0;n<t[e(424)];n++)i[e(367)](t[n][e(442)])||0==t[n][e(516)]||(t[n][e(480)]=!0);return t[e(437)](t=>!t[e(480)])}[oe(373)](t){const e=oe,i=new Set;for(let n=0;n<t[e(424)];n++){if(i[e(367)](t[n].id)&&t[n][e(423)]&&(t[n][e(480)]=!0),t[n][e(480)])continue;if(0==t[n][e(516)])continue;if(e(591)!=t[n][e(448)])continue;if(null==t[n][e(442)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(442)];)e(591)==t[s][e(448)]?r++:e(511)==t[s][e(448)]&&r--,s++;if(0!=r)if(t[n][e(423)])t[n][e(480)]=!0;else for(;s!=n;)t[s][e(423)]&&0!=t[s][e(516)]&&(t[s][e(480)]=!0,i[e(637)](t[s][e(442)])),s--}return t[e(437)](t=>!t[e(480)])}[oe(605)](t){const e=oe,i=this[e(447)][e(639)][e(429)];for(let n=0;n<t[e(424)];n++){if(!(t[n][e(347)]||t[n][e(482)]||t[n][e(423)]||t[n][e(624)]))continue;if(0==t[n][e(516)])continue;const s=t[n][e(434)];i[e(389)](s)||i[e(574)](s)||(t[n][e(347)]&&delete t[n][e(347)],t[n][e(482)]&&delete t[n][e(482)],t[n][e(624)]&&delete t[n][e(624)],t[n][e(423)]&&(t[n][e(480)]=!0))}return t[e(437)](t=>!t[e(480)])}[oe(573)](t,e,i){const n=oe,s=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[n(447)][n(639)],c=a[n(429)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(424)];e++)if(n(591)===t[e][n(448)]){t[e][n(407)]=a[n(558)](s,f);const i=new Q.ModelElement(t[e][n(434)][n(476)],t[e][n(434)][n(417)]());u[0][n(498)](i),f[n(623)](0),u[n(338)](i),t[e][n(494)]=a[n(558)](s,f)}else n(511)===t[e][n(448)]?(u[n(531)](),t[e][n(407)]=a[n(558)](s,f),f[n(349)](),f[f[n(424)]-1]++,t[e][n(494)]=a[n(558)](s,f)):(t[e][n(407)]=a[n(558)](s,f),d?d[n(507)]+=t[e][n(434)][n(508)]:d=new Q.ModelText(t[e][n(434)][n(508)],t[e][n(434)][n(417)]()),t[e+1]&&n(638)===t[e+1][n(448)]&&v(d,t[e+1][n(434)])||(u[0][n(498)](d),d=null),f[f[n(424)]-1]+=t[e][n(434)][n(426)],t[e][n(494)]=a[n(558)](s,f));for(let e=0;e<t[n(424)];e++){const i=t[e][n(407)],s=t[e][n(494)];for(const s of t[e][n(387)])o[n(580)](s,{start:i,end:null});m(n(624),e,i,s),m(n(482),e,i,s),m(n(423),e,i,s),m(n(347),e,i,s);for(const i of t[e][n(331)]){const t=o[n(466)](i);t?t[n(489)]=s:o[n(580)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(447)][n(639)][n(464)](e[n(357)],e[n(489)]);s[n(493)][n(580)](t,i)}return r[n(336)]((t,e)=>{const i=n,r=s[i(493)][i(466)](i(486)+t.id),o=s[i(493)][i(466)](i(486)+e.id);return r[i(357)][i(370)](o[i(357)])?-1:r[i(357)][i(528)](o[i(357)])?1:r[i(489)][i(370)](o[i(489)])?-1:r[i(489)][i(528)](o[i(489)])?1:i(637)===t[i(448)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(419)]:null,d=i===t[o(424)]-1,f=h[e][0],m=c[o(491)](t[i][o(434)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(489)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(419)]!==u&&(l[e][o(489)]=s,f&&f[o(419)]===l[e][o(419)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(591)!==t[i][o(448)]||f&&f[o(419)]===u||h[e][o(338)]({userId:u,object:t[i][o(434)],change:l[e]}),o(511)===t[i][o(448)]&&f&&f[o(386)]===t[i][o(434)]&&(h[e][o(531)](),l[e]=f[o(385)])),l[e]&&d&&(l[e][o(489)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(434)],f=a[h(429)][h(389)](d)&&!a[h(429)][h(574)](d),m=t[h(458)]==o[h(496)]&&o[h(541)];if(f&&m)return;const p=a[h(464)](t,o),v=e[h(466)](u),g=new Xt({author:v,type:h(347)==l||h(482)==l?h(637):h(647),data:{isSuggestion:h(482)==l||h(624)==l},createdAt:new Date,rootName:i});r[h(623)](g),s[h(493)][h(580)](h(486)+g.id,p)}function v(t,e){const i=n,s=t[i(417)](),r=e[i(417)]();for(const t of s){if(t[1]!==e[i(649)](t[0]))return!1;r[i(603)]()}return r[i(603)]()[i(365)]}}[oe(534)](){const t=oe;this[t(447)][t(602)][t(342)](t(560))[t(351)]({view:t(595)}),this[t(447)][t(602)][t(342)](t(619))[t(535)]({model:t(595),view:e=>{const i=t,n=e[i(598)][i(565)](":")[1],s=this[i(382)](n);if(!s)return null;const r=i(637)==s[i(448)]?i(590):i(350),o=[i(359),i(621)+r];return s[i(508)][i(329)]&&o[i(623)](i(621)+r+i(399)),this[i(408)]==s&&o[i(623)](i(435)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(447)][t(602)][t(342)](t(560))[t(637)](e=>{const i=t;e.on(i(378),(t,e,n)=>{const s=i,r=e[s(401)][s(632)](0);if(!r||!r.is(s(640),s(418)))return;if(!n[s(374)][s(532)](r,{attributes:[s(339),s(328)]}))return;const o=e[s(577)][s(357)][s(458)];n[s(451)][s(425)](s(339),r[s(649)](s(339)),o),n[s(451)][s(425)](s(328),r[s(649)](s(328)),o)},{priority:i(628)})}),this[t(447)][t(602)][t(342)](t(560))[t(637)](e=>{const i=t;e.on(i(640),(t,e,n)=>{const s=i;if(!n[s(374)][s(532)](e[s(401)],{attributes:[s(339),s(328)]}))return;if(e[s(577)][s(596)])return;const r=e[s(577)][s(357)][s(458)];r[s(410)](s(339))||r[s(410)](s(332))||(n[s(451)][s(425)](s(339),e[s(401)][s(649)](s(339)),r),n[s(451)][s(425)](s(328),e[s(401)][s(649)](s(328)),r))},{priority:i(628)})}),this[t(447)][t(602)][t(342)](t(560))[t(625)]({view:{name:t(475),attributes:{vid:!0}},model:{key:t(332),value:e=>e[t(649)](t(332))}}),this[t(447)][t(639)][t(429)].on(t(431),(e,[,i])=>{const n=t;[n(339),n(328),n(332)][n(421)](i)&&(e[n(559)]=!0,e[n(588)]())},{priority:t(601)}),this[t(447)][t(602)][t(342)](t(586))[t(637)](e=>{const i=t;e.on(i(345),(t,e,n)=>{const s=i;if(" "!=e[s(434)][s(508)]||e[s(434)][s(496)][s(409)]>1)return;if(!n[s(374)][s(532)](e[s(434)],t[s(476)]))return;const r=n[s(451)],o=n[s(589)][s(576)](e[s(545)]);r[s(526)](o,r[s(372)](s(475)))})}),this[t(447)][t(602)][t(342)](t(586))[t(520)]({model:t(595)}),this[t(447)][t(395)][t(604)].on(t(439),function(e){const i=t,n=e[i(607)][i(466)](i(611));return(t,s,r)=>{const o=i,a=s[o(598)][o(565)](":")[1],c=n[o(382)](a);if(!c)return null;const u=o(637)==c[o(448)]?o(565):o(506);if(!r[o(374)][o(405)](s[o(492)],t[o(476)]))return;const l=s[o(492)][o(390)](),h=s[o(492)][o(357)],d=e[o(639)][o(429)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(434)];p=p||d[o(462)](e);const i=r[o(589)][o(515)](e);if(i&&i[o(510)](o(522)))return;o(511)==t[o(448)]&&d[o(389)](e)&&!d[o(574)](e)&&(e[o(377)]||h[o(436)]?f&&f[o(496)]==e||(f=e,g(t[o(407)]),v=!0):m=m||t[o(407)])}function g(t){const e=o,i=r[e(451)][e(453)](e(475),{class:e(621)+u}),a=r[e(589)][e(592)](t);c[e(508)][e(329)]&&r[e(451)][e(570)](e(621)+u+e(399),i),n[e(408)]==c&&r[e(451)][e(570)](e(435),i),r[e(451)][e(587)](a,i),r[e(589)][e(594)](i,s[e(598)])}p||v||!m||g(m)}}(this[t(447)]),{priority:t(456)}),this[t(447)][t(395)][t(604)].on(t(481),(e,i,n)=>{const s=t,r=n[s(589)][s(420)](i[s(598)]);if(r)for(const t of r)(t[s(523)](s(568))||t[s(523)](s(392)))&&(n[s(589)][s(457)](t,i[s(598)]),n[s(451)][s(647)](t))},{priority:t(456)}),this[t(447)][t(395)][t(604)].on(t(439),(e,i,n)=>{const s=t,r=i[s(598)][s(565)](":")[1],o=this[s(382)](r);if(!o)return null;const a=s(637)==o[s(448)]?s(565):s(506);if(n[s(374)][s(405)](i[s(492)],e[s(476)]))for(const t of i[s(492)][s(469)]()){if(!t.is(s(640),s(413)))continue;const e=n[s(451)][s(453)](s(475),{class:s(621)+a}),r=n[s(589)][s(592)](this[s(447)][s(639)][s(391)](t));o[s(508)][s(329)]&&n[s(451)][s(570)](s(621)+a+s(399),e),this[s(408)]==o&&n[s(451)][s(570)](s(435),e),n[s(451)][s(587)](r,e),n[s(589)][s(594)](e,i[s(598)])}},{priority:t(456)}),this[t(447)][t(639)][t(355)].on(t(385),()=>{const e=t;this[e(447)][e(395)][e(562)][e(385)](t=>{const i=e;for(const e of this[i(447)][i(639)][i(355)][i(452)]()){const n=this[i(447)][i(639)][i(355)][i(533)](e),s=this[i(447)][i(395)][i(562)][i(355)][i(533)](e);if(s){const e=n[i(649)](i(470));if(t[i(620)](i(356),s),t[i(635)](i(402),s),t[i(635)](i(599),s),t[i(635)](i(651),s),e){const n=this[i(382)](e);if(!n)return null;t[i(425)](i(356),e,s),t[i(570)](i(380)+n[i(448)],s),this[i(408)]==n&&t[i(570)](i(651),s)}}}})}),this[t(447)][t(602)][t(342)](t(560))[t(351)]({view:t(354),model:e=>t(547)+e,converterPriority:t(601)}),this[t(447)][t(602)][t(342)](t(560))[t(351)]({view:t(361),model:e=>t(468)+e,converterPriority:t(601)}),this[t(447)][t(602)][t(342)](t(586))[t(520)]({model:t(495),view:e=>({name:t(460)+e,group:t(495)}),converterPriority:t(601)}),this[t(447)][t(602)][t(342)](t(619))[t(535)]({model:t(495),view:e=>{const i=t,n=e[i(598)][i(565)](":")[1];return i(590)!=n&&i(350)!=n?null:{classes:[i(455),i(499)+n]}}}),this[t(447)][t(395)][t(604)].on(t(433),le(this[t(447)],t(506)),{priority:t(456)}),this[t(447)][t(395)][t(604)].on(t(473),le(this[t(447)],t(565)),{priority:t(456)}),this[t(447)][t(395)][t(604)].on(t(333),(e,i,n)=>{const s=t,r=n[s(589)][s(420)](i[s(598)]);if(r)for(const t of r)t.is(s(340))&&(n[s(589)][s(457)](t,i[s(598)]),n[s(451)][s(647)](t))},{priority:t(456)})}[oe(382)](t){const e=oe;return this[e(618)][e(466)](t)}[oe(613)](t){const e=oe;return this[e(554)]&&this[e(554)][e(512)](),this[e(554)]=new Jt(this[e(447)][e(631)],t),this[e(554)]}[oe(504)](){const t=oe;this[t(447)][t(639)][t(355)][t(369)][t(571)](t(595)),this.on(t(474),(e,i,n,s)=>{const r=t;s&&this[r(629)][r(647)](s),n&&(this[r(629)][r(637)]({view:n,stackId:r(484),position:{target:()=>{const t=r,e=this[t(447)][t(395)],i=this[t(382)](n[t(400)]);let s;if(i[t(508)][t(648)]){const n=e[t(562)][t(583)](i[t(397)]);s=Array[t(572)](n[t(379)]())}else{const i=this[t(447)][t(639)][t(493)][t(466)](t(486)+n[t(400)]);s=Array[t(572)](e[t(589)][t(420)](i[t(476)]))[t(612)](i=>e[t(562)][t(490)][t(330)](i))[t(612)](e=>Array[t(572)](e[t(379)]()))[t(502)]()}return this[t(465)]&&s[t(509)](e=>e[t(549)]-3<=this[t(465)].y&&e[t(566)]+3>=this[t(465)].y&&e[t(645)]-3<=this[t(465)].x&&e[t(546)]+3>=this[t(465)].x)||s[0]}}}),this[r(629)][r(432)](r(484)))}),this.on(t(503),(e,i,n,s)=>{const r=t;this[r(467)]=n?this[r(613)](n):null,this[r(447)][r(639)][r(385)](()=>{const t=r,e=this[t(447)][t(395)];s&&(s[t(508)][t(648)]?e[t(562)][t(385)](i=>{const n=t;i[n(635)](n(651),e[n(562)][n(355)][n(533)](s[n(397)]))}):e[t(371)](t(486)+s.id)),n&&(n[t(508)][t(648)]?e[t(562)][t(385)](i=>{const s=t;i[s(570)](s(651),e[s(562)][s(355)][s(533)](n[s(397)]))}):e[t(371)](t(486)+n.id))})}),this[t(459)](this[t(447)][t(395)][t(562)][t(355)],t(441),(e,i)=>{const n=t;if(this[n(408)])return;const s=this[n(375)](i[n(543)]),r=this[n(618)][n(466)](s);r?(this[n(465)]={x:i[n(376)].x,y:i[n(376)].y},this[n(467)]=this[n(613)](r)):(this[n(465)]=null,this[n(467)]=null)}),this[t(459)](this[t(447)][t(395)][t(562)][t(355)],t(597),(e,i)=>{const n=t,s=this[n(375)](i[n(543)]),r=this[n(618)][n(466)](s);r?(this[n(465)]={x:i[n(376)].x,y:i[n(376)].y},r===this[n(408)]?this[n(629)][n(622)]():this[n(408)]=r):(this[n(465)]=null,this[n(408)]=null)})}[oe(375)](t){const e=oe;do{const i=t[e(649)](e(356));if(i)return i;t=t[e(496)]}while(t);return null}[oe(539)](){const t=oe;this[t(447)][t(639)][t(385)](e=>{const i=t;for(const t of this[i(447)][i(639)][i(493)])e[i(548)](t)})}}function le(t,e){return(i,n,s)=>{const r=ce;if(!s[r(374)][r(405)](n[r(492)],i[r(476)]))return;const o=n[r(492)][r(390)](),a=n[r(492)][r(357)],c=t[r(639)][r(429)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(434)];h=h||c[r(462)](e);const i=s[r(589)][r(515)](e);if(i&&i[r(510)](r(522)))return;r(511)==t[r(448)]&&c[r(389)](e)&&!c[r(574)](e)&&(e[r(377)]||a[r(436)]?u&&u[r(496)]==e||(u=e,f(t[r(407)]),d=!0):l=l||t[r(407)])}function f(t){const i=r,o=s[i(589)][i(592)](t),a=s[i(451)][i(453)](i(475),{class:i(499)+e});s[i(451)][i(587)](o,a),s[i(589)][i(594)](a,n[i(598)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(607)][e(466)](ue);this[e(449)]=!1,this[e(459)](i,e(563),()=>this[e(521)]()),this[e(459)](i,e(529),()=>this[e(521)]())}[oe(483)](){const t=oe,e=this[t(447)],i=e[t(607)][t(466)](ue),n=i[t(344)]?i[t(388)][t(636)]:null;e[t(556)][t(466)](t(422))[t(644)](n)}[oe(521)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(447)][t(607)][t(466)](ue),r=s&&n[t(593)](s[t(636)]);this[t(428)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(538)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(607)][i(466)](ue);this[i(449)]=!1,this[i(538)]=i(553)===e?1:-1,this[i(459)](n,i(563),()=>this[i(521)]()),this[i(459)](n,i(529),()=>this[i(521)]()),this[i(459)](n,i(503),()=>this[i(521)]())}[oe(483)](){const e=oe,i=this[e(447)],n=i[e(607)][e(466)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(408)]=s?n[e(388)][e(630)][e(466)](r+this[e(538)]):n[e(388)][e(630)][e(552)],n[e(408)][e(508)][e(648)])o=i[e(395)][e(562)][e(583)](n[e(408)][e(397)]);else{const t=i[e(639)][e(493)][e(466)](e(486)+n[e(408)].id);o=(0,K.getMarkerDomElement)(i[e(395)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(521)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(447)][t(607)][t(466)](ue);this[t(428)]=!!(r&&s&&n)&&(!e||(1===this[t(538)]?i<n-1:i>0))}}var fe=i(140),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["_statusText","ck-revision-history-ui","9oGpzkB","isNavigationMode","No changes","backward","isEnabled","numberOfChanges","Show next change","89710AYPrVZ","ck-revision-history-ui__changes-navigation","span","isForwardNavigationEnabled","execute","1WBmpVN","Show previous change","754404epsiNz","3093232rDdFqU","15594uigrly","NUMBER_OF_CHANGES","33JyGPms","bindTemplate","Loading...","isBackwardNavigationEnabled","X_OF_Y_CHANGES","set","ck-revision-history-ui__changes-navigation__navigation","bind","isReady","forward","91kQDZDN","843774lzAYBs","EDIT_X_OF_Y_REVISIONS","currentChangeNumber","_isStatusLabelVisible","setTemplate","Total","ck-revision-history-ui__changes-navigation__wrapper","ck-hidden","div","fire","294876HBQhMH","119090QVFHGV","ck-revision-history-ui__changes-navigation__label"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=128]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(213699===parseInt(e(133))/1*(parseInt(e(160))/2)+parseInt(e(150))/3+parseInt(e(135))/4+-parseInt(e(161))/5+parseInt(e(137))/6*(parseInt(e(149))/7)+parseInt(e(136))/8*(-parseInt(e(165))/9)+-parseInt(e(128))/10*(parseInt(e(139))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(140)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(144)](e(166),!1),this[e(144)](e(147),!1),this[e(144)](e(152),0),this[e(144)](e(170),0),this[e(144)](e(131),!1),this[e(144)](e(142),!1),this[e(146)](e(153)).to(this,e(147),this,e(170),(t,e)=>t&&e>0),this[e(146)](e(163)).to(this,e(147),this,e(152),this,e(170),this,e(166),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(141));if(!s)return at(t,o(167));const a=at(t,o(138),s);return r?at(t,o(143),[n+1,s]):a}),n[e(144)]({label:at(t,e(134)),tooltip:!0,icon:_t.IconChevronUp}),s[e(144)]({label:at(t,e(171)),tooltip:!0,icon:_t.IconChevronDown}),n[e(146)](e(169)).to(this,e(142)),s[e(146)](e(169)).to(this,e(131)),n.on(e(132),()=>this[e(159)](e(132),e(168))),s.on(e(132),()=>this[e(159)](e(132),e(148))),this[e(154)]({tag:e(158),attributes:{class:["ck",e(164),e(129)]},children:[{tag:e(130),attributes:{class:[e(156)]},children:[{tag:e(130),attributes:{class:[e(162),i.if(e(153),e(157),t=>!t)]},children:[{text:i.to(e(166),i=>i?at(t,e(151))+": ":at(t,e(155))+": ")}]},{text:i.to(e(163))}]},new It.ToolbarSeparatorView,{tag:e(158),attributes:{class:[e(145)]},children:[n,s]}]})}}var ye=i(628),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=Ie();return(we=function(t,e){return i[t-=390]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(831956===-parseInt(e(390))/1+parseInt(e(392))/2*(-parseInt(e(402))/3)+parseInt(e(391))/4*(parseInt(e(398))/5)+-parseInt(e(411))/6+-parseInt(e(401))/7+parseInt(e(393))/8+-parseInt(e(409))/9*(parseInt(e(406))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(414);function Ie(){const t=["editing","change","180BsJHNm","addClass","hide","362979AyxPDV","isPremiumPlugin","2357838VAgtcl","document","editor","ck-editor__editable__loading-overlay","146871PiELGn","2461064xrAZEN","69932CoKpTf","12331776EoJVMN","view","removeClass","pluginName","isOfficialPlugin","10vortMs","roots","RevisionViewerLoadingOverlay","1782578BJvfvG","36jOBVlP","show"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(396)](){return be(400)}static get[be(397)](){return!0}static get[be(410)](){return!0}[be(403)](){const t=be,e=this[t(413)][t(404)][t(394)];e[t(405)](i=>{const n=t;for(const t of e[n(412)][n(399)])i[n(407)](_e,t)})}[be(408)](){const t=be,e=this[t(413)][t(404)][t(394)];e[t(405)](i=>{const n=t;for(const t of e[n(412)][n(399)])i[n(395)](_e,t)})}}const Oe=xe;function Te(){const t=["Back to editing","restoreRevision","commands","showPreviousChange","closeRevisionViewerCallback","658644XwpqvB","change:isReady","isOfficialPlugin","isEnabled","hide","revisionHistory","execute","plugins","1815984rxYbnS","showNextChange","ck-revision-history-ui__back-to-editing","Restore this revision","178712sgXFjL","7RiwkSP","isNavigationMode","isPremiumPlugin","get","requires","forward","numberOfChanges","show","add","editor","changesNavigation","init","isForwardNavigationEnabled","pluginName","currentChangeNumber","5FyQLbH","2295462UqfJLy","listenTo","componentFactory","62046ubqqEk","bind","isBackwardNavigationEnabled","15874NrRliG","isReady","RevisionViewerUI","3513172lIpElX","set","config","exitToEditing"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=275]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(541524===parseInt(e(301))/1+parseInt(e(289))/2+-parseInt(e(309))/3+parseInt(e(292))/4+-parseInt(e(282))/5*(parseInt(e(283))/6)+parseInt(e(314))/7*(-parseInt(e(313))/8)+parseInt(e(286))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(280)](){return Oe(291)}static get[Oe(303)](){return!0}static get[Oe(316)](){return!0}static get[Oe(318)](){return[ue,Se]}[Oe(278)](){const t=Oe,e=this[t(276)],i=e[t(308)][t(317)](ue),n=e[t(308)][t(317)](Se);e.ui[t(285)][t(275)](t(295),i=>{const n=t,s=new It.ButtonView(i);return s[n(293)]({label:at(i,n(296)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(311)}),this[n(284)](s,n(307),()=>{const t=n;e[t(294)][t(317)](t(306))[t(300)]()}),s}),e.ui[t(285)][t(275)](t(297),i=>{const n=t,s=new It.ButtonView(i);return s[n(293)]({label:at(i,n(312)),withText:!0,tooltip:!0}),s[n(287)](n(304)).to(e[n(298)][n(317)](n(297))),this[n(284)](s,n(307),()=>e[n(307)](n(297))),s}),e.ui[t(285)][t(275)](t(277),n=>{const s=t,r=new ge(n),o=e[s(298)][s(317)](s(299)),a=e[s(298)][s(317)](s(310));return r[s(287)](s(288)).to(o,s(304)),r[s(287)](s(279)).to(a,s(304)),r[s(287)](s(290),s(281),s(320),s(315)).to(i),this[s(284)](r,s(307),(t,i)=>{const n=s;e[n(307)](n(319)===i?n(310):n(299))}),r}),n[t(321)](),i.on(t(302),(e,i,s)=>{const r=t;s?n[r(305)]():n[r(321)]()})}}var Ae=i(549),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Dt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ve;function Ve(t,e){const i=Ee();return(Ve=function(t,e){return i[t-=322]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(471906===parseInt(e(340))/1+-parseInt(e(341))/2*(parseInt(e(343))/3)+-parseInt(e(335))/4+parseInt(e(328))/5+parseInt(e(337))/6*(-parseInt(e(330))/7)+-parseInt(e(349))/8+-parseInt(e(323))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Me(350)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(342)];this[i(346)]({label:at(t,i(336)),_tooltipString:""}),this[i(325)][i(351)]=at(t,i(344)),this[i(331)]({tag:i(348),attributes:{class:[i(326)],"data-cke-tooltip-text":n.to(i(332)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(338)}})}[Me(329)](){const e=Me;super[e(329)](),this[e(350)]=new t.ResizeObserver(this[e(325)][e(333)],()=>this[e(334)]()),this[e(347)](this[e(325)],e(324),()=>this[e(334)]())}[Me(339)](){const t=Me;super[t(339)](),this[t(350)]&&this[t(350)][t(339)]()}[Me(334)](){const t=Me,e=this[t(325)][t(333)];this[t(332)]=e[t(327)]>e[t(345)]&&e[t(322)]||""}}function Ee(){const t=["element","_updateTooltipText","1507780jWtHAB","Revision name","124482wxBCCG","ck-tooltip_multi-line","destroy","762149OBRIpg","388836TpcpxN","bindTemplate","3rfngYg","Enter the revision name","clientWidth","set","listenTo","span","643616ZQrDBS","_resizeObserver","placeholder","value","4884687FKtdnr","input","fieldView","ck-revision-history-sidebar__revision-name","scrollWidth","4625310HORoXW","render","7ETqkfC","extendTemplate","_tooltipString"];return(Ee=function(){return t})()}var Ce=i(997),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(){const t=["ck-revision-history-sidebar__revision-author","848kLRDpr","28190oYpeLt","292993jHugHn","4049848hbEscQ","10IKbCLT","ck-revision-history-sidebar__revision-author__name","3686337gAkcNM","push","Revision creator","span","92183FHArMB","20kZUycO","name","Revision author","set","4379574HsDDjb","ck-revision-history-sidebar__revision-author_creator","setTemplate","0 0 11 10","7130586wOlNzY"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=389]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(741952===-parseInt(e(396))/1*(parseInt(e(398))/2)+parseInt(e(409))/3+-parseInt(e(397))/4+-parseInt(e(395))/5+parseInt(e(392))/6+-parseInt(e(404))/7*(-parseInt(e(394))/8)+-parseInt(e(400))/9*(parseInt(e(405))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const n=Le;super(t);const s=new It.IconView;s[n(408)]({content:_t.IconUser,viewBox:n(391)});const r=["ck",n(393)];i&&r[n(401)](n(389));const o=[{tag:n(403),attributes:{class:["ck",n(399)],title:at(t,n(i?402:407))},children:[s,e[n(406)]]}];this[n(390)]({tag:"li",attributes:{class:r},children:o})}}function ze(){var t=["267605WwvDyl","2251530xyEwTA","36pZZCwM","toLocaleTimeString","toLocaleDateString","3913056nGULtP","11HXiTYN","16iCAreE","long","2391810ahMAEW","3298LzaDZL","numeric","155JOadqi","327eLjjOg","371035eutfHx","6500oBwwEv"];return(ze=function(){return t})()}function He(t,e){var i=ze();return(He=function(t,e){return i[t-=197]})(t,e)}!function(t){for(var e=He,i=t();;)try{if(200431===parseInt(e(206))/1*(parseInt(e(204))/2)+parseInt(e(207))/3*(-parseInt(e(209))/4)+parseInt(e(210))/5*(-parseInt(e(212))/6)+-parseInt(e(208))/7*(-parseInt(e(201))/8)+parseInt(e(211))/9+-parseInt(e(203))/10*(parseInt(e(200))/11)+parseInt(e(199))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var We=i(439),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=Mt(),Ue.insert=At().bind(null,"head"),Ue.domAPI=xt(),Ue.insertStyleElement=Dt();Ot()(We.A,Ue);We.A&&We.A.locals&&We.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=271]})(t,e)}function qe(){const t=["class","Show more items","5588392BBTHGc","5zFWfCx","find","Compare against selected","stopPropagation","2041774VotqVm","map","set","panelPosition","3117306iHaziU","children","function","Name this revision","bind","menu","bindTemplate","change:isActionsDropdownOpen","action","add","first","11454744kNQNft","Restore this revision","model","items","isEnabled","7ngLhJH","41725791tasMDB","_action","isReady","isVisible","isOpen","ck-on","execute","listenTo","source","isActionsDropdownOpen","ck-revision-history-sidebar__revision__actions","menuitem","listView","904938HoYAfj","name","extendTemplate","buttonView","button","locale","845734qgDGvv"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(743826===parseInt(e(283))/1+-parseInt(e(291))/2+-parseInt(e(295))/3+-parseInt(e(286))/4*(parseInt(e(287))/5)+parseInt(e(277))/6*(parseInt(e(311))/7)+-parseInt(e(306))/8+parseInt(e(312))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(532),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Dt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["483904qwSTKg","setName","div","ck-revision-history-sidebar__revision-authors","name","creator","srcElement","render","fieldView","revisionActionsView","createdAt","highlight","span","63HuWQbI","19114308NyDToc","deselect","map","uiLanguage","ck-disabled","length","fire","ck-reset","ck-revision-history-sidebar__revision-wrapper","isConfirm","407xryKne","ck-revision-history-sidebar__revision__date","26298XBryHc","ck-revision-history-sidebar__revision__controls-wrapper","setTemplate","isSelected","220","listenTo",".ck-confirm-view","revisionNameView","closest","1795HIpYsy","332364DrODCt","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isHighlighted","_revision","ck-revision-history-sidebar__revision","select","ck-revision-history-sidebar__revision_highlighted","filter","_createdAtFormatted","isActionsDropdownOpen","set","unshift","isEnabled","bind","from","13228UmxQgN","value","unhighlight","3512zfOWoV","extendTemplate","255018kHProS","ck-revision-history-sidebar__actions_dropdown_open","19710kPUFqK","_requireRevisionName","isReady","3WKPdan","element","ck-revision-history-sidebar__revision_selected","change","authors","bindTemplate"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=312]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(662034===parseInt(e(322))/1+-parseInt(e(378))/2*(parseInt(e(316))/3)+-parseInt(e(373))/4*(-parseInt(e(357))/5)+parseInt(e(358))/6*(-parseInt(e(335))/7)+-parseInt(e(376))/8*(-parseInt(e(348))/9)+parseInt(e(313))/10*(-parseInt(e(346))/11)+-parseInt(e(336))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(355)];[Ye(331)];[Ye(361)];[Ye(314)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(321)],a=function(t,e){const i=r,n=Array[i(372)](e[i(320)])[i(365)](t=>t!=e[i(327)]);return e[i(327)]&&n[i(369)](e[i(327)]),n[i(338)](n=>new Pe(t,n,n==e[i(327)]))}(e,i);this.id=i.id,this[r(361)]=i,this[r(314)]=s,this[r(371)](r(326),r(332)).to(i),this[r(371)](r(366)).to(this,r(332),t=>{return i=e[r(339)],(n=t)[(s=He)(198)](i,{month:s(202),day:s(205)})+", "+n[s(197)](i,{hour:s(205),minute:s(205)});var i,n,s}),this[r(368)](r(351),!1),this[r(368)](r(360),!1),this[r(368)](r(367),!1),this[r(368)](r(315),!1),this[r(368)](r(370),!1),this[r(355)]=new De(e,It.createLabeledInputText),this[r(355)][r(330)][r(377)]({attributes:{maxlength:r(352)}}),this[r(355)][r(330)][r(371)](r(374)).to(this,r(326),t=>t||this[r(366)]),this[r(355)][r(371)](r(370)).to(this,r(351),this,r(370),(t,e)=>t&&e),this[r(331)]=n&&n[r(341)]?function(e,i){const n=Ze,s=e[n(301)],r=e[n(282)],o=(0,It.createDropdown)(r);o[n(294)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(282)],s={"Compare against selected":at(n,i(289)),"Name this revision":at(n,i(298)),"Restore this revision":at(n,i(307))};return e[i(292)](t=>{const e=i,n=s[t[e(278)]];return n&&n!==t[e(278)]&&(t[e(278)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(281),model:new It.UIModel({label:t[s(278)],class:t[s(284)],withText:!0,role:s(275),_action:t[s(303)]})};i[s(308)][s(299)](s(310)).to(e,s(273),i=>s(297)!=typeof t[s(310)]||!i||t[s(310)](e)),o[s(304)](i)}return o}(e,i);return e[n(299)](n(273)).to(o,n(316)),o[n(280)][n(293)]({label:at(r,n(285)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(279)]({attributes:{class:[n(274),s.if(n(273),n(317))]},on:{click:s.to(t=>t[n(290)]())}}),o.on(n(318),t=>{const i=n;e[i(314)]&&i(297)==typeof t[i(272)][i(313)]&&t[i(272)][i(313)](e)}),(0,It.addListToDropdown)(o,a,{role:n(300)}),o[n(271)](e,n(302),(t,s,r)=>{const a=n;if(r)for(const t of o[a(276)][a(309)]){const n=t[a(296)][a(305)],s=i[a(288)](t=>t[a(303)]===n[a(313)])[a(315)];t[a(315)]=void 0===s||s(e)}}),o}(this,n):"",this[r(331)]&&this[r(331)][r(371)](r(370)).to(this),this[r(350)]({tag:r(324),attributes:{class:["ck",r(343),r(344),o.if(r(345),r(359))]},children:[{tag:r(324),attributes:{class:["ck",r(343),r(362),o.if(r(370),r(340),t=>!t),o.if(r(351),r(318)),o.if(r(360),r(364)),o.if(r(367),r(312))]},children:[this[r(355)],{tag:r(334),attributes:{class:["ck",r(347)]},children:[{text:o.to(r(366))}]},{tag:r(324),attributes:{class:["ck",r(349)]},children:[{tag:"ul",attributes:{class:["ck",r(325)]},children:a}]},this[r(331)]],on:{click:o.to(t=>{const e=r;t[e(328)][e(356)](e(354))||this[e(315)]&&this[e(370)]&&this[e(342)](e(363),{id:this.id})})}}]})}[Ye(329)](){const t=Ye;super[t(329)]();const e=this[t(355)][t(330)][t(317)];this[t(353)](e,t(319),()=>{const i=t;this[i(314)]&&!e[i(374)]||this[i(342)](i(323),{id:this.id,name:e[i(374)]}),e[i(374)]||(e[i(374)]=this[i(326)]?this[i(326)]:this[i(366)])})}[Ye(363)](){this[Ye(351)]=!0}[Ye(337)](){this[Ye(351)]=!1}[Ye(333)](){this[Ye(360)]=!0}[Ye(375)](){this[Ye(360)]=!1}}class Qe extends Error{}class Xe extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Qe{}class ni extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Qe{}class ri extends Qe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Di extends Mi{static get instance(){return null===Vi&&(Vi=new Di),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Ei.clear()}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=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:Dn(r)||(n[r]=parseInt(s,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),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const Hi=new Map;const Wi=new Map;let Ui=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Hi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Hi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Wn(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Ji{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&&ji.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 s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}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 Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Wi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[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 Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Qi{static fromOpts(t){return Qi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Ui||(Ui=(new Intl.DateTimeFormat).resolvedOptions().locale,Ui)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Ui=null,Pi.clear(),Hi.clear(),Wi.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Qi.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,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=s,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"===qi(t.locale).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?Qi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(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 Bi(this,t,us,()=>{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=fo.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 Bi(this,t,fs,()=>{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=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.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 Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}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 Xi=null;class tn extends Mi{static get utcInstance(){return null===Xi&&(Xi=new tn(0)),Xi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(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 en extends Mi{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 nn(t,e){if(Dn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return En(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={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]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Di.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Qi.resetCache(),ji.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Qn(c,e,i)):u>Qn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!Dn(t.localWeekday)||!Dn(t.localWeekNumber)||!Dn(t.localWeekYear)){if(!Dn(t.weekday)||!Dn(t.weekNumber)||!Dn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Dn(t.localWeekday)||(t.weekday=t.localWeekday),Dn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Dn(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 Mn(t){const e=Cn(t.year),i=Hn(t.month,1,12),n=Hn(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Vn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Hn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Hn(i,0,59),a=Hn(n,0,59),c=Hn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Dn(t){return void 0===t}function En(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Hn(t.firstDay,1,7)||!Hn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Hn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Hn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Wn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Un(t){return Dn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Dn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Dn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(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 Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Qn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Xn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(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 is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Wn(i,2)}:${Wn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Wn(i,2)}${Wn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];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 ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[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 Wn(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,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({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?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({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?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({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?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({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=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(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 Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Un(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Vs=Ts("year","ordinal"),Ds=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Es=RegExp(`(?: ${Ds.source})?`);function Cs(t,e,i){const n=t[e];return Dn(n)?i:Un(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ls(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),zs=/^-?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 Hs(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Ws={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Us(t,e,i,n,s,r,o){const a={year:2===e.length?Xn(Un(e)):Un(e),month:as.indexOf(i)+1,day:Un(n),hour:Un(s),minute:Un(r)};return o&&(a.second=Un(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Zs=/^(?:(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 qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Us(e,s,n,i,r,o,a);let f;return f=c?Ws[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(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$/,Bs=/^(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$/,Ys=/^(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 Js(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Qs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Xs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ls),ir=Ss(Ms,Fs,js,Ls),nr=Ss(Vs,Fs,js,Ls),sr=Ss(Fs,js,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Es),ar=Is(Ds),cr=Ss(Fs,js,Ls);const ur="Invalid Duration",lr={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}},hr={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},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,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:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(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 br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Dn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(Dn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Qi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Qi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(En(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Hs])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ps,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({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 ni(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?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Dn(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+=$n(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 fo.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?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Pn(e.values,t)||Pn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.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]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(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 kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(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=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;En(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else En(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(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 gr(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;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{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 si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.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:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.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 lastDateTime(){return this.isValid&&this.e?this.e.minus(1):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?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.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 _r.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=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[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=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Qi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Qi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Qi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Qi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Qi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,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=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(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(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={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 Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(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 Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Xn);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\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]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}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 s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;return Dn(t.z)||(i=ji.create(t.z)),Dn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Dn(t.q)||(t.M=3*(t.q-1)+1),Dn(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),Dn(t.u)||(t.S=qn(t.u)),[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},{}),i,e]}(i):[null,null,void 0];if(Pn(i,"a")&&Pn(i,"H"))throw new ii("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:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=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=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Hr=864e13;function Wr(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(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 Yr(t,e,i){return $r(Gn(t),e,i)}function Jr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Jn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.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=Gn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.create(Qi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Wn(t.c.year,i?6:4),e?(n+="-",n+=Wn(t.c.month),n+="-",n+=Wn(t.c.day)):(n+=Wn(t.c.month),n+=Wn(t.c.day)),n}function Xr(t,e,i,n,s,r){let o=Wn(t.c.hour);return e?(o+=":",o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Wn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Wn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Wn(Math.trunc(-t.o/60)),o+=":",o+=Wn(Math.trunc(-t.o%60))):(o+="+",o+=Wn(Math.trunc(t.o/60)),o+=":",o+=Wn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(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 ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Qi.fromObject(e);let s,r;if(Dn(t.year))s=gn.now();else{for(const e of no)Dn(t[e])&&(t[e]=to[e]);const e=Mn(t)||Vn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Dn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=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 s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(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 lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=Dn(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=En(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Qi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,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 fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Qi.fromObject(e)}):fo.invalid(Wr(s))}static fromMillis(t,e={}){if(En(t))return t<-Hr||t>Hr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Qi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(En(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Qi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Qi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=Dn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Dn(s.ordinal),l=!Dn(s.year),h=!Dn(s.month)||!Dn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Dn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Hn(t.weekNumber,1,Qn(t.weekYear,e,i)),r=Hn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Hn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Vn(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?An(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Qs,ir],[Xs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,qs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Qi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}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?Ur(this).weekYear:NaN}get weekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get weekday(){return this.isValid?Ur(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.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=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Qn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Qn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.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]=Yr(i,e,t)}return qr(this,{ts:n,zone:t})}return fo.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(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=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!Dn(e.weekYear)||!Dn(e.weekNumber)||!Dn(e.weekday),r=!Dn(e.ordinal),o=!Dn(e.year),a=!Dn(e.month)||!Dn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):Dn(e.ordinal)?(l={...this.toObject(),...e},Dn(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=An({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.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?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Qr(this,r);return o+="T",o+=Xr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Xr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qr(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")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[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 br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.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||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Qi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&En(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(){const t=["7021CcnMWy","62xjXtky","3VUAtaX","setLocale","toJSDate","local","weekdayLong","monthLong","6568TKxNwR","3513032zZSsiI","95895dNLEGW","11728sQUvMn","4237422chONcs","30FHQqry","8877LCgATX","71895sYbCQr","minus","toRelativeCalendar","month","2976zxCopF","fromJSDate","day","startOf","week","year","hasSame"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=161]})(t,e)}function go(t,e){const i=vo,n=fo[i(172)](t)[i(181)](e),s=fo[i(183)](),r=s[i(168)]({days:1})[i(174)](i(173));let o,a;return n[i(177)](s,i(173))?(o=n[i(174)](i(173))[i(182)](),a=n[i(169)]()):n[i(177)](r,i(173))?(o=r[i(182)](),a=n[i(169)]()):n[i(177)](s,i(175))?(o=n[i(174)](i(175))[i(182)](),a=n[i(184)]||""):n[i(177)](s,i(176))?(o=n[i(174)](i(170))[i(182)](),a=n[i(185)]||""):(o=n[i(174)](i(176))[i(182)](),a=String(n[i(176)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(449366===-parseInt(e(163))/1*(parseInt(e(179))/2)+-parseInt(e(180))/3*(-parseInt(e(161))/4)+-parseInt(e(167))/5+-parseInt(e(164))/6+parseInt(e(178))/7*(parseInt(e(186))/8)+parseInt(e(162))/9*(parseInt(e(165))/10)+-parseInt(e(166))/11*(parseInt(e(171))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(342),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(){const t=["810205LNsTNb","span","373570idmFIm","40wXlMQj","select","locale","div","_revisionActions","createCollection","remove","4798962FbXnUF","uiLanguage","2363840hjYtoy","revisionViews","ck-revision-history-sidebar__time-period__revisions","find","18HtBBsT","ck-revision-history-sidebar__time-period","_requireRevisionName","addRevision","14wXkIfM","ck-revision-history-sidebar__time-period__label","startDate","5845941lwBFDC","3213432IxZdVz","add","removeRevision","4204360WNplGJ","localizedPeriodName","setTemplate","delegate","setName"];return(bo=function(){return t})()}function wo(t,e){const i=bo();return(wo=function(t,e){return i[t-=367]})(t,e)}const _o=wo;!function(t){const e=wo,i=t();for(;;)try{if(980326===-parseInt(e(389))/1+-parseInt(e(381))/2+parseInt(e(380))/3+-parseInt(e(384))/4+-parseInt(e(391))/5*(parseInt(e(373))/6)+-parseInt(e(377))/7*(-parseInt(e(369))/8)+parseInt(e(367))/9*(parseInt(e(392))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);class Io extends It.View{[_o(379)];[_o(370)];[_o(396)];[_o(375)];constructor(t,e,i,n){const s=_o;super(t);const r=go(e,this[s(394)][s(368)])[s(385)];this[s(379)]=e,this[s(370)]=this[s(397)](),this[s(396)]=i,this[s(375)]=n,this[s(370)][s(387)](s(393)).to(this),this[s(370)][s(387)](s(388)).to(this),this[s(386)]({tag:s(395),attributes:{class:["ck",s(374)]},children:[{tag:s(390),attributes:{class:["ck",s(378)]},children:[{text:r}]},{tag:s(395),attributes:{class:["ck",s(371)]},children:this[s(370)]}]})}[_o(376)](t){const e=_o,i=new Ke(this[e(394)],t,this[e(396)],this[e(375)]);this[e(370)][e(382)](i)}[_o(383)](t){const e=_o,i=this[e(370)][e(372)](e=>e.id===t.id);this[e(370)][e(398)](i)}}var So=i(193),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;!function(t){const e=xo,i=t();for(;;)try{if(187869===-parseInt(e(108))/1+parseInt(e(111))/2+parseInt(e(116))/3+parseInt(e(110))/4+parseInt(e(112))/5+-parseInt(e(114))/6*(parseInt(e(104))/7)+-parseInt(e(105))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class To extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(101)]=_t.IconHistory,this[e(113)]({tag:e(103),attributes:{class:["ck",e(107),e(115)]},children:[i,{tag:e(106),attributes:{class:["ck",e(109)]},children:[at(t,e(102))]}]})}}function xo(t,e){const i=No();return(xo=function(t,e){return i[t-=101]})(t,e)}function No(){const t=["1681890HosBNd","ck-revision-history-sidebar__header","588387OsPdGv","content","Revision history","div","7BrAbXP","2640304ddYrDv","span","ck-reset_all","183628vCtGPx","ck-revision-history-sidebar__header__label","1000952kpcmJX","432272WWXoMt","1596735DuqnWb","setTemplate"];return(No=function(){return t})()}var Ao=i(574),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Dt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Vo;function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=379]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(941254===parseInt(e(397))/1+parseInt(e(393))/2*(parseInt(e(423))/3)+-parseInt(e(417))/4+-parseInt(e(402))/5*(-parseInt(e(390))/6)+-parseInt(e(384))/7+parseInt(e(388))/8*(parseInt(e(386))/9)+parseInt(e(405))/10*(-parseInt(e(414))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends It.View{[Mo(387)];[Mo(418)];[Mo(398)];[Mo(424)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(382)];this[s(387)]=this[s(403)](),this[s(387)][s(400)](s(396)).to(this),this[s(387)][s(400)](s(427)).to(this),this[s(418)]=e,this[s(398)]=i,this[s(424)]=n,this.on(s(396),(t,e)=>{const i=s;this[i(422)](i(420),e)}),this.on(s(427),(t,e)=>{const i=s;this[i(422)](i(411),e)}),this[s(399)](s(383),!1),this[s(391)]({tag:s(434),attributes:{class:["ck",s(419),s(433),s(380)]},children:[new To(t),{tag:s(434),attributes:{class:["ck",s(407),r.if(s(383),s(413),t=>!t)]},children:this[s(387)]}]})}[Mo(428)](){const t=Mo;super[t(428)]();for(const e of this[t(418)])this[t(389)](e);this[t(418)].on(t(415),(e,i)=>{this[t(389)](i)}),this[t(418)].on(t(385),(e,i)=>{this[t(429)](i)})}get[Mo(408)](){const t=Mo;return this[t(387)][t(425)](e=>e[t(408)][t(425)](t=>t))[t(406)]()}[Mo(416)](t){const e=Mo;for(const i of this[e(408)])t&&t.id===i.id?i[e(396)]():i[e(379)]()}[Mo(381)](t){const e=Mo;for(const i of this[e(408)])t[e(426)](({id:t})=>t===i.id)?i[e(394)]():i[e(409)]()}[Mo(389)](t){const e=Mo,i=go(t[e(401)],this[e(430)][e(412)])[e(410)];let n=this[e(387)][e(431)](0);n&&n[e(410)][e(395)]()===i[e(395)]()||(n=new Io(this[e(430)],i,this[e(398)],this[e(424)]),this[e(387)][e(415)](n)),n[e(432)](t)}[Mo(429)](t){const e=Mo,i=go(t[e(401)],this[e(430)][e(412)])[e(410)];this[e(404)](i)[e(392)](t)}[Mo(404)](t){const e=Mo;return this[e(387)][e(421)](i=>i[e(410)][e(395)]()===t[e(395)]())}}function Eo(){const t=["add","selectRevision","1084592KxkSis","_revisions","ck-reset","revisionSelected","find","fire","318453lctyKK","_requireRevisionName","map","some","setName","render","_removeRevision","locale","get","addRevision","ck-rounded-corners","div","deselect","ck-revision-history-sidebar","highlightRevisions","bindTemplate","isEnabled","4842096kuVUmS","remove","66753NmOzmU","timePeriodViews","1720AnuiBC","_addRevision","6tCXrSm","setTemplate","removeRevision","32quLpyw","highlight","getTime","select","30361sFPvpU","_revisionActions","set","delegate","createdAt","8264405IUixDM","createCollection","_getTimePeriodViewByStartDate","10wLmqYf","flat","ck-revision-history-sidebar__timeline","revisionViews","unhighlight","startDate","revisionSetName","uiLanguage","ck-disabled","33794013lhVDmF"];return(Eo=function(){return t})()}const Co=jo;function Fo(){const t=["timePeriodViews","fieldView","_revisionsRepository","plugins","repository","diff","1055555bKrHIj","render","getLaterVisibleRevision","isSelected","newRevisionId","RevisionsSidebar","selectRevision","_revisions","element","string","editor","isEnabled","config","getRevisionsInDiff","revisionHistory","init","add","revisionHistory.revisionActions","pluginName","setName","isReady","5241430ilDntb","compareAgainstSelected","_sidebarView","map","4493204FUoFiM","availableRevisionActions","getIndex","defaultRevisionActions","length","_handleRevisionSetName","locale","restoreRevisionCallback","revisionViews","requires","listenTo","select","revisionHistory.viewerSidebarContainer","352737IDTLih","_handleRevisionSelected","isPremiumPlugin","appendChild","31335514pWHBws","action","_revisionViewer","_createRevisionActions","revisionSelected","highlightRevisions","Restore this revision","data","getRevision","revisionSetName","revisionHistory.requireRevisionName","_handleEditorDataReady","ready","isVisible","getEarlierVisibleRevision","destroy","Compare against selected","change:diff","_handleDiffChange","isOfficialPlugin","bind","1945698DouUHj","nameRevision","focus","restoreRevision","compare","4665900CmCpmm","get","remove","Name this revision","name","assign"];return(Fo=function(){return t})()}function jo(t,e){const i=Fo();return(jo=function(t,e){return i[t-=429]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(618718===parseInt(e(504))/1+parseInt(e(487))/2+parseInt(e(462))/3+parseInt(e(449))/4+parseInt(e(445))/5+parseInt(e(492))/6+-parseInt(e(466))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends G.Plugin{[Co(468)];[Co(500)];[Co(447)];static[Co(452)]=[Co(446),Co(490),Co(488)];static[Co(450)]=function(){const t=Co;return{compareAgainstSelected:{name:t(482),action:({plugins:e},i)=>{const n=t,s=e[n(493)](ue),r=s[n(502)];let o=s[n(503)][n(508)],a=i.id;r[n(451)](o)>r[n(451)](a)&&([o,a]=[a,o]),s[n(491)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(493)](ue);return!(s[n(502)][n(437)](s[n(503)])[n(453)]>2||i[n(507)])}},restoreRevision:{name:t(472),action:(e,{id:i})=>{const n=t;e[n(436)][n(493)](n(438))[n(456)](i)},isVisible:({plugins:e},i)=>!!e[t(493)](ue)[t(502)][t(506)](i.id)},nameRevision:{name:t(495),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(493)](ue),o=r[s(502)][s(480)](i);r[s(491)](i,o),n[s(489)](),n[s(499)][s(460)]()}}}}();static get[Co(442)](){return Co(429)}static get[Co(485)](){return!0}static get[Co(464)](){return!0}static get[Co(458)](){return[ue]}constructor(t){const e=Co;super(t),this[e(468)]=t[e(501)][e(493)](ue),this[e(500)]=this[e(468)][e(502)],this[e(447)]=null}[Co(439)](){const t=Co,e=this[t(500)][t(431)],i=this[t(469)](),n=this[t(434)][t(436)][t(493)](t(461));this[t(447)]=new Do(this[t(434)][t(455)],e,i,this[t(434)][t(436)][t(493)](t(476))),this[t(447)].on(t(470),this[t(463)][t(486)](this)),this[t(447)].on(t(475),this[t(454)][t(486)](this)),this[t(447)][t(486)](t(435)).to(this[t(468)]),this[t(447)][t(498)].on(t(440),(e,i)=>{const n=t;i[n(457)].on(n(440),(t,e)=>{const i=n;e[i(486)](i(435),i(444)).to(this[i(468)])})}),this[t(447)][t(505)](),this[t(459)](this[t(434)][t(473)],t(478),this[t(477)][t(486)](this)),this[t(459)](this[t(468)],t(483),this[t(484)][t(486)](this)),n[t(465)](this[t(447)][t(432)])}[Co(481)](){const t=Co;this[t(447)][t(432)][t(494)](),this[t(447)][t(481)]()}[Co(477)](){const t=Co,e=this[t(500)][t(474)](0);if(e){const i=this[t(500)][t(480)](e.id);this[t(468)][t(491)](e,i)}}[Co(463)](t,e){const i=Co,n=this[i(500)][i(474)](e.id),s=this[i(500)][i(480)](n.id);this[i(468)][i(491)](n,s)}[Co(454)](t,e){const i=Co;this[i(500)][i(474)](e.id)[i(443)](e[i(496)])}[Co(484)](t,e,i){const n=Co,s=this[n(500)][n(437)](i);s[n(453)]>2?(this[n(447)][n(471)](s),this[n(447)][n(430)](null)):(this[n(447)][n(471)]([]),this[n(447)][n(430)](s[0]))}[Co(469)](){const t=Co,e=this[t(434)],i=Lo[t(450)],n=e[t(436)][t(493)](t(441))||Lo[t(452)];if(n[t(453)])return n[t(448)](n=>{const s=t,r=s(433)==typeof n?Object[s(497)]({},i[n]):n;return r[s(467)]=r[s(467)][s(486)](this,e),r[s(479)]&&(r[s(479)]=r[s(479)][s(486)](this,e)),r})}}const Po=zo;function zo(t,e){const i=Wo();return(zo=function(t,e){return i[t-=222]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(515443===-parseInt(e(233))/1+parseInt(e(231))/2*(-parseInt(e(254))/3)+parseInt(e(262))/4*(parseInt(e(240))/5)+parseInt(e(265))/6+-parseInt(e(229))/7+-parseInt(e(258))/8*(-parseInt(e(236))/9)+parseInt(e(226))/10*(parseInt(e(238))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Ho extends It.EditorUI{[Po(245)];[Po(260)];[Po(241)];get[Po(227)](){return this[Po(245)]}constructor(e,i){const n=Po;super(e),this[n(245)]=i,this[n(260)]=(0,It.normalizeToolbarConfig)(e[n(267)][n(239)](n(235))),this[n(241)]=new t.ElementReplacer}get[Po(243)](){const t=Po;return this[t(227)][t(243)]}[Po(248)](t){const e=Po,i=this[e(225)],n=this[e(227)],s=i[e(255)][e(227)],r=n[e(261)],o=s[e(264)][e(223)]();r[e(237)]=o[e(253)],n[e(249)]();const a=r[e(243)];this[e(252)](r[e(237)],a),n[e(261)][e(234)](e(222)).to(this[e(266)]),s[e(232)](a),this[e(241)][e(259)](t,this[e(243)]),this[e(244)](),this[e(242)](e(230))}[Po(224)](){const t=Po;super[t(224)]();const e=this[t(227)],i=this[t(225)][t(255)][t(227)];this[t(241)][t(246)](),i[t(228)](e[t(261)][t(237)]),e[t(224)]()}[Po(244)](){const t=Po,e=this[t(227)];e[t(269)][t(234)](t(268)).to(this[t(266)],t(222)),e[t(269)][t(256)]=e[t(243)],e[t(269)][t(234)](t(263)).to(this,t(247),({top:t})=>t),e[t(235)][t(257)](this[t(260)],this[t(251)]),this[t(250)](e[t(235)])}}function Wo(){const t=["viewportTopOffset","document","3499386JUHBvj","focusTracker","config","isActive","stickyPanel","isFocused","getRoot","destroy","editor","20QIlnKl","view","detachDomRoot","2954259CrUUMs","ready","2UlaUMa","attachDomRoot","457070doROmB","bind","toolbar","4312161jwXeyt","name","102223hSoNDR","get","1498855yZcpNf","_elementReplacer","fire","element","_initToolbar","_view","restore","viewportOffset","init","render","addToolbar","componentFactory","setEditableElement","rootName","1757127OZDHrT","editing","limiterElement","fillFromConfig","8SPvcrN","replace","_toolbarConfig","editable","12qnZKBX"];return(Wo=function(){return t})()}var Uo=i(750),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Dt();Ot()(Uo.A,Zo);Uo.A&&Uo.A.locals&&Uo.A.locals;var qo=Bo;function $o(){var t=["336lrVdGh","296376QDXmJm","602931MRwxAC","61633SNPbxH","9cIVJxp","toolbar","shouldToolbarGroupWhenFull","136QUvooW","editable","188538Fonief","stickyPanel","content","3666340QWbVVi","render","top","main","5PohLiv","add","_editable","6389910yIMgJe","26fzejHv","43353XgiZeT"];return($o=function(){return t})()}function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=306]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(487864===parseInt(e(308))/1+-parseInt(e(326))/2*(parseInt(e(327))/3)+-parseInt(e(318))/4*(parseInt(e(322))/5)+parseInt(e(307))/6+-parseInt(e(315))/7*(-parseInt(e(313))/8)+-parseInt(e(310))/9*(-parseInt(e(325))/10)+parseInt(e(309))/11*(-parseInt(e(306))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[qo(324)];[qo(316)];[qo(311)];get[qo(314)](){return this[qo(324)]}constructor(t,e,i={}){var n=qo;super(t),this[n(316)]=new It.StickyPanelView(t),this[n(311)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(312)]}),this[n(324)]=new It.InlineEditableUIView(t,e)}[qo(319)](){var t=qo;super[t(319)](),this[t(316)][t(317)][t(323)](this[t(311)]),this[t(320)][t(323)](this[t(316)]),this[t(321)][t(323)](this[t(314)])}}const Jo=Ko;function Go(){const t=["2186391tQevrJ","22bqRlxX","view","88kIpGDd","_ui","config","1791512HdQgen","initialData","locale","fire","6073300WZmTtg","38455oNeIrD","create","14494xGXtgZ","init","sourceElement","document","initPlugins","updateSourceElement","createRoot","get","editing","destroy","3464505ivqiZg","387065dyOWTN","78qXAdHV","model","data","416nxMlRx","ready"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=177]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(615808===-parseInt(e(203))/1*(parseInt(e(193))/2)+parseInt(e(190))/3+parseInt(e(188))/4*(-parseInt(e(201))/5)+-parseInt(e(185))/6*(-parseInt(e(184))/7)+-parseInt(e(196))/8+-parseInt(e(183))/9+parseInt(e(200))/10*(parseInt(e(191))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Qo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(194)];get ui(){return this[Jo(194)]}constructor(t,e){const i=Jo;super(e),this[i(205)]=t,this[i(186)][i(206)][i(179)]();const n=new Yo(this[i(198)],this[i(181)][i(192)],{shouldToolbarGroupWhenFull:!0});this[i(194)]=new Ho(this,n)}[Jo(182)](){const t=Jo;return this[t(178)](),this.ui[t(182)](),super[t(182)]()}static async[Jo(202)](t,e){const i=Jo,n=new this(t,e);return await n[i(177)](),await n.ui[i(204)](t),await n[i(187)][i(204)](n[i(195)][i(180)](i(197))||""),n[i(199)](i(189)),n}}const Xo=ea;function ta(){const t=["destroy","revisionHistory.closeRevisionViewerCallback","restrictedEditingException","RevisionsRepository","removeMarker","1574343Abgqbt","_showRevisionViewer","bind","remove","lazyRoots","catch","editor","revisionHistory.viewerEditorElement","Autosave","markers","plugins","341778nBVNhQ","indexOf","RevisionTracker","4zCXEvb","rootName","toVersion","toolbar","_recalculatePageBreaks","long","getMarkersGroup","_viewerEditor","revisionHistory.editorContainer","revisionHistory.showRevisionViewerCallback","Annotations","getRevision","exitToEditing","roots","revisionHistory.restoreRevisionCallback","document","get","2GuPEgL","fromCharCode","name","detachRoot","isEnabled","RevisionViewer","join","revisionHistory","uiLanguage","refreshVisibility","restoreRevision","$graveyard","removeAttribute","getRevisionRootsAttributes","model","create","DocumentOutlineUI","block","translations","style","isPremiumPlugin","init","revisionHistory.requireRevisionName","data","_closeRevisionViewer","RestrictedEditingMode","2246860KQMVEO","removeSelectionAttribute","numeric","parse","define","createdAt","getRevisions","has","_cleanUp","isRevisionViewerOpen","revisionHistory.viewerContainer","keys","display","getUser","3384328rqVcDI","getRevisionDocumentData","Users","_restoreRevision","revision-history-missing-configuration","RevisionViewerIntegration","update","requires","repository","RevisionHistoryUI","includes","selection","addRoot","addRevisionData","_enhanceCloseRevisionViewerCallback","save","refreshPositioning","then","addUser","users","RevisionHistoryUtils","_getRevisionViewerEditorConfig","loadRevisionData","isOfficialPlugin","getRoot","end","isOpen","getAttributeKeys","none","revision-history-viewer-opened","hide","showRevisionViewerCallback","commands","PaginationLookup","_enhanceShowRevisionViewerCallback","isReady","locale","disableReadOnlyMode","change","fromVersion","enqueueChange","Restored","element","setAttribute","Dialog","creator","DocumentOutline","30EFwpow","config","saveRevision","view","isAnonymous","319556DfgpQe","closeRevisionViewerCallback","pluginName","toLocaleDateString","map","_update","toJSON","459945wHFRrk","from","result","996306SSVIhL","isAttached","set","createRangeIn","error","push","changesNavigation","setSelection","enableReadOnlyMode","toLocaleTimeString","RevisionHistory","insert","isReadOnly","adapter"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=172]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(271650===parseInt(e(281))/1*(-parseInt(e(221))/2)+-parseInt(e(261))/3*(-parseInt(e(264))/4)+parseInt(e(228))/5+parseInt(e(231))/6+parseInt(e(307))/7+parseInt(e(321))/8+parseInt(e(250))/9*(-parseInt(e(216))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Xo(178),Xo(306)];class na extends G.Plugin{[Xo(230)];static get[Xo(223)](){return Xo(174)}static get[Xo(192)](){return!0}static get[Xo(301)](){return!0}constructor(t){const e=Xo;function i(t){const e=ea;return t[e(225)](t=>String[e(282)](t))[e(287)]("")}super(t),this[e(230)]=e(194),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 sa extends G.Plugin{[Xo(271)];static get[Xo(223)](){return Xo(241)}static get[Xo(192)](){return!0}static get[Xo(301)](){return!0}static get[Xo(176)](){return[pt,qt]}constructor(e){const i=Xo;if(super(e),!this[i(256)][i(217)][i(280)](i(288)))throw new t.CKEditorError(i(173),this);this[i(271)]=null,this[i(233)](i(316),!1),this[i(256)][i(217)][i(311)](i(273),t=>this[i(251)]({...t,translations:this[i(256)][i(205)][i(299)]})),this[i(256)][i(217)][i(311)](i(246),t=>this[i(305)](t)),this[i(256)][i(217)][i(311)](i(278),t=>this[i(172)](t)),this[i(256)][i(217)][i(311)](i(303),!1),this[i(203)](),this[i(183)]()}set[Xo(244)](t){const e=Xo;this[e(256)][e(260)][e(280)](e(263))[e(244)]=t}get[Xo(244)](){const t=Xo;return this[t(256)][t(260)][t(280)](t(263))[t(244)]}[Xo(182)](t){const e=Xo;return this[e(256)][e(260)][e(280)](e(263))[e(182)](t)}[Xo(275)](t){const e=Xo;return this[e(256)][e(260)][e(280)](e(248))[e(275)](t)}[Xo(313)](t){const e=Xo;return this[e(256)][e(260)][e(280)](e(248))[e(313)](t||{toJSON:!1})}[Xo(190)](){const e=Xo,i=this[e(256)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(260)][e(280)](e(263)),r=i[e(260)][e(280)](e(323))[e(188)];return n[e(267)]=[e(276),e(291),e(237)],delete n[e(254)],n[e(260)][e(236)](na,ue,Ne,class extends G.Plugin{static get[e(176)](){return[ue,e(323)]}[e(302)](){const n=e,o=this[n(256)][n(260)][n(280)](n(323));for(const t of r)t[n(220)]||o[n(320)](t.id)||o[n(187)](t);const a=s[n(177)][n(313)]();let c=null;const u=this[n(256)][n(260)][n(280)](n(286));u[n(244)]=s[n(244)],u[n(252)](n(285)).to(s),this[n(256)][n(201)][n(280)](n(291))[n(252)](n(285)).to(i,n(243),t=>!t);for(const e of a){const i=null===e[n(214)];if(i&&e[n(266)]===e[n(208)])continue;const r=e[n(227)]();u[n(182)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(226)](r,o);else if(!o){const e=a[u(227)]();e.id=(0,t.uid)(),s[u(218)](e,a[u(266)])[u(186)](t=>{c=t})}}else e[u(226)](r,o)})}}},Lo),n}[Xo(203)](){const t=Xo,e=this[t(256)][t(217)][t(280)](t(288))[t(200)];this[t(256)][t(217)][t(233)](t(273),async()=>{const i=t;this[i(256)][i(239)](i(198));const n=this[i(256)][i(260)][i(280)](i(263));if(this[i(256)][i(260)][i(314)](i(258))){const t=this[i(256)][i(260)][i(280)](i(258));await t[i(184)]()}else await n[i(175)]();if(this[i(256)][i(260)][i(314)](i(202))&&this[i(256)][i(260)][i(280)](i(202))[i(268)](),this[i(256)][i(260)][i(314)](i(213))){const t=this[i(256)][i(260)][i(280)](i(213));t[i(195)]&&t[i(199)]()}const s=this[i(190)]();return e(s)[i(186)](t=>{const e=i;return this[e(271)]=t,this[e(256)][e(260)][e(314)](e(274))&&this[e(256)][e(260)][e(280)](e(274))[e(290)](),this[e(256)][e(260)][e(314)](e(215))&&(this[e(256)][e(260)][e(280)](e(297))[e(219)][e(211)][e(300)][e(319)]=e(197)),t})[i(255)](t=>(console[i(235)](t),this[i(256)][i(206)](i(198)),null))})}[Xo(183)](){const t=Xo,e=this[t(256)][t(217)][t(280)](t(288))[t(222)];this[t(256)][t(217)][t(233)](t(246),()=>(this[t(256)][t(260)][t(314)](t(202))&&this[t(256)][t(260)][t(280)](t(202))[t(268)](),this[t(256)][t(260)][t(314)](t(215))&&(this[t(256)][t(260)][t(280)](t(297))[t(219)][t(211)][t(300)][t(319)]=""),this[t(271)][t(260)][t(280)](t(286))[t(315)](),e(this[t(271)])[t(186)](()=>{const e=t;if(this[e(256)][e(206)](e(198)),this[e(271)]=null,this[e(256)][e(260)][e(314)](e(274))){const t=this[e(256)][e(260)][e(280)](e(274));t[e(290)](),t[e(185)]()}})))}[Xo(251)](t){const e=Xo,i=this[e(256)][e(217)][e(280)](e(272)),n=this[e(256)][e(217)][e(280)](e(317)),s=this[e(256)][e(217)][e(280)](e(257));return Qo[e(296)](s,t)[e(186)](t=>(n[e(300)][e(319)]=e(298),i[e(300)][e(319)]=e(197),this[e(316)]=!0,t))}[Xo(305)](t){const e=Xo,i=this[e(256)][e(217)][e(280)](e(272));return this[e(256)][e(217)][e(280)](e(317))[e(300)][e(319)]=e(197),i[e(300)][e(319)]="",this[e(316)]=!1,t[e(245)]()}async[Xo(172)](t){const e=Xo,i=this[e(256)],n=this[e(271)][e(260)][e(280)](e(286)),s=i[e(260)][e(280)](e(263)),r=i[e(260)][e(280)](e(189)),o=n[e(177)][e(275)](t);let a,c,u;try{await r[e(191)](o,this[e(244)]),a=r[e(322)](o),c=r[e(294)](o)}catch(t){return void console[e(235)](t)}i[e(295)][e(207)](t=>{const n=e;for(const e of Array[n(229)](i[n(295)][n(259)][n(270)](n(247))))t[n(249)](e)}),n[e(204)]=!1,i[e(295)][e(209)](t=>{const n=e;t[n(238)](null),t[n(308)](i[n(295)][n(279)][n(180)][n(196)]());const s=Object[n(318)](a);for(const e of i[n(295)][n(279)][n(277)])n(292)!=e[n(265)]&&e[n(232)]()&&!s[n(179)](e[n(265)])&&t[n(284)](e);for(const e of s){let s=i[n(295)][n(279)][n(193)](e);s&&s[n(232)]()||(s=t[n(181)](e));const r=c[e],o=Object[n(318)](r),u=a[e];for(const e of s[n(196)]())o[n(179)](e)||t[n(293)](e,s);for(const i of o)t[n(212)](i,c[e][i],s);t[n(253)](t[n(234)](s)),t[n(242)](i[n(304)][n(310)](u,s),s,0)}});const l=at(i[e(205)],e(210));return u=o[e(283)]?-1==o[e(283)][e(262)](l)?l+": "+o[e(283)]:o[e(283)]:l+": "+o[e(312)][e(224)](i[e(205)][e(289)],{month:e(269),day:e(309)})+", "+o[e(312)][e(240)](i[e(205)][e(289)],{hour:e(309),minute:e(309)}),await s[e(218)]({name:u}),n[e(204)]=!0,i[e(217)][e(280)](e(288))[e(222)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=238]})(t,e)}function oa(){var t=["32JqvaVj","1846362PxMGAt","29015130eCDxCn","1331036YsUUwq","1122515sGXYNB","8oYGwCS","6WCcwNo","84205BZXCyH","1879719eWrMoU","4930713itCcwt"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(817355===-parseInt(e(245))/1+-parseInt(e(242))/2+parseInt(e(239))/3*(parseInt(e(246))/4)+parseInt(e(238))/5*(parseInt(e(247))/6)+parseInt(e(244))/7*(-parseInt(e(241))/8)+-parseInt(e(240))/9+parseInt(e(243))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();