@ckeditor/ckeditor5-revision-history 47.1.0 → 47.2.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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,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:()=>le,Revision:()=>Y,RevisionHistory:()=>sa,RevisionHistoryUI:()=>$t,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>pt,RevisionViewer:()=>ae,RevisionViewerEditor:()=>Xo,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]",x="[object Float64Array]";function T(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]=T(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,T(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(T(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]=T(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 x: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]=T(i[a],a,n,s,r))}}function A(t,e){return function(t,e){return T(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 E=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&V(n,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)\]/,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 W(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function z(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 U(t,e,i){return function(t,e,i,n){if(null==t&&!W(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(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:W(i)?i:C(s[e+1])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function Z(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(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?Z(e)?H(t,z(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 $(t,e){const i=H(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 q=B;function B(t,e){const i=G();return(B=function(t,e){return i[t-=312]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(644731===-parseInt(e(336))/1+-parseInt(e(328))/2+-parseInt(e(317))/3+parseInt(e(340))/4*(parseInt(e(327))/5)+parseInt(e(315))/6*(-parseInt(e(320))/7)+-parseInt(e(339))/8*(-parseInt(e(312))/9)+-parseInt(e(331))/10*(-parseInt(e(332))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class Y extends((0,t.ObservableMixin)()){id;[q(324)];[q(316)];[q(321)];[q(325)];[q(334)];[q(330)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(324)]=e[i(324)]||null,this[i(316)]=e[i(316)]||[],this[i(321)]=e[i(321)]||null,this[i(325)]=e[i(325)]||0,this[i(334)]=e[i(334)]||0,this[i(338)](i(329),e[i(329)]||""),this[i(338)](i(314),e[i(314)]||new Date),this[i(338)](i(322),e[i(322)]||{})}[q(337)](t){this[q(319)]({name:t})}[q(318)](t,e){const i=q,n=R(this[i(322)]);U(n,t,e),this[i(319)]({attributes:n})}[q(323)](t){const e=q,i=R(this[e(322)]);(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=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]&&Z(e))return $(t,z(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(319)]({attributes:i})}[q(319)](t,e=!1){const i=q;let n=!1;const s={id:this.id},r=[i(329),i(314),i(321),i(316),i(322),i(325),i(334),i(333)];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(316)]&&(s[i(341)]=s[i(316)][i(326)](t=>t.id),delete s[i(316)]),this[i(335)](i(319),s,e))}[q(313)](){const t=q;return{id:this.id,name:this[t(329)],creatorId:this[t(324)]?this[t(324)].id:null,authorsIds:this[t(316)][t(326)](t=>t.id),diffData:this[t(321)],createdAt:this[t(314)],attributes:this[t(322)],fromVersion:this[t(334)],toVersion:this[t(325)]}}}function G(){const t=["map","190160SlOJvy","403014lmGngx","name","model","16478330yIWdCL","11YghdDw","creatorId","fromVersion","fire","598119IMizkh","setName","set","5352yGRVAc","68zcdUYa","authorsIds","6093pehjof","toJSON","createdAt","4826820vZOzTI","authors","1495389fqYMTp","setAttribute","_update","7uUKgEI","diffData","attributes","removeAttribute","creator","toVersion"];return(G=function(){return t})()}var J=i(782),K=i(211),X=i(783);const Q=et;function tt(){const t=["creatorId","earlier","name","_revisions","authorsIds","createdAt","map","getRevisionsInDiff","getRevisionsIterator","getRevisions","156TQgCLV","join","getIndex","requires","attributes","oldRevisionId","reverse","newRevisionId","isOfficialPlugin","add","get","939745CcOYCw","getRevision","isPremiumPlugin","getUser","fromCharCode","getEarlierVisibleRevision","pluginName","push","RevisionsRepository","12166425bclEfl","length","createRevision","data","3004914wERyNA","addRevision","plugins","isNaN","href","638802UOFPQo","afterInit","from","later","toVersion","189955llpgQB","toJSON","getLaterVisibleRevision","4abtwOa","5612920UCMyHh","fromVersion","diffData","Users","1167285RmNSKa","editor"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=413]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(751604===parseInt(e(431))/1+-parseInt(e(457))/2*(parseInt(e(449))/3)+parseInt(e(420))/4*(-parseInt(e(454))/5)+-parseInt(e(444))/6+parseInt(e(462))/7+parseInt(e(458))/8+parseInt(e(440))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends J.Plugin{[Q(413)];static get[Q(423)](){return[K.Users]}static get[Q(437)](){return Q(439)}static get[Q(428)](){return!0}static get[Q(433)](){return!0}get[Q(441)](){const t=Q;return this[t(413)][t(441)]}constructor(e){const i=Q;super(e),this[i(413)]=new t.Collection}[Q(450)](){!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(447)](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(416)](t=>String[e(435)](t))[e(421)]("")}!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:1760572800;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(448)]);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)}[Q(442)](t){const e=Q,i=this[e(463)][e(446)][e(430)](e(461));return new Y({id:t.id,name:t[e(466)],creator:t[e(464)]?i[e(434)](t[e(464)]):null,diffData:t[e(460)]||t[e(443)],authors:t[e(414)][e(416)](t=>i[e(434)](t)),createdAt:new Date(t[e(415)]),attributes:t[e(424)],fromVersion:t[e(459)],toVersion:t[e(453)]})}[Q(445)](t,e=0){const i=Q;this[i(413)][i(429)](t,e)}[Q(432)](t){const e=Q;return this[e(413)][e(430)](t)}[Q(419)](t={toJSON:!1}){const e=Q,i=Array[e(451)](this[e(413)]);return i[e(426)](),t[e(455)]?i[e(416)](t=>t[e(455)]()):i}[Q(422)](t){const e=Q;return this[e(413)][e(422)](t)}[Q(436)](t){const e=Q,[,i]=this[e(418)](t,{direction:e(465)});return i}[Q(456)](t){const e=Q,[,i]=this[e(418)](t,{direction:e(452)});return i}[Q(417)](t){const e=Q,i=[];for(const n of this[e(418)](t[e(427)]))if(i[e(438)](n),n.id===t[e(425)])break;return i}*[Q(418)](t,{direction:e=Q(465),filter:i=()=>!0}={}){const n=Q,s=n(465)===e?1:-1;let r=this[n(413)][n(430)](t),o=this[n(422)](r);for(yield r;r;){if(o+=s,r=this[n(432)](o),!r)return;i(r)&&(yield r)}}}function nt(t,e){const i=ot();return(nt=function(t,e){return i[t-=230]})(t,e)}const st=nt;!function(t){const e=nt,i=t();for(;;)try{if(718846===-parseInt(e(235))/1+parseInt(e(290))/2*(parseInt(e(247))/3)+parseInt(e(246))/4+-parseInt(e(242))/5+-parseInt(e(297))/6*(parseInt(e(273))/7)+-parseInt(e(285))/8+parseInt(e(287))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class rt extends J.Plugin{static get[st(279)](){return st(238)}static get[st(240)](){return!0}static get[st(232)](){return!0}[st(303)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(292)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(251)](t,e){const i=st;if(t[i(239)]||!e)return;const n=this[i(274)][i(255)][i(271)](i(254)),s=await e[i(288)]({channelId:n,revisionId:t.id});t[i(239)]=s[i(239)]}[st(289)](t){const e=st,i={};for(const n in t[e(239)]){if(t[e(239)][n][e(263)]&&!t[e(239)][n][e(263)][e(231)])continue;const s=this[e(269)](JSON[e(272)](t[e(239)][n][e(234)])),r=this[e(274)][e(266)][e(298)][e(295)],o=new X.ViewDocumentFragment(r,s[e(250)](t=>this[e(256)](t,!1)));this[e(274)][e(265)][e(253)][e(280)](e(276)),i[n]=this[e(274)][e(265)][e(253)][e(302)](o),this[e(274)][e(265)][e(253)][e(280)](e(244))}return i}[st(249)](t){const e=st,i={};for(const n in t[e(239)])t[e(239)][n][e(263)]&&!t[e(239)][n][e(263)][e(231)]||(i[n]=t[e(239)][n][e(281)]||{});return i}[st(299)](t){const e=st;return this[e(303)][e(271)](t[e(300)])}[st(256)](t,e){const i=st,n=this[i(274)][i(266)][i(298)][i(295)];if(i(277)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(237)]||"r"==t[i(237)]?[]:t[i(291)][i(250)](t=>this[i(256)](t,e));const o=this[i(292)][i(271)](t[i(237)])||X.ViewElement,a=this[i(274)][i(265)][i(252)][i(233)];if(s=new o(n,t[i(243)],t[i(260)],r),"u"==t[i(237)]&&t[i(291)][0]){const r=t[i(291)][0];if(s[i(258)]=function(t){const e=i,n=t[e(301)](e(264));return n[e(284)]=r,n[e(259)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(245)](s);const e=Array[i(268)](a[i(282)](t,{bind:!1})),r=a[i(270)][i(301)](i(264));r[i(257)](...e),s=Array[i(268)](a[i(286)](r))[0]}}else if("r"==t[i(237)]&&t[i(291)][0]){const r=t[i(291)][0];if(s[i(258)]=function(t){t[i(284)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(245)](s);const e=Array[i(268)](a[i(282)](t,{bind:!1})),r=a[i(270)][i(301)](i(264));r[i(257)](...e);const o=Array[i(268)](a[i(286)](r));o[i(267)]>1?s[i(245)](o):s=o[0]}}if(t[i(294)])for(const[e,n]of t[i(294)])s[i(248)](e,n);const c=void 0===t[i(275)]?null:t[i(275)];return null!==c&&(s[i(262)]=()=>c),s}}[st(293)](t){const e=st,i=JSON[e(272)](t),n=this[e(274)][e(266)][e(298)][e(295)],s=new X.ViewDocumentFragment(n,i[e(250)](t=>this[e(256)](t,!0)));return this[e(274)][e(265)][e(278)](s)}[st(269)](t){const e=st;return(t=t[e(236)](t=>!t[e(243)]||e(283)!==t[e(243)]&&e(261)!==t[e(243)]))[e(241)](t=>{const i=e;i(277)!=typeof t&&(t[i(291)]=this[i(269)](t[i(291)]),t[i(260)]=t[i(260)][i(236)](t=>!t[0][i(296)](i(230))))}),t}}function ot(){const t=["2yOmKwZ","children","_typeCharToViewClass","_makeModelFromViewString","customProperties","document","startsWith","698604CWphxY","view","_getTypeCharForViewElement","constructor","createElement","toData","_viewClassToTypeChar","data-revision-","isAttached","isPremiumPlugin","domConverter","insertions","1294755sJfeol","filter","type","RevisionHistoryUtils","diffData","isOfficialPlugin","forEach","2898930cXRxMZ","name","default","_appendChild","5142576LdBcvh","2260047qhaSZr","_setCustomProperty","getRevisionRootsAttributes","map","loadRevisionData","htmlProcessor","processor","collaboration.channelId","config","_getViewFromDiffObj","append","render","childNodes","attributes","revision-end","getFillerOffset","attachChange","div","data","editing","length","from","_removeRevisionMarkers","domDocument","get","parse","42skMlgb","editor","fillerOffset","marked","string","toModel","pluginName","useFillerType","attributesAfter","viewChildrenToDom","revision-start","innerHTML","9780256HDMRHe","domChildrenToView","22279770uVkLSt","getRevision","getRevisionDocumentData"];return(ot=function(){return 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,T){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,T))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,T));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 x: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,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,T)||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,T))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=bt();return(mt=function(t,e){return i[t-=306]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(842326===parseInt(e(475))/1+-parseInt(e(413))/2+parseInt(e(509))/3*(parseInt(e(464))/4)+-parseInt(e(544))/5+-parseInt(e(309))/6+parseInt(e(479))/7*(-parseInt(e(468))/8)+parseInt(e(598))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bt);class pt extends J.Plugin{[ft(366)];[ft(617)];[ft(415)]=null;[ft(364)];[ft(371)]=null;[ft(483)];[ft(450)];[ft(593)];[ft(477)];[ft(531)];[ft(380)];[ft(573)];[ft(328)];[ft(384)];static get[ft(363)](){return ft(320)}static get[ft(378)](){return!0}static get[ft(518)](){return!0}static get[ft(549)](){return[K.Users,it,rt,J.PendingActions]}constructor(e){const i=ft;super(e),this[i(364)]=this[i(355)][i(432)][i(344)](i(314)),this[i(531)]=this[i(355)][i(432)][i(344)](i(329)),this[i(483)]=new vt(this[i(355)]),this[i(593)]=this[i(355)][i(620)][i(344)](i(552))||i(559),this[i(477)]=new Map,this[i(384)]=null;const n=(0,t.uid)();this[i(450)]={history:this[i(355)][i(596)][i(511)][i(470)],getLatestVersion:()=>Promise[i(462)](this[i(355)][i(596)][i(511)][i(564)]),getCurrentRevisionId:()=>n},this[i(395)](i(465),!1),this[i(395)](i(572),!0),this[i(395)](i(419),!1),this[i(355)][i(620)][i(568)](i(566),!0),this[i(355)][i(583)][i(319)](i(331))[i(607)]({view:i(444)})}[ft(507)](){const t=ft;this[t(604)](),this[t(355)][t(622)].on(t(427),()=>{const e=t,i=this[e(364)][e(589)](0),n=i&&null===i[e(418)]?i:null;if(this[e(573)]=!!n&&this[e(355)][e(620)][e(344)](e(566)),this[e(355)][e(432)][e(541)](e(382))){const t=this[e(450)][e(358)](),s=this[e(364)][e(589)](t);if(s)this[e(328)]=s[e(523)],this[e(573)]=!1;else{const t=this[e(450)][e(470)][e(456)][e(356)](t=>!t[e(379)]),s=t?t[e(406)]:this[e(450)][e(470)][e(564)];i?(i[e(321)]<s&&i[e(535)]({toVersion:s}),this[e(573)]?(this[e(450)][e(358)]=()=>n.id,this[e(328)]=n[e(523)]):(this[e(328)]=i[e(321)],this[e(573)]=!1)):(this[e(328)]=s,this[e(573)]=!1)}}else n&&(this[e(355)][e(596)][e(511)][e(470)][e(564)]=Math[e(454)](n[e(321)],this[e(355)][e(596)][e(511)][e(470)][e(564)]),n[e(523)]===n[e(321)]?(0!==n[e(523)]&&(this[e(450)][e(358)]=()=>n.id),this[e(573)]=!1):this[e(573)]&&(this[e(450)][e(358)]=()=>n.id,this[e(328)]=n[e(523)])),this[e(573)]||(this[e(328)]=this[e(355)][e(596)][e(511)][e(564)]);this[e(483)][e(507)](this[e(450)][e(470)]),this[e(601)](this[e(328)]),this[e(496)](this[e(328)]),this[e(371)]&&this[e(519)]()}),this[t(501)](t(465)).to(this,t(419),t=>!t),this[t(366)]=this[t(355)][t(620)][t(344)](t(366));const e=this[t(355)];this[t(617)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(546)==r||i(562)==r||i(337)==r||i(482)==r||i(577)==r||i(528)==r||i(555)==r||i(590)==r){delete e[s],n=r,clearInterval(this[i(617)]),this[i(617)]=void 0;break}}i(562)==n&&e[i(426)](i(527)),i(337)==n&&e[i(426)](i(455)),i(482)==n&&e[i(426)](i(529)),i(577)==n&&e[i(426)](i(448),i(317)),i(528)==n&&e[i(426)](i(605)),i(555)==n&&e[i(426)](i(493)),i(590)==n&&e[i(426)](i(341))},1e3)}async[ft(433)](){const t=ft;if(this[t(364)][t(495)]>0){const e=this[t(364)][t(589)](0),i=await this[t(389)](e),n=await this[t(349)](e);this[t(614)](i,n)}}[ft(403)](){const t=ft;super[t(403)](),this[t(617)]&&clearInterval(this[t(617)])}[ft(469)](t){this[ft(450)]=t}async[ft(316)](){const t=ft,e=await this[t(450)][t(576)]();if(e>this[t(415)][t(321)]){await this[t(569)]();const i=this[t(591)]({revision:this[t(415)],to:e});i[t(524)]=i[t(599)][t(521)](e=>this[t(355)][t(432)][t(344)](t(449))[t(625)](e)),this[t(415)][t(535)](i)}}async[ft(330)](e={},i=null){const n=ft,s=[];await this[n(569)](),this[n(573)]=!1,i>this[n(415)][n(321)]&&(i=null),null===i&&(i=await this[n(450)][n(576)]());const r=this[n(322)](i),o=this[n(591)]({from:r,to:i});if(this[n(415)][n(321)]<i){const t=this[n(591)]({revision:this[n(415)],from:i,to:i});t[n(524)]=[],t[n(599)]=[],t.id=this[n(415)].id,this[n(415)][n(535)](t,!0),delete t[n(524)],s[n(597)](t)}e[n(610)]=this[n(355)][n(432)][n(344)](n(449)).me.id,e[n(579)]=e[n(579)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(466)](e);s[n(597)](e);const c=this[n(364)][n(420)](a);if(0!==c){const t=this[n(364)][n(589)](c-1);if(t[n(523)]!==i){const r=this[n(483)][n(606)](i,t[n(321)]),o={id:t.id,diffData:r[n(565)],authorsIds:r[n(599)],authors:r[n(599)][n(521)](t=>this[n(355)][n(432)][n(344)](n(449))[n(625)](t)),fromVersion:i};t===this[n(415)]&&(o[n(346)]=new Date(e[n(346)][n(592)]()+10)),t[n(535)](o,!0),delete o[n(524)],s[n(597)](o)}}if(this[n(371)]){for(const t of s)this[n(428)](t.id,t,!0);this[n(519)]()}return a}[ft(466)](t){const e=ft,i=this[e(364)][e(563)](t);return this[e(371)]&&i.on(e(535),(t,i,n)=>{const s=e;n||(this[s(428)](i.id,i,!0),this[s(519)]())}),this[e(364)][e(445)](i,this[e(407)](i)),i}async[ft(389)](t){const e=ft;return await this[e(531)][e(335)](t,this[e(371)]),this[e(531)][e(389)](t)}async[ft(349)](t){const e=ft;return await this[e(531)][e(335)](t,this[e(371)]),this[e(531)][e(349)](t)}[ft(519)](){const t=ft;if(0===this[t(477)][t(616)])return;if(this[t(419)])return;let e=Array[t(471)](this[t(477)][t(332)]());this[t(477)][t(440)]();for(let i=0;i<e[t(495)];i++){const n=e[i];let s=!1;for(const e of Object[t(487)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(353)](t=>null!==t),!e[t(495)])return;for(let i=0;i<e[t(495)];i++){const n=e[i];void 0!==n[t(523)]&&void 0===n[t(321)]&&(n[t(321)]=this[t(364)][t(589)](n.id)[t(321)]),void 0!==n[t(321)]&&void 0===n[t(523)]&&(n[t(523)]=this[t(364)][t(589)](n.id)[t(523)])}const i=this[t(355)][t(620)][t(344)](t(552));this[t(419)]=!0,this[t(490)](),this[t(371)][t(422)](e,i)[t(558)](()=>{this[t(419)]=!1})[t(584)](e=>{const i=t;if(e)for(const t of e)this[i(429)]({id:t.id,createdAt:t[i(346)]});this[i(324)](),this[i(519)]()})}[ft(591)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(523)],i=null!==i?i:t[n(321)];const s=this[n(483)][n(606)](e,i),r={diffData:s[n(565)],authorsIds:s[n(599)],fromVersion:e,toVersion:i};if(!t||i!==t[n(321)]){const t=i-1,e=this[n(450)][n(470)][n(504)](t);r[n(346)]=e&&e[n(346)]||new Date}if(this[n(384)]&&e===this[n(384)][n(523)])for(const t of this[n(384)][n(524)])r[n(599)][n(336)](t.id)||r[n(599)][n(597)](t.id);return r}[ft(428)](t,e,i){const n=ft;if(this[n(477)][n(541)](t)){const s=this[n(477)][n(344)](t);e=i?{...s,...e}:{...e,...s}}this[n(477)][n(395)](t,e)}[ft(429)](t){const e=ft,i=this[e(364)][e(589)](t.id);if(t[e(346)]&&(t[e(346)]=new Date(t[e(346)])),t[e(599)]){const i=this[e(355)][e(432)][e(344)](e(449));t[e(524)]=t[e(599)][e(521)](t=>i[e(625)](t))}i[e(535)](t,!0)}[ft(601)](t){const e=ft,i=this[e(364)][e(589)](this[e(364)][e(495)]-1);if(i)this[e(593)]=i.id;else{const i=!this[e(355)][e(596)][e(511)][e(354)][e(356)](t=>this[e(355)][e(596)][e(412)](t)),n=this[e(355)][e(432)][e(344)](e(449)).me.id,s=at(this[e(355)][e(537)],e(i?561:430));this[e(308)]({from:t,to:t,id:this[e(593)],name:s,creatorId:n})}}[ft(496)](t){const e=ft,i=this[e(450)][e(358)]();this[e(415)]=this[e(364)][e(589)](i),this[e(415)]||(this[e(415)]=this[e(308)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(569)](){const t=ft;this[t(573)]&&!this[t(384)]&&(await this[t(531)][t(335)](this[t(415)],this[t(371)]),this[t(483)][t(457)](this[t(415)]),this[t(384)]={fromVersion:this[t(415)][t(523)],authors:this[t(415)][t(524)][t(343)]()})}[ft(614)](e,i){const n=ft;let s=this[n(355)][n(620)][n(344)](n(438)),r=this[n(355)][n(620)][n(344)](n(463));if(void 0===s){s={};for(const t of this[n(355)][n(596)][n(511)][n(408)]())s[t]=""}if(n(574)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(355)][n(596)][n(511)][n(408)]())r[t]={}}let o=!1;const a=Object[n(487)](s),c=Object[n(487)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(503)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(487)](r[t])[n(495)]>0){o=!0;break}}o||(o=c[n(520)](t=>!this[n(355)][n(596)][n(511)][n(582)](t))),o&&(0,t.logWarning)(n(499),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(355)][n(620)][n(395)](n(438),e),this[n(355)][n(620)][n(395)](n(463),i)}[ft(490)](){const t=ft;if(!this[t(380)]){const e=this[t(355)][t(432)][t(344)](t(373));this[t(380)]=e[t(453)](at(this[t(355)][t(537)],t(325)))}}[ft(324)](){const t=ft;this[t(380)]&&(this[t(355)][t(432)][t(344)](t(373))[t(486)](this[t(380)]),this[t(380)]=null)}[ft(407)](t){const e=ft,i=this[e(364)][e(474)]();i[e(472)]();let n=0;for(;n<i[e(495)];){const s=i[n];if(s===this[e(415)]){n++;continue}if(s.id===this[e(593)])break;const r=t[e(321)]-s[e(321)]||t[e(523)]-s[e(523)];if(r>0)break;if(r<0)n++;else{if(!t[e(418)]&&s[e(418)])break;if(s[e(418)]||!t[e(418)]){if(t[e(346)]>s[e(346)])break;n++}else n++}}return n}[ft(322)](t){const e=ft,i=this[e(364)][e(474)]();i[e(472)](),i[e(545)]();const n=i[e(356)](i=>i[e(321)]<=t)[e(321)];return n<this[e(328)]?this[e(328)]:n}[ft(308)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(591)]({from:e,to:i});o[r(579)]=t,o[r(610)]=n,o.id=s;const a=this[r(466)](o);return this[r(371)]&&this[r(428)](o.id,o,!0),a}[ft(604)](){const t=ft;this[t(355)][t(583)][t(319)](t(359))[t(478)]({model:t(444)})}}class vt{[ft(355)];[ft(437)];[ft(436)];[ft(414)];[ft(390)];[ft(619)];[ft(536)];[ft(424)];[ft(492)];[ft(570)];[ft(571)];[ft(405)];[ft(417)];[ft(327)];[ft(434)];[ft(383)];[ft(385)];constructor(t){const e=ft;this[e(355)]=t,this[e(436)]=new Map,this[e(414)]=-1,this[e(390)]=-1,this[e(619)]=new Map,this[e(536)]=new Map,this[e(424)]=new Map,this[e(492)]=new Map,this[e(570)]=new Map,this[e(571)]=new Map,this[e(405)]=new Map,this[e(417)]=new Map,this[e(327)]=new Map,this[e(434)]=new Map,this[e(383)]=1}[ft(507)](t){const e=ft;this[e(437)]=t;const i=new Map,n=new Map,s=this[e(355)][e(596)][e(511)][e(354)][e(521)](t=>t[e(489)]);for(const t of s){const s=this[e(355)][e(596)][e(511)][e(582)](t),r=gt(s);i[e(395)](t,r),n[e(395)](t,Object[e(497)](s[e(398)]()))}const r=Array[e(471)](this[e(355)][e(596)][e(595)])[e(521)](t=>[t[e(579)],t[e(326)]()]),o=this[e(437)][e(564)];this[e(485)](o,i,r,n),this[e(385)]=this[e(383)];const a=new Map,c=new Map;for(const t of s){const i=yt(t);a[e(395)](t,i),c[e(395)](t,{})}this[e(485)](Number[e(551)],a,[],c)}[ft(606)](t,e){const i=ft;if(this[i(414)]===t&&this[i(390)]<=e)this[i(436)][i(616)]>1&&this[i(613)](this[i(390)]),this[i(500)](this[i(390)],e,!0);else{if(!this[i(436)][i(541)](t)){const e=this[i(600)](t);this[i(510)](e,t,!1)}this[i(510)](t,e,!0)}return this[i(414)]=t,this[i(390)]=e,this[i(581)]()}[ft(457)](t){const e=ft;if(!this[e(436)][e(541)](t[e(523)])){const i=this[e(600)](t[e(523)]);this[e(510)](i,t[e(523)],!1)}this[e(510)](t[e(523)],t[e(321)],!1);const i=this[e(355)][e(432)][e(344)](e(329));this[e(586)](),this[e(414)]=t[e(523)],this[e(390)]=t[e(321)];for(const n in t[e(565)]){const s=t[e(565)][n][e(404)],r=R(t[e(565)][n][e(372)])||{},o=i[e(452)](t[e(565)][n][e(603)]);o[e(489)]=n,o[e(467)]=!s||!s[e(506)],o[e(506)]=()=>o[e(467)],this[e(492)][e(395)](n,o),this[e(570)][e(395)](n,r),s&&this[e(434)][e(395)](n,s);const a=this[e(512)](o);this[e(405)][e(395)](n,a);for(const[t,i]of o[e(595)]){if(!t[e(580)](e(621)))continue;const n=t[e(553)](":")[2];for(const t of i[e(502)]({singleCharacters:!0})){const i=this[e(473)](t),s=e(505)==t[e(557)]?t[e(481)][e(375)][e(343)](0,-1):t[e(481)][e(375)],r=a[e(494)](s)[e(480)](i);this[e(417)][e(395)](r,{userId:n})}o[e(595)][e(400)](t)}}this[e(385)]=this[e(383)];const n=[...Array(this[e(383)])[e(487)]()][e(343)](1)[e(353)](t=>!this[e(417)][e(541)](t));let s=0;const r=new Map;for(const o in t[e(565)]){const a=t[e(565)][o][e(404)],c=R(t[e(565)][o][e(348)])||{},u=i[e(452)](t[e(565)][o][e(399)]);u[e(489)]=o,u[e(467)]=!a||a[e(506)],u[e(506)]=()=>u[e(467)],this[e(536)][e(395)](o,u),this[e(424)][e(395)](o,c);const l=this[e(512)](u,Number[e(551)]);this[e(571)][e(395)](o,l),r[e(395)](o,u[e(506)]()?c:{});for(const[t,i]of u[e(595)]){if(!t[e(580)](e(621)))continue;const n=t[e(553)](":")[2];for(const t of i[e(502)]({singleCharacters:!0})){const i=this[e(473)](t),s=this[e(383)]++,r=e(505)==t[e(557)]?t[e(481)][e(375)][e(343)](0,-1):t[e(481)][e(375)];l[e(494)](r)[e(540)](i,s),this[e(417)][e(395)](s,{userId:n})}u[e(595)][e(400)](t)}for(const t of this[e(355)][e(596)][e(421)](u)[e(502)]({singleCharacters:!0})){const i=this[e(473)](t),r=e(505)==t[e(557)]?t[e(481)][e(375)][e(343)](0,-1):t[e(481)][e(375)],o=l[e(494)](r);o[e(480)](i)>0||o[e(540)](i,n[s++])}for(const[t,i]of u[e(595)])t[e(580)](e(621))||this[e(619)][e(395)](t,i)}const{roots:o}=this[e(436)][e(344)](t[e(523)]),{roots:a}=this[e(436)][e(344)](t[e(321)]),c=gt(o[e(344)](e(311)));this[e(492)][e(395)](e(311),c),this[e(405)][e(395)](e(311),this[e(512)](c,Number[e(551)]));const u=gt(a[e(344)](e(311)));this[e(536)][e(395)](e(311),u),this[e(571)][e(395)](e(311),this[e(512)](u));const l=Array[e(471)](this[e(536)])[e(521)](([t,e])=>[t,gt(e)]);this[e(485)](this[e(390)],l,this[e(619)],r)}[ft(547)](){const t=ft;this[t(586)](),this[t(414)]=-1,this[t(390)]=-1,this[t(436)][t(440)](),this[t(507)](this[t(437)])}[ft(485)](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(395)](t,{start:e[s(409)][s(513)](),end:e[s(539)][s(513)](),rootName:e[s(397)][s(489)]});this[s(436)][s(395)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(613)](t){const e=ft;this[e(436)][e(400)](t)}[ft(586)](){const t=ft;this[t(417)][t(440)](),this[t(327)][t(440)](),this[t(434)][t(440)](),this[t(536)][t(440)](),this[t(424)][t(440)](),this[t(492)][t(440)](),this[t(570)][t(440)](),this[t(571)][t(440)](),this[t(405)][t(440)](),this[t(619)][t(440)](),this[t(383)]=1,this[t(385)]=this[t(383)]}[ft(512)](t,e=null){const i=ft;let n=null;t.is(i(517))||(n=new X.ModelElement(t[i(579)],{vid_start:null===e?this[i(383)]++:e++}));const s=[];for(const n of t[i(425)]())if(n.is(i(340))){s[i(597)](this[i(512)](n,e));const t=s[s[i(495)]-1];null!==e&&(e=t.is(i(340),i(548))?t[i(480)](i(357))+1:t[i(480)](i(435))+1)}else for(let t=0;t<n[i(567)];t++)s[i(597)](new X.ModelElement(i(548),{vid:null===e?this[i(383)]++:e++}));if(t.is(i(517))){const e=yt(t[i(489)]);return e[i(410)](0,s),e}return n[i(540)](i(435),null===e?this[i(383)]++:e++),n[i(410)](0,s),n}[ft(510)](t,e,i){const n=ft;this[n(586)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(436)][n(344)](t);this[n(492)]=new Map(s),this[n(570)]=new Map(R(o));for(const[t,e]of this[n(492)])if(n(311)!==t&&(this[n(536)][n(395)](t,gt(e)),this[n(424)]=new Map(R(o)),i)){const i=this[n(383)];this[n(571)][n(395)](t,this[n(512)](e)),this[n(405)][n(395)](t,this[n(512)](e,i))}this[n(385)]=this[n(383)],this[n(536)][n(395)](n(311),gt(this[n(492)][n(344)](n(311)))),i&&this[n(571)][n(395)](n(311),this[n(512)](this[n(492)][n(344)](n(311))));for(const[t,e]of r){const i=this[n(492)][n(344)](e[n(489)]),s=this[n(536)][n(344)](e[n(489)]),r=new X.ModelRange(this[n(491)](e[n(409)],i),this[n(491)](e[n(539)],i)),o=this[n(515)](r,s);i[n(595)][n(395)](t,r),this[n(619)][n(395)](t,o)}this[n(500)](t,e,i)}[ft(500)](t,e,i){const n=ft;for(const s of this[n(437)][n(624)](t,e))this[n(339)](s,i);for(const t of this[n(536)][n(332)]())t[n(595)][n(440)]();for(const[t,e]of this[n(619)])this[n(536)][n(344)](e[n(397)][n(489)])[n(595)][n(395)](t,e[n(513)]());const s=new Map,r=new Map;for(const[t,e]of this[n(536)])s[n(395)](t,gt(e)),r[n(395)](t,this[n(424)][n(344)](t));this[n(485)](e,s,this[n(619)],r)}[ft(600)](t){const e=ft,i=Array[e(471)](this[e(436)][e(487)]());i[e(585)]((t,e)=>t-e),i[e(472)]();for(const e of i)if(e<t)return e;return Number[e(551)]}[ft(488)](t,e){const i=ft,n=Array[i(471)](e[i(595)])[i(521)](([e,n])=>[e,this[i(515)](n,t)]);t[i(595)]=new Map(n)}[ft(538)](t){const e=ft;for(const i of this[e(619)][e(332)]()){const n=i[e(525)](t),s=X.ModelRange[e(508)](n);i[e(409)]=s[e(409)],i[e(539)]=s[e(539)]}}[ft(339)](t,e){const i=ft;if(i(310)!=t[i(557)]&&i(307)!=t[i(557)]){if(i(431)==t[i(557)]){const n=t[i(602)][i(397)][i(489)];this[i(536)][i(541)](n)||(this[i(536)][i(395)](n,yt(n,!0)),this[i(424)][i(395)](n,{}),e&&this[i(571)][i(395)](n,yt(n,!0)))}else{if(i(534)==t[i(557)]||i(393)==t[i(557)]||i(543)==t[i(557)])return void this[i(386)](t);i(360)==t[i(557)]&&this[i(318)](t)}if(i(360)!==t[i(557)]){const e=this[i(351)](t,this[i(536)]);e[i(514)](),this[i(538)](e)}if(e)switch(t[i(557)]){case i(431):this[i(446)](t);break;case i(618):case i(486):case i(401):this[i(352)](t);break;case i(594):this[i(532)](t);break;case i(553):this[i(516)](t)}}else this[i(333)](t,e)}[ft(351)](t,e){const i=ft,n=t[i(513)]();return n[i(367)]=t[i(367)],this[i(441)](n,e),n}[ft(587)](t){const e=ft;return t[e(521)](t=>{const i=e,n=this[i(473)](t);return Number(t[i(323)][i(480)](n))})}[ft(560)](t,e){const i=ft;if(t.is(i(340),i(548)))e[i(597)]({item:t,type:i(611)});else{t.is(i(340))&&e[i(597)]({item:t,type:i(345)});for(const n of t[i(425)]())this[i(560)](n,e);t.is(i(340))&&e[i(597)]({item:t,type:i(505)})}return e}[ft(581)](){const t=ft,e=new Map(this[t(417)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(492)][t(487)](),...this[t(536)][t(487)]()]);a[t(400)](t(311));for(const e of a){const i=this[t(536)][t(344)](e)||yt(e,!1),n=this[t(492)][t(344)](e)||yt(e,!1);i[t(506)]()||n[t(506)]()?(s[t(399)][e]=gt(i),s[t(603)][e]=gt(n),this[t(488)](s[t(603)][e],n),this[t(488)](s[t(399)][e],i),r[t(399)][e]=this[t(560)](this[t(571)][t(344)](e),[]),r[t(603)][e]=this[t(560)](this[t(405)][t(344)](e)||yt(e,!1),[])):a[t(400)](e)}for(const s of a){const o=r[t(399)][s];for(const s of o){const r=this[t(473)](s),o=s[t(323)][t(480)](r);i[t(400)](o),o>=this[t(385)]&&n[t(395)](o,e[t(344)](o))}}for(const s of a){const a=r[t(399)][s],c=this[t(587)](r[t(603)][s]);let u=0;for(const s of a){const r=this[t(473)](s),a=s[t(323)][t(480)](r);if(!n[t(541)](a)&&!o[t(541)](a))if(i[t(541)](a))u++;else{if(a!=c[u]){const n=e[t(344)](a)||e[t(344)](c[u]);for(;a!=c[u];)i[t(541)](c[u])||(o[t(395)](c[u],n),e[t(395)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(399)][e];for(const e of s){const s=this[t(473)](e),r=e[t(323)][t(480)](s);if(o[t(541)](r)){const e=o[t(344)](r);i[t(541)](r)||i[t(395)](r,{...e}),n[t(395)](r,{...e})}}}for(const e of i[t(487)]())e>=this[t(385)]&&i[t(400)](e);const c=new Map;for(const e of a){let s=r[t(399)][e];for(const e of s)if(e[t(323)].is(t(340),t(312))){const i=this[t(473)](e),s=e[t(323)][t(480)](i);if(n[t(541)](s)){const i=e[t(323)][t(392)][t(392)][t(480)](t(458)),r=c[t(344)](i)||new Set;r[t(453)](n[t(344)](s)[t(342)]),c[t(395)](i,r)}}s=r[t(603)][e];for(const e of s)if(e[t(323)].is(t(340),t(312))){const n=this[t(473)](e),s=e[t(323)][t(480)](n);if(i[t(541)](s)){const n=e[t(323)][t(392)][t(392)][t(480)](t(458)),r=c[t(344)](n)||new Set;r[t(453)](i[t(344)](s)[t(342)]),c[t(395)](n,r)}}for(const e of c[t(487)]())(n[t(541)](e)||i[t(541)](e))&&c[t(400)](e)}for(const e of a){const s=r[t(399)][e];let o=null,a=null;for(const e of s){const s=this[t(473)](e),r=e[t(323)][t(480)](s),u=c[t(344)](r);u&&t(345)==e[t(557)]&&(o=Array[t(471)](u)[0],a=e[t(323)][t(480)](t(435))),o&&(i[t(395)](r,{userId:o}),n[t(395)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(603)][e],a=s[t(399)][e];for(const{userId:e}of this[t(327)][t(332)]())null!==e&&l[t(453)](e);for(const{userId:e}of this[t(434)][t(332)]())null!==e&&l[t(453)](e);this[t(402)](a,r[t(399)][e],n,t(370),l),this[t(402)](o,r[t(603)][e],i,t(306),l),u[e]={insertions:this[t(460)](a),deletions:this[t(460)](o),attachChange:this[t(434)][t(344)](e)||null,attributesBefore:R(this[t(570)][t(344)](e))||{},attributesAfter:R(this[t(424)][t(344)](e))}}return{diffData:u,authorsIds:Array[t(471)](l)}}[ft(615)](t){const e=ft;for(const[,i]of t[e(595)]){const t=i[e(409)][e(361)]()[e(353)](t=>e(312)==t[e(579)]);for(const i of t)1==i[e(362)]&&i[e(411)](0).is(e(340),e(439))&&i[e(411)](0)[e(540)](e(347),!0)}}[ft(460)](t){const e=ft;this[e(615)](t);const i=this[e(355)][e(622)][e(381)](t,{}),n=Array[e(471)](i[e(425)]())[e(521)](t=>this[e(498)](t));return JSON[e(334)](n)}[ft(498)](t){const e=ft;if(t.is(e(548)))return t[e(622)];{const i=this[e(355)][e(432)][e(344)](e(329)),n=t,s=this[e(355)][e(622)][e(447)][e(350)],r={type:i[e(526)](n),name:n[e(579)],attributes:Array[e(471)](n[e(398)]()),children:Array[e(471)](n[e(425)]())[e(521)](t=>this[e(498)](t))};if(t.is(e(374))&&e(612)!=t[e(579)]){const i=t[e(542)](s[e(376)],s);r[e(396)][e(597)](i[e(338)])}else if(t.is(e(388))){const i=s[e(376)][e(416)](n[e(579)]);t[e(542)](i,s),r[e(396)][e(597)](i[e(391)])}const o=Array[e(471)](n[e(623)]());o[e(495)]>0&&(r[e(575)]=o);const a=n[e(443)]();return null!==a&&(r[e(369)]=a),r}}[ft(402)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(355)][r(596)];for(let n=0;n<e[r(495)];n++){const s=this[r(473)](e[n]),c=e[n][r(323)][r(480)](s),h=i[r(344)](c),d=n==e[r(495)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(342)]!=o[r(342)])&&(l(h,kt(a,t,u),kt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,kt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(342)],d=l(621)+n+":"+h+":"+c++,f=u[l(315)](i,a);t[l(595)][l(395)](d,f),null!==h&&s[l(453)](h)}}[ft(473)](t){const e=ft;switch(t[e(557)]){case e(345):return e(458);case e(505):return e(435);default:return e(357)}}[ft(441)](t,e){const i=ft;t[i(406)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(344)](s[i(397)][i(489)]);t[n]=this[i(491)](s,r)}if(s instanceof X.ModelRange){const r=e[i(344)](s[i(397)][i(489)]);t[n]=this[i(515)](s,r)}i(397)===n&&(t[i(397)]=e[i(344)](t[i(397)][i(489)]))}}[ft(515)](t,e){const i=ft;return this[i(355)][i(596)][i(315)](this[i(491)](t[i(409)],e),this[i(491)](t[i(539)],e))}[ft(491)](t,e){const i=ft;return this[i(355)][i(596)][i(550)](e,t[i(375)],t[i(609)])}[ft(446)](t){const e=ft,i=this[e(571)][e(344)](t[e(602)][e(397)][e(489)]),n=this[e(491)](t[e(602)],i),s=null===t[e(367)]?null:t[e(367)]||this[e(355)][e(432)][e(344)](e(449)).me.id,r=n[e(392)],o=this[e(383)],a=[];for(const i of t[e(484)])if(i.is(e(340)))a[e(597)](this[e(512)](i));else for(let t=0;t<i[e(567)];t++)a[e(597)](new X.ModelElement(e(548),{vid:this[e(383)]++}));const c=this[e(383)];for(let t=o;t<c;t++)this[e(417)][e(395)](t,{userId:s});r[e(410)](n[e(476)],a)}[ft(352)](t){const e=ft;(t=this[e(351)](t,this[e(571)]))[e(514)]();const i=null===t[e(367)]?null:t[e(367)]||this[e(355)][e(432)][e(344)](e(449)).me.id,n=t[e(522)](),s=n[e(392)],r=n[e(476)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(411)](e);r.is(a(340),a(548))?n[a(395)](r[a(480)](a(357)),{userId:i}):(n[a(395)](r[a(480)](a(458)),{userId:i}),t(n,r,0,r[a(362)]),n[a(395)](r[a(480)](a(435)),{userId:i}))}}(this[e(417)],s,r,r+t[e(423)])}[ft(532)](t){const e=ft,i=null===(t=this[e(351)](t,this[e(571)]))[e(367)]?null:t[e(367)]||this[e(355)][e(432)][e(344)](e(449)).me.id,n=t[e(387)][e(392)],s=t[e(377)][e(392)],r=n[e(480)](e(435)),o=s[e(480)](e(458));n[e(540)](e(435),s[e(480)](e(435))),s[e(540)](e(435),r),this[e(417)][e(395)](o,{userId:i}),this[e(417)][e(395)](r,{userId:i}),t[e(514)]()}[ft(516)](t){const e=ft,i=null===(t=this[e(351)](t,this[e(571)]))[e(367)]?null:t[e(367)]||this[e(355)][e(432)][e(344)](e(449)).me.id,n=t[e(556)],s=t[e(627)][e(392)];t[e(514)]();const r=s[e(480)](e(435)),o=t[e(608)][e(588)];if(n){const t=o[e(480)](e(435)),n=s[e(480)](e(435));s[e(540)](e(435),t),o[e(540)](e(435),n),this[e(417)][e(395)](s[e(480)](e(435)),{userId:i}),this[e(417)][e(395)](o[e(480)](e(458)),{userId:i})}else{const t=this[e(383)]++,n=this[e(383)]++;s[e(540)](e(435),t),o[e(540)](e(458),n),o[e(540)](e(435),r),this[e(417)][e(395)](t,{userId:i}),this[e(417)][e(395)](n,{userId:i})}}[ft(318)](t){const e=ft;if(!t[e(313)])return;const i=(t=this[e(351)](t,this[e(536)]))[e(451)]?t[e(451)][e(397)]:null,n=t[e(459)]?t[e(459)][e(397)]:null;i&&this[e(619)][e(400)](t[e(579)]),n&&this[e(619)][e(395)](t[e(579)],t[e(459)][e(513)]());const s=null===t[e(367)]?null:t[e(367)]||this[e(355)][e(432)][e(344)](e(449)).me.id,r=t[e(579)];if(!this[e(327)][e(541)](r))return void this[e(327)][e(395)](r,{range:t[e(451)],userId:s});const o=this[e(327)][e(344)](r),a=o[e(530)],c=t[e(459)];null==a&&null==c||a&&c&&a[e(368)](c)?this[e(327)][e(400)](t[e(579)]):o[e(342)]=s}[ft(333)](t,e){const i=ft;this[i(536)][i(541)](t[i(489)])?this[i(536)][i(344)](t[i(489)])[i(467)]=t[i(554)]:(this[i(536)][i(395)](t[i(489)],yt(t[i(489)],!0)),this[i(424)][i(395)](t[i(489)],{}),e&&this[i(571)][i(395)](t[i(489)],yt(t[i(489)],!0)));const n=null===t[i(367)]?null:t[i(367)]||this[i(355)][i(432)][i(344)](i(449)).me.id,s=this[i(434)][i(344)](t[i(489)]);s&&s[i(342)]===n?this[i(434)][i(400)](t[i(489)]):this[i(434)][i(395)](t[i(489)],{userId:n,isAttached:t[i(554)]})}[ft(386)](t){const e=ft,i=this[e(424)][e(344)](t[e(397)][e(489)]);null===t[e(442)]?delete i[t[e(578)]]:i[t[e(578)]]=t[e(442)]}}function gt(t){const e=ft,i=yt(t[e(489)],t[e(506)]());for(const n of t[e(425)]()){const t=n[e(461)](!0);i[e(626)](t)}return i}function yt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(489)]=t,n[i(467)]=e,n[i(506)]=()=>n[i(467)],n}function kt(t,e,i){const n=ft,s=n(505)==t[n(557)]?i[n(365)](t[n(323)],n(539)):i[n(394)](t[n(323)]);return i[n(550)](e,s[n(375)],s[n(609)])}function bt(){const t=["trialLimit","getNodeByPath","length","_createCurrentRevision","fromEntries","_getViewJson","editor-initial-data-replaced-with-revision-data","_applyOperations","bind","getWalker","trim","getOperation","elementEnd","isAttached","init","_createFromRanges","5664wwYvrQ","_calculateMetaData","document","_makeIdsRoot","clone","_execute","_fixRange","_handleSplitOperation","documentFragment","isPremiumPlugin","sendBufferedUpdates","some","map","getMovedRangeStart","fromVersion","authors","getTransformedByOperation","_getTypeCharForViewElement","invalid","revisionHistoryLicenseKeyEvaluationLimit","domainLimit","range","_utils","_handleMergeOperation","createPositionAfter","addRootAttribute","_update","_diffRoots","locale","_transformMarkers","end","_setAttribute","has","render","changeRootAttribute","7801090TNbGqw","shift","revisionHistoryLicenseKeyValid","reInit","$text","requires","createPositionFromPath","NEGATIVE_INFINITY","collaboration.channelId","split","isAdd","revisionHistoryLicenseKeyTrialLimit","graveyardPosition","type","finally","initial","_generateTape","Empty document","revisionHistoryLicenseKeyInvalid","createRevision","version","diffData","revisionHistory.resumeUnsavedRevision","offsetSize","define","_loadState","_baseRootsAttributes","_idsRoots","isEnabled","_continueCurrentRevision","string","customProperties","getLatestVersion","revisionHistoryLicenseKeyNotAllowed","key","name","startsWith","_getState","getRoot","conversion","then","sort","_reset","_getBaseVids","nodeAfter","getRevision","revisionHistoryLicenseKeyUsageLimit","buildRevisionData","getTime","_initialRevisionId","merge","markers","model","push","23773338BTrvlX","authorsIds","_getPreviousFrom","_createInitialRevision","position","deletions","_setConversion","evaluationLimit","getData","dataToMarker","insertionPosition","stickiness","creatorId","text","$comment","_removeMetaData","_replaceEditorDataWithRevisionData","_processRootBeforeSave","size","_licenseKeyCheckInterval","move","_markers","config","revision:","data","getCustomProperties","getOperations","getUser","_appendChild","splitPosition","deletion","detachRoot","_makeRevision","2678706DzTjxv","addRoot","$graveyard","tableCell","affectsData","RevisionsRepository","createRange","update","RevisionHistory","_handleMarkerOperation","for","RevisionTracker","toVersion","_getFromVersion","item","_removePendingAction","PENDING_ACTION_REVISION_HISTORY","getRange","_touchedMarkers","_startingVersion","RevisionHistoryUtils","saveRevision","upcast","values","_handleRootOperation","stringify","loadRevisionData","includes","revisionHistoryLicenseKeyExpired","outerHTML","_handleOperation","element","usageLimit","userId","slice","get","elementStart","createdAt","keepParagraph","attributesAfter","getRevisionRootsAttributes","domConverter","_cloneOperation","_handleMoveOperation","filter","roots","editor","find","vid","getCurrentRevisionId","dataDowncast","marker","getAncestors","childCount","pluginName","repository","createPositionAt","licenseKey","_authorId","isEqual","fillerOffset","insertion","adapter","attributesBefore","PendingActions","uiElement","path","domDocument","sourcePosition","isOfficialPlugin","_isInit","_pendingAction","toView","RealTimeCollaborationClient","_revisionId","_loadedStateData","_startingRevisionId","_handleRootAttributeOperation","targetPosition","rawElement","getRevisionDocumentData","_lastTo","innerHTML","parent","removeRootAttribute","createPositionBefore","set","children","root","getAttributes","insertions","delete","reinsert","_markChanges","destroy","attachChange","_baseIdsRoots","baseVersion","_findInsertionIndex","getRootNames","start","_insertChild","getChild","hasContent","1072494snBvhL","_lastFrom","currentRevision","createElement","_touched","creator","_isPendingUpdate","getIndex","createRangeIn","updateRevisions","howMany","_diffRootsAttributes","getChildren","_showLicenseError","ready","_bufferUpdate","setRevisionData","Initial revision","insert","plugins","afterInit","_touchedRoots","vid_end","_savedMetaData","source","initialData","paragraph","clear","_fixOperation","newValue","getFillerOffset","revision","addRevision","_handleInsertOperation","htmlProcessor","featureNotAllowed","Users","_source","oldRange","_makeModelFromViewString","add","max","expired","_operations","loadState","vid_start","newRange","_prepareViewToSave","_clone","resolve","rootsAttributes","756dBmSvx","isReady","addRevisionData","_isAttached","360oOOGuT","setSource","history","from","reverse","_getVidAttributeName","getRevisions","798363bWgkZP","offset","_bufferedUpdates","markerToData","64001nVVMDJ","getAttribute","previousPosition","revisionHistoryLicenseKeyDomainLimit","_revisionDataBuilder","nodes","_saveMetaData","remove","keys","_copyMarkers","rootName","_addPendingAction","_fixPosition","_baseRoots"];return(bt=function(){return t})()}function wt(t,e,i){const n=ft,s=n(345)==t[n(557)]?i[n(365)](t[n(323)],0):i[n(533)](t[n(323)]);return i[n(550)](e,s[n(375)],s[n(609)])}var _t=i(355),It=i(311),St=i(6),Ot=i.n(St),xt=i(602),Tt=i.n(xt),Nt=i(557),At=i.n(Nt),Rt=i(302),Mt=i.n(Rt),Vt=i(290),Et=i.n(Vt),Dt=i(606),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=Tt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(660),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=At().bind(null,"head"),jt.domAPI=Tt(),jt.insertStyleElement=Et();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=Wt;function Pt(){const t=["ck-revision-history-save-revision-form","5336jaNBWo","set","2711952xqbjoh","arrowright","arrowleft","add","setTemplate","arrowup","revisionNameInputValue","form","focus","220","listenTo","errorText","revisionNameInputView","extendTemplate","8586170vFbcyi","1359470GJpEck","4omRKNz","288217jvMxbF","Name of the revision","6503168rhSKIX","8654040zudXwU","stopPropagation","optional","_createRevisionNameInput","reset","30kopbaB","arrowdown","render","keystrokes","ck-responsive-form","input","element","12861UUnlVs","locale","revisionName","value","label","fieldView","trim","focusTracker","initializeCssTransitionDisablerMixin"];return(Pt=function(){return t})()}function Wt(t,e){const i=Pt();return(Wt=function(t,e){return i[t-=441]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(960325===parseInt(e(473))/1+parseInt(e(472))/2*(-parseInt(e(456))/3)+parseInt(e(475))/4+parseInt(e(476))/5+-parseInt(e(481))/6*(parseInt(e(471))/7)+parseInt(e(454))/8*(parseInt(e(444))/9)+-parseInt(e(470))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(451)];[Lt(484)];[Lt(468)];constructor(e,i){const n=Lt;super(e),this[n(451)]=new t.FocusTracker,this[n(484)]=new t.KeystrokeHandler,this[n(455)](n(462),""),this[n(468)]=this[n(479)](i),this[n(460)]({tag:n(463),attributes:{class:["ck",n(453),n(441)],tabindex:"-1"},children:[this[n(468)]]}),this[n(452)]()}[Lt(483)](){const t=Lt;super[t(483)](),(0,It.submitHandler)({view:this}),this[t(451)][t(459)](this[t(468)][t(443)]),this[t(484)][t(466)](this[t(443)]);const e=e=>e[t(477)]();this[t(484)][t(455)](t(457),e),this[t(484)][t(455)](t(458),e),this[t(484)][t(455)](t(461),e),this[t(484)][t(455)](t(482),e)}[Lt(464)](){const t=Lt;this[t(468)][t(464)]()}get[Lt(446)](){const t=Lt;return this[t(468)][t(449)][t(443)][t(447)][t(450)]()}set[Lt(446)](t){const e=Lt;this[e(468)][e(449)][e(443)][e(447)]=t[e(450)]()}[Lt(480)](){const t=Lt;this[t(468)][t(449)][t(443)][t(447)]="",this[t(468)][t(467)]=null}[Lt(479)](t){const e=Lt,i=new It.LabeledFieldView(this[e(445)],It.createLabeledInputText),n=i[e(449)];n[e(469)]({attributes:{maxlength:e(465)}});let s=at(this[e(445)],e(474));return!t&&(s+=" ("+at(this[e(445)],e(478))+")"),i[e(448)]=s,n.on(e(442),()=>{const t=e;this[t(462)]=n[t(443)][t(447)][t(450)]()}),i}}const Ut=Zt;function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=338]})(t,e)}function Ht(){const t=["isReadOnly","componentFactory","editor","role","_showDialog","69TOGGbd","revisionSave","errorText","config","1927740bnYVGt","ck-button-action","isReady","48btpWJO","50apAxBn","7153716PSzaoi","16624XkehOq","Accept","isOpen","editing","saveRevision","show","focus","panelView","849627XSPJHa","isEnabled","revisionHistory","1616589weQchd","_registerMenuComponent","revisionNameInputView","Cancel","revisionHistory.requireRevisionName","RevisionTracker","reset","The revision name cannot be empty.","get","view","set","hide","items","isPremiumPlugin","286069HtFwUA","bind","RevisionHistoryUI","execute","render","292006NlAjjH","isOfficialPlugin","pluginName","Dialog","menu","_saveRevisionFormView","Open revision history","showRevisionViewerCallback","menuitem","locale","init","requires","addMany","Save current revision","menuBar:revisionHistory","plugins","5FGUlPh","_createSaveRevisionFormView","6eiRFWi","submit","buttonView","add","Revision history","children","revisionName","delegate"];return(Ht=function(){return t})()}!function(t){const e=Zt,i=t();for(;;)try{if(303398===-parseInt(e(358))/1*(parseInt(e(368))/2)+parseInt(e(379))/3+parseInt(e(362))/4*(parseInt(e(343))/5)+parseInt(e(345))/6*(-parseInt(e(393))/7)+-parseInt(e(365))/8*(parseInt(e(376))/9)+-parseInt(e(366))/10*(parseInt(e(398))/11)+parseInt(e(367))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class $t extends J.Plugin{static get[Ut(400)](){return Ut(395)}static get[Ut(399)](){return!0}static get[Ut(392)](){return!0}static get[Ut(338)](){return[pt]}[Ut(403)];[Ut(408)](){const t=Ut,e=this[t(355)],i=e[t(342)][t(387)](t(384));e.ui[t(354)][t(348)](t(378),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(375)][s(350)],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(394)](s(377)).to(i,s(364),i,s(377),e,s(353),(t,e,i)=>t&&e&&!i),r[s(347)][s(389)]({icon:_t.IconHistory,label:at(n,s(349)),tooltip:!0}),u[s(389)]({label:at(n,s(340)),withText:!0,role:s(406)}),u[s(394)](s(377)).to(i,s(364),i,s(377),e,s(353),(t,e,i)=>t&&e&&!i),u.on(s(396),()=>this[s(357)]()),h[s(389)]({label:at(n,s(404)),withText:!0,role:s(406)}),h[s(394)](s(377)).to(i,s(364),e,s(353),(t,e)=>t&&!e),h.on(s(396),()=>{const t=s;e[t(361)][t(387)](t(378))[t(405)](),r[t(370)]=!1,e[t(371)][t(388)][t(374)]()}),c[s(350)][s(348)](u),l[s(350)][s(348)](h),a[s(356)]=s(402),a[s(391)][s(339)]([c,l]),o[s(348)](a),r}),e.ui[t(354)][t(348)](t(341),()=>this[t(380)]())}[Ut(380)](){const t=Ut,e=this[t(355)],i=e[t(407)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(347)][t(389)]({icon:_t.IconHistory,label:at(i,t(349))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(389)]({label:at(i,t(340))}),o[t(352)](t(396)).to(n),o.on(t(396),()=>{this[t(357)]()}),r[t(350)][t(348)](o),s[t(391)][t(348)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(389)]({label:at(i,t(404))}),c[t(352)](t(396)).to(n),c.on(t(396),()=>{const i=t;e[i(361)][i(387)](i(378))[i(405)]()}),a[t(350)][t(348)](c),s[t(391)][t(348)](a),n[t(375)][t(350)][t(348)](s),n}[Ut(357)](){const t=Ut,e=this[t(355)],i=e[t(407)],n=e[t(342)][t(387)](t(401)),s=e[t(342)][t(387)](t(384));function r(s){const r=t;e[r(361)][r(387)](r(383))&&""===s[r(351)]?s[r(381)][r(360)]=at(i,r(386)):(e[r(342)][r(387)](pt)[r(372)]({name:s[r(351)]}),n[r(390)]())}this[t(403)]||(this[t(344)](),this[t(403)].on(t(346),()=>r(this[t(403)]))),this[t(403)][t(385)](),n[t(373)]({id:t(359),title:at(i,t(340)),isModal:!0,content:this[t(403)],actionButtons:[{label:at(e[t(407)],t(382)),withText:!0,onExecute:()=>n[t(390)]()},{label:at(e[t(407)],t(369)),class:t(363),withText:!0,onCreate(i){const n=t;i[n(394)](n(377)).to(s,n(364),s,n(377),e,n(353),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(403)])}]})}[Ut(344)](){const t=Ut,e=this[t(355)],i=e[t(407)];this[t(403)]=new zt(i,e[t(361)][t(387)](t(383))),this[t(403)][t(397)]()}}const qt=Bt;function Bt(t,e){const i=Gt();return(Bt=function(t,e){return i[t-=131]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(668167===parseInt(e(136))/1+parseInt(e(158))/2*(-parseInt(e(139))/3)+-parseInt(e(160))/4+parseInt(e(146))/5*(-parseInt(e(132))/6)+parseInt(e(133))/7+-parseInt(e(131))/8*(parseInt(e(155))/9)+parseInt(e(149))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Yt extends It.View{[qt(137)];[qt(154)];constructor(t,e){const i=qt;super(t),this[i(154)]=e,this[i(137)]=e.id;const n=this[i(147)],s=at(t,e[i(141)][i(153)]?i(161):i(145)==e[i(162)]?i(140):i(144));this[i(159)](i(162),e[i(162)]),this[i(143)]({tag:i(148),attributes:{class:[i(135),i(138),n.to(i(162),t=>i(150)+t)],tabindex:-1},children:[{tag:i(142),children:[{tag:i(142),attributes:{class:[i(156)]},children:[{text:s}]},{text:" "+e[i(134)][i(152)]}]}]})}[qt(157)](){const t=qt;this[t(151)][t(157)]()}}function Gt(){const t=["451802ZYiBDs","changeId","ck-revision-change","3fLXvEe","Added by","data","span","setTemplate","Removed by","add","5jYsmmD","bindTemplate","div","11353240ZGGWXr","ck-revision-change__","element","name","isSuggestion","_model","198nyuwuJ","ck-revision-change__label","focus","1432712jqncJi","set","802428UynZwW","Suggested by","type","22936ErzOrG","2826042rnzgoi","3724595DSeWNY","author","ck-annotation"];return(Gt=function(){return t})()}function Jt(){var t=["rootName","4092768sHMQiQ","51sXmyLB","5386139veAmMG","448ikwium","createdAt","35356hJSOHT","185JQxaXm","12bvVbcy","author","type","toJSON","1630250iKYxTP","set","55746iIylHB","292962RjFWIW","data","11744ufxPot","3Avjsyp"];return(Jt=function(){return t})()}var Kt=Xt;function Xt(t,e){var i=Jt();return(Xt=function(t,e){return i[t-=359]})(t,e)}!function(t){for(var e=Xt,i=t();;)try{if(280115===-parseInt(e(369))/1*(-parseInt(e(366))/2)+-parseInt(e(372))/3*(-parseInt(e(376))/4)+-parseInt(e(377))/5*(parseInt(e(365))/6)+-parseInt(e(374))/7*(parseInt(e(368))/8)+parseInt(e(371))/9+parseInt(e(363))/10+-parseInt(e(373))/11*(parseInt(e(359))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Qt extends((0,t.ObservableMixin)()){id;[Kt(360)];[Kt(361)];[Kt(367)];[Kt(370)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(360)]=e[i(360)],this[i(361)]=e[i(361)],this[i(367)]=e[i(367)]||{},this[i(370)]=e[i(370)],this[i(364)](i(375),e[i(375)])}[Kt(362)](){var t=Kt;return{id:this.id,authorId:this[t(360)].id,type:this[t(361)],data:this[t(367)],createdAt:this[t(375)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=122]})(t,e)}function ie(){const t=["430TjzGSM","oldRevisionId","newRevisionId","124908eBLQJg","626551wSPlLZ","13775124vacLes","_setChanges","changes","235543qLdJXl","3bALVKq","4216588sgBuon","add","1262538jojYob","5552PMPwcw","5FwkIAU","390gPhWhf","828YfMWoH"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(641305===-parseInt(e(122))/1+-parseInt(e(130))/2*(parseInt(e(127))/3)+parseInt(e(128))/4*(parseInt(e(132))/5)+parseInt(e(133))/6*(-parseInt(e(138))/7)+-parseInt(e(131))/8*(parseInt(e(134))/9)+parseInt(e(135))/10*(parseInt(e(126))/11)+parseInt(e(123))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[te(137)];[te(136)];[te(125)];constructor(e,i){const n=te;this[n(137)]=e,this[n(136)]=i,this[n(125)]=new t.Collection}[te(124)](t){const e=te;for(const i of t)this[e(125)][e(129)](i)}}var se=i(316),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=Tt(),re.insertStyleElement=Et();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=he;!function(t){const e=he,i=t();for(;;)try{if(125684===-parseInt(e(428))/1+parseInt(e(535))/2*(-parseInt(e(404))/3)+-parseInt(e(595))/4+-parseInt(e(400))/5*(parseInt(e(510))/6)+-parseInt(e(628))/7+-parseInt(e(568))/8+-parseInt(e(519))/9*(-parseInt(e(432))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ae extends J.Plugin{[oe(449)];[oe(570)]=null;[oe(494)];[oe(685)];[oe(445)];[oe(409)];[oe(549)];static get[oe(426)](){return oe(572)}static get[oe(589)](){return!0}static get[oe(423)](){return!0}static get[oe(529)](){return[K.Users,It.ContextualBalloon,it,rt]}constructor(t){const e=oe;super(t),this[e(449)]=this[e(652)][e(659)][e(614)](e(422)),this[e(494)]=this[e(652)][e(659)][e(614)](e(487)),this[e(503)](e(394),null),this[e(503)](e(505),null),this[e(685)]=null,this[e(503)](e(560),null),this[e(503)](e(391),!1),this[e(503)](e(393),!0),this.on(e(674),(t,i,n)=>{const s=e;this[s(394)]=null,this[s(505)]=null,this[s(652)][s(459)][s(389)][s(526)](t=>{const e=s;for(const i of this[e(652)][e(459)][e(389)][e(662)][e(585)])n?t[e(575)](e(668),i):t[e(406)](e(668),i)})}),this[e(561)](e(586)).to(this,e(394),t=>null!==t),this[e(561)](e(396)).to(this,e(391),this,e(560),this,e(394),(t,i,n)=>t&&n?i[e(378)][e(399)](n):0),this[e(561)](e(502)).to(this,e(391),this,e(560),(t,i)=>t?i[e(378)][e(554)]:0),this[e(445)]=null,this[e(409)]=new Map,this[e(549)]=this[e(652)][e(659)][e(614)](It.ContextualBalloon)}[oe(499)](){const t=oe,e=this[t(652)],i=new de(e,{direction:t(625)}),n=new de(e,{direction:t(598)});e[t(574)][t(578)](t(629),i),e[t(574)][t(578)](t(509),n),e[t(574)][t(578)](t(385),new le(e)),this.on(t(618),()=>{const e=t;i[e(686)](),n[e(686)]()}),this[t(455)](),this[t(584)](),e[t(660)](t(433)),e[t(659)][t(564)](t(678))&&e[t(659)][t(614)](t(678))[t(650)](t(433))}async[oe(419)](t){const e=oe;return await this[e(494)][e(671)](t,this[e(570)]),this[e(494)][e(419)](t)}async[oe(471)](t){const e=oe;return await this[e(494)][e(671)](t,this[e(570)]),this[e(494)][e(471)](t)}async[oe(607)](t,e,i=!1){const n=oe;if(!this[n(393)])return;const s=this[n(560)],r=this[n(449)],o=n(576)==typeof t?r[n(623)](t):t,a=n(576)==typeof e?r[n(623)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(560)]&&this[n(560)][n(386)]===c&&this[n(560)][n(562)]===u)return Promise[n(533)]();this[n(391)]=!1,this[n(505)]=null,this[n(394)]=null,this[n(560)]=new ne(c,u);const l=this[n(552)](o,a,!0)[n(416)](t=>this[n(494)][n(671)](t,this[n(570)]));return l[n(501)](new Promise(t=>{setTimeout(t,20)})),Promise[n(642)](l)[n(401)](()=>{const t=n;if(!this[t(393)])return;this[t(486)]();const e=this[t(417)](c,u);for(const i of e[t(378)])this[t(409)][t(503)](i.id,i);this[t(652)][t(517)][t(638)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(652)][n(517)][n(662)][n(591)]())i[n(534)](t);for(const t of Object[n(640)](e[n(517)])){const s=i[n(594)](t);for(const r of Object[n(640)](e[n(647)][t]))i[n(388)](r,e[n(647)][t][r],s);i[n(522)](e[n(517)][t],s,0)}}),this[t(560)][t(463)](this[t(468)](e[t(378)])),this[t(391)]=!0})[n(606)](t=>{const e=n;console[e(497)](t),this[e(486)](),s&&(this[e(560)]=s),this[e(391)]=!0})}[oe(427)](t,e){const i=oe,n=this[i(449)][i(540)](t);return n.on(i(384),(t,i,s)=>e(i,s,n)),this[i(449)][i(523)](n),n}[oe(486)](){const t=oe;this[t(394)]=null,this[t(435)](),this[t(445)]&&this[t(445)][t(675)](),this[t(445)]=null,this[t(409)][t(542)](),this[t(652)][t(517)][t(638)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(652)][i(517)][i(662)][i(591)]())e[i(534)](t)})}[oe(468)](t){const e=oe,i=[],n=new Map;for(const t of this[e(652)][e(517)][e(662)][e(591)]()){const s=this[e(652)][e(459)][e(389)][e(651)](t);if(!s)continue;const r=s[e(658)]()[e(411)](0);r&&(i[e(501)](t),n[e(503)](t,r))}return i[e(395)]((t,i)=>{const s=e,r=n[s(614)](t),o=n[s(614)](i);return r.y-o.y||r.x-o.x}),(t=t[e(377)](t=>i[e(583)](t[e(617)])))[e(395)]((t,n)=>i[e(613)](t[e(617)])-i[e(613)](n[e(617)])),t}[oe(631)](t){const e=oe,i=Array[e(475)](t[e(489)])[e(377)](([t,i])=>t[e(525)](e(620))&&!i[e(605)]),n=Array[e(475)](this[e(652)][e(517)][e(441)](t)[e(664)]({singleCharacters:!0}));if(0!=i[e(554)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(573)](":");if(s[e(524)][e(456)](t[e(476)])&&i[e(688)](),(t[e(691)][e(456)](s[e(608)])||t[e(691)][e(436)](s[e(608)]))&&(e(680)==r?t[e(493)]={userId:o}:e(636)==r&&(t[e(563)]={userId:o})),0==i[e(554)])break}return n}[oe(630)](t){const e=oe,i=new Map;for(let n=0;n<t[e(554)];n++)e(536)===t[n][e(387)]?(t[n][e(411)][e(558)]=n,t[n][e(411)][e(447)]=n):(e(506)===t[n][e(387)]?t[n][e(411)][e(558)]=n:e(567)===t[n][e(387)]&&(t[n][e(411)][e(447)]=n),i[e(503)](t[n].id,n));for(const n of i[e(511)]())e(506)===t[n][e(387)]?t[n][e(411)][e(447)]=i[e(614)](t[n][e(602)]):e(567)===t[n][e(387)]&&(t[n][e(411)][e(558)]=i[e(614)](t[n][e(602)]))}[oe(693)](t){const e=oe;for(let i=0;i<t[e(554)];i++){if(e(506)===t[i][e(387)])t[i][e(411)][e(558)]=i;else if(e(567)===t[i][e(387)]){t[i][e(411)][e(447)]=i;const n=t[i][e(411)][e(558)];t[n][e(602)]=t[i].id,t[i][e(602)]=t[n].id}else t[i][e(411)][e(558)]=i,t[i][e(411)][e(447)]=i,t[i][e(602)]=null;t[i][e(465)]||(t[i][e(465)]=[],t[i][e(439)]=[])}}[oe(550)](t,e){const i=oe,n=t[i(377)](t=>!t[i(493)]);for(let t=0;t<e[i(554)];t++)e[t][i(493)]&&(n[t][i(493)]=e[t][i(493)])}[oe(417)](t,e=null){const i=oe,n=this[i(449)][i(623)](t),s=e?this[i(449)][i(623)](e):null,r=this[i(552)](n,s),o=r[r[i(554)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(554)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(640)](e[i(559)]))if(e[i(559)][t][i(580)]){const n=e[i(559)][t][i(580)];n[i(670)]?(u[i(578)](t),l[i(564)](t)&&l[i(614)](t)[i(571)]==n[i(571)]?l[i(697)](t):l[i(503)](t,n)):l[i(564)](t)?(u[i(697)](t),l[i(697)](t)):(u[i(578)](t),l[i(503)](t,n))}else u[i(578)](t)}for(const t of u){const e=l[i(564)](t)&&!l[i(614)](t)[i(670)];let n=e?r[i(554)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(559)][t]){const n=e?o[i(559)][t][i(444)]:o[i(559)][t][i(528)];c[i(647)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(517)]={};for(const e of t[i(513)])a[i(503)](e.id,e);for(const e of u){const n=t[i(559)][e]?t[i(559)][e][i(491)]:"[]",s=t[i(559)][e]?t[i(559)][e][i(424)]:"[]";t[i(517)][e]={insertions:this[i(494)][i(581)](n),deletions:this[i(494)][i(581)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(475)](n[i(517)][t][i(491)][i(489)])[i(377)](([t])=>!t[i(525)](i(620))));let h=0;for(const o of r){const r=this[i(631)](o[i(517)][t][i(491)]);o==n?(e=r,s=e[i(554)],e[i(610)](t=>{t.id=h++}),this[i(693)](e)):this[i(550)](e,r);const a=e[i(377)](t=>!t[i(493)])[i(416)](t=>t.id);let c=0;const l=this[i(631)](o[i(517)][t][i(424)]);l[i(610)](t=>{t[i(563)]?t.id=s++:t.id=a[c++]}),this[i(693)](l),this[i(692)](e,i(493)),this[i(692)](l,i(563)),o==n&&this[i(701)](e,u),e=this[i(470)](e,l),this[i(630)](e),this[i(692)](e,i(563))}e=e[i(377)](t=>!(t[i(493)]&&t[i(563)]));const d=new Map(o[i(517)][t][i(424)][i(489)]),f=new Set(u[i(640)]());for(const t of d[i(640)]())f[i(697)](t);this[i(413)](e,f),this[i(700)](e),e=this[i(474)](e),e=this[i(434)](e),e=this[i(681)](e);const{root:m,changes:p}=this[i(530)](e,a,t);c[i(517)][t]=m;const v=l[i(614)](t);if(v){const e=a[i(614)](v[i(571)]),n=new Qt({author:e,type:v[i(670)]?i(578):i(508),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(431)](n),c[i(647)][t][i(682)]=n.id}c[i(378)]=c[i(378)][i(596)](p)}return c}[oe(701)](t,e){const i=oe;for(let n=0;n<t[i(554)];n++)for(const[s,r]of e)!r[i(605)]&&r[i(608)][i(456)](t[n][i(691)])&&t[n][i(465)][i(501)](s),r[i(524)][i(456)](t[n][i(476)])&&t[n][i(439)][i(501)](s)}[oe(470)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(554)]||r<e[i(554)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(501)](o);else if(a[i(563)]&&o[i(493)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(676)](t,s,e,r);n=n[i(596)](o),s=a,r=c}else a[i(563)]?(r++,n[i(501)](a)):(s++,n[i(501)](o))}return n}[oe(413)](t,e){const i=oe,n=[];for(let o=0;o<t[i(554)];o++){for(let r=0;r<t[o][i(465)][i(554)];r++){const a=t[o][i(465)][r];if(!e[i(564)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(498)!=c||i(680)!=u&&i(636)!=u||(n[i(431)]({type:u,name:a,userId:l}),t[o][i(465)][i(543)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(439)][i(554)];r++){const a=t[o][i(439)][r];if(!e[i(564)](a))continue;const{group:c,type:u}=s(a);if(i(498)!=c||i(680)!=u&&i(636)!=u)continue;t[o][i(439)][i(543)](r,1),r--;const l=n[i(479)](t=>t[i(661)]==a);l>-1&&n[i(543)](l,1)}}function s(t){const e=i,n=t[e(573)](":");return{group:n[0],type:n[1],subType:n[e(554)]>=5?n[2]:null,id:n[e(554)]<5?n[2]:n[3],authorId:n[e(554)]<5?n[3]:n[4],markerCount:6==n[e(554)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(554)];i++){if(t[e(493)]&&e(680)==n[i][e(387)]&&t[e(493)][e(571)]==n[i][e(571)])return t[e(672)]=n[i],void delete t[e(493)];if(!t[e(493)]&&!t[e(563)]&&e(636)==n[i][e(387)])return void(t[e(531)]=n[i])}}}[oe(692)](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(503)](o.id,n);for(let n=0;n<t[i(554)];n++){if(i(563)==e&&t[n][i(493)]||i(493)==e&&t[n][i(563)])continue;if(i(536)==t[n][i(387)]){t[n][i(421)]=0;continue}const s=r[i(614)](t[n][i(602)]),o=r[i(614)](t[n].id);t[n][i(421)]=s-o}}[oe(552)](t,e,i=!1){const n=oe,s=[];let r=this[n(449)][n(399)](t),o=this[n(449)][n(399)](e);for(-1==o&&(o=this[n(449)][n(687)][n(554)],i=!1);r<o;)s[n(501)](this[n(449)][n(623)](r)),r++;return i&&s[n(501)](this[n(449)][n(623)](r)),s}[oe(676)](t,e,i,n){const s=oe,r=this[s(652)][s(517)][s(644)];let o=e;for(;t[o]&&t[o][s(493)];)o++;let a=n;for(;i[a]&&i[a][s(563)];)a++;u(t,e,o),u(i,n,a);const c=i[s(430)](n,a)[s(596)](t[s(430)](e,o));return c[s(395)]((t,e)=>t[s(624)]!=e[s(624)]?t[s(624)]-e[s(624)]:t[s(637)]!=e[s(637)]?t[s(637)]-e[s(637)]:t[s(421)]!=e[s(421)]?e[s(421)]-t[s(421)]:!!t[s(493)]!=!!e[s(493)]?-1==t[s(624)]||0==t[s(624)]?t[s(493)]?-1:1:t[s(493)]?1:-1:t[s(582)]-e[s(582)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(376)],c=!0;for(let s=e;s<i;s++)if(r[n(407)](t[s][n(411)])||(c=!1),t[s][n(411)][n(558)]<e&&(o=s),t[s][n(411)][n(447)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(624)]=s<=o?-1:s<a?0:1,t[s][n(582)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(421)]?t[i][n(637)]=u:(u++,t[i][n(637)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(624)]&&(t[s][n(637)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(421)]?t[e][n(637)]=u:(u--,t[e][n(637)]=u,u--)}}[oe(700)](t){const e=oe,i=new Map,n=this[e(652)][e(517)][e(644)];for(let s=1;s<t[e(554)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(536)==c[e(387)])continue;if(c[e(387)]!=u[e(387)])continue;if(!n[e(593)](u[e(411)])||n[e(485)](u[e(411)]))continue;if(!n[e(593)](c[e(411)])||n[e(485)](c[e(411)]))continue;if((t[s][e(493)]||t[s][e(672)])&&t[s-1][e(563)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(563)]||!t[s-1][e(493)]&&!t[s-1][e(672)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(637)]==o[e(637)],h=Math[e(402)](r[e(637)])<Math[e(402)](o[e(637)])&&0==o[e(421)];(l||h)&&(i[e(503)](o.id,r.id),t[e(543)](a,1),s--,r[e(493)]=!1)}for(let n=0;n<t[e(554)];n++)i[e(564)](t[n][e(602)])&&(t[n][e(602)]=i[e(614)](t[n][e(602)]))}[oe(474)](t){const e=oe,i=new Set(t[e(416)](t=>t.id));for(let n=0;n<t[e(554)];n++)i[e(564)](t[n][e(602)])||0==t[n][e(421)]||(t[n][e(490)]=!0);return t[e(377)](t=>!t[e(490)])}[oe(434)](t){const e=oe,i=new Set;for(let n=0;n<t[e(554)];n++){if(i[e(564)](t[n].id)&&t[n][e(563)]&&(t[n][e(490)]=!0),t[n][e(490)])continue;if(0==t[n][e(421)])continue;if(e(506)!=t[n][e(387)])continue;if(null==t[n][e(602)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(602)];)e(506)==t[s][e(387)]?r++:e(567)==t[s][e(387)]&&r--,s++;if(0!=r)if(t[n][e(563)])t[n][e(490)]=!0;else for(;s!=n;)t[s][e(563)]&&0!=t[s][e(421)]&&(t[s][e(490)]=!0,i[e(578)](t[s][e(602)])),s--}return t[e(377)](t=>!t[e(490)])}[oe(681)](t){const e=oe,i=this[e(652)][e(517)][e(644)];for(let n=0;n<t[e(554)];n++){if(!(t[n][e(493)]||t[n][e(672)]||t[n][e(563)]||t[n][e(531)]))continue;if(0==t[n][e(421)])continue;const s=t[n][e(411)];i[e(593)](s)||i[e(485)](s)||(t[n][e(493)]&&delete t[n][e(493)],t[n][e(672)]&&delete t[n][e(672)],t[n][e(531)]&&delete t[n][e(531)],t[n][e(563)]&&(t[n][e(490)]=!0))}return t[e(377)](t=>!t[e(490)])}[oe(530)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(652)][n(517)],c=a[n(644)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(554)];e++)if(n(506)===t[e][n(387)]){t[e][n(691)]=a[n(414)](s,f);const i=new X.ModelElement(t[e][n(411)][n(661)],t[e][n(411)][n(537)]());u[0][n(635)](i),f[n(501)](0),u[n(431)](i),t[e][n(476)]=a[n(414)](s,f)}else n(567)===t[e][n(387)]?(u[n(688)](),t[e][n(691)]=a[n(414)](s,f),f[n(473)](),f[f[n(554)]-1]++,t[e][n(476)]=a[n(414)](s,f)):(t[e][n(691)]=a[n(414)](s,f),d?d[n(579)]+=t[e][n(411)][n(569)]:d=new X.ModelText(t[e][n(411)][n(569)],t[e][n(411)][n(537)]()),t[e+1]&&n(536)===t[e+1][n(387)]&&v(d,t[e+1][n(411)])||(u[0][n(635)](d),d=null),f[f[n(554)]-1]+=t[e][n(411)][n(544)],t[e][n(476)]=a[n(414)](s,f));for(let e=0;e<t[n(554)];e++){const i=t[e][n(691)],s=t[e][n(476)];for(const s of t[e][n(465)])o[n(503)](s,{start:i,end:null});m(n(531),e,i,s),m(n(672),e,i,s),m(n(563),e,i,s),m(n(493),e,i,s);for(const i of t[e][n(439)]){const t=o[n(614)](i);t?t[n(524)]=s:o[n(503)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(652)][n(517)][n(521)](e[n(608)],e[n(524)]);s[n(489)][n(503)](t,i)}return r[n(395)]((t,e)=>{const i=n,r=s[i(489)][i(614)](i(620)+t.id),o=s[i(489)][i(614)](i(620)+e.id);return r[i(608)][i(488)](o[i(608)])?-1:r[i(608)][i(436)](o[i(608)])?1:r[i(524)][i(488)](o[i(524)])?-1:r[i(524)][i(436)](o[i(524)])?1:i(578)===t[i(387)]?-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(571)]:null,d=i===t[o(554)]-1,f=h[e][0],m=c[o(514)](t[i][o(411)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(524)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(571)]!==u&&(l[e][o(524)]=s,f&&f[o(571)]===l[e][o(571)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(506)!==t[i][o(387)]||f&&f[o(571)]===u||h[e][o(431)]({userId:u,object:t[i][o(411)],change:l[e]}),o(567)===t[i][o(387)]&&f&&f[o(633)]===t[i][o(411)]&&(h[e][o(688)](),l[e]=f[o(526)])),l[e]&&d&&(l[e][o(524)]=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(411)],f=a[h(644)][h(593)](d)&&!a[h(644)][h(485)](d),m=t[h(412)]==o[h(438)]&&o[h(663)];if(f&&m)return;const p=a[h(521)](t,o),v=e[h(614)](u),g=new Qt({author:v,type:h(493)==l||h(672)==l?h(578):h(508),data:{isSuggestion:h(672)==l||h(531)==l},createdAt:new Date,rootName:i});r[h(501)](g),s[h(489)][h(503)](h(620)+g.id,p)}function v(t,e){const i=n,s=t[i(537)](),r=e[i(537)]();for(const t of s){if(t[1]!==e[i(532)](t[0]))return!1;r[i(539)]()}return r[i(539)]()[i(565)]}}[oe(455)](){const t=oe;this[t(652)][t(415)][t(512)](t(420))[t(555)]({view:t(425)}),this[t(652)][t(415)][t(512)](t(588))[t(418)]({model:t(425),view:e=>{const i=t,n=e[i(677)][i(573)](":")[1],s=this[i(599)](n);if(!s)return null;const r=i(578)==s[i(387)]?i(680):i(636),o=[i(495),i(452)+r];return s[i(569)][i(557)]&&o[i(501)](i(452)+r+i(641)),this[i(394)]==s&&o[i(501)](i(446)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(652)][t(415)][t(512)](t(420))[t(578)](e=>{const i=t;e.on(i(403),(t,e,n)=>{const s=i,r=e[s(695)][s(405)](0);if(!r||!r.is(s(603),s(632)))return;if(!n[s(609)][s(516)](r,{attributes:[s(669),s(590)]}))return;const o=e[s(621)][s(608)][s(412)];n[s(622)][s(388)](s(669),r[s(532)](s(669)),o),n[s(622)][s(388)](s(590),r[s(532)](s(590)),o)},{priority:i(649)})}),this[t(652)][t(415)][t(512)](t(420))[t(578)](e=>{const i=t;e.on(i(603),(t,e,n)=>{const s=i;if(!n[s(609)][s(516)](e[s(695)],{attributes:[s(669),s(590)]}))return;if(e[s(621)][s(605)])return;const r=e[s(621)][s(608)][s(412)];r[s(696)](s(669))||r[s(696)](s(429))||(n[s(622)][s(388)](s(669),e[s(695)][s(532)](s(669)),r),n[s(622)][s(388)](s(590),e[s(695)][s(532)](s(590)),r))},{priority:i(649)})}),this[t(652)][t(415)][t(512)](t(420))[t(611)]({view:{name:t(587),attributes:{vid:!0}},model:{key:t(429),value:e=>e[t(532)](t(429))}}),this[t(652)][t(517)][t(644)].on(t(458),(e,[,i])=>{const n=t;[n(669),n(590),n(429)][n(583)](i)&&(e[n(679)]=!0,e[n(518)]())},{priority:t(538)}),this[t(652)][t(415)][t(512)](t(381))[t(578)](e=>{const i=t;e.on(i(656),(t,e,n)=>{const s=i;if(" "!=e[s(411)][s(569)]||e[s(411)][s(438)][s(545)]>1)return;if(!n[s(609)][s(516)](e[s(411)],t[s(661)]))return;const r=n[s(622)],o=n[s(604)][s(454)](e[s(500)]);r[s(684)](o,r[s(448)](s(587)))})}),this[t(652)][t(415)][t(512)](t(381))[t(645)]({model:t(425)}),this[t(652)][t(459)][t(690)].on(t(397),function(e){const i=t,n=e[i(659)][i(614)](i(572));return(t,s,r)=>{const o=i,a=s[o(677)][o(573)](":")[1],c=n[o(599)](a);if(!c)return null;const u=o(578)==c[o(387)]?o(573):o(453);if(!r[o(609)][o(639)](s[o(548)],t[o(661)]))return;const l=s[o(548)][o(664)](),h=s[o(548)][o(608)],d=e[o(517)][o(644)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(411)];p=p||d[o(466)](e);const i=r[o(604)][o(616)](e);if(i&&i[o(464)](o(520)))return;o(567)==t[o(387)]&&d[o(593)](e)&&!d[o(485)](e)&&(e[o(462)]||h[o(698)]?f&&f[o(438)]==e||(f=e,g(t[o(691)]),v=!0):m=m||t[o(691)])}function g(t){const e=o,i=r[e(622)][e(482)](e(587),{class:e(452)+u}),a=r[e(604)][e(496)](t);c[e(569)][e(557)]&&r[e(622)][e(406)](e(452)+u+e(641),i),n[e(394)]==c&&r[e(622)][e(406)](e(446),i),r[e(622)][e(522)](a,i),r[e(604)][e(408)](i,s[e(677)])}p||v||!m||g(m)}}(this[t(652)]),{priority:t(601)}),this[t(652)][t(459)][t(690)].on(t(467),(e,i,n)=>{const s=t,r=n[s(604)][s(577)](i[s(677)]);if(r)for(const t of r)(t[s(694)](s(507))||t[s(694)](s(477)))&&(n[s(604)][s(657)](t,i[s(677)]),n[s(622)][s(508)](t))},{priority:t(601)}),this[t(652)][t(459)][t(690)].on(t(397),(e,i,n)=>{const s=t,r=i[s(677)][s(573)](":")[1],o=this[s(599)](r);if(!o)return null;const a=s(578)==o[s(387)]?s(573):s(453);if(n[s(609)][s(639)](i[s(548)],e[s(661)]))for(const t of i[s(548)][s(665)]()){if(!t.is(s(603),s(648)))continue;const e=n[s(622)][s(482)](s(587),{class:s(452)+a}),r=n[s(604)][s(496)](this[s(652)][s(517)][s(600)](t));o[s(569)][s(557)]&&n[s(622)][s(406)](s(452)+a+s(641),e),this[s(394)]==o&&n[s(622)][s(406)](s(446),e),n[s(622)][s(522)](r,e),n[s(604)][s(408)](e,i[s(677)])}},{priority:t(601)}),this[t(652)][t(517)][t(662)].on(t(526),()=>{const e=t;this[e(652)][e(459)][e(389)][e(526)](t=>{const i=e;for(const e of this[i(652)][i(517)][i(662)][i(591)]()){const n=this[i(652)][i(517)][i(662)][i(398)](e),s=this[i(652)][i(459)][i(389)][i(662)][i(398)](e);if(s){const e=n[i(532)](i(682));if(t[i(556)](i(450),s),t[i(575)](i(437),s),t[i(575)](i(666),s),t[i(575)](i(451),s),e){const n=this[i(599)](e);if(!n)return null;t[i(388)](i(450),e,s),t[i(406)](i(410)+n[i(387)],s),this[i(394)]==n&&t[i(406)](i(451),s)}}}})}),this[t(652)][t(415)][t(512)](t(420))[t(555)]({view:t(546),model:e=>t(461)+e,converterPriority:t(538)}),this[t(652)][t(415)][t(512)](t(420))[t(555)]({view:t(442),model:e=>t(553)+e,converterPriority:t(538)}),this[t(652)][t(415)][t(512)](t(381))[t(645)]({model:t(498),view:e=>({name:t(646)+e,group:t(498)}),converterPriority:t(538)}),this[t(652)][t(415)][t(512)](t(588))[t(418)]({model:t(498),view:e=>{const i=t,n=e[i(677)][i(573)](":")[1];return i(680)!=n&&i(636)!=n?null:{classes:[i(515),i(683)+n]}}}),this[t(652)][t(459)][t(690)].on(t(440),ue(this[t(652)],t(453)),{priority:t(601)}),this[t(652)][t(459)][t(690)].on(t(551),ue(this[t(652)],t(573)),{priority:t(601)}),this[t(652)][t(459)][t(690)].on(t(460),(e,i,n)=>{const s=t,r=n[s(604)][s(577)](i[s(677)]);if(r)for(const t of r)t.is(s(699))&&(n[s(604)][s(657)](t,i[s(677)]),n[s(622)][s(508)](t))},{priority:t(601)})}[oe(599)](t){const e=oe;return this[e(409)][e(614)](t)}[oe(597)](t){const e=oe;return this[e(445)]&&this[e(445)][e(675)](),this[e(445)]=new Yt(this[e(652)][e(392)],t),this[e(445)]}[oe(584)](){const t=oe;this[t(652)][t(517)][t(662)][t(612)][t(655)](t(425)),this.on(t(382),(e,i,n,s)=>{const r=t;s&&this[r(549)][r(508)](s),n&&(this[r(549)][r(578)]({view:n,stackId:r(619),position:{target:()=>{const t=r,e=this[t(652)][t(459)],i=this[t(599)](n[t(541)]);let s;if(i[t(569)][t(483)]){const n=e[t(389)][t(651)](i[t(617)]);s=Array[t(475)](n[t(658)]())}else{const i=this[t(652)][t(517)][t(489)][t(614)](t(620)+n[t(541)]);s=Array[t(475)](e[t(604)][t(577)](i[t(661)]))[t(416)](i=>e[t(389)][t(390)][t(469)](i))[t(416)](e=>Array[t(475)](e[t(658)]()))[t(627)]()}return this[t(685)]&&s[t(478)](e=>e[t(547)]-3<=this[t(685)].y&&e[t(566)]+3>=this[t(685)].y&&e[t(667)]-3<=this[t(685)].x&&e[t(673)]+3>=this[t(685)].x)||s[0]}}}),this[r(549)][r(626)](r(619)))}),this.on(t(380),(e,i,n,s)=>{const r=t;this[r(505)]=n?this[r(597)](n):null,this[r(652)][r(517)][r(526)](()=>{const t=r,e=this[t(652)][t(459)];s&&(s[t(569)][t(483)]?e[t(389)][t(526)](i=>{const n=t;i[n(575)](n(451),e[n(389)][n(662)][n(398)](s[n(617)]))}):e[t(443)](t(620)+s.id)),n&&(n[t(569)][t(483)]?e[t(389)][t(526)](i=>{const s=t;i[s(406)](s(451),e[s(389)][s(662)][s(398)](n[s(617)]))}):e[t(443)](t(620)+n.id))})}),this[t(504)](this[t(652)][t(459)][t(389)][t(662)],t(654),(e,i)=>{const n=t;if(this[n(394)])return;const s=this[n(527)](i[n(472)]),r=this[n(409)][n(614)](s);r?(this[n(685)]={x:i[n(653)].x,y:i[n(653)].y},this[n(505)]=this[n(597)](r)):(this[n(685)]=null,this[n(505)]=null)}),this[t(504)](this[t(652)][t(459)][t(389)][t(662)],t(689),(e,i)=>{const n=t,s=this[n(527)](i[n(472)]),r=this[n(409)][n(614)](s);r?(this[n(685)]={x:i[n(653)].x,y:i[n(653)].y},r===this[n(394)]?this[n(549)][n(379)]():this[n(394)]=r):(this[n(685)]=null,this[n(394)]=null)})}[oe(527)](t){const e=oe;do{const i=t[e(532)](e(450));if(i)return i;t=t[e(438)]}while(t);return null}[oe(435)](){const t=oe;this[t(652)][t(517)][t(526)](e=>{const i=t;for(const t of this[i(652)][i(517)][i(489)])e[i(492)](t)})}}function ce(){const t=["highest","next","createRevision","changeId","clear","splice","offsetSize","maxOffset","comment","top","markerRange","_balloon","_markInsertions","addMarker:revision-suggestion:insertion","_getRevisionsRange","revision-suggestion:","length","dataToMarker","removeAttribute","isSuggestion","startIndex","diffData","diff","bind","oldRevisionId","isRemoved","has","done","bottom","elementEnd","1903480gpZNEP","data","adapter","userId","RevisionViewer","split","commands","removeClass","string","markerNameToElements","add","_data","attachChange","_makeModelFromViewString","index","includes","_initInteractions","roots","isNavigationMode","span","editingDowncast","isOfficialPlugin","vid_end","getRootNames","config","isBlock","addRoot","840216htwjNZ","concat","_getViewForChange","forward","_getChangeFromId","createPositionBefore","high","pairId","element","mapper","isCollapsed","catch","compare","start","consumable","forEach","elementToAttribute","selection","indexOf","get","change:isReady","toViewElement","rootName","change:numberOfChanges","revisionHistoryLabel","revision:","modelRange","writer","getRevision","side","backward","showStack","flat","84630uhSzXW","showPreviousChange","_refreshStartEndIndex","_makeTape","code","object","restoreRevisionCallback","_appendChild","deletion","level","enqueueChange","test","keys","-new","all","first","schema","markerToData","suggestion:","attributes","softBreak","low","forceDisabled","getDomRoot","editor","domEvent","mouseover","observeMarkers","attribute:vid","unbindElementFromMarkerName","getClientRects","plugins","enableReadOnlyMode","name","document","isAtStart","getWalker","getItems","ck-revision-history-root-remove","left","ck-editor__editable__overlay","vid_start","isAttached","loadRevisionData","isAddSuggestion","right","change:isEnabled","destroy","_threeWayMerge","markerName","WidgetToolbarRepository","return","insertion","_removeUnsupportedChanges","revisionHistoryAttachChange","ck-suggestion-preview-marker-","wrap","_activeViewTarget","refresh","_revisions","shift","mousedown","downcastDispatcher","previousPosition","_setDistance","_processTape","hasClass","viewItem","hasAttribute","delete","isAtEnd","uiElement","_fixObsoleteTags","_markMarkers","POSITIVE_INFINITY","filter","changes","updatePosition","change:activeChange","dataDowncast","change:activeView","revisionHistory","_update","restoreRevision","newRevisionId","type","setAttribute","view","domConverter","isReady","locale","isEnabled","activeChange","sort","currentChangeNumber","addMarker:revision","getRoot","getIndex","35790xPPoEu","then","abs","element:pre","226833CwLkYn","getChild","addClass","isInline","bindElementToMarker","_changeIdToChange","ck-revision-history-root-","item","nodeAfter","_markSuggestions","createPositionFromPath","conversion","map","_getDiff","markerToHighlight","getRevisionDocumentData","upcast","distance","RevisionsRepository","isPremiumPlugin","deletions","revision","pluginName","addRevisionData","191489hGtMdo","vid","slice","unshift","10ItHxcm","revision-viewer","_markMismatchedRemovedTags","_cleanMarkers","isAfter","ck-revision-history-root-add","parent","markersEnd","addMarker:revision-suggestion:deletion","createRangeIn","suggestion","reconvertMarker","attributesBefore","_changeView","ck-suggestion-marker--active","endIndex","createAttributeElement","repository","data-change-id","ck-revision-history-root--active","ck-suggestion-marker-","merge","toViewRange","_setConversion","isEqual","execute","checkAttribute","editing","removeMarker:revision-suggestion","revision-comment:","nextSibling","_setChanges","getCustomProperty","markersStart","isContent","removeMarker:revision","_sortAndFilterDiffChanges","mapViewToDom","_joinTapes","getRevisionRootsAttributes","target","pop","_removeMissingPairs","from","nextPosition","ck-suggestion-marker-merge","find","findIndex","_step","getLaterVisibleRevision","createUIElement","isOnRoot","affectsData","isLimit","_cleanUp","RevisionHistoryUtils","isBefore","markers","isIncorrect","insertions","removeMarker","isAdded","_utils","ck-suggestion-marker","toViewPosition","error","revision-suggestion","init","range","push","numberOfChanges","set","listenTo","activeView","elementStart","ck-suggestion-marker-split","remove","showNextChange","186EtSyUV","values","for","authors","isObject","ck-suggestion-preview-marker","consume","model","stop","9672849eBCefB","addHighlight","createRange","insert","addRevision","end","startsWith","change","_findChangeIdFromDomTarget","attributesAfter","requires","_makeModelFromTape","isRemoveSuggestion","getAttribute","resolve","detachRoot","2GCOETp","text","getAttributes"];return(ce=function(){return t})()}function ue(t,e){return(i,n,s)=>{const r=he;if(!s[r(609)][r(639)](n[r(548)],i[r(661)]))return;const o=n[r(548)][r(664)](),a=n[r(548)][r(608)],c=t[r(517)][r(644)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(411)];h=h||c[r(466)](e);const i=s[r(604)][r(616)](e);if(i&&i[r(464)](r(520)))return;r(567)==t[r(387)]&&c[r(593)](e)&&!c[r(485)](e)&&(e[r(462)]||a[r(698)]?u&&u[r(438)]==e||(u=e,f(t[r(691)]),d=!0):l=l||t[r(691)])}function f(t){const i=r,o=s[i(604)][i(496)](t),a=s[i(622)][i(482)](i(587),{class:i(683)+e});s[i(622)][i(522)](o,a),s[i(604)][i(408)](a,n[i(677)])}h||d||!l||f(l)}}class le extends J.Command{constructor(t){const e=oe;super(t);const i=t[e(659)][e(614)](ae);this[e(484)]=!1,this[e(504)](i,e(615),()=>this[e(686)]()),this[e(504)](i,e(674),()=>this[e(686)]())}[oe(457)](){const t=oe,e=this[t(652)],i=e[t(659)][t(614)](ae),n=i[t(391)]?i[t(560)][t(386)]:null;e[t(592)][t(614)](t(383))[t(634)](n)}[oe(686)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(652)][t(659)][t(614)](ae),r=s&&n[t(481)](s[t(386)]);this[t(393)]=e&&i&&Boolean(r)}}function he(t,e){const i=ce();return(he=function(t,e){return i[t-=376]})(t,e)}class de extends J.Command{[oe(480)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(659)][i(614)](ae);this[i(484)]=!1,this[i(480)]=i(598)===e?1:-1,this[i(504)](n,i(615),()=>this[i(686)]()),this[i(504)](n,i(674),()=>this[i(686)]()),this[i(504)](n,i(380),()=>this[i(686)]())}[oe(457)](){const e=oe,i=this[e(652)],n=i[e(659)][e(614)](ae),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(394)]=s?n[e(560)][e(378)][e(614)](r+this[e(480)]):n[e(560)][e(378)][e(643)],n[e(394)][e(569)][e(483)])o=i[e(459)][e(389)][e(651)](n[e(394)][e(617)]);else{const t=i[e(517)][e(489)][e(614)](e(620)+n[e(394)].id);o=(0,K.getMarkerDomElement)(i[e(459)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(686)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(652)][t(659)][t(614)](ae);this[t(393)]=!!(r&&s&&n)&&(!e||(1===this[t(480)]?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=Tt(),me.insertStyleElement=Et();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=409]})(t,e)}function ve(){const t=["ck-revision-history-ui","_isStatusLabelVisible","isEnabled","forward","ck-hidden","10199EXDGkL","ck-revision-history-ui__changes-navigation__wrapper","isBackwardNavigationEnabled","bind","numberOfChanges","4499394pGVIfI","Show previous change","_statusText","No changes","ck-revision-history-ui__changes-navigation__navigation","Total","set","backward","8874140wjgKSJ","isReady","span","execute","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation__label","isForwardNavigationEnabled","EDIT_X_OF_Y_REVISIONS","bindTemplate","6647360ruegOJ","setTemplate","Loading...","ck-revision-history-ui__changes-navigation","div","1326115fTcPBD","Show next change","X_OF_Y_CHANGES","3368076AfsFAO","4206FYRUvW","24764202FiVxUx","2diaYfw","fire","isNavigationMode","currentChangeNumber"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(993803===parseInt(e(417))/1+-parseInt(e(423))/2*(-parseInt(e(437))/3)+parseInt(e(420))/4+-parseInt(e(445))/5+parseInt(e(421))/6*(parseInt(e(432))/7)+parseInt(e(412))/8+-parseInt(e(422))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(411)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(443)](e(425),!1),this[e(443)](e(446),!1),this[e(443)](e(426),0),this[e(443)](e(436),0),this[e(443)](e(409),!1),this[e(443)](e(434),!1),this[e(435)](e(428)).to(this,e(446),this,e(436),(t,e)=>t&&e>0),this[e(435)](e(439)).to(this,e(446),this,e(426),this,e(436),this,e(425),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(414));if(!s)return at(t,o(440));const a=at(t,o(449),s);return r?at(t,o(419),[n+1,s]):a}),n[e(443)]({label:at(t,e(438)),tooltip:!0,icon:_t.IconChevronUp}),s[e(443)]({label:at(t,e(418)),tooltip:!0,icon:_t.IconChevronDown}),n[e(435)](e(429)).to(this,e(434)),s[e(435)](e(429)).to(this,e(409)),n.on(e(448),()=>this[e(424)](e(448),e(444))),s.on(e(448),()=>this[e(424)](e(448),e(430))),this[e(413)]({tag:e(416),attributes:{class:["ck",e(427),e(415)]},children:[{tag:e(447),attributes:{class:[e(433)]},children:[{tag:e(447),attributes:{class:[e(450),i.if(e(428),e(431),t=>!t)]},children:[{text:i.to(e(425),i=>i?at(t,e(410))+": ":at(t,e(442))+": ")}]},{text:i.to(e(439))}]},new It.ToolbarSeparatorView,{tag:e(416),attributes:{class:[e(441)]},children:[n,s]}]})}}var ye=i(628),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=Tt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(t,e){const i=_e();return(be=function(t,e){return i[t-=208]})(t,e)}const we=be;function _e(){const t=["change","addClass","2172420iXIhhP","77705mVHiRi","hide","6604452YgGnKw","1218672TgBdwA","ck-editor__editable__loading-overlay","290824VnYIbZ","pluginName","document","view","21fdSOuj","2344152SFASNU","editing","212OmshdZ","editor","removeClass","385235xFtlLi","show","isOfficialPlugin","isPremiumPlugin","roots","RevisionViewerLoadingOverlay"];return(_e=function(){return t})()}!function(t){const e=be,i=t();for(;;)try{if(590113===parseInt(e(219))/1+parseInt(e(214))/2+-parseInt(e(231))/3+-parseInt(e(216))/4*(parseInt(e(228))/5)+-parseInt(e(227))/6+parseInt(e(213))/7*(-parseInt(e(209))/8)+parseInt(e(230))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const Ie=we(208);class Se extends J.Plugin{static get[we(210)](){return we(224)}static get[we(221)](){return!0}static get[we(222)](){return!0}[we(220)](){const t=we,e=this[t(217)][t(215)][t(212)];e[t(225)](i=>{const n=t;for(const t of e[n(211)][n(223)])i[n(226)](Ie,t)})}[we(229)](){const t=we,e=this[t(217)][t(215)][t(212)];e[t(225)](i=>{const n=t;for(const t of e[n(211)][n(223)])i[n(218)](Ie,t)})}}const Oe=xe;function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=295]})(t,e)}function Te(){const t=["componentFactory","isOfficialPlugin","RevisionViewerUI","isForwardNavigationEnabled","1392470YMMExI","bind","hide","893868GqPxOM","ck-revision-history-ui__back-to-editing","3113iWaZod","1bzBKto","set","commands","restoreRevision","get","12612wNGsjl","init","add","272306rhBESM","listenTo","change:isReady","4dJuUHW","isEnabled","editor","Back to editing","isPremiumPlugin","showPreviousChange","numberOfChanges","Restore this revision","showNextChange","execute","currentChangeNumber","isReady","106092AxEnPI","requires","config","14deboOd","isBackwardNavigationEnabled","forward","exitToEditing","plugins","130ivlqdb","show","pluginName","9648236AJlCJx","1166168rEVNeo","isNavigationMode","6kwZSCB","closeRevisionViewerCallback","revisionHistory","changesNavigation"];return(Te=function(){return t})()}!function(t){const e=xe,i=t();for(;;)try{if(154522===-parseInt(e(331))/1*(-parseInt(e(339))/2)+parseInt(e(328))/3*(-parseInt(e(342))/4)+-parseInt(e(325))/5*(parseInt(e(317))/6)+-parseInt(e(306))/7*(parseInt(e(315))/8)+-parseInt(e(303))/9*(parseInt(e(311))/10)+parseInt(e(330))/11*(parseInt(e(336))/12)+parseInt(e(314))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends J.Plugin{static get[Oe(313)](){return Oe(323)}static get[Oe(322)](){return!0}static get[Oe(295)](){return!0}static get[Oe(304)](){return[ae,Se]}[Oe(337)](){const t=Oe,e=this[t(344)],i=e[t(310)][t(335)](ae),n=e[t(310)][t(335)](Se);e.ui[t(321)][t(338)](t(309),i=>{const n=t,s=new It.ButtonView(i);return s[n(332)]({label:at(i,n(345)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(329)}),this[n(340)](s,n(300),()=>{const t=n;e[t(305)][t(335)](t(319))[t(318)]()}),s}),e.ui[t(321)][t(338)](t(334),i=>{const n=t,s=new It.ButtonView(i);return s[n(332)]({label:at(i,n(298)),withText:!0,tooltip:!0}),s[n(326)](n(343)).to(e[n(333)][n(335)](n(334))),this[n(340)](s,n(300),()=>e[n(300)](n(334))),s}),e.ui[t(321)][t(338)](t(320),n=>{const s=t,r=new ge(n),o=e[s(333)][s(335)](s(296)),a=e[s(333)][s(335)](s(299));return r[s(326)](s(307)).to(o,s(343)),r[s(326)](s(324)).to(a,s(343)),r[s(326)](s(302),s(301),s(297),s(316)).to(i),this[s(340)](r,s(300),(t,i)=>{const n=s;e[n(300)](n(308)===i?n(299):n(296))}),r}),n[t(312)](),i.on(t(341),(e,i,s)=>{const r=t;s?n[r(327)]():n[r(312)]()})}}var Ae=i(549),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=Tt(),Re.insertStyleElement=Et();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;function Me(t,e){const i=Ee();return(Me=function(t,e){return i[t-=218]})(t,e)}const Ve=Me;function Ee(){const t=["_tooltipString","element","scrollWidth","3013829bubXmx","_updateTooltipText","7816CIFfVu","ck-tooltip_multi-line","6410526zbomeR","extendTemplate","118WQMLfl","1615XkvKKv","span","1781253OuOhmU","8WjqtXs","input","1066110JsSxXb","listenTo","ck-revision-history-sidebar__revision-name","placeholder","clientWidth","render","1916cnhkCF","set","value","275ZIrTnd","2497140BmpWUX","destroy","fieldView","_resizeObserver","bindTemplate","Revision name","Enter the revision name"];return(Ee=function(){return t})()}!function(t){const e=Me,i=t();for(;;)try{if(654108===parseInt(e(237))/1*(-parseInt(e(225))/2)+-parseInt(e(241))/3+-parseInt(e(221))/4*(-parseInt(e(226))/5)+-parseInt(e(223))/6+-parseInt(e(219))/7+-parseInt(e(229))/8*(parseInt(e(228))/9)+parseInt(e(231))/10*(parseInt(e(240))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Ve(244)]=null;constructor(t,e){const i=Ve;super(t,e);const n=this[i(245)];this[i(238)]({label:at(t,i(246)),_tooltipString:""}),this[i(243)][i(234)]=at(t,i(247)),this[i(224)]({tag:i(227),attributes:{class:[i(233)],"data-cke-tooltip-text":n.to(i(248)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(222)}})}[Ve(236)](){const e=Ve;super[e(236)](),this[e(244)]=new t.ResizeObserver(this[e(243)][e(249)],()=>this[e(220)]()),this[e(232)](this[e(243)],e(230),()=>this[e(220)]())}[Ve(242)](){const t=Ve;super[t(242)](),this[t(244)]&&this[t(244)][t(242)]()}[Ve(220)](){const t=Ve,e=this[t(243)][t(249)];this[t(248)]=e[t(218)]>e[t(235)]&&e[t(239)]||""}}var Ce=i(997),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=Tt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Le();return(je=function(t,e){return i[t-=189]})(t,e)}function Le(){const t=["365192McZKjd","80setCCh","Revision author","281463kbBhLW","2556610DysTzd","2564856qEvmAy","2170647InblPN","ck-revision-history-sidebar__revision-author","12SOWDFI","Revision creator","ck-revision-history-sidebar__revision-author_creator","setTemplate","921977IujcFC","name","span","1067400aukEsO","ck-revision-history-sidebar__revision-author__name","set","0 0 11 10","push"];return(Le=function(){return t})()}!function(t){const e=je,i=t();for(;;)try{if(733992===parseInt(e(207))/1+parseInt(e(200))/2+-parseInt(e(198))/3+parseInt(e(195))/4+parseInt(e(190))/5+-parseInt(e(203))/6*(-parseInt(e(199))/7)+parseInt(e(196))/8*(-parseInt(e(201))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class Pe extends It.View{constructor(t,e,i){const n=je;super(t);const s=new It.IconView;s[n(192)]({content:_t.IconUser,viewBox:n(193)});const r=["ck",n(202)];i&&r[n(194)](n(205));const o=[{tag:n(189),attributes:{class:["ck",n(191)],title:at(t,n(i?204:197))},children:[s,e[n(208)]]}];this[n(206)]({tag:"li",attributes:{class:r},children:o})}}function We(t,e){var i=ze();return(We=function(t,e){return i[t-=233]})(t,e)}function ze(){var t=["111674hOSiLY","7544130mXYqif","4976460WjHrtF","154OCBUcG","75880zQdSCZ","6IbSfNr","numeric","long","5OXKoXV","4298532EBRBzo","2169004dZVrMx","2832480PepeeP","toLocaleDateString","toLocaleTimeString","23secJrY","588dbJRvw"];return(ze=function(){return t})()}!function(t){for(var e=We,i=t();;)try{if(654016===-parseInt(e(233))/1*(parseInt(e(235))/2)+-parseInt(e(240))/3*(parseInt(e(245))/4)+-parseInt(e(243))/5*(-parseInt(e(244))/6)+-parseInt(e(234))/7*(parseInt(e(239))/8)+parseInt(e(237))/9+-parseInt(e(236))/10+-parseInt(e(238))/11*(-parseInt(e(246))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var Ue=i(439),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=At().bind(null,"head"),Ze.domAPI=Tt(),Ze.insertStyleElement=Et();Ot()(Ue.A,Ze);Ue.A&&Ue.A.locals&&Ue.A.locals;function He(t,e){const i=$e();return(He=function(t,e){return i[t-=111]})(t,e)}function $e(){const t=["2865flGIOX","class","1460228RdVVrI","listView","first","8sxIjMy","bind","_action","2077960gvrBUz","change:isActionsDropdownOpen","find","Compare against selected","2258379NZLRjH","source","bindTemplate","2450GERBJb","children","Name this revision","add","extendTemplate","function","stopPropagation","panelPosition","execute","ck-revision-history-sidebar__revision__actions","isVisible","button","isReady","locale","menu","ck-on","buttonView","items","action","Restore this revision","model","isEnabled","set","name","Show more items","1187656hHoMSX","460535WPzOhs","map","listenTo","6gNeKiH","208334EdgeUf","isOpen","isActionsDropdownOpen","menuitem"];return($e=function(){return t})()}!function(t){const e=He,i=t();for(;;)try{if(739065===parseInt(e(139))/1+-parseInt(e(158))/2*(-parseInt(e(143))/3)+-parseInt(e(134))/4+parseInt(e(135))/5*(-parseInt(e(138))/6)+parseInt(e(145))/7+parseInt(e(148))/8*(-parseInt(e(155))/9)+-parseInt(e(151))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($e);var qe=i(532),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=Tt(),Be.insertStyleElement=Et();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;const Ye=Je;function Ge(){const t=["unshift","ck-reset","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isHighlighted",".ck-confirm-view","uiLanguage","revisionActionsView","highlight","createdAt","36047WuewIF","isSelected","bindTemplate","listenTo","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__actions_dropdown_open","_revision","ck-revision-history-sidebar__revision__date","isConfirm","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision-authors","setTemplate","175017hatCEc","value","220","ck-revision-history-sidebar__revision-wrapper","unhighlight","176IRFthZ","extendTemplate","span","fire","fieldView","name","creator","render","ck-revision-history-sidebar__revision_highlighted","div","1514040MtOvVy","change","length","setName","select","isEnabled","set","2050GvLxHi","15882HPXcfp","deselect","element","authors","754545ZerktM","isActionsDropdownOpen","revisionNameView","bind","ck-disabled","ck-revision-history-sidebar__revision_selected","isReady","67669sGXtPr","875EADGru","filter","2zUEwZP","srcElement","map","_createdAtFormatted","3946662bWtInh","_requireRevisionName","closest","from"];return(Ge=function(){return t})()}function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=178]})(t,e)}!function(t){const e=Je,i=t();for(;;)try{if(557740===parseInt(e(223))/1*(-parseInt(e(194))/2)+parseInt(e(184))/3+-parseInt(e(238))/4+-parseInt(e(192))/5*(parseInt(e(180))/6)+-parseInt(e(191))/7*(-parseInt(e(228))/8)+parseInt(e(198))/9+-parseInt(e(179))/10*(-parseInt(e(211))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(186)];[Ye(208)];[Ye(217)];[Ye(199)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(213)],a=function(t,e){const i=r,n=Array[i(201)](e[i(183)])[i(193)](t=>t!=e[i(234)]);return e[i(234)]&&n[i(202)](e[i(234)]),n[i(196)](n=>new Pe(t,n,n==e[i(234)]))}(e,i);this.id=i.id,this[r(217)]=i,this[r(199)]=s,this[r(187)](r(233),r(210)).to(i),this[r(187)](r(197)).to(this,r(210),t=>{return i=e[r(207)],(n=t)[(s=We)(247)](i,{month:s(242),day:s(241)})+", "+n[s(248)](i,{hour:s(241),minute:s(241)});var i,n,s}),this[r(178)](r(212),!1),this[r(178)](r(205),!1),this[r(178)](r(185),!1),this[r(178)](r(190),!1),this[r(178)](r(243),!1),this[r(186)]=new De(e,It.createLabeledInputText),this[r(186)][r(232)][r(229)]({attributes:{maxlength:r(225)}}),this[r(186)][r(232)][r(187)](r(224)).to(this,r(233),t=>t||this[r(197)]),this[r(186)][r(187)](r(243)).to(this,r(212),this,r(243),(t,e)=>t&&e),this[r(208)]=n&&n[r(240)]?function(e,i){const n=He,s=e[n(157)],r=e[n(122)],o=(0,It.createDropdown)(r);o[n(116)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=He,n=t[i(122)],s={"Compare against selected":at(n,i(154)),"Name this revision":at(n,i(111)),"Restore this revision":at(n,i(128))};return e[i(136)](t=>{const e=i,n=s[t[e(132)]];return n&&n!==t[e(132)]&&(t[e(132)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(120),model:new It.UIModel({label:t[s(132)],class:t[s(144)],withText:!0,role:s(142),_action:t[s(127)]})};i[s(129)][s(149)](s(130)).to(e,s(141),i=>s(114)!=typeof t[s(130)]||!i||t[s(130)](e)),o[s(112)](i)}return o}(e,i);return e[n(149)](n(141)).to(o,n(140)),o[n(125)][n(131)]({label:at(r,n(133)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(113)]({attributes:{class:[n(118),s.if(n(141),n(124))]},on:{click:s.to(t=>t[n(115)]())}}),o.on(n(117),t=>{const i=n;e[i(121)]&&i(114)==typeof t[i(156)][i(150)]&&t[i(156)][i(150)](e)}),(0,It.addListToDropdown)(o,a,{role:n(123)}),o[n(137)](e,n(152),(t,s,r)=>{const a=n;if(r)for(const t of o[a(146)][a(126)]){const n=t[a(159)][a(147)],s=i[a(153)](t=>t[a(127)]===n[a(150)])[a(119)];t[a(119)]=void 0===s||s(e)}}),o}(this,n):"",this[r(208)]&&this[r(208)][r(187)](r(243)).to(this),this[r(222)]({tag:r(237),attributes:{class:["ck",r(203),r(226),o.if(r(219),r(204))]},children:[{tag:r(237),attributes:{class:["ck",r(203),r(220),o.if(r(243),r(188),t=>!t),o.if(r(212),r(189)),o.if(r(205),r(236)),o.if(r(185),r(216))]},children:[this[r(186)],{tag:r(230),attributes:{class:["ck",r(218)]},children:[{text:o.to(r(197))}]},{tag:r(237),attributes:{class:["ck",r(215)]},children:[{tag:"ul",attributes:{class:["ck",r(221)]},children:a}]},this[r(208)]],on:{click:o.to(t=>{const e=r;t[e(195)][e(200)](e(206))||this[e(190)]&&this[e(243)]&&this[e(231)](e(242),{id:this.id})})}}]})}[Ye(235)](){const t=Ye;super[t(235)]();const e=this[t(186)][t(232)][t(182)];this[t(214)](e,t(239),()=>{const i=t;this[i(199)]&&!e[i(224)]||this[i(231)](i(241),{id:this.id,name:e[i(224)]}),e[i(224)]||(e[i(224)]=this[i(233)]?this[i(233)]:this[i(197)])})}[Ye(242)](){this[Ye(212)]=!0}[Ye(181)](){this[Ye(212)]=!1}[Ye(209)](){this[Ye(205)]=!0}[Ye(227)](){this[Ye(205)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class ni extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Xe{}class ri extends Xe{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},xi={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},Ti={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 Ei extends Mi{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 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 Di=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(),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=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=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[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:En(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,(Jn({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 Wi(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 zi=new Map;const Ui=new Map;let Zi=null;const Hi=new Map;function $i(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const qi=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=zi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),zi.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 Un(this.floor?Math.floor(t):qn(t,3),this.padTo)}}class Gi{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=Wi(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 Ji{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=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.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 Xi{static fromOpts(t){return Xi.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":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=Wn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Zi=null,Pi.clear(),zi.clear(),Ui.clear(),Hi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Xi.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=Wi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=Wi(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"===$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?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Wn(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 Gi(t,this.intl,e)}relFormatter(t={}){return new Ji(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()||$i(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?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={...Ki,...e}),qi.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 Qi=null;class tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}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(En(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?Ei.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return Dn(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,Ei.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=Wn(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(){Xi.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 xn(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=Xn(c,e,i)):u>Xn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function Tn(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(!En(t.localWeekday)||!En(t.localWeekNumber)||!En(t.localWeekYear)){if(!En(t.weekday)||!En(t.weekNumber)||!En(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return En(t.localWeekday)||(t.weekday=t.localWeekday),En(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),En(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=zn(t.month,1,12),n=zn(t.day,1,Gn(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=zn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=zn(i,0,59),a=zn(n,0,59),c=zn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function En(t){return void 0===t}function Dn(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 Wn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!zn(t.firstDay,1,7)||!zn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Zn(t){return En(t)||null===t||""===t?void 0:parseInt(t,10)}function Hn(t){return En(t)||null===t||""===t?void 0:parseFloat(t)}function $n(t){if(!En(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qn(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 Gn(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 Jn(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 Xn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Qn(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}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(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:Ti,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 Un(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 xs(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Zn(e[i+s]);return[n,null,i+s]}}const Ts=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${Ts.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=xs("weekYear","weekNumber","weekDay"),Vs=xs("year","ordinal"),Es=RegExp(`${Ns.source} ?(?:${Ts.source}|(${_s.source}))?`),Ds=RegExp(`(?: ${Es.source})?`);function Cs(t,e,i){const n=t[e];return En(n)?i:Zn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:$n(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}$`),Ws=/^-?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 zs(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(Hn(i)),months:d(Hn(n)),weeks:d(Hn(s)),days:d(Hn(r)),hours:d(Hn(o)),minutes:d(Hn(a)),seconds:d(Hn(c),"-0"===c),milliseconds:d($n(u),h)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Zn(e)):Zn(e),month:as.indexOf(i)+1,day:Zn(n),hour:Zn(s),minute:Zn(r)};return o&&(a.second=Zn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Hs=/^(?:(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 $s(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Zs(e,s,n,i,r,o,a);let f;return f=c?Us[c]:u?0:es(l,h),[d,new tn(f)]}const qs=/^(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 Gs(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,s,n,i,r,o,a),tn.utcInstance]}function Js(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Xs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Qs=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)/,Ds),ar=Is(Es),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(En(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(En(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||Xi.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:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Dn(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,[Ws,zs])}(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 En(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+=qn(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;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(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||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.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 xr(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 Tr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(Tr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,Tr)}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 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=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 xr(u);case"yy":case"kk":return xr(h,Qn);case"yyyy":case"kkkk":return xr(r);case"yyyyy":return xr(d);case"yyyyyy":return xr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return xr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return xr(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 xr(c);case"ooo":case"SSS":return xr(s);case"u":return Er(l);case"uu":return Er(a);case"uuu":case"E":case"c":return xr(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 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 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 En(t.z)||(i=ji.create(t.z)),En(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),En(t.q)||(t.M=3*(t.q-1)+1),En(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),En(t.u)||(t.S=$n(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=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const Wr="Invalid DateTime",zr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Zr(t){return null===t.weekData&&(t.weekData=xn(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=xn(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 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 qr(Jn(t),e,i)}function Gr(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,Gn(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=Jn(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(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(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(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(Ur(i));const n=Xi.fromObject(e);let s,r;if(En(t.year))s=gn.now();else{for(const e of no)En(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=!!En(i.round)||i.round,s=(t,s)=>{t=qn(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:Ur(e));this.ts=En(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=Dn(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||Xi.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:Xi.fromObject(e)}):fo.invalid(Ur(s))}static fromMillis(t,e={}){if(Dn(t))return t<-zr||t>zr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Dn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Xi.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(Ur(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=En(e.specificOffset)?i.offset(a):e.specificOffset,u=!En(s.ordinal),l=!En(s.year),h=!En(s.month)||!En(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=xn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){En(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=zn(t.weekNumber,1,Xn(t.weekYear,e,i)),r=zn(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=zn(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?Tn(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],[Xs,ir],[Qs,nr],[tr,sr])}(t);return Jr(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),[Hs,$s])}(t);return Jr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[qs,Gs],[Bs,Gs],[Ys,Js])}(t);return Jr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(En(t)||En(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.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):Jr(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 Jr(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 Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Xi.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?Zr(this).weekYear:NaN}get weekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get weekday(){return this.isValid?Zr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(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=Jn(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?[$r(this,{ts:a}),$r(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Gn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xn(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 $r(this,{ts:n,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=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!En(e.weekYear)||!En(e.weekNumber)||!En(e.weekday),r=!En(e.ordinal),o=!En(e.year),a=!En(e.month)||!En(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=Tn({...xn(this.c,i,n),...e},i,n):En(e.ordinal)?(l={...this.toObject(),...e},En(e.day)&&(l.day=Math.min(Gn(l.year,l.month),l.day))):l=An({...Nn(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,Gr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return $r(this,Gr(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):Wr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):Wr}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=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(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":"")+Qr(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?Xr(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():Wr}[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(Xi.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=Xi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(En(t)||En(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.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):Jr(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 xi}static get DATETIME_FULL(){return Ti}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&&Dn(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(t,e){const i=go();return(po=function(t,e){return i[t-=139]})(t,e)}function vo(t,e){const i=po,n=fo[i(148)](t)[i(145)](e),s=fo[i(139)](),r=s[i(140)]({days:1})[i(143)](i(157));let o,a;return n[i(142)](s,i(157))?(o=n[i(143)](i(157))[i(149)](),a=n[i(158)]()):n[i(142)](r,i(157))?(o=r[i(149)](),a=n[i(158)]()):n[i(142)](s,i(153))?(o=n[i(143)](i(153))[i(149)](),a=n[i(159)]||""):n[i(142)](s,i(144))?(o=n[i(143)](i(147))[i(149)](),a=n[i(151)]||""):(o=n[i(143)](i(144))[i(149)](),a=String(n[i(144)])),{startDate:o,localizedPeriodName:a}}function go(){const t=["toRelativeCalendar","weekdayLong","952HwAUfb","10347936YBjNUz","6lhqUUX","5bMnDki","local","minus","29873JuIbew","hasSame","startOf","year","setLocale","59370qxSYEo","month","fromJSDate","toJSDate","40RpzaSH","monthLong","1142076LJRsUT","week","30289yHrARN","3413610lRBtlx","15441316OrWQIe","day"];return(go=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(977284===-parseInt(e(141))/1*(-parseInt(e(150))/2)+parseInt(e(162))/3*(parseInt(e(152))/4)+parseInt(e(163))/5*(-parseInt(e(161))/6)+parseInt(e(154))/7*(parseInt(e(160))/8)+-parseInt(e(155))/9+-parseInt(e(146))/10+parseInt(e(156))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);var yo=i(342),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=Tt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=237]})(t,e)}function _o(){const t=["addRevision","add","remove","254709QOzLfo","_revisionActions","revisionViews","locale","div","delegate","_requireRevisionName","removeRevision","5715248nkhncg","find","uiLanguage","startDate","select","378646akmcYA","ck-revision-history-sidebar__time-period","ck-revision-history-sidebar__time-period__label","63924gZFDwl","510vUaDnU","1050270dWUdgr","ck-revision-history-sidebar__time-period__revisions","8290542FuKKNr","localizedPeriodName","132fbvMPm","createCollection","setName","48fgYVaA","545hdcxNz","1aNEoGM","span","setTemplate","839797nNuNkv"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(967798===parseInt(e(247))/1*(parseInt(e(267))/2)+parseInt(e(238))/3+-parseInt(e(270))/4*(parseInt(e(246))/5)+-parseInt(e(240))/6+parseInt(e(250))/7*(-parseInt(e(245))/8)+-parseInt(e(254))/9*(parseInt(e(237))/10)+parseInt(e(262))/11*(parseInt(e(242))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(265)];[bo(256)];[bo(255)];[bo(260)];constructor(t,e,i,n){const s=bo;super(t);const r=vo(e,this[s(257)][s(264)])[s(241)];this[s(265)]=e,this[s(256)]=this[s(243)](),this[s(255)]=i,this[s(260)]=n,this[s(256)][s(259)](s(266)).to(this),this[s(256)][s(259)](s(244)).to(this),this[s(249)]({tag:s(258),attributes:{class:["ck",s(268)]},children:[{tag:s(248),attributes:{class:["ck",s(269)]},children:[{text:r}]},{tag:s(258),attributes:{class:["ck",s(239)]},children:this[s(256)]}]})}[bo(251)](t){const e=bo,i=new Ke(this[e(257)],t,this[e(255)],this[e(260)]);this[e(256)][e(252)](i)}[bo(261)](t){const e=bo,i=this[e(256)][e(263)](e=>e.id===t.id);this[e(256)][e(253)](i)}}var So=i(193),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=Tt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=176]})(t,e)}function To(){const t=["610135DswvXv","Revision history","13850cjbAUk","223dybEJO","ck-revision-history-sidebar__header__label","12771390HwxQdI","span","ck-revision-history-sidebar__header","4iRCeUu","2482554yJrGpR","div","8397763nHUajz","9uxWFuB","584vRThqX","ck-reset_all","setTemplate","2075064zpQVXg","77833GEwLEy","content"];return(To=function(){return t})()}!function(t){const e=xo,i=t();for(;;)try{if(846338===parseInt(e(180))/1*(parseInt(e(179))/2)+parseInt(e(193))/3*(-parseInt(e(185))/4)+-parseInt(e(177))/5+parseInt(e(186))/6+parseInt(e(194))/7*(-parseInt(e(190))/8)+-parseInt(e(189))/9*(-parseInt(e(182))/10)+-parseInt(e(188))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(176)]=_t.IconHistory,this[e(192)]({tag:e(187),attributes:{class:["ck",e(191),e(184)]},children:[i,{tag:e(183),attributes:{class:["ck",e(181)]},children:[at(t,e(178))]}]})}}var Ao=i(574),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=Tt(),Ro.insertStyleElement=Et();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Eo;function Vo(){const t=["revisionSelected","find","_revisions","setTemplate","ck-revision-history-sidebar","remove","651UqtnNl","delegate","isEnabled","selectRevision","unhighlight","add","_requireRevisionName","43458CujoCh","_removeRevision","_revisionActions","63032rExkVT","render","createdAt","select","2fZFCwn","map","fire","6120WogqQE","uiLanguage","5roHNYn","revisionSetName","_getTimePeriodViewByStartDate","flat","ck-disabled","ck-reset","some","removeRevision","revisionViews","4686NSMciU","setName","13149852wKIiel","179590evyGdc","div","get","deselect","highlight","bindTemplate","set","3258liIvkl","_addRevision","locale","ck-rounded-corners","startDate","ck-revision-history-sidebar__timeline","addRevision","getTime","highlightRevisions","1073204eYgVfj","timePeriodViews","createCollection","243Nxtvpc"];return(Vo=function(){return t})()}function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=224]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(138472===-parseInt(e(244))/1*(parseInt(e(261))/2)+parseInt(e(237))/3+parseInt(e(277))/4*(-parseInt(e(249))/5)+parseInt(e(268))/6*(-parseInt(e(230))/7)+-parseInt(e(240))/8*(parseInt(e(280))/9)+-parseInt(e(247))/10*(parseInt(e(258))/11)+parseInt(e(260))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends It.View{[Mo(278)];[Mo(226)];[Mo(239)];[Mo(236)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(266)];this[s(278)]=this[s(279)](),this[s(278)][s(231)](s(243)).to(this),this[s(278)][s(231)](s(259)).to(this),this[s(226)]=e,this[s(239)]=i,this[s(236)]=n,this.on(s(243),(t,e)=>{const i=s;this[i(246)](i(224),e)}),this.on(s(259),(t,e)=>{const i=s;this[i(246)](i(250),e)}),this[s(267)](s(232),!1),this[s(227)]({tag:s(262),attributes:{class:["ck",s(254),s(271),s(228)]},children:[new No(t),{tag:s(262),attributes:{class:["ck",s(273),r.if(s(232),s(253),t=>!t)]},children:this[s(278)]}]})}[Mo(241)](){const t=Mo;super[t(241)]();for(const e of this[t(226)])this[t(269)](e);this[t(226)].on(t(235),(e,i)=>{this[t(269)](i)}),this[t(226)].on(t(229),(e,i)=>{this[t(238)](i)})}get[Mo(257)](){const t=Mo;return this[t(278)][t(245)](e=>e[t(257)][t(245)](t=>t))[t(252)]()}[Mo(233)](t){const e=Mo;for(const i of this[e(257)])t&&t.id===i.id?i[e(243)]():i[e(264)]()}[Mo(276)](t){const e=Mo;for(const i of this[e(257)])t[e(255)](({id:t})=>t===i.id)?i[e(265)]():i[e(234)]()}[Mo(269)](t){const e=Mo,i=vo(t[e(242)],this[e(270)][e(248)])[e(272)];let n=this[e(278)][e(263)](0);n&&n[e(272)][e(275)]()===i[e(275)]()||(n=new Io(this[e(270)],i,this[e(239)],this[e(236)]),this[e(278)][e(235)](n)),n[e(274)](t)}[Mo(238)](t){const e=Mo,i=vo(t[e(242)],this[e(270)][e(248)])[e(272)];this[e(251)](i)[e(256)](t)}[Mo(251)](t){const e=Mo;return this[e(278)][e(225)](i=>i[e(272)][e(275)]()===t[e(275)]())}}const Co=jo;function Fo(){const t=["render","isVisible","requires","diff","getRevision","_handleRevisionSelected","init","820548kxhjdn","isPremiumPlugin","isEnabled","_handleEditorDataReady","ready","getIndex","1125965uRZcmW","15588IZCgdc","Compare against selected","_revisionViewer","string","listenTo","revisionHistory.revisionActions","getLaterVisibleRevision","isSelected","setName","revisionSelected","_sidebarView","add","revisionViews","revisionHistory.viewerSidebarContainer","getEarlierVisibleRevision","_handleRevisionSetName","nameRevision","remove","pluginName","destroy","getRevisionsInDiff","5044KCehBc","length","data","isOfficialPlugin","_revisions","417cwCksJ","appendChild","70xgMBPB","_handleDiffChange","compare","repository","plugins","config","compareAgainstSelected","selectRevision","defaultRevisionActions","focus","288134mbTvcL","newRevisionId","name","locale","assign","change:diff","Restore this revision","748649YdTIlV","timePeriodViews","bind","editor","element","_createRevisionActions","get","restoreRevision","fieldView","_revisionsRepository","Name this revision","revisionHistory","availableRevisionActions","211685MKbljz","RevisionsSidebar","select","action","1176YRtHkw","isReady","revisionHistory.requireRevisionName","map","restoreRevisionCallback","highlightRevisions","2dGcQSt","revisionSetName"];return(Fo=function(){return t})()}function jo(t,e){const i=Fo();return(jo=function(t,e){return i[t-=278]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(135386===-parseInt(e(326))/1*(-parseInt(e(336))/2)+parseInt(e(294))/3*(-parseInt(e(289))/4)+parseInt(e(351))/5+parseInt(e(345))/6+-parseInt(e(306))/7+parseInt(e(330))/8*(parseInt(e(352))/9)+parseInt(e(296))/10*(-parseInt(e(313))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends J.Plugin{[Co(354)];[Co(322)];[Co(278)];static[Co(304)]=[Co(302),Co(320),Co(284)];static[Co(325)]=function(){const t=Co;return{compareAgainstSelected:{name:t(353),action:({plugins:e},i)=>{const n=t,s=e[n(319)](ae),r=s[n(299)];let o=s[n(341)][n(307)],a=i.id;r[n(350)](o)>r[n(350)](a)&&([o,a]=[a,o]),s[n(298)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(319)](ae);return!(s[n(299)][n(288)](s[n(341)])[n(290)]>2||i[n(359)])}},restoreRevision:{name:t(312),action:(e,{id:i})=>{const n=t;e[n(301)][n(319)](n(324))[n(334)](i)},isVisible:({plugins:e},i)=>!!e[t(319)](ae)[t(299)][t(358)](i.id)},nameRevision:{name:t(323),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(319)](ae),o=r[s(299)][s(282)](i);r[s(298)](i,o),n[s(305)](),n[s(321)][s(328)]()}}}}();static get[Co(286)](){return Co(327)}static get[Co(292)](){return!0}static get[Co(346)](){return!0}static get[Co(340)](){return[ae]}constructor(t){const e=Co;super(t),this[e(354)]=t[e(300)][e(319)](ae),this[e(322)]=this[e(354)][e(299)],this[e(278)]=null}[Co(344)](){const t=Co,e=this[t(322)][t(293)],i=this[t(318)](),n=this[t(316)][t(301)][t(319)](t(281));this[t(278)]=new Do(this[t(316)][t(309)],e,i,this[t(316)][t(301)][t(319)](t(332))),this[t(278)].on(t(361),this[t(343)][t(315)](this)),this[t(278)].on(t(337),this[t(283)][t(315)](this)),this[t(278)][t(315)](t(347)).to(this[t(354)]),this[t(278)][t(314)].on(t(279),(e,i)=>{const n=t;i[n(280)].on(n(279),(t,e)=>{const i=n;e[i(315)](i(347),i(331)).to(this[i(354)])})}),this[t(278)][t(338)](),this[t(356)](this[t(316)][t(291)],t(349),this[t(348)][t(315)](this)),this[t(356)](this[t(354)],t(311),this[t(297)][t(315)](this)),n[t(295)](this[t(278)][t(317)])}[Co(287)](){const t=Co;this[t(278)][t(317)][t(285)](),this[t(278)][t(287)]()}[Co(348)](){const t=Co,e=this[t(322)][t(342)](0);if(e){const i=this[t(322)][t(282)](e.id);this[t(354)][t(298)](e,i)}}[Co(343)](t,e){const i=Co,n=this[i(322)][i(342)](e.id),s=this[i(322)][i(282)](n.id);this[i(354)][i(298)](n,s)}[Co(283)](t,e){const i=Co;this[i(322)][i(342)](e.id)[i(360)](e[i(308)])}[Co(297)](t,e,i){const n=Co,s=this[n(322)][n(288)](i);s[n(290)]>2?(this[n(278)][n(335)](s),this[n(278)][n(303)](null)):(this[n(278)][n(335)]([]),this[n(278)][n(303)](s[0]))}[Co(318)](){const t=Co,e=this[t(316)],i=Lo[t(325)],n=e[t(301)][t(319)](t(357))||Lo[t(304)];if(n[t(290)])return n[t(333)](n=>{const s=t,r=s(355)==typeof n?Object[s(310)]({},i[n]):n;return r[s(329)]=r[s(329)][s(315)](this,e),r[s(339)]&&(r[s(339)]=r[s(339)][s(315)](this,e)),r})}}const Po=Wo;function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=118]})(t,e)}function zo(){const t=["get","12ewhZxq","428940xkjXjJ","render","isActive","10072513zWQYHa","addToolbar","config","fillFromConfig","init","document","_elementReplacer","editor","fire","getRoot","restore","bind","replace","5229756YsrVpr","viewportOffset","isFocused","ready","915YTMUXt","146755rwhIsd","_initToolbar","stickyPanel","setEditableElement","destroy","name","editable","28hZhzug","view","viewportTopOffset","8WdDIbX","10biqUAe","rootName","componentFactory","_view","660114JPNnJL","6872886qQpkbw","element","attachDomRoot","detachDomRoot","_toolbarConfig","1506KMsGxR","toolbar","editing","limiterElement","focusTracker"];return(zo=function(){return t})()}!function(t){const e=Wo,i=t();for(;;)try{if(448560===-parseInt(e(159))/1*(parseInt(e(132))/2)+parseInt(e(139))/3+-parseInt(e(118))/4*(-parseInt(e(160))/5)+-parseInt(e(126))/6+-parseInt(e(155))/7*(-parseInt(e(121))/8)+parseInt(e(127))/9*(-parseInt(e(122))/10)+parseInt(e(142))/11*(parseInt(e(138))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Po(125)];[Po(131)];[Po(148)];get[Po(119)](){return this[Po(125)]}constructor(e,i){const n=Po;super(e),this[n(125)]=i,this[n(131)]=(0,It.normalizeToolbarConfig)(e[n(144)][n(137)](n(133))),this[n(148)]=new t.ElementReplacer}get[Po(128)](){const t=Po;return this[t(119)][t(128)]}[Po(146)](t){const e=Po,i=this[e(149)],n=this[e(119)],s=i[e(134)][e(119)],r=n[e(166)],o=s[e(147)][e(151)]();r[e(165)]=o[e(123)],n[e(140)]();const a=r[e(128)];this[e(163)](r[e(165)],a),n[e(166)][e(153)](e(157)).to(this[e(136)]),s[e(129)](a),this[e(148)][e(154)](t,this[e(128)]),this[e(161)](),this[e(150)](e(158))}[Po(164)](){const t=Po;super[t(164)]();const e=this[t(119)],i=this[t(149)][t(134)][t(119)];this[t(148)][t(152)](),i[t(130)](e[t(166)][t(165)]),e[t(164)]()}[Po(161)](){const t=Po,e=this[t(119)];e[t(162)][t(153)](t(141)).to(this[t(136)],t(157)),e[t(162)][t(135)]=e[t(128)],e[t(162)][t(153)](t(120)).to(this,t(156),({top:t})=>t),e[t(133)][t(145)](this[t(131)],this[t(124)]),this[t(143)](e[t(133)])}}var Zo=i(750),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=At().bind(null,"head"),Ho.domAPI=Tt(),Ho.insertStyleElement=Et();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;var $o=Bo;function qo(){var t=["722376IlpIqc","999966mVYoBG","_editable","1233590gInTlP","editable","8444MBogEa","main","7621512RrWZmg","top","shouldToolbarGroupWhenFull","173285slmZiM","content","toolbar","745948HDZQQx","render","add","stickyPanel","9eplbRS","357zKTuKr"];return(qo=function(){return t})()}function Bo(t,e){var i=qo();return(Bo=function(t,e){return i[t-=322]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(206762===parseInt(e(328))/1+-parseInt(e(337))/2+parseInt(e(336))/3*(-parseInt(e(323))/4)+-parseInt(e(340))/5+-parseInt(e(338))/6+parseInt(e(331))/7+parseInt(e(325))/8*(parseInt(e(335))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Yo extends It.BoxedEditorUIView{[$o(339)];[$o(334)];[$o(330)];get[$o(322)](){return this[$o(339)]}constructor(t,e,i={}){var n=$o;super(t),this[n(334)]=new It.StickyPanelView(t),this[n(330)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(327)]}),this[n(339)]=new It.InlineEditableUIView(t,e)}[$o(332)](){var t=$o;super[t(332)](),this[t(334)][t(329)][t(333)](this[t(330)]),this[t(326)][t(333)](this[t(334)]),this[t(324)][t(333)](this[t(322)])}}const Go=Jo;function Jo(t,e){const i=Ko();return(Jo=function(t,e){return i[t-=262]})(t,e)}function Ko(){const t=["_ui","ready","5DdJPYY","6147581zHecuA","fire","initPlugins","model","get","78neaFUW","locale","sourceElement","data","40KqIWaj","6159126FNuFoD","config","28236YnhoXK","13857795kZWibX","64626WfdMLz","editing","8iWrxTe","document","initialData","97071fGguAn","create","view","517111xSZTho","updateSourceElement","init","destroy","createRoot"];return(Ko=function(){return t})()}!function(t){const e=Jo,i=t();for(;;)try{if(992927===-parseInt(e(287))/1+-parseInt(e(282))/2*(-parseInt(e(273))/3)+-parseInt(e(280))/4*(parseInt(e(267))/5)+parseInt(e(278))/6+-parseInt(e(290))/7*(parseInt(e(284))/8)+parseInt(e(281))/9+-parseInt(e(277))/10*(parseInt(e(268))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Xo extends((0,J.ElementApiMixin)(J.Editor)){[Go(265)];get ui(){return this[Go(265)]}constructor(t,e){const i=Go;super(e),this[i(275)]=t,this[i(271)][i(285)][i(264)]();const n=new Yo(this[i(274)],this[i(283)][i(289)],{shouldToolbarGroupWhenFull:!0});this[i(265)]=new Uo(this,n)}[Go(263)](){const t=Go;return this[t(291)](),this.ui[t(263)](),super[t(263)]()}static async[Go(288)](t,e){const i=Go,n=new this(t,e);return await n[i(270)](),await n.ui[i(262)](t),await n[i(276)][i(262)](n[i(279)][i(272)](i(286))||""),n[i(269)](i(266)),n}}function Qo(t,e){const i=ea();return(Qo=function(t,e){return i[t-=296]})(t,e)}const ta=Qo;function ea(){const t=["querySelector","RestrictedEditingMode","RevisionsRepository","AIReviewMode","getAttributeKeys","uiLanguage","model","style","init","getRevisions","485710zfpYVh","Restored","push","create","isOfficialPlugin","keys","block","name","element","toJSON","hide","revision-history-viewer-opened","revisionHistory.requireRevisionName","_update","change","fromVersion","revisionHistory.closeRevisionViewerCallback","14884168CsSQRp","DocumentOutline","get","addUser","isOpen","isReadOnly","adapter","panelViews","roots","revisionHistory.showRevisionViewerCallback","refreshVisibility","saveRevision","loadRevisionData",".ck-ai-chat__prompt-input .ck-textarea","Users","removeAttribute","addRevisionData","display","toVersion","rootName","changesNavigation","addRoot","restoreRevision","numeric","_enhanceCloseRevisionViewerCallback","$graveyard","requires","109094hsgOgS","getRoot","enqueueChange","AITabs","refreshPositioning","detachRoot","revisionHistory","from","RevisionViewerIntegration","PaginationLookup","_enhanceShowRevisionViewerCallback","RevisionViewer","RevisionHistoryUtils","setSelection","showRevisionViewerCallback","bind","result","5763720RmhWAr","revisionHistory.viewerEditorElement","RevisionTracker","Dialog","RevisionHistoryUI","commands","AIChatHistory","6wUsRKn","selection","locale","revisionHistory.editorContainer","6274024sMjGdm","isRevisionViewerOpen","AIChat","indexOf","destroy","_closeRevisionViewer","isPremiumPlugin","getRevision","getRevisionDocumentData","Annotations","save","repository","parse","RevisionHistory","tabindex","revisionHistory.restoreRevisionCallback","long","setAttribute","removeMarker","fromCharCode",".ck-ai-chat-history .ck-input","revisionHistory.viewerContainer","Autosave","has","document","toLocaleDateString","creator","removeSelectionAttribute","markers","2UCmBGo","translations","then","isAnonymous","AIQuickActions","revision-history-missing-configuration","pluginName","error","includes","AIActions","getMarkersGroup","_viewerEditor","lazyRoots","toolbar","AIBalloon","join","replace","4762025QYQXPq","ck-tab-panel_disabled","insert"," ck-tab-panel_disabled","exitToEditing","DocumentOutlineUI","_recalculatePageBreaks","editor","update","map","config","define","isReady","isAttached","createRangeIn","getUser","_getRevisionViewerEditorConfig","end","enableReadOnlyMode","createdAt","none","class","getRevisionRootsAttributes","isEnabled","remove","1318681BkFTlU","view","_restoreRevision","closeRevisionViewerCallback","data","_showRevisionViewer","621jLnMeb","restrictedEditingException","disableReadOnlyMode","catch","toLocaleTimeString","plugins","set","_cleanUp","users"];return(ea=function(){return t})()}!function(t){const e=Qo,i=t();for(;;)try{if(970496===-parseInt(e(338))/1*(parseInt(e(449))/2)+parseInt(e(298))/3+-parseInt(e(309))/4+parseInt(e(355))/5*(-parseInt(e(305))/6)+parseInt(e(380))/7+-parseInt(e(422))/8+parseInt(e(386))/9*(parseInt(e(405))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);const ia=[ta(302),ta(396),ta(311),ta(398),ta(352),ta(342),ta(347)];class na extends J.Plugin{[ta(297)];static get[ta(344)](){return ta(457)}static get[ta(409)](){return!0}static get[ta(315)](){return!0}constructor(t){const e=ta;function i(t){const e=Qo;return t[e(364)](t=>String[e(328)](t))[e(353)]("")}super(t),this[e(297)]=e(372),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 J.Plugin{[ta(349)];static get[ta(344)](){return ta(322)}static get[ta(409)](){return!0}static get[ta(315)](){return!0}static get[ta(448)](){return[pt,$t]}constructor(e){const i=ta;if(super(e),!this[i(362)][i(365)][i(424)](i(455)))throw new t.CKEditorError(i(343),this);this[i(349)]=null,this[i(392)](i(310),!1),this[i(362)][i(365)][i(366)](i(431),t=>this[i(385)]({...t,translations:this[i(362)][i(307)][i(339)]})),this[i(362)][i(365)][i(366)](i(421),t=>this[i(314)](t)),this[i(362)][i(365)][i(366)](i(324),t=>this[i(382)](t)),this[i(362)][i(365)][i(366)](i(417),!1),this[i(459)](),this[i(446)]()}set[ta(428)](t){const e=ta;this[e(362)][e(391)][e(424)](e(300))[e(428)]=t}get[ta(428)](){const t=ta;return this[t(362)][t(391)][t(424)](t(300))[t(428)]}[ta(438)](t){const e=ta;return this[e(362)][e(391)][e(424)](e(300))[e(438)](t)}[ta(316)](t){const e=ta;return this[e(362)][e(391)][e(424)](e(397))[e(316)](t)}[ta(404)](t){const e=ta;return this[e(362)][e(391)][e(424)](e(397))[e(404)](t||{toJSON:!1})}[ta(371)](){const e=ta,i=this[e(362)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(391)][e(424)](e(300)),r=i[e(391)][e(424)](e(436))[e(394)];return n[e(351)]=[e(359),e(444),e(442)],delete n[e(350)],n[e(391)][e(407)](na,ae,Ne,class extends J.Plugin{static get[e(448)](){return[ae,e(436)]}[e(403)](){const n=e,o=this[n(362)][n(391)][n(424)](n(436));for(const t of r)t[n(341)]||o[n(370)](t.id)||o[n(425)](t);const a=s[n(320)][n(404)]();let c=null;const u=this[n(362)][n(391)][n(424)](n(460));u[n(428)]=s[n(428)],u[n(296)](n(378)).to(s),this[n(362)][n(303)][n(424)](n(444))[n(296)](n(378)).to(i,n(427),t=>!t);for(const e of a){const i=null===e[n(335)];if(i&&e[n(440)]===e[n(420)])continue;const r=e[n(414)]();u[n(438)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(418)](r,o);else if(!o){const e=a[u(414)]();e.id=(0,t.uid)(),s[u(433)](e,a[u(440)])[u(340)](t=>{c=t})}}else e[u(418)](r,o)})}}},Lo),n}[ta(459)](){const t=ta,e=this[t(362)][t(365)][t(424)](t(455))[t(463)];this[t(362)][t(365)][t(392)](t(431),async()=>{const i=t;this[i(362)][i(373)](i(416));const n=this[i(362)][i(391)][i(424)](i(300));if(this[i(362)][i(391)][i(332)](i(331))){const t=this[i(362)][i(391)][i(424)](i(331));await t[i(319)]()}else await n[i(363)]();if(this[i(362)][i(391)][i(332)](i(458))&&this[i(362)][i(391)][i(424)](i(458))[i(361)](),this[i(362)][i(391)][i(332)](i(301))){const t=this[i(362)][i(391)][i(424)](i(301));t[i(426)]&&t[i(415)]()}if(this[i(362)][i(391)][i(332)](i(452))){const t=this[i(362)][i(391)][i(424)](i(452))[i(381)][i(429)];for(const e of t)e[i(376)]=e[i(376)]?e[i(376)]+i(358):i(356);if(this[i(362)][i(391)][i(332)](i(311))){const t=document[i(395)](i(435));t&&t[i(326)](i(323),"-1")}if(this[i(362)][i(391)][i(332)](i(304))){const t=document[i(395)](i(329));t&&t[i(326)](i(323),"-1")}}const s=this[i(371)]();return e(s)[i(340)](t=>{const e=i;return this[e(349)]=t,this[e(362)][e(391)][e(332)](e(318))&&this[e(362)][e(391)][e(424)](e(318))[e(432)](),this[e(362)][e(391)][e(332)](e(423))&&(this[e(362)][e(391)][e(424)](e(360))[e(381)][e(413)][e(402)][e(439)]=e(375)),t})[i(389)](t=>(console[i(345)](t),this[i(362)][i(388)](i(416)),null))})}[ta(446)](){const t=ta,e=this[t(362)][t(365)][t(424)](t(455))[t(383)];this[t(362)][t(365)][t(392)](t(421),()=>{const i=t;if(this[i(362)][i(391)][i(332)](i(458))&&this[i(362)][i(391)][i(424)](i(458))[i(361)](),this[i(362)][i(391)][i(332)](i(423))&&(this[i(362)][i(391)][i(424)](i(360))[i(381)][i(413)][i(402)][i(439)]=""),this[i(362)][i(391)][i(332)](i(452))){const t=this[i(362)][i(391)][i(424)](i(452))[i(381)][i(429)];for(const e of t)e[i(376)]=i(356)===e[i(376)]?"":e[i(376)][i(354)](i(358),"");if(this[i(362)][i(391)][i(332)](i(311))){const t=document[i(395)](i(435));t&&t[i(437)](i(323))}if(this[i(362)][i(391)][i(332)](i(304))){const t=document[i(395)](i(329));t&&t[i(437)](i(323))}}return this[i(349)][i(391)][i(424)](i(460))[i(393)](),e(this[i(349)])[i(340)](()=>{const t=i;if(this[t(362)][t(388)](t(416)),this[t(349)]=null,this[t(362)][t(391)][t(332)](t(318))){const e=this[t(362)][t(391)][t(424)](t(318));e[t(432)](),e[t(453)]()}})})}[ta(385)](t){const e=ta,i=this[e(362)][e(365)][e(424)](e(308)),n=this[e(362)][e(365)][e(424)](e(330)),s=this[e(362)][e(365)][e(424)](e(299));return Xo[e(408)](s,t)[e(340)](t=>(n[e(402)][e(439)]=e(411),i[e(402)][e(439)]=e(375),this[e(310)]=!0,t))}[ta(314)](t){const e=ta,i=this[e(362)][e(365)][e(424)](e(308));return this[e(362)][e(365)][e(424)](e(330))[e(402)][e(439)]=e(375),i[e(402)][e(439)]="",this[e(310)]=!1,t[e(313)]()}async[ta(382)](t){const e=ta,i=this[e(362)],n=this[e(349)][e(391)][e(424)](e(460)),s=i[e(391)][e(424)](e(300)),r=i[e(391)][e(424)](e(461)),o=n[e(320)][e(316)](t);let a,c,u;try{await r[e(434)](o,this[e(428)]),a=r[e(317)](o),c=r[e(377)](o)}catch(t){return void console[e(345)](t)}i[e(401)][e(419)](t=>{const n=e;for(const e of Array[n(456)](i[n(401)][n(337)][n(348)](n(387))))t[n(327)](e)}),n[e(367)]=!1,i[e(401)][e(451)](t=>{const n=e;t[n(462)](null),t[n(336)](i[n(401)][n(333)][n(306)][n(399)]());const s=Object[n(410)](a);for(const e of i[n(401)][n(333)][n(430)])n(447)!=e[n(441)]&&e[n(368)]()&&!s[n(346)](e[n(441)])&&t[n(454)](e);for(const e of s){let s=i[n(401)][n(333)][n(450)](e);s&&s[n(368)]()||(s=t[n(443)](e));const r=c[e],o=Object[n(410)](r),u=a[e];for(const e of s[n(399)]())o[n(346)](e)||t[n(437)](e,s);for(const i of o)t[n(326)](i,c[e][i],s);t[n(379)](t[n(369)](s)),t[n(357)](i[n(384)][n(321)](u,s),s,0)}});const l=at(i[e(307)],e(406));return u=o[e(412)]?-1==o[e(412)][e(312)](l)?l+": "+o[e(412)]:o[e(412)]:l+": "+o[e(374)][e(334)](i[e(307)][e(400)],{month:e(325),day:e(445)})+", "+o[e(374)][e(390)](i[e(307)][e(400)],{hour:e(445),minute:e(445)}),await s[e(433)]({name:u}),n[e(367)]=!0,i[e(365)][e(424)](e(455))[e(383)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=265]})(t,e)}function oa(){var t=["472924spFnAf","1647432IUcWYq","1332656TiXrIq","5167757bCSmRn","2363586tTkTUF","4SdoKsf","171IeOEpK","3409885ATYwYx","480198hoquni"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(449571===-parseInt(e(273))/1+parseInt(e(272))/2+-parseInt(e(268))/3+-parseInt(e(269))/4*(parseInt(e(271))/5)+-parseInt(e(265))/6+-parseInt(e(267))/7+parseInt(e(266))/8*(parseInt(e(270))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
5
+ */(()=>{var t={21:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},111:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},124:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},238:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},246:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},265: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)}},308:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},318:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},374: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}},390:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},410:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},450: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}}},453:t=>{"use strict";t.exports=function(t){return t[1]}},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},700:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},702:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},732:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},772:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},774: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)}}}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},853:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},929:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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}},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:()=>G,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>jo,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 E=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&V(n,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)\]/,P=/^\w*$/;function j(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&&(P.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(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 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 U(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=L(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])?[]:{}}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(M(e))return i;const n=t[e];return void 0===n?H(e)?Z(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=L(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-=313]})(t,e)}function Y(){const t=["42087330OUQBqM","fire","setAttribute","1717130teDHkF","attributes","removeAttribute","4573208KdNkrD","3xQaRFw","301pKjHyY","1178074SwYSME","authors","set","2639070SMslsU","authorsIds","toJSON","createdAt","creatorId","creator","5WNUZEP","map","setName","model","18472OeHGHF","toVersion","diffData","fromVersion","2466477YgYiBw","_update","name"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(962287===-parseInt(e(318))/1+parseInt(e(341))/2*(-parseInt(e(316))/3)+-parseInt(e(315))/4+-parseInt(e(327))/5*(parseInt(e(321))/6)+parseInt(e(317))/7*(parseInt(e(331))/8)+parseInt(e(335))/9+parseInt(e(338))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class G extends((0,t.ObservableMixin)()){id;[$(326)];[$(319)];[$(333)];[$(332)];[$(334)];[$(330)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(326)]=e[i(326)]||null,this[i(319)]=e[i(319)]||[],this[i(333)]=e[i(333)]||null,this[i(332)]=e[i(332)]||0,this[i(334)]=e[i(334)]||0,this[i(320)](i(337),e[i(337)]||""),this[i(320)](i(324),e[i(324)]||new Date),this[i(320)](i(313),e[i(313)]||{})}[$(329)](t){this[$(336)]({name:t})}[$(340)](t,e){const i=$,n=R(this[i(313)]);U(n,t,e),this[i(336)]({attributes:n})}[$(314)](t){const e=$,i=R(this[e(313)]);(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=L(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]&&H(e))return q(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(336)]({attributes:i})}[$(336)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(337),i(324),i(333),i(319),i(313),i(332),i(334),i(325)];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(319)]&&(s[i(322)]=s[i(319)][i(328)](t=>t.id),delete s[i(319)]),this[i(339)](i(336),s,e))}[$(323)](){const t=$;return{id:this.id,name:this[t(337)],creatorId:this[t(326)]?this[t(326)].id:null,authorsIds:this[t(319)][t(328)](t=>t.id),diffData:this[t(333)],createdAt:this[t(324)],attributes:this[t(313)],fromVersion:this[t(334)],toVersion:this[t(332)]}}}var J=i(782),K=i(211),Q=i(783);const X=et;function tt(){const t=["getEarlierVisibleRevision","toVersion","2313fqpzzb","href","oldRevisionId","createdAt","name","later","fromVersion","1741985LfFUXa","1096jiIkiR","authorsIds","4888332nfKlWZ","plugins","getUser","RevisionsRepository","getRevisionsIterator","toJSON","isOfficialPlugin","getRevisions","8rPXtxS","diffData","push","createRevision","getLaterVisibleRevision","newRevisionId","addRevision","join","isNaN","from","_revisions","requires","getRevisionsInDiff","pluginName","Users","174052IZljor","fromCharCode","get","creatorId","data","afterInit","3249814AZPliD","335559FzDGoZ","9410MomIbQ","32813IAgfDk","add","map","getRevision","getIndex","length","attributes","7zSRztE","editor","reverse","isPremiumPlugin","earlier"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=398]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(813472===-parseInt(e(440))/1+-parseInt(e(446))/2+-parseInt(e(447))/3+parseInt(e(425))/4*(parseInt(e(414))/5)+parseInt(e(417))/6*(-parseInt(e(400))/7)+-parseInt(e(415))/8*(-parseInt(e(407))/9)+-parseInt(e(448))/10*(-parseInt(e(449))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends J.Plugin{[X(435)];static get[X(436)](){return[K.Users]}static get[X(438)](){return X(420)}static get[X(423)](){return!0}static get[X(403)](){return!0}get[X(398)](){const t=X;return this[t(435)][t(398)]}constructor(e){const i=X;super(e),this[i(435)]=new t.Collection}[X(445)](){!async function(e){const i=k([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),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(433)](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([118]);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(451)](t=>String[e(441)](t))[e(432)]("")}!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:1761696e3;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(408)]);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)}[X(428)](t){const e=X,i=this[e(401)][e(418)][e(442)](e(439));return new G({id:t.id,name:t[e(411)],creator:t[e(443)]?i[e(419)](t[e(443)]):null,diffData:t[e(426)]||t[e(444)],authors:t[e(416)][e(451)](t=>i[e(419)](t)),createdAt:new Date(t[e(410)]),attributes:t[e(399)],fromVersion:t[e(413)],toVersion:t[e(406)]})}[X(431)](t,e=0){const i=X;this[i(435)][i(450)](t,e)}[X(452)](t){const e=X;return this[e(435)][e(442)](t)}[X(424)](t={toJSON:!1}){const e=X,i=Array[e(434)](this[e(435)]);return i[e(402)](),t[e(422)]?i[e(451)](t=>t[e(422)]()):i}[X(453)](t){const e=X;return this[e(435)][e(453)](t)}[X(405)](t){const e=X,[,i]=this[e(421)](t,{direction:e(404)});return i}[X(429)](t){const e=X,[,i]=this[e(421)](t,{direction:e(412)});return i}[X(437)](t){const e=X,i=[];for(const n of this[e(421)](t[e(430)]))if(i[e(427)](n),n.id===t[e(409)])break;return i}*[X(421)](t,{direction:e=X(404),filter:i=()=>!0}={}){const n=X,s=n(404)===e?1:-1;let r=this[n(435)][n(442)](t),o=this[n(453)](r);for(yield r;r;){if(o+=s,r=this[n(452)](o),!r)return;i(r)&&(yield r)}}}const nt=st;function st(t,e){const i=rt();return(st=function(t,e){return i[t-=168]})(t,e)}function rt(){const t=["from","collaboration.channelId","toData","render","toModel","innerHTML","map","marked","parse","_getTypeCharForViewElement","7826adWFWw","useFillerType","fillerOffset","createElement","isAttached","diffData","314340oRYbZu","60290hzpcTA","2651bmzQfF","htmlProcessor","constructor","attributes","4028215UIkQVY","data-revision-","45NDEvFY","customProperties","forEach","config","append","insertions","getRevisionDocumentData","607040yzlgGC","filter","string","getRevisionRootsAttributes","editing","getFillerOffset","410888dDNOZP","length","loadRevisionData","default","_appendChild","_viewClassToTypeChar","_removeRevisionMarkers","domChildrenToView","getRevision","pluginName","domDocument","data","startsWith","6666ySpPCA","domConverter","viewChildrenToDom","isPremiumPlugin","revision-start","document","_setCustomProperty","name","childNodes","type","get","revision-end","_typeCharToViewClass","attachChange","view","attributesAfter","div","editor","401160bEFEEp","_getViewFromDiffObj","20ugyJKR","RevisionHistoryUtils","isOfficialPlugin","_makeModelFromViewString","processor","children"];return(rt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(673081===parseInt(e(170))/1+parseInt(e(231))/2+parseInt(e(207))/3*(parseInt(e(209))/4)+-parseInt(e(237))/5+-parseInt(e(189))/6*(-parseInt(e(225))/7)+parseInt(e(176))/8*(parseInt(e(239))/9)+parseInt(e(232))/10*(-parseInt(e(233))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends J.Plugin{static get[nt(185)](){return nt(210)}static get[nt(211)](){return!0}static get[nt(192)](){return!0}[nt(181)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[nt(201)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[nt(178)](t,e){const i=nt;if(t[i(230)]||!e)return;const n=this[i(206)][i(242)][i(199)](i(216)),s=await e[i(184)]({channelId:n,revisionId:t.id});t[i(230)]=s[i(230)]}[nt(169)](t){const e=nt,i={};for(const n in t[e(230)]){if(t[e(230)][n][e(202)]&&!t[e(230)][n][e(202)][e(229)])continue;const s=this[e(182)](JSON[e(223)](t[e(230)][n][e(168)])),r=this[e(206)][e(174)][e(203)][e(194)],o=new Q.ViewDocumentFragment(r,s[e(221)](t=>this[e(208)](t,!1)));this[e(206)][e(187)][e(213)][e(226)](e(222)),i[n]=this[e(206)][e(187)][e(213)][e(217)](o),this[e(206)][e(187)][e(213)][e(226)](e(179))}return i}[nt(173)](t){const e=nt,i={};for(const n in t[e(230)])t[e(230)][n][e(202)]&&!t[e(230)][n][e(202)][e(229)]||(i[n]=t[e(230)][n][e(204)]||{});return i}[nt(224)](t){const e=nt;return this[e(181)][e(199)](t[e(235)])}[nt(208)](t,e){const i=nt,n=this[i(206)][i(174)][i(203)][i(194)];if(i(172)==typeof t)return new Q.ViewText(n,t);{let s,r;r="u"==t[i(198)]||"r"==t[i(198)]?[]:t[i(214)][i(221)](t=>this[i(208)](t,e));const o=this[i(201)][i(199)](t[i(198)])||Q.ViewElement,a=this[i(206)][i(187)][i(234)][i(190)];if(s=new o(n,t[i(196)],t[i(236)],r),"u"==t[i(198)]&&t[i(214)][0]){const r=t[i(214)][0];if(s[i(218)]=function(t){const e=i,n=t[e(228)](e(205));return n[e(220)]=r,n[e(197)][0]},e){const t=new Q.ViewDocumentFragment(n);t[i(180)](s);const e=Array[i(215)](a[i(191)](t,{bind:!1})),r=a[i(186)][i(228)](i(205));r[i(243)](...e),s=Array[i(215)](a[i(183)](r))[0]}}else if("r"==t[i(198)]&&t[i(214)][0]){const r=t[i(214)][0];if(s[i(218)]=function(t){t[i(220)]=r},e){const t=new Q.ViewDocumentFragment(n);t[i(180)](s);const e=Array[i(215)](a[i(191)](t,{bind:!1})),r=a[i(186)][i(228)](i(205));r[i(243)](...e);const o=Array[i(215)](a[i(183)](r));o[i(177)]>1?s[i(180)](o):s=o[0]}}if(t[i(240)])for(const[e,n]of t[i(240)])s[i(195)](e,n);const c=void 0===t[i(227)]?null:t[i(227)];return null!==c&&(s[i(175)]=()=>c),s}}[nt(212)](t){const e=nt,i=JSON[e(223)](t),n=this[e(206)][e(174)][e(203)][e(194)],s=new Q.ViewDocumentFragment(n,i[e(221)](t=>this[e(208)](t,!0)));return this[e(206)][e(187)][e(219)](s)}[nt(182)](t){const e=nt;return(t=t[e(171)](t=>!t[e(196)]||e(193)!==t[e(196)]&&e(200)!==t[e(196)]))[e(241)](t=>{const i=e;i(172)!=typeof t&&(t[i(214)]=this[i(182)](t[i(214)]),t[i(236)]=t[i(236)][i(171)](t=>!t[0][i(188)](i(238))))}),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=vt();return(mt=function(t,e){return i[t-=278]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(217837===parseInt(e(320))/1+parseInt(e(463))/2+-parseInt(e(562))/3+-parseInt(e(569))/4+parseInt(e(482))/5+parseInt(e(366))/6+parseInt(e(484))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vt);class pt extends J.Plugin{[ft(540)];[ft(350)];[ft(567)]=null;[ft(538)];[ft(430)]=null;[ft(300)];[ft(279)];[ft(409)];[ft(517)];[ft(582)];[ft(289)];[ft(544)];[ft(534)];[ft(303)];static get[ft(561)](){return ft(442)}static get[ft(523)](){return!0}static get[ft(471)](){return!0}static get[ft(415)](){return[K.Users,it,ot,J.PendingActions]}constructor(e){const i=ft;super(e),this[i(538)]=this[i(355)][i(343)][i(533)](i(401)),this[i(582)]=this[i(355)][i(343)][i(533)](i(478)),this[i(300)]=new gt(this[i(355)]),this[i(409)]=this[i(355)][i(400)][i(533)](i(505))||i(535),this[i(517)]=new Map,this[i(303)]=null;const n=(0,t.uid)();this[i(279)]={history:this[i(355)][i(324)][i(546)][i(495)],getLatestVersion:()=>Promise[i(477)](this[i(355)][i(324)][i(546)][i(373)]),getCurrentRevisionId:()=>n},this[i(321)](i(580),!1),this[i(321)](i(563),!0),this[i(321)](i(340),!1),this[i(355)][i(400)][i(285)](i(576),!0),this[i(355)][i(570)][i(592)](i(571))[i(402)]({view:i(365)})}[ft(331)](){const t=ft;this[t(286)](),this[t(355)][t(306)].on(t(499),()=>{const e=t,i=this[e(538)][e(358)](0),n=i&&null===i[e(545)]?i:null;if(this[e(544)]=!!n&&this[e(355)][e(400)][e(533)](e(576)),this[e(355)][e(343)][e(435)](e(387))){const t=this[e(279)][e(318)](),s=this[e(538)][e(358)](t);if(s)this[e(534)]=s[e(412)],this[e(544)]=!1;else{const t=this[e(279)][e(495)][e(319)][e(310)](t=>!t[e(312)]),s=t?t[e(532)]:this[e(279)][e(495)][e(373)];i?(i[e(437)]<s&&i[e(344)]({toVersion:s}),this[e(544)]?(this[e(279)][e(318)]=()=>n.id,this[e(534)]=n[e(412)]):(this[e(534)]=i[e(437)],this[e(544)]=!1)):(this[e(534)]=s,this[e(544)]=!1)}}else n&&(this[e(355)][e(324)][e(546)][e(495)][e(373)]=Math[e(520)](n[e(437)],this[e(355)][e(324)][e(546)][e(495)][e(373)]),n[e(412)]===n[e(437)]?(0!==n[e(412)]&&(this[e(279)][e(318)]=()=>n.id),this[e(544)]=!1):this[e(544)]&&(this[e(279)][e(318)]=()=>n.id,this[e(534)]=n[e(412)])),this[e(544)]||(this[e(534)]=this[e(355)][e(324)][e(546)][e(373)]);this[e(300)][e(331)](this[e(279)][e(495)]),this[e(345)](this[e(534)]),this[e(357)](this[e(534)]),this[e(430)]&&this[e(359)]()}),this[t(376)](t(580)).to(this,t(340),t=>!t),this[t(540)]=this[t(355)][t(400)][t(533)](t(540));const e=this[t(355)];this[t(350)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(564)==r||i(512)==r||i(515)==r||i(502)==r||i(378)==r||i(455)==r||i(290)==r||i(522)==r){delete e[s],n=r,clearInterval(this[i(350)]),this[i(350)]=void 0;break}}i(512)==n&&e[i(417)](i(530)),i(515)==n&&e[i(417)](i(346)),i(502)==n&&e[i(417)](i(579)),i(378)==n&&e[i(417)](i(362),i(565)),i(455)==n&&e[i(417)](i(448)),i(290)==n&&e[i(417)](i(424)),i(522)==n&&e[i(417)](i(433))},1e3)}async[ft(449)](){const t=ft;if(this[t(538)][t(519)]>0){const e=this[t(538)][t(358)](0),i=await this[t(497)](e),n=await this[t(539)](e);this[t(328)](i,n)}}[ft(441)](){const t=ft;super[t(441)](),this[t(350)]&&clearInterval(this[t(350)])}[ft(597)](t){this[ft(279)]=t}async[ft(527)](){const t=ft,e=await this[t(279)][t(548)]();if(e>this[t(567)][t(437)]){await this[t(298)]();const i=this[t(486)]({revision:this[t(567)],to:e});i[t(549)]=i[t(323)][t(456)](e=>this[t(355)][t(343)][t(533)](t(388))[t(299)](e)),this[t(567)][t(344)](i)}}async[ft(404)](e={},i=null){const n=ft,s=[];await this[n(298)](),this[n(544)]=!1,i>this[n(567)][n(437)]&&(i=null),null===i&&(i=await this[n(279)][n(548)]());const r=this[n(510)](i),o=this[n(486)]({from:r,to:i});if(this[n(567)][n(437)]<i){const t=this[n(486)]({revision:this[n(567)],from:i,to:i});t[n(549)]=[],t[n(323)]=[],t.id=this[n(567)].id,this[n(567)][n(344)](t,!0),delete t[n(549)],s[n(302)](t)}e[n(308)]=this[n(355)][n(343)][n(533)](n(388)).me.id,e[n(422)]=e[n(422)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(383)](e);s[n(302)](e);const c=this[n(538)][n(326)](a);if(0!==c){const t=this[n(538)][n(358)](c-1);if(t[n(412)]!==i){const r=this[n(300)][n(472)](i,t[n(437)]),o={id:t.id,diffData:r[n(371)],authorsIds:r[n(323)],authors:r[n(323)][n(456)](t=>this[n(355)][n(343)][n(533)](n(388))[n(299)](t)),fromVersion:i};t===this[n(567)]&&(o[n(460)]=new Date(e[n(460)][n(588)]()+10)),t[n(344)](o,!0),delete o[n(549)],s[n(302)](o)}}if(this[n(430)]){for(const t of s)this[n(390)](t.id,t,!0);this[n(359)]()}return a}[ft(383)](t){const e=ft,i=this[e(538)][e(311)](t);return this[e(430)]&&i.on(e(344),(t,i,n)=>{const s=e;n||(this[s(390)](i.id,i,!0),this[s(359)]())}),this[e(538)][e(351)](i,this[e(384)](i)),i}async[ft(497)](t){const e=ft;return await this[e(582)][e(372)](t,this[e(430)]),this[e(582)][e(497)](t)}async[ft(539)](t){const e=ft;return await this[e(582)][e(372)](t,this[e(430)]),this[e(582)][e(539)](t)}[ft(359)](){const t=ft;if(0===this[t(517)][t(294)])return;if(this[t(340)])return;let e=Array[t(511)](this[t(517)][t(317)]());this[t(517)][t(555)]();for(let i=0;i<e[t(519)];i++){const n=e[i];let s=!1;for(const e of Object[t(464)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(439)](t=>null!==t),!e[t(519)])return;for(let i=0;i<e[t(519)];i++){const n=e[i];void 0!==n[t(412)]&&void 0===n[t(437)]&&(n[t(437)]=this[t(538)][t(358)](n.id)[t(437)]),void 0!==n[t(437)]&&void 0===n[t(412)]&&(n[t(412)]=this[t(538)][t(358)](n.id)[t(412)])}const i=this[t(355)][t(400)][t(533)](t(505));this[t(340)]=!0,this[t(470)](),this[t(430)][t(537)](e,i)[t(490)](()=>{this[t(340)]=!1})[t(281)](e=>{const i=t;if(e)for(const t of e)this[i(413)]({id:t.id,createdAt:t[i(460)]});this[i(483)](),this[i(359)]()})}[ft(486)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(412)],i=null!==i?i:t[n(437)];const s=this[n(300)][n(472)](e,i),r={diffData:s[n(371)],authorsIds:s[n(323)],fromVersion:e,toVersion:i};if(!t||i!==t[n(437)]){const t=i-1,e=this[n(279)][n(495)][n(447)](t);r[n(460)]=e&&e[n(460)]||new Date}if(this[n(303)]&&e===this[n(303)][n(412)])for(const t of this[n(303)][n(549)])r[n(323)][n(410)](t.id)||r[n(323)][n(302)](t.id);return r}[ft(390)](t,e,i){const n=ft;if(this[n(517)][n(435)](t)){const s=this[n(517)][n(533)](t);e=i?{...s,...e}:{...e,...s}}this[n(517)][n(321)](t,e)}[ft(413)](t){const e=ft,i=this[e(538)][e(358)](t.id);if(t[e(460)]&&(t[e(460)]=new Date(t[e(460)])),t[e(323)]){const i=this[e(355)][e(343)][e(533)](e(388));t[e(549)]=t[e(323)][e(456)](t=>i[e(299)](t))}i[e(344)](t,!0)}[ft(345)](t){const e=ft,i=this[e(538)][e(358)](this[e(538)][e(519)]-1);if(i)this[e(409)]=i.id;else{const i=!this[e(355)][e(324)][e(546)][e(356)][e(310)](t=>this[e(355)][e(324)][e(336)](t)),n=this[e(355)][e(343)][e(533)](e(388)).me.id,s=at(this[e(355)][e(403)],e(i?556:436));this[e(360)]({from:t,to:t,id:this[e(409)],name:s,creatorId:n})}}[ft(357)](t){const e=ft,i=this[e(279)][e(318)]();this[e(567)]=this[e(538)][e(358)](i),this[e(567)]||(this[e(567)]=this[e(360)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(298)](){const t=ft;this[t(544)]&&!this[t(303)]&&(await this[t(582)][t(372)](this[t(567)],this[t(430)]),this[t(300)][t(399)](this[t(567)]),this[t(303)]={fromVersion:this[t(567)][t(412)],authors:this[t(567)][t(549)][t(434)]()})}[ft(328)](e,i){const n=ft;let s=this[n(355)][n(400)][n(533)](n(280)),r=this[n(355)][n(400)][n(533)](n(541));if(void 0===s){s={};for(const t of this[n(355)][n(324)][n(546)][n(382)]())s[t]=""}if(n(496)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(355)][n(324)][n(546)][n(382)]())r[t]={}}let o=!1;const a=Object[n(464)](s),c=Object[n(464)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(469)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(464)](r[t])[n(519)]>0){o=!0;break}}o||(o=c[n(501)](t=>!this[n(355)][n(324)][n(546)][n(489)](t))),o&&(0,t.logWarning)(n(349),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(355)][n(400)][n(321)](n(280),e),this[n(355)][n(400)][n(321)](n(541),i)}[ft(470)](){const t=ft;if(!this[t(289)]){const e=this[t(355)][t(343)][t(533)](t(405));this[t(289)]=e[t(445)](at(this[t(355)][t(403)],t(443)))}}[ft(483)](){const t=ft;this[t(289)]&&(this[t(355)][t(343)][t(533)](t(405))[t(526)](this[t(289)]),this[t(289)]=null)}[ft(384)](t){const e=ft,i=this[e(538)][e(288)]();i[e(368)]();let n=0;for(;n<i[e(519)];){const s=i[n];if(s===this[e(567)]){n++;continue}if(s.id===this[e(409)])break;const r=t[e(437)]-s[e(437)]||t[e(412)]-s[e(412)];if(r>0)break;if(r<0)n++;else{if(!t[e(545)]&&s[e(545)])break;if(s[e(545)]||!t[e(545)]){if(t[e(460)]>s[e(460)])break;n++}else n++}}return n}[ft(510)](t){const e=ft,i=this[e(538)][e(288)]();i[e(368)](),i[e(518)]();const n=i[e(310)](i=>i[e(437)]<=t)[e(437)];return n<this[e(534)]?this[e(534)]:n}[ft(360)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(486)]({from:e,to:i});o[r(422)]=t,o[r(308)]=n,o.id=s;const a=this[r(383)](o);return this[r(430)]&&this[r(390)](o.id,o,!0),a}[ft(286)](){const t=ft;this[t(355)][t(570)][t(592)](t(528))[t(525)]({model:t(365)})}}function vt(){const t=["_createInitialRevision","expired","deletions","addRootAttribute","editor-initial-data-replaced-with-revision-data","_licenseKeyCheckInterval","addRevision","key","nodes","_startingRevisionId","editor","roots","_createCurrentRevision","getRevision","sendBufferedUpdates","_makeRevision","elementEnd","featureNotAllowed","range","start","revision","780924IuPlJP","_authorId","reverse","_baseRoots","getMovedRangeStart","diffData","loadRevisionData","version","_removeMetaData","domConverter","bind","_fixOperation","revisionHistoryLicenseKeyNotAllowed","documentFragment","stringify","innerHTML","getRootNames","addRevisionData","_findInsertionIndex","getAttribute","getCustomProperties","RealTimeCollaborationClient","Users","getTransformedByOperation","_bufferUpdate","sourcePosition","howMany","revision:","insertionPosition","attachChange","getChild","customProperties","_idsRoots","loadState","config","RevisionsRepository","dataToMarker","locale","saveRevision","PendingActions","delete","_handleMergeOperation","marker","_initialRevisionId","includes","_fixRange","fromVersion","setRevisionData","removeRootAttribute","requires","_clone","_showLicenseError","parent","htmlProcessor","_reset","newRange","name","insertions","trialLimit","splitPosition","_insertChild","createRangeIn","position","_handleSplitOperation","adapter","_generateTape","domDocument","usageLimit","slice","has","Initial revision","toVersion","nodeAfter","filter","sort","destroy","RevisionTracker","PENDING_ACTION_REVISION_HISTORY","_getTypeCharForViewElement","add","insertion","getOperation","evaluationLimit","afterInit","startsWith","_cloneOperation","changeRootAttribute","_transformMarkers","_getViewJson","revisionHistoryLicenseKeyEvaluationLimit","map","end","isEqual","insert","createdAt","rootName","_execute","46436jCwTSQ","keys","addRoot","move","markers","createPositionAfter","trim","_addPendingAction","isPremiumPlugin","getData","_handleMoveOperation","createElement","split","_setAttribute","resolve","RevisionHistoryUtils","vid_start","_handleMarkerOperation","_fixPosition","625260IeuZQf","_removePendingAction","4577020gFhymE","getOperations","buildRevisionData","getWalker","path","getRoot","finally","attributesBefore","userId","createPositionFromPath","stickiness","history","string","getRevisionDocumentData","_makeIdsRoot","ready","_markers","some","revisionHistoryLicenseKeyDomainLimit","childCount","children","collaboration.channelId","_isAttached","item","text","elementStart","_getFromVersion","from","revisionHistoryLicenseKeyInvalid","graveyardPosition","_touchedRoots","revisionHistoryLicenseKeyExpired","newValue","_bufferedUpdates","shift","length","max","_savedMetaData","revisionHistoryLicenseKeyUsageLimit","isOfficialPlugin","_appendChild","markerToData","remove","update","dataDowncast","_diffRoots","invalid","offset","baseVersion","get","_startingVersion","initial","uiElement","updateRevisions","repository","getRevisionRootsAttributes","licenseKey","rootsAttributes","$graveyard","_copyMarkers","_continueCurrentRevision","creator","document","toView","getLatestVersion","authors","root","_handleRootAttributeOperation","targetPosition","deletion","attributesAfter","clear","Empty document","getChildren","fillerOffset","_lastFrom","paragraph","pluginName","1175307sOtpsf","isEnabled","revisionHistoryLicenseKeyValid","RevisionHistory","affectsData","currentRevision","_prepareViewToSave","1736748qKuiCd","conversion","upcast","source","_getPreviousFrom","merge","_getVidAttributeName","revisionHistory.resumeUnsavedRevision","clone","_getBaseVids","domainLimit","isReady","_calculateMetaData","_utils","_saveMetaData","_revisionId","_processRootBeforeSave","_markChanges","render","getTime","tableCell","getRange","getAncestors","for","_baseIdsRoots","createRange","isAttached","_handleRootOperation","setSource","_getState","_source","initialData","then","isAdd","_applyOperations","offsetSize","define","_setConversion","_makeModelFromViewString","getRevisions","_pendingAction","revisionHistoryLicenseKeyTrialLimit","_lastTo","_handleInsertOperation","$comment","size","vid_end","reinsert","_touched","_loadState","getUser","_revisionDataBuilder","getNodeByPath","push","_loadedStateData","$text","getAttributes","data","keepParagraph","creatorId","_touchedMarkers","find","createRevision","_isInit","NEGATIVE_INFINITY","rawElement","_baseRootsAttributes","fromEntries","values","getCurrentRevisionId","_operations","111509sJhhwj","set","oldRange","authorsIds","model","_handleOperation","getIndex","reInit","_replaceEditorDataWithRevisionData","createPositionAt","element","init","createPositionBefore","previousPosition","_diffRootsAttributes","outerHTML","hasContent","type","vid","getFillerOffset","_isPendingUpdate","detachRoot","_createFromRanges","plugins","_update"];return(vt=function(){return t})()}class gt{[ft(355)];[ft(572)];[ft(521)];[ft(559)];[ft(291)];[ft(500)];[ft(529)];[ft(334)];[ft(369)];[ft(315)];[ft(398)];[ft(593)];[ft(297)];[ft(309)];[ft(514)];[ft(584)];[ft(354)];constructor(t){const e=ft;this[e(355)]=t,this[e(521)]=new Map,this[e(559)]=-1,this[e(291)]=-1,this[e(500)]=new Map,this[e(529)]=new Map,this[e(334)]=new Map,this[e(369)]=new Map,this[e(315)]=new Map,this[e(398)]=new Map,this[e(593)]=new Map,this[e(297)]=new Map,this[e(309)]=new Map,this[e(514)]=new Map,this[e(584)]=1}[ft(331)](t){const e=ft;this[e(572)]=t;const i=new Map,n=new Map,s=this[e(355)][e(324)][e(546)][e(356)][e(456)](t=>t[e(461)]);for(const t of s){const s=this[e(355)][e(324)][e(546)][e(489)](t),r=yt(s);i[e(321)](t,r),n[e(321)](t,Object[e(316)](s[e(305)]()))}const r=Array[e(511)](this[e(355)][e(324)][e(467)])[e(456)](t=>[t[e(422)],t[e(590)]()]),o=this[e(572)][e(373)];this[e(583)](o,i,r,n),this[e(354)]=this[e(584)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(321)](t,i),c[e(321)](t,{})}this[e(583)](Number[e(313)],a,[],c)}[ft(472)](t,e){const i=ft;if(this[i(559)]===t&&this[i(291)]<=e)this[i(521)][i(294)]>1&&this[i(374)](this[i(291)]),this[i(283)](this[i(291)],e,!0);else{if(!this[i(521)][i(435)](t)){const e=this[i(573)](t);this[i(581)](e,t,!1)}this[i(581)](t,e,!0)}return this[i(559)]=t,this[i(291)]=e,this[i(278)]()}[ft(399)](t){const e=ft;if(!this[e(521)][e(435)](t[e(412)])){const i=this[e(573)](t[e(412)]);this[e(581)](i,t[e(412)],!1)}this[e(581)](t[e(412)],t[e(437)],!1);const i=this[e(355)][e(343)][e(533)](e(478));this[e(420)](),this[e(559)]=t[e(412)],this[e(291)]=t[e(437)];for(const n in t[e(371)]){const s=t[e(371)][n][e(395)],r=R(t[e(371)][n][e(491)])||{},o=i[e(287)](t[e(371)][n][e(347)]);o[e(461)]=n,o[e(506)]=!s||!s[e(595)],o[e(595)]=()=>o[e(506)],this[e(369)][e(321)](n,o),this[e(315)][e(321)](n,r),s&&this[e(514)][e(321)](n,s);const a=this[e(498)](o);this[e(593)][e(321)](n,a);for(const[t,i]of o[e(467)]){if(!t[e(450)](e(393)))continue;const n=t[e(475)](":")[2];for(const t of i[e(487)]({singleCharacters:!0})){const i=this[e(575)](t),s=e(361)==t[e(337)]?t[e(333)][e(488)][e(434)](0,-1):t[e(333)][e(488)],r=a[e(301)](s)[e(385)](i);this[e(297)][e(321)](r,{userId:n})}o[e(467)][e(406)](t)}}this[e(354)]=this[e(584)];const n=[...Array(this[e(584)])[e(464)]()][e(434)](1)[e(439)](t=>!this[e(297)][e(435)](t));let s=0;const r=new Map;for(const o in t[e(371)]){const a=t[e(371)][o][e(395)],c=R(t[e(371)][o][e(554)])||{},u=i[e(287)](t[e(371)][o][e(423)]);u[e(461)]=o,u[e(506)]=!a||a[e(595)],u[e(595)]=()=>u[e(506)],this[e(529)][e(321)](o,u),this[e(334)][e(321)](o,c);const l=this[e(498)](u,Number[e(313)]);this[e(398)][e(321)](o,l),r[e(321)](o,u[e(595)]()?c:{});for(const[t,i]of u[e(467)]){if(!t[e(450)](e(393)))continue;const n=t[e(475)](":")[2];for(const t of i[e(487)]({singleCharacters:!0})){const i=this[e(575)](t),s=this[e(584)]++,r=e(361)==t[e(337)]?t[e(333)][e(488)][e(434)](0,-1):t[e(333)][e(488)];l[e(301)](r)[e(476)](i,s),this[e(297)][e(321)](s,{userId:n})}u[e(467)][e(406)](t)}for(const t of this[e(355)][e(324)][e(427)](u)[e(487)]({singleCharacters:!0})){const i=this[e(575)](t),r=e(361)==t[e(337)]?t[e(333)][e(488)][e(434)](0,-1):t[e(333)][e(488)],o=l[e(301)](r);o[e(385)](i)>0||o[e(476)](i,n[s++])}for(const[t,i]of u[e(467)])t[e(450)](e(393))||this[e(500)][e(321)](t,i)}const{roots:o}=this[e(521)][e(533)](t[e(412)]),{roots:a}=this[e(521)][e(533)](t[e(437)]),c=yt(o[e(533)](e(542)));this[e(369)][e(321)](e(542),c),this[e(593)][e(321)](e(542),this[e(498)](c,Number[e(313)]));const u=yt(a[e(533)](e(542)));this[e(529)][e(321)](e(542),u),this[e(398)][e(321)](e(542),this[e(498)](u));const l=Array[e(511)](this[e(529)])[e(456)](([t,e])=>[t,yt(e)]);this[e(583)](this[e(291)],l,this[e(500)],r)}[ft(327)](){const t=ft;this[t(420)](),this[t(559)]=-1,this[t(291)]=-1,this[t(521)][t(555)](),this[t(331)](this[t(572)])}[ft(583)](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(321)](t,{start:e[s(364)][s(577)](),end:e[s(457)][s(577)](),rootName:e[s(550)][s(461)]});this[s(521)][s(321)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(374)](t){const e=ft;this[e(521)][e(406)](t)}[ft(420)](){const t=ft;this[t(297)][t(555)](),this[t(309)][t(555)](),this[t(514)][t(555)](),this[t(529)][t(555)](),this[t(334)][t(555)](),this[t(369)][t(555)](),this[t(315)][t(555)](),this[t(398)][t(555)](),this[t(593)][t(555)](),this[t(500)][t(555)](),this[t(584)]=1,this[t(354)]=this[t(584)]}[ft(498)](t,e=null){const i=ft;let n=null;t.is(i(379))||(n=new Q.ModelElement(t[i(422)],{vid_start:null===e?this[i(584)]++:e++}));const s=[];for(const n of t[i(557)]())if(n.is(i(330))){s[i(302)](this[i(498)](n,e));const t=s[s[i(519)]-1];null!==e&&(e=t.is(i(330),i(304))?t[i(385)](i(338))+1:t[i(385)](i(295))+1)}else for(let t=0;t<n[i(284)];t++)s[i(302)](new Q.ModelElement(i(304),{vid:null===e?this[i(584)]++:e++}));if(t.is(i(379))){const e=kt(t[i(461)]);return e[i(426)](0,s),e}return n[i(476)](i(295),null===e?this[i(584)]++:e++),n[i(426)](0,s),n}[ft(581)](t,e,i){const n=ft;this[n(420)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(521)][n(533)](t);this[n(369)]=new Map(s),this[n(315)]=new Map(R(o));for(const[t,e]of this[n(369)])if(n(542)!==t&&(this[n(529)][n(321)](t,yt(e)),this[n(334)]=new Map(R(o)),i)){const i=this[n(584)];this[n(398)][n(321)](t,this[n(498)](e)),this[n(593)][n(321)](t,this[n(498)](e,i))}this[n(354)]=this[n(584)],this[n(529)][n(321)](n(542),yt(this[n(369)][n(533)](n(542)))),i&&this[n(398)][n(321)](n(542),this[n(498)](this[n(369)][n(533)](n(542))));for(const[t,e]of r){const i=this[n(369)][n(533)](e[n(461)]),s=this[n(529)][n(533)](e[n(461)]),r=new Q.ModelRange(this[n(481)](e[n(364)],i),this[n(481)](e[n(457)],i)),o=this[n(411)](r,s);i[n(467)][n(321)](t,r),this[n(500)][n(321)](t,o)}this[n(283)](t,e,i)}[ft(283)](t,e,i){const n=ft;for(const s of this[n(572)][n(485)](t,e))this[n(325)](s,i);for(const t of this[n(529)][n(317)]())t[n(467)][n(555)]();for(const[t,e]of this[n(500)])this[n(529)][n(533)](e[n(550)][n(461)])[n(467)][n(321)](t,e[n(577)]());const s=new Map,r=new Map;for(const[t,e]of this[n(529)])s[n(321)](t,yt(e)),r[n(321)](t,this[n(334)][n(533)](t));this[n(583)](e,s,this[n(500)],r)}[ft(573)](t){const e=ft,i=Array[e(511)](this[e(521)][e(464)]());i[e(440)]((t,e)=>t-e),i[e(368)]();for(const e of i)if(e<t)return e;return Number[e(313)]}[ft(543)](t,e){const i=ft,n=Array[i(511)](e[i(467)])[i(456)](([e,n])=>[e,this[i(411)](n,t)]);t[i(467)]=new Map(n)}[ft(453)](t){const e=ft;for(const i of this[e(500)][e(317)]()){const n=i[e(389)](t),s=Q.ModelRange[e(342)](n);i[e(364)]=s[e(364)],i[e(457)]=s[e(457)]}}[ft(325)](t,e){const i=ft;if(i(465)!=t[i(337)]&&i(341)!=t[i(337)]){if(i(459)==t[i(337)]){const n=t[i(428)][i(550)][i(461)];this[i(529)][i(435)](n)||(this[i(529)][i(321)](n,kt(n,!0)),this[i(334)][i(321)](n,{}),e&&this[i(398)][i(321)](n,kt(n,!0)))}else{if(i(348)==t[i(337)]||i(414)==t[i(337)]||i(452)==t[i(337)])return void this[i(551)](t);i(408)==t[i(337)]&&this[i(480)](t)}if(i(408)!==t[i(337)]){const e=this[i(451)](t,this[i(529)]);e[i(462)](),this[i(453)](e)}if(e)switch(t[i(337)]){case i(459):this[i(292)](t);break;case i(466):case i(526):case i(296):this[i(473)](t);break;case i(574):this[i(407)](t);break;case i(475):this[i(429)](t)}}else this[i(596)](t,e)}[ft(451)](t,e){const i=ft,n=t[i(577)]();return n[i(367)]=t[i(367)],this[i(377)](n,e),n}[ft(578)](t){const e=ft;return t[e(456)](t=>{const i=e,n=this[i(575)](t);return Number(t[i(507)][i(385)](n))})}[ft(431)](t,e){const i=ft;if(t.is(i(330),i(304)))e[i(302)]({item:t,type:i(508)});else{t.is(i(330))&&e[i(302)]({item:t,type:i(509)});for(const n of t[i(557)]())this[i(431)](n,e);t.is(i(330))&&e[i(302)]({item:t,type:i(361)})}return e}[ft(278)](){const t=ft,e=new Map(this[t(297)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(369)][t(464)](),...this[t(529)][t(464)]()]);a[t(406)](t(542));for(const e of a){const i=this[t(529)][t(533)](e)||kt(e,!1),n=this[t(369)][t(533)](e)||kt(e,!1);i[t(595)]()||n[t(595)]()?(s[t(423)][e]=yt(i),s[t(347)][e]=yt(n),this[t(543)](s[t(347)][e],n),this[t(543)](s[t(423)][e],i),r[t(423)][e]=this[t(431)](this[t(398)][t(533)](e),[]),r[t(347)][e]=this[t(431)](this[t(593)][t(533)](e)||kt(e,!1),[])):a[t(406)](e)}for(const s of a){const o=r[t(423)][s];for(const s of o){const r=this[t(575)](s),o=s[t(507)][t(385)](r);i[t(406)](o),o>=this[t(354)]&&n[t(321)](o,e[t(533)](o))}}for(const s of a){const a=r[t(423)][s],c=this[t(578)](r[t(347)][s]);let u=0;for(const s of a){const r=this[t(575)](s),a=s[t(507)][t(385)](r);if(!n[t(435)](a)&&!o[t(435)](a))if(i[t(435)](a))u++;else{if(a!=c[u]){const n=e[t(533)](a)||e[t(533)](c[u]);for(;a!=c[u];)i[t(435)](c[u])||(o[t(321)](c[u],n),e[t(321)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(423)][e];for(const e of s){const s=this[t(575)](e),r=e[t(507)][t(385)](s);if(o[t(435)](r)){const e=o[t(533)](r);i[t(435)](r)||i[t(321)](r,{...e}),n[t(321)](r,{...e})}}}for(const e of i[t(464)]())e>=this[t(354)]&&i[t(406)](e);const c=new Map;for(const e of a){let s=r[t(423)][e];for(const e of s)if(e[t(507)].is(t(330),t(589))){const i=this[t(575)](e),s=e[t(507)][t(385)](i);if(n[t(435)](s)){const i=e[t(507)][t(418)][t(418)][t(385)](t(479)),r=c[t(533)](i)||new Set;r[t(445)](n[t(533)](s)[t(492)]),c[t(321)](i,r)}}s=r[t(347)][e];for(const e of s)if(e[t(507)].is(t(330),t(589))){const n=this[t(575)](e),s=e[t(507)][t(385)](n);if(i[t(435)](s)){const n=e[t(507)][t(418)][t(418)][t(385)](t(479)),r=c[t(533)](n)||new Set;r[t(445)](i[t(533)](s)[t(492)]),c[t(321)](n,r)}}for(const e of c[t(464)]())(n[t(435)](e)||i[t(435)](e))&&c[t(406)](e)}for(const e of a){const s=r[t(423)][e];let o=null,a=null;for(const e of s){const s=this[t(575)](e),r=e[t(507)][t(385)](s),u=c[t(533)](r);u&&t(509)==e[t(337)]&&(o=Array[t(511)](u)[0],a=e[t(507)][t(385)](t(295))),o&&(i[t(321)](r,{userId:o}),n[t(321)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(347)][e],a=s[t(423)][e];for(const{userId:e}of this[t(309)][t(317)]())null!==e&&l[t(445)](e);for(const{userId:e}of this[t(514)][t(317)]())null!==e&&l[t(445)](e);this[t(586)](a,r[t(423)][e],n,t(446),l),this[t(586)](o,r[t(347)][e],i,t(553),l),u[e]={insertions:this[t(568)](a),deletions:this[t(568)](o),attachChange:this[t(514)][t(533)](e)||null,attributesBefore:R(this[t(315)][t(533)](e))||{},attributesAfter:R(this[t(334)][t(533)](e))}}return{diffData:u,authorsIds:Array[t(511)](l)}}[ft(585)](t){const e=ft;for(const[,i]of t[e(467)]){const t=i[e(364)][e(591)]()[e(439)](t=>e(589)==t[e(422)]);for(const i of t)1==i[e(503)]&&i[e(396)](0).is(e(330),e(560))&&i[e(396)](0)[e(476)](e(307),!0)}}[ft(568)](t){const e=ft;this[e(585)](t);const i=this[e(355)][e(306)][e(547)](t,{}),n=Array[e(511)](i[e(557)]())[e(456)](t=>this[e(454)](t));return JSON[e(380)](n)}[ft(454)](t){const e=ft;if(t.is(e(304)))return t[e(306)];{const i=this[e(355)][e(343)][e(533)](e(478)),n=t,s=this[e(355)][e(306)][e(419)][e(375)],r={type:i[e(444)](n),name:n[e(422)],attributes:Array[e(511)](n[e(305)]()),children:Array[e(511)](n[e(557)]())[e(456)](t=>this[e(454)](t))};if(t.is(e(536))&&e(293)!=t[e(422)]){const i=t[e(587)](s[e(432)],s);r[e(504)][e(302)](i[e(335)])}else if(t.is(e(314))){const i=s[e(432)][e(474)](n[e(422)]);t[e(587)](i,s),r[e(504)][e(302)](i[e(381)])}const o=Array[e(511)](n[e(386)]());o[e(519)]>0&&(r[e(397)]=o);const a=n[e(339)]();return null!==a&&(r[e(558)]=a),r}}[ft(586)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(355)][r(324)];for(let n=0;n<e[r(519)];n++){const s=this[r(575)](e[n]),c=e[n][r(507)][r(385)](s),h=i[r(533)](c),d=n==e[r(519)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(492)]!=o[r(492)])&&(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(492)],d=l(393)+n+":"+h+":"+c++,f=u[l(594)](i,a);t[l(467)][l(321)](d,f),null!==h&&s[l(445)](h)}}[ft(575)](t){const e=ft;switch(t[e(337)]){case e(509):return e(479);case e(361):return e(295);default:return e(338)}}[ft(377)](t,e){const i=ft;t[i(532)]=null;for(const n in t){const s=t[n];if(s instanceof Q.ModelPosition){const r=e[i(533)](s[i(550)][i(461)]);t[n]=this[i(481)](s,r)}if(s instanceof Q.ModelRange){const r=e[i(533)](s[i(550)][i(461)]);t[n]=this[i(411)](s,r)}i(550)===n&&(t[i(550)]=e[i(533)](t[i(550)][i(461)]))}}[ft(411)](t,e){const i=ft;return this[i(355)][i(324)][i(594)](this[i(481)](t[i(364)],e),this[i(481)](t[i(457)],e))}[ft(481)](t,e){const i=ft;return this[i(355)][i(324)][i(493)](e,t[i(488)],t[i(494)])}[ft(292)](t){const e=ft,i=this[e(398)][e(533)](t[e(428)][e(550)][e(461)]),n=this[e(481)](t[e(428)],i),s=null===t[e(367)]?null:t[e(367)]||this[e(355)][e(343)][e(533)](e(388)).me.id,r=n[e(418)],o=this[e(584)],a=[];for(const i of t[e(353)])if(i.is(e(330)))a[e(302)](this[e(498)](i));else for(let t=0;t<i[e(284)];t++)a[e(302)](new Q.ModelElement(e(304),{vid:this[e(584)]++}));const c=this[e(584)];for(let t=o;t<c;t++)this[e(297)][e(321)](t,{userId:s});r[e(426)](n[e(531)],a)}[ft(473)](t){const e=ft;(t=this[e(451)](t,this[e(398)]))[e(462)]();const i=null===t[e(367)]?null:t[e(367)]||this[e(355)][e(343)][e(533)](e(388)).me.id,n=t[e(370)](),s=n[e(418)],r=n[e(531)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(396)](e);r.is(a(330),a(304))?n[a(321)](r[a(385)](a(338)),{userId:i}):(n[a(321)](r[a(385)](a(479)),{userId:i}),t(n,r,0,r[a(503)]),n[a(321)](r[a(385)](a(295)),{userId:i}))}}(this[e(297)],s,r,r+t[e(392)])}[ft(407)](t){const e=ft,i=null===(t=this[e(451)](t,this[e(398)]))[e(367)]?null:t[e(367)]||this[e(355)][e(343)][e(533)](e(388)).me.id,n=t[e(552)][e(418)],s=t[e(391)][e(418)],r=n[e(385)](e(295)),o=s[e(385)](e(479));n[e(476)](e(295),s[e(385)](e(295))),s[e(476)](e(295),r),this[e(297)][e(321)](o,{userId:i}),this[e(297)][e(321)](r,{userId:i}),t[e(462)]()}[ft(429)](t){const e=ft,i=null===(t=this[e(451)](t,this[e(398)]))[e(367)]?null:t[e(367)]||this[e(355)][e(343)][e(533)](e(388)).me.id,n=t[e(513)],s=t[e(425)][e(418)];t[e(462)]();const r=s[e(385)](e(295)),o=t[e(394)][e(438)];if(n){const t=o[e(385)](e(295)),n=s[e(385)](e(295));s[e(476)](e(295),t),o[e(476)](e(295),n),this[e(297)][e(321)](s[e(385)](e(295)),{userId:i}),this[e(297)][e(321)](o[e(385)](e(479)),{userId:i})}else{const t=this[e(584)]++,n=this[e(584)]++;s[e(476)](e(295),t),o[e(476)](e(479),n),o[e(476)](e(295),r),this[e(297)][e(321)](t,{userId:i}),this[e(297)][e(321)](n,{userId:i})}}[ft(480)](t){const e=ft;if(!t[e(566)])return;const i=(t=this[e(451)](t,this[e(529)]))[e(322)]?t[e(322)][e(550)]:null,n=t[e(421)]?t[e(421)][e(550)]:null;i&&this[e(500)][e(406)](t[e(422)]),n&&this[e(500)][e(321)](t[e(422)],t[e(421)][e(577)]());const s=null===t[e(367)]?null:t[e(367)]||this[e(355)][e(343)][e(533)](e(388)).me.id,r=t[e(422)];if(!this[e(309)][e(435)](r))return void this[e(309)][e(321)](r,{range:t[e(322)],userId:s});const o=this[e(309)][e(533)](r),a=o[e(363)],c=t[e(421)];null==a&&null==c||a&&c&&a[e(458)](c)?this[e(309)][e(406)](t[e(422)]):o[e(492)]=s}[ft(596)](t,e){const i=ft;this[i(529)][i(435)](t[i(461)])?this[i(529)][i(533)](t[i(461)])[i(506)]=t[i(282)]:(this[i(529)][i(321)](t[i(461)],kt(t[i(461)],!0)),this[i(334)][i(321)](t[i(461)],{}),e&&this[i(398)][i(321)](t[i(461)],kt(t[i(461)],!0)));const n=null===t[i(367)]?null:t[i(367)]||this[i(355)][i(343)][i(533)](i(388)).me.id,s=this[i(514)][i(533)](t[i(461)]);s&&s[i(492)]===n?this[i(514)][i(406)](t[i(461)]):this[i(514)][i(321)](t[i(461)],{userId:n,isAttached:t[i(282)]})}[ft(551)](t){const e=ft,i=this[e(334)][e(533)](t[e(550)][e(461)]);null===t[e(516)]?delete i[t[e(352)]]:i[t[e(352)]]=t[e(516)]}}function yt(t){const e=ft,i=kt(t[e(461)],t[e(595)]());for(const n of t[e(557)]()){const t=n[e(416)](!0);i[e(524)](t)}return i}function kt(t,e=!0){const i=ft,n=new Q.ModelDocumentFragment;return n[i(461)]=t,n[i(506)]=e,n[i(595)]=()=>n[i(506)],n}function bt(t,e,i){const n=ft,s=n(361)==t[n(337)]?i[n(329)](t[n(507)],n(457)):i[n(332)](t[n(507)]);return i[n(493)](e,s[n(488)],s[n(494)])}function wt(t,e,i){const n=ft,s=n(509)==t[n(337)]?i[n(329)](t[n(507)],0):i[n(468)](t[n(507)]);return i[n(493)](e,s[n(488)],s[n(494)])}var _t=i(355),It=i(311),St=i(450),Ot=i.n(St),Tt=i(774),xt=i.n(Tt),Nt=i(265),At=i.n(Nt),Rt=i(410),Mt=i.n(Rt),Vt=i(238),Et=i.n(Vt),Dt=i(246),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),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(124),Pt={attributes:{"data-cke":!0}};Pt.setAttributes=Mt(),Pt.insert=At().bind(null,"head"),Pt.domAPI=xt(),Pt.insertStyleElement=Et();Ot()(Ft.A,Pt);Ft.A&&Ft.A.locals&&Ft.A.locals;function jt(){const t=["revisionNameInputView","focusTracker","8EPqcDK","864XPcvoW","keystrokes","optional","1272092hhUdYJ","errorText","listenTo","render","102gJJIin","arrowdown","label","ck-responsive-form","trim","focus","220","arrowup","element","value","Name of the revision","ck-revision-history-save-revision-form","input","initializeCssTransitionDisablerMixin","add","revisionName","extendTemplate","reset","arrowleft","revisionNameInputValue","1121390vOabqq","locale","form","fieldView","set","arrowright","8350078PngeHV","_createRevisionNameInput","162XAMobB","18eNdzgC","stopPropagation","182765ftdwCt","1HPbznQ","374881WXdzyt","5172447NyMNzd","109512KHgupZ","setTemplate"];return(jt=function(){return t})()}const Lt=zt;function zt(t,e){const i=jt();return(zt=function(t,e){return i[t-=126]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(796176===parseInt(e(146))/1*(-parseInt(e(157))/2)+-parseInt(e(161))/3*(parseInt(e(149))/4)+parseInt(e(145))/5*(-parseInt(e(142))/6)+-parseInt(e(148))/7*(-parseInt(e(153))/8)+-parseInt(e(143))/9*(parseInt(e(134))/10)+parseInt(e(140))/11+parseInt(e(154))/12*(parseInt(e(147))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(152)];[Lt(155)];[Lt(151)];constructor(e,i){const n=Lt;super(e),this[n(152)]=new t.FocusTracker,this[n(155)]=new t.KeystrokeHandler,this[n(138)](n(133),""),this[n(151)]=this[n(141)](i),this[n(150)]({tag:n(136),attributes:{class:["ck",n(172),n(164)],tabindex:"-1"},children:[this[n(151)]]}),this[n(127)]()}[Lt(160)](){const t=Lt;super[t(160)](),(0,It.submitHandler)({view:this}),this[t(152)][t(128)](this[t(151)][t(169)]),this[t(155)][t(159)](this[t(169)]);const e=e=>e[t(144)]();this[t(155)][t(138)](t(139),e),this[t(155)][t(138)](t(132),e),this[t(155)][t(138)](t(168),e),this[t(155)][t(138)](t(162),e)}[Lt(166)](){const t=Lt;this[t(151)][t(166)]()}get[Lt(129)](){const t=Lt;return this[t(151)][t(137)][t(169)][t(170)][t(165)]()}set[Lt(129)](t){const e=Lt;this[e(151)][e(137)][e(169)][e(170)]=t[e(165)]()}[Lt(131)](){const t=Lt;this[t(151)][t(137)][t(169)][t(170)]="",this[t(151)][t(158)]=null}[Lt(141)](t){const e=Lt,i=new It.LabeledFieldView(this[e(135)],It.createLabeledInputText),n=i[e(137)];n[e(130)]({attributes:{maxlength:e(167)}});let s=at(this[e(135)],e(171));return!t&&(s+=" ("+at(this[e(135)],e(156))+")"),i[e(163)]=s,n.on(e(126),()=>{const t=e;this[t(133)]=n[t(169)][t(170)][t(165)]()}),i}}function Ut(t,e){const i=Zt();return(Ut=function(t,e){return i[t-=247]})(t,e)}const Ht=Ut;function Zt(){const t=["Save current revision","menu","show","_showDialog","_createSaveRevisionFormView","locale","The revision name cannot be empty.","componentFactory","role","Revision history","87755vsFEds","10469910wfuErj","2iJPjjU","Accept","_saveRevisionFormView","5128652FQwLqs","ck-button-action","isOfficialPlugin","isOpen","panelView","3746223PWWzqe","add","items","1289616RbinzG","6DnkGUY","requires","RevisionTracker","execute","hide","pluginName","set","3kFkxVU","saveRevision","reset","init","render","571781moeAUb","buttonView","submit","delegate","focus","Open revision history","isEnabled","showRevisionViewerCallback","editor","bind","get","Cancel","children","Dialog","14432814VnrajB","8HkmLlL","addMany","plugins","revisionSave","errorText","isReady","revisionHistory","RevisionHistoryUI","revisionHistory.requireRevisionName","revisionNameInputView","editing","config","isReadOnly","menuBar:revisionHistory","menuitem","_registerMenuComponent","revisionName","isPremiumPlugin","view"];return(Zt=function(){return t})()}!function(t){const e=Ut,i=t();for(;;)try{if(738009===-parseInt(e(311))/1*(parseInt(e(300))/2)+-parseInt(e(249))/3*(-parseInt(e(303))/4)+parseInt(e(298))/5*(-parseInt(e(312))/6)+parseInt(e(254))/7+parseInt(e(269))/8*(parseInt(e(308))/9)+-parseInt(e(299))/10+parseInt(e(268))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends J.Plugin{static get[Ht(247)](){return Ht(276)}static get[Ht(305)](){return!0}static get[Ht(286)](){return!0}static get[Ht(313)](){return[pt]}[Ht(302)];[Ht(252)](){const t=Ht,e=this[t(262)],i=e[t(271)][t(264)](t(314));e.ui[t(295)][t(309)](t(275),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(307)][s(266)],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(263)](s(260)).to(i,s(274),i,s(260),e,s(281),(t,e,i)=>t&&e&&!i),r[s(255)][s(248)]({icon:_t.IconHistory,label:at(n,s(297)),tooltip:!0}),u[s(248)]({label:at(n,s(288)),withText:!0,role:s(283)}),u[s(263)](s(260)).to(i,s(274),i,s(260),e,s(281),(t,e,i)=>t&&e&&!i),u.on(s(315),()=>this[s(291)]()),h[s(248)]({label:at(n,s(259)),withText:!0,role:s(283)}),h[s(263)](s(260)).to(i,s(274),e,s(281),(t,e)=>t&&!e),h.on(s(315),()=>{const t=s;e[t(280)][t(264)](t(275))[t(261)](),r[t(306)]=!1,e[t(279)][t(287)][t(258)]()}),c[s(266)][s(309)](u),l[s(266)][s(309)](h),a[s(296)]=s(289),a[s(310)][s(270)]([c,l]),o[s(309)](a),r}),e.ui[t(295)][t(309)](t(282),()=>this[t(284)]())}[Ht(284)](){const t=Ht,e=this[t(262)],i=e[t(293)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(255)][t(248)]({icon:_t.IconHistory,label:at(i,t(297))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(248)]({label:at(i,t(288))}),o[t(257)](t(315)).to(n),o.on(t(315),()=>{this[t(291)]()}),r[t(266)][t(309)](o),s[t(310)][t(309)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(248)]({label:at(i,t(259))}),c[t(257)](t(315)).to(n),c.on(t(315),()=>{const i=t;e[i(280)][i(264)](i(275))[i(261)]()}),a[t(266)][t(309)](c),s[t(310)][t(309)](a),n[t(307)][t(266)][t(309)](s),n}[Ht(291)](){const t=Ht,e=this[t(262)],i=e[t(293)],n=e[t(271)][t(264)](t(267)),s=e[t(271)][t(264)](t(314));function r(s){const r=t;e[r(280)][r(264)](r(277))&&""===s[r(285)]?s[r(278)][r(273)]=at(i,r(294)):(e[r(271)][r(264)](pt)[r(250)]({name:s[r(285)]}),n[r(316)]())}this[t(302)]||(this[t(292)](),this[t(302)].on(t(256),()=>r(this[t(302)]))),this[t(302)][t(251)](),n[t(290)]({id:t(272),title:at(i,t(288)),isModal:!0,content:this[t(302)],actionButtons:[{label:at(e[t(293)],t(265)),withText:!0,onExecute:()=>n[t(316)]()},{label:at(e[t(293)],t(301)),class:t(304),withText:!0,onCreate(i){const n=t;i[n(263)](n(260)).to(s,n(274),s,n(260),e,n(281),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(302)])}]})}[Ht(292)](){const t=Ht,e=this[t(262)],i=e[t(293)];this[t(302)]=new Wt(i,e[t(280)][t(264)](t(277))),this[t(302)][t(253)]()}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=467]})(t,e)}function Yt(){const t=["2Wkdnhg","Added by","bindTemplate","div","element","data","Removed by","93947bdWfeP","1216885dkOFRK","span","858577oOCTkC","ck-revision-change__","712tcpifP","setTemplate","361608qVKEEy","name","focus","4725930WbUFKx","600436isceAW","_model","ck-revision-change","isSuggestion","type","Suggested by","add","ck-revision-change__label","29044116veMJhN","ck-annotation","changeId","set","author"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(659373===-parseInt(e(495))/1*(parseInt(e(485))/2)+-parseInt(e(468))/3+parseInt(e(472))/4+parseInt(e(493))/5+-parseInt(e(471))/6+parseInt(e(492))/7*(-parseInt(e(497))/8)+parseInt(e(480))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Gt extends It.View{[$t(482)];[$t(473)];constructor(t,e){const i=$t;super(t),this[i(473)]=e,this[i(482)]=e.id;const n=this[i(487)],s=at(t,e[i(490)][i(475)]?i(477):i(478)==e[i(476)]?i(486):i(491));this[i(483)](i(476),e[i(476)]),this[i(467)]({tag:i(488),attributes:{class:[i(481),i(474),n.to(i(476),t=>i(496)+t)],tabindex:-1},children:[{tag:i(494),children:[{tag:i(494),attributes:{class:[i(479)]},children:[{text:s}]},{text:" "+e[i(484)][i(469)]}]}]})}[$t(470)](){const t=$t;this[t(489)][t(470)]()}}var Jt=Kt;function Kt(t,e){var i=Xt();return(Kt=function(t,e){return i[t-=220]})(t,e)}!function(t){for(var e=Kt,i=t();;)try{if(364224===parseInt(e(236))/1*(parseInt(e(228))/2)+-parseInt(e(227))/3*(-parseInt(e(233))/4)+-parseInt(e(221))/5*(parseInt(e(230))/6)+-parseInt(e(225))/7*(parseInt(e(226))/8)+-parseInt(e(220))/9*(-parseInt(e(232))/10)+-parseInt(e(235))/11+-parseInt(e(231))/12*(-parseInt(e(222))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Jt(223)];[Jt(239)];[Jt(238)];[Jt(229)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(223)]=e[i(223)],this[i(239)]=e[i(239)],this[i(238)]=e[i(238)]||{},this[i(229)]=e[i(229)],this[i(234)](i(224),e[i(224)])}[Jt(237)](){var t=Jt;return{id:this.id,authorId:this[t(223)].id,type:this[t(239)],data:this[t(238)],createdAt:this[t(224)]}}}function Xt(){var t=["toJSON","data","type","2759715MvBwCE","41955geOVQv","13yPdvQY","author","createdAt","3035907LYZncR","8YQFViQ","1861521SVwzbO","2bnUmFe","rootName","102YcvQWZ","1734660mTsZfL","10KaTnTZ","4iXLQhq","set","5493862DkLDFp","368317KtfZTG"];return(Xt=function(){return t})()}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=290]})(t,e)}function ie(){const t=["387860Ghfpxw","newRevisionId","2984BKGQlg","30QsOPAT","add","8ptpauL","oldRevisionId","1580BUAyUY","1712727vboCex","596057AEAdZS","138021ojmpYz","changes","6surrpj","_setChanges","721912kgYIaP","25861EUmTqg"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(119061===parseInt(e(292))/1*(-parseInt(e(293))/2)+parseInt(e(300))/3*(parseInt(e(295))/4)+parseInt(e(290))/5+-parseInt(e(302))/6*(-parseInt(e(299))/7)+parseInt(e(304))/8+parseInt(e(298))/9+-parseInt(e(297))/10*(parseInt(e(305))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[te(291)];[te(296)];[te(301)];constructor(e,i){const n=te;this[n(291)]=e,this[n(296)]=i,this[n(301)]=new t.Collection}[te(303)](t){const e=te;for(const i of t)this[e(301)][e(294)](i)}}var se=i(732),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;function oe(t,e){const i=ce();return(oe=function(t,e){return i[t-=242]})(t,e)}const ae=oe;function ce(){const t=["values","filter","_appendChild","bind","isAddSuggestion","catch","5439020NPTSOv","change","domConverter","ck-suggestion-marker-split","_removeUnsupportedChanges","isLimit","span","attributesBefore","currentChangeNumber","getRootNames","editing","8BPVyEM","_threeWayMerge","upcast","updatePosition","newRevisionId","suggestion:","add","get","createRangeIn","startsWith","revision-suggestion:","first","push","merge","object","elementToAttribute","_changeView","length","isOnRoot","loadRevisionData","vid_start","mouseover","markerToData","_makeModelFromViewString","_markSuggestions","ck-revision-history-root-","domEvent","revision","markers","insertions","_makeTape","end","_revisions","insertion","8BruVOY","addMarker:revision-suggestion:deletion","createRevision","getItems","consume","isObject","index","attributes","string","isRemoveSuggestion","commands","createRange","isAdded","getDomRoot","_update","createPositionBefore","element","listenTo","getChild","getRevision","slice","7636980lgfXRo","isEnabled","99UcDicg","revision-viewer","9438975qAETyK","previousPosition","elementStart","_setConversion","isReady","selection","data-change-id","flat","markersStart","keys","pairId","destroy","schema","forceDisabled","diffData","conversion","split","element:pre","backward","nextSibling","addHighlight","_makeModelFromTape","ck-revision-history-root-remove","_activeViewTarget","unshift","createPositionFromPath","removeAttribute","changeId","insert","clear","remove","test","checkAttribute","modelRange","RevisionsRepository","toViewRange","ck-suggestion-preview-marker","isNavigationMode","execute","resolve","rootName","markerNameToElements","attribute:vid","adapter","right","_setDistance","getAttribute","forEach","for","mousedown","refresh","addClass","6911613olBvUz","data","ck-suggestion-marker","_removeMissingPairs","getRevisionDocumentData","vid_end","top","init","getRevisionRootsAttributes","2675XQmcFM","isIncorrect","attachChange","change:activeChange","enableReadOnlyMode","indexOf","hasAttribute","_data","changes","pop","mapViewToDom","roots","revisionHistory","requires","_balloon","_refreshStartEndIndex","text","enqueueChange","range","getRoot","markerRange","dataToMarker","suggestion","isContent","set","addMarker:revision","getWalker","ck-revision-history-root--active","side","all","isEqual","bindElementToMarker","dataDowncast","removeMarker:revision","ck-suggestion-preview-marker-","revisionHistoryAttachChange","change:isReady","_getRevisionsRange","_utils","forward","authors","removeClass","RevisionHistoryUtils","addRoot","233744HKmqBf","removeMarker:revision-suggestion","addRevisionData","bottom","hasClass","markersEnd","done","distance","_step","highest","shift","left","getAttributes","attributesAfter","type","restoreRevision","13801270gOnPdP","startIndex","config","find","stop","name","isSuggestion","endIndex","nodeAfter","_joinTapes","target","isAttached","splice","3fItfSz","_cleanUp","-new","diff","toViewElement","compare","offsetSize","ck-suggestion-marker-merge","downcastDispatcher","abs","_markInsertions","then","_getChangeFromId","_getViewForChange","view","low","model","addMarker:revision-suggestion:insertion","getIndex","getClientRects","repository","nextPosition","high","isOfficialPlugin","return","activeView","oldRevisionId","_changeIdToChange","markerToHighlight","consumable","ck-revision-history-root-add","activeChange","markerName","document","elementEnd","WidgetToolbarRepository","_findChangeIdFromDomTarget","isRemoved","getCustomProperty","revision-comment:","_cleanMarkers","ck-suggestion-marker--active","delete","isCollapsed","start","affectsData","revision-suggestion","_processTape","writer","sort","_getDiff","from","change:numberOfChanges","restoreRevisionCallback","maxOffset","userId","comment","isBefore","showStack","item","has","detachRoot","level","_markMarkers","concat","unbindElementFromMarkerName","isPremiumPlugin","removeMarker","deletions","uiElement","ck-suggestion-marker-","revisionHistoryLabel","isAtEnd","plugins","ck-editor__editable__overlay","findIndex","numberOfChanges","getLaterVisibleRevision","_setChanges","_sortAndFilterDiffChanges","deletion","isAfter","RevisionViewer","map","wrap","next","setAttribute","isAtStart","change:activeView","change:isEnabled","_markMismatchedRemovedTags","createAttributeElement","isInline","addRevision","createUIElement","parent","pluginName","code","revision:","vid","softBreak","observeMarkers","editingDowncast","9132FxUgba","locale","mapper","showPreviousChange","showNextChange","includes","_fixObsoleteTags","POSITIVE_INFINITY","editor","toViewPosition","viewItem","_initInteractions","isBlock","reconvertMarker","error"];return(ce=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(992177===-parseInt(e(303))/1*(-parseInt(e(433))/2)+-parseInt(e(462))/3*(parseInt(e(258))/4)+-parseInt(e(389))/5*(parseInt(e(565))/6)+-parseInt(e(328))/7+parseInt(e(269))/8*(-parseInt(e(380))/9)+-parseInt(e(449))/10+parseInt(e(326))/11*(parseInt(e(324))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends J.Plugin{[ae(482)];[ae(371)]=null;[ae(427)];[ae(351)];[ae(285)];[ae(489)];[ae(403)];static get[ae(558)](){return ae(544)}static get[ae(485)](){return!0}static get[ae(528)](){return!0}static get[ae(402)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=ae;super(t),this[e(482)]=this[e(245)][e(535)][e(276)](e(362)),this[e(427)]=this[e(245)][e(535)][e(276)](e(431)),this[e(413)](e(493),null),this[e(413)](e(487),null),this[e(351)]=null,this[e(413)](e(465),null),this[e(413)](e(332),!1),this[e(413)](e(325),!0),this.on(e(551),(t,i,n)=>{const s=e;this[s(493)]=null,this[s(487)]=null,this[s(245)][s(268)][s(476)][s(259)](t=>{const e=s;for(const i of this[e(245)][e(268)][e(476)][e(495)][e(400)])n?t[e(430)](e(536),i):t[e(379)](e(536),i)})}),this[e(255)](e(365)).to(this,e(493),t=>null!==t),this[e(255)](e(266)).to(this,e(332),this,e(465),this,e(493),(t,i,n)=>t&&n?i[e(397)][e(480)](n):0),this[e(255)](e(538)).to(this,e(332),this,e(465),(t,i)=>t?i[e(397)][e(286)]:0),this[e(285)]=null,this[e(489)]=new Map,this[e(403)]=this[e(245)][e(535)][e(276)](It.ContextualBalloon)}[ae(387)](){const t=ae,e=this[t(245)],i=new de(e,{direction:t(346)}),n=new de(e,{direction:t(428)});e[t(313)][t(275)](t(568),i),e[t(313)][t(275)](t(569),n),e[t(313)][t(275)](t(448),new he(e)),this.on(t(514),()=>{const e=t;i[e(378)](),n[e(378)]()}),this[t(331)](),this[t(248)](),e[t(393)](t(327)),e[t(535)][t(522)](t(497))&&e[t(535)][t(276)](t(497))[t(341)](t(327))}async[ae(384)](t){const e=ae;return await this[e(427)][e(288)](t,this[e(371)]),this[e(427)][e(384)](t)}async[ae(388)](t){const e=ae;return await this[e(427)][e(288)](t,this[e(371)]),this[e(427)][e(388)](t)}async[ae(467)](t,e,i=!1){const n=ae;if(!this[n(325)])return;const s=this[n(465)],r=this[n(482)],o=n(311)==typeof t?r[n(322)](t):t,a=n(311)==typeof e?r[n(322)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(465)]&&this[n(465)][n(273)]===c&&this[n(465)][n(488)]===u)return Promise[n(367)]();this[n(332)]=!1,this[n(487)]=null,this[n(493)]=null,this[n(465)]=new ne(c,u);const l=this[n(426)](o,a,!0)[n(545)](t=>this[n(427)][n(288)](t,this[n(371)]));return l[n(281)](new Promise(t=>{setTimeout(t,20)})),Promise[n(418)](l)[n(473)](()=>{const t=n;if(!this[t(325)])return;this[t(463)]();const e=this[t(512)](c,u);for(const i of e[t(397)])this[t(489)][t(413)](i.id,i);this[t(245)][t(478)][t(406)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(245)][n(478)][n(495)][n(267)]())i[n(523)](t);for(const t of Object[n(337)](e[n(478)])){const s=i[n(432)](t);for(const r of Object[n(337)](e[n(310)][t]))i[n(548)](r,e[n(310)][t][r],s);i[n(356)](e[n(478)][t],s,0)}}),this[t(465)][t(540)](this[t(541)](e[t(397)])),this[t(332)]=!0})[n(257)](t=>{const e=n;console[e(251)](t),this[e(463)](),s&&(this[e(465)]=s),this[e(332)]=!0})}[ae(435)](t,e){const i=ae,n=this[i(482)][i(305)](t);return n.on(i(317),(t,i,s)=>e(i,s,n)),this[i(482)][i(555)](n),n}[ae(463)](){const t=ae;this[t(493)]=null,this[t(502)](),this[t(285)]&&this[t(285)][t(339)](),this[t(285)]=null,this[t(489)][t(357)](),this[t(245)][t(478)][t(406)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(245)][i(478)][i(495)][i(267)]())e[i(523)](t)})}[ae(541)](t){const e=ae,i=[],n=new Map;for(const t of this[e(245)][e(478)][e(495)][e(267)]()){const s=this[e(245)][e(268)][e(476)][e(316)](t);if(!s)continue;const r=s[e(481)]()[e(521)](0);r&&(i[e(281)](t),n[e(413)](t,r))}return i[e(511)]((t,i)=>{const s=e,r=n[s(276)](t),o=n[s(276)](i);return r.y-o.y||r.x-o.x}),(t=t[e(253)](t=>i[e(242)](t[e(368)])))[e(511)]((t,n)=>i[e(394)](t[e(368)])-i[e(394)](n[e(368)])),t}[ae(299)](t){const e=ae,i=Array[e(513)](t[e(297)])[e(253)](([t,i])=>t[e(278)](e(560))&&!i[e(505)]),n=Array[e(513)](this[e(245)][e(478)][e(277)](t)[e(415)]({singleCharacters:!0}));if(0!=i[e(286)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(344)](":");if(s[e(300)][e(419)](t[e(483)])&&i[e(443)](),(t[e(329)][e(419)](s[e(506)])||t[e(329)][e(543)](s[e(506)]))&&(e(302)==r?t[e(315)]={userId:o}:e(542)==r&&(t[e(499)]={userId:o})),0==i[e(286)])break}return n}[ae(404)](t){const e=ae,i=new Map;for(let n=0;n<t[e(286)];n++)e(405)===t[n][e(447)]?(t[n][e(521)][e(450)]=n,t[n][e(521)][e(456)]=n):(e(330)===t[n][e(447)]?t[n][e(521)][e(450)]=n:e(496)===t[n][e(447)]&&(t[n][e(521)][e(456)]=n),i[e(413)](t[n].id,n));for(const n of i[e(252)]())e(330)===t[n][e(447)]?t[n][e(521)][e(456)]=i[e(276)](t[n][e(338)]):e(496)===t[n][e(447)]&&(t[n][e(521)][e(450)]=i[e(276)](t[n][e(338)]))}[ae(509)](t){const e=ae;for(let i=0;i<t[e(286)];i++){if(e(330)===t[i][e(447)])t[i][e(521)][e(450)]=i;else if(e(496)===t[i][e(447)]){t[i][e(521)][e(456)]=i;const n=t[i][e(521)][e(450)];t[n][e(338)]=t[i].id,t[i][e(338)]=t[n].id}else t[i][e(521)][e(450)]=i,t[i][e(521)][e(456)]=i,t[i][e(338)]=null;t[i][e(336)]||(t[i][e(336)]=[],t[i][e(438)]=[])}}[ae(472)](t,e){const i=ae,n=t[i(253)](t=>!t[i(315)]);for(let t=0;t<e[i(286)];t++)e[t][i(315)]&&(n[t][i(315)]=e[t][i(315)])}[ae(512)](t,e=null){const i=ae,n=this[i(482)][i(322)](t),s=e?this[i(482)][i(322)](e):null,r=this[i(426)](n,s),o=r[r[i(286)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(286)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(337)](e[i(342)]))if(e[i(342)][t][i(391)]){const n=e[i(342)][t][i(391)];n[i(460)]?(u[i(275)](t),l[i(522)](t)&&l[i(276)](t)[i(517)]==n[i(517)]?l[i(504)](t):l[i(413)](t,n)):l[i(522)](t)?(u[i(504)](t),l[i(504)](t)):(u[i(275)](t),l[i(413)](t,n))}else u[i(275)](t)}for(const t of u){const e=l[i(522)](t)&&!l[i(276)](t)[i(460)];let n=e?r[i(286)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(342)][t]){const n=e?o[i(342)][t][i(265)]:o[i(342)][t][i(446)];c[i(310)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(478)]={};for(const e of t[i(429)])a[i(413)](e.id,e);for(const e of u){const n=t[i(342)][e]?t[i(342)][e][i(298)]:"[]",s=t[i(342)][e]?t[i(342)][e][i(530)]:"[]";t[i(478)][e]={insertions:this[i(427)][i(292)](n),deletions:this[i(427)][i(292)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(513)](n[i(478)][t][i(298)][i(297)])[i(253)](([t])=>!t[i(278)](i(560))));let h=0;for(const o of r){const r=this[i(299)](o[i(478)][t][i(298)]);o==n?(e=r,s=e[i(286)],e[i(375)](t=>{t.id=h++}),this[i(509)](e)):this[i(472)](e,r);const a=e[i(253)](t=>!t[i(315)])[i(545)](t=>t.id);let c=0;const l=this[i(299)](o[i(478)][t][i(530)]);l[i(375)](t=>{t[i(499)]?t.id=s++:t.id=a[c++]}),this[i(509)](l),this[i(373)](e,i(315)),this[i(373)](l,i(499)),o==n&&this[i(525)](e,u),e=this[i(458)](e,l),this[i(404)](e),this[i(373)](e,i(499))}e=e[i(253)](t=>!(t[i(315)]&&t[i(499)]));const d=new Map(o[i(478)][t][i(530)][i(297)]),f=new Set(u[i(337)]());for(const t of d[i(337)]())f[i(504)](t);this[i(293)](e,f),this[i(243)](e),e=this[i(383)](e),e=this[i(552)](e),e=this[i(262)](e);const{root:m,changes:p}=this[i(349)](e,a,t);c[i(478)][t]=m;const v=l[i(276)](t);if(v){const e=a[i(276)](v[i(517)]),n=new Qt({author:e,type:v[i(460)]?i(275):i(358),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(352)](n),c[i(310)][t][i(424)]=n.id}c[i(397)]=c[i(397)][i(526)](p)}return c}[ae(525)](t,e){const i=ae;for(let n=0;n<t[i(286)];n++)for(const[s,r]of e)!r[i(505)]&&r[i(506)][i(419)](t[n][i(329)])&&t[n][i(336)][i(281)](s),r[i(300)][i(419)](t[n][i(483)])&&t[n][i(438)][i(281)](s)}[ae(458)](t,e){const i=ae;let n=[],s=0,r=0;for(;s<t[i(286)]||r<e[i(286)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(281)](o);else if(a[i(499)]&&o[i(315)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(270)](t,s,e,r);n=n[i(526)](o),s=a,r=c}else a[i(499)]?(r++,n[i(281)](a)):(s++,n[i(281)](o))}return n}[ae(293)](t,e){const i=ae,n=[];for(let o=0;o<t[i(286)];o++){for(let r=0;r<t[o][i(336)][i(286)];r++){const a=t[o][i(336)][r];if(!e[i(522)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(508)!=c||i(302)!=u&&i(542)!=u||(n[i(352)]({type:u,name:a,userId:l}),t[o][i(336)][i(461)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(438)][i(286)];r++){const a=t[o][i(438)][r];if(!e[i(522)](a))continue;const{group:c,type:u}=s(a);if(i(508)!=c||i(302)!=u&&i(542)!=u)continue;t[o][i(438)][i(461)](r,1),r--;const l=n[i(537)](t=>t[i(454)]==a);l>-1&&n[i(461)](l,1)}}function s(t){const e=i,n=t[e(344)](":");return{group:n[0],type:n[1],subType:n[e(286)]>=5?n[2]:null,id:n[e(286)]<5?n[2]:n[3],authorId:n[e(286)]<5?n[3]:n[4],markerCount:6==n[e(286)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(286)];i++){if(t[e(315)]&&e(302)==n[i][e(447)]&&t[e(315)][e(517)]==n[i][e(517)])return t[e(256)]=n[i],void delete t[e(315)];if(!t[e(315)]&&!t[e(499)]&&e(542)==n[i][e(447)])return void(t[e(312)]=n[i])}}}[ae(373)](t,e){const i=ae;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(413)](o.id,n);for(let n=0;n<t[i(286)];n++){if(i(499)==e&&t[n][i(315)]||i(315)==e&&t[n][i(499)])continue;if(i(405)==t[n][i(447)]){t[n][i(440)]=0;continue}const s=r[i(276)](t[n][i(338)]),o=r[i(276)](t[n].id);t[n][i(440)]=s-o}}[ae(426)](t,e,i=!1){const n=ae,s=[];let r=this[n(482)][n(480)](t),o=this[n(482)][n(480)](e);for(-1==o&&(o=this[n(482)][n(301)][n(286)],i=!1);r<o;)s[n(281)](this[n(482)][n(322)](r)),r++;return i&&s[n(281)](this[n(482)][n(322)](r)),s}[ae(270)](t,e,i,n){const s=ae,r=this[s(245)][s(478)][s(340)];let o=e;for(;t[o]&&t[o][s(315)];)o++;let a=n;for(;i[a]&&i[a][s(499)];)a++;u(t,e,o),u(i,n,a);const c=i[s(323)](n,a)[s(526)](t[s(323)](e,o));return c[s(511)]((t,e)=>t[s(417)]!=e[s(417)]?t[s(417)]-e[s(417)]:t[s(524)]!=e[s(524)]?t[s(524)]-e[s(524)]:t[s(440)]!=e[s(440)]?e[s(440)]-t[s(440)]:!!t[s(315)]!=!!e[s(315)]?-1==t[s(417)]||0==t[s(417)]?t[s(315)]?-1:1:t[s(315)]?1:-1:t[s(309)]-e[s(309)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(244)],c=!0;for(let s=e;s<i;s++)if(r[n(554)](t[s][n(521)])||(c=!1),t[s][n(521)][n(450)]<e&&(o=s),t[s][n(521)][n(456)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(417)]=s<=o?-1:s<a?0:1,t[s][n(309)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(440)]?t[i][n(524)]=u:(u++,t[i][n(524)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(417)]&&(t[s][n(524)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(440)]?t[e][n(524)]=u:(u--,t[e][n(524)]=u,u--)}}[ae(243)](t){const e=ae,i=new Map,n=this[e(245)][e(478)][e(340)];for(let s=1;s<t[e(286)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(405)==c[e(447)])continue;if(c[e(447)]!=u[e(447)])continue;if(!n[e(249)](u[e(521)])||n[e(263)](u[e(521)]))continue;if(!n[e(249)](c[e(521)])||n[e(263)](c[e(521)]))continue;if((t[s][e(315)]||t[s][e(256)])&&t[s-1][e(499)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(499)]||!t[s-1][e(315)]&&!t[s-1][e(256)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(524)]==o[e(524)],h=Math[e(471)](r[e(524)])<Math[e(471)](o[e(524)])&&0==o[e(440)];(l||h)&&(i[e(413)](o.id,r.id),t[e(461)](a,1),s--,r[e(315)]=!1)}for(let n=0;n<t[e(286)];n++)i[e(522)](t[n][e(338)])&&(t[n][e(338)]=i[e(276)](t[n][e(338)]))}[ae(383)](t){const e=ae,i=new Set(t[e(545)](t=>t.id));for(let n=0;n<t[e(286)];n++)i[e(522)](t[n][e(338)])||0==t[n][e(440)]||(t[n][e(390)]=!0);return t[e(253)](t=>!t[e(390)])}[ae(552)](t){const e=ae,i=new Set;for(let n=0;n<t[e(286)];n++){if(i[e(522)](t[n].id)&&t[n][e(499)]&&(t[n][e(390)]=!0),t[n][e(390)])continue;if(0==t[n][e(440)])continue;if(e(330)!=t[n][e(447)])continue;if(null==t[n][e(338)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(338)];)e(330)==t[s][e(447)]?r++:e(496)==t[s][e(447)]&&r--,s++;if(0!=r)if(t[n][e(499)])t[n][e(390)]=!0;else for(;s!=n;)t[s][e(499)]&&0!=t[s][e(440)]&&(t[s][e(390)]=!0,i[e(275)](t[s][e(338)])),s--}return t[e(253)](t=>!t[e(390)])}[ae(262)](t){const e=ae,i=this[e(245)][e(478)][e(340)];for(let n=0;n<t[e(286)];n++){if(!(t[n][e(315)]||t[n][e(256)]||t[n][e(499)]||t[n][e(312)]))continue;if(0==t[n][e(440)])continue;const s=t[n][e(521)];i[e(249)](s)||i[e(263)](s)||(t[n][e(315)]&&delete t[n][e(315)],t[n][e(256)]&&delete t[n][e(256)],t[n][e(312)]&&delete t[n][e(312)],t[n][e(499)]&&(t[n][e(390)]=!0))}return t[e(253)](t=>!t[e(390)])}[ae(349)](t,e,i){const n=ae,s=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[n(245)][n(478)],c=a[n(340)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(286)];e++)if(n(330)===t[e][n(447)]){t[e][n(329)]=a[n(353)](s,f);const i=new Q.ModelElement(t[e][n(521)][n(454)],t[e][n(521)][n(445)]());u[0][n(254)](i),f[n(281)](0),u[n(352)](i),t[e][n(483)]=a[n(353)](s,f)}else n(496)===t[e][n(447)]?(u[n(443)](),t[e][n(329)]=a[n(353)](s,f),f[n(398)](),f[f[n(286)]-1]++,t[e][n(483)]=a[n(353)](s,f)):(t[e][n(329)]=a[n(353)](s,f),d?d[n(396)]+=t[e][n(521)][n(381)]:d=new Q.ModelText(t[e][n(521)][n(381)],t[e][n(521)][n(445)]()),t[e+1]&&n(405)===t[e+1][n(447)]&&v(d,t[e+1][n(521)])||(u[0][n(254)](d),d=null),f[f[n(286)]-1]+=t[e][n(521)][n(468)],t[e][n(483)]=a[n(353)](s,f));for(let e=0;e<t[n(286)];e++){const i=t[e][n(329)],s=t[e][n(483)];for(const s of t[e][n(336)])o[n(413)](s,{start:i,end:null});m(n(312),e,i,s),m(n(256),e,i,s),m(n(499),e,i,s),m(n(315),e,i,s);for(const i of t[e][n(438)]){const t=o[n(276)](i);t?t[n(300)]=s:o[n(413)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(245)][n(478)][n(314)](e[n(506)],e[n(300)]);s[n(297)][n(413)](t,i)}return r[n(511)]((t,e)=>{const i=n,r=s[i(297)][i(276)](i(560)+t.id),o=s[i(297)][i(276)](i(560)+e.id);return r[i(506)][i(519)](o[i(506)])?-1:r[i(506)][i(543)](o[i(506)])?1:r[i(300)][i(519)](o[i(300)])?-1:r[i(300)][i(543)](o[i(300)])?1:i(275)===t[i(447)]?-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(517)]:null,d=i===t[o(286)]-1,f=h[e][0],m=c[o(308)](t[i][o(521)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(300)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(517)]!==u&&(l[e][o(300)]=s,f&&f[o(517)]===l[e][o(517)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(330)!==t[i][o(447)]||f&&f[o(517)]===u||h[e][o(352)]({userId:u,object:t[i][o(521)],change:l[e]}),o(496)===t[i][o(447)]&&f&&f[o(283)]===t[i][o(521)]&&(h[e][o(443)](),l[e]=f[o(259)])),l[e]&&d&&(l[e][o(300)]=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(521)],f=a[h(340)][h(249)](d)&&!a[h(340)][h(263)](d),m=t[h(457)]==o[h(557)]&&o[h(549)];if(f&&m)return;const p=a[h(314)](t,o),v=e[h(276)](u),g=new Qt({author:v,type:h(315)==l||h(256)==l?h(275):h(358),data:{isSuggestion:h(256)==l||h(312)==l},createdAt:new Date,rootName:i});r[h(281)](g),s[h(297)][h(413)](h(560)+g.id,p)}function v(t,e){const i=n,s=t[i(445)](),r=e[i(445)]();for(const t of s){if(t[1]!==e[i(374)](t[0]))return!1;r[i(547)]()}return r[i(547)]()[i(439)]}}[ae(331)](){const t=ae;this[t(245)][t(343)][t(376)](t(271))[t(410)]({view:t(296)}),this[t(245)][t(343)][t(376)](t(564))[t(490)]({model:t(296),view:e=>{const i=t,n=e[i(494)][i(344)](":")[1],s=this[i(474)](n);if(!s)return null;const r=i(275)==s[i(447)]?i(302):i(542),o=[i(382),i(532)+r];return s[i(381)][i(455)]&&o[i(281)](i(532)+r+i(464)),this[i(493)]==s&&o[i(281)](i(503)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(245)][t(343)][t(376)](t(271))[t(275)](e=>{const i=t;e.on(i(345),(t,e,n)=>{const s=i,r=e[s(247)][s(321)](0);if(!r||!r.is(s(319),s(559)))return;if(!n[s(491)][s(307)](r,{attributes:[s(289),s(385)]}))return;const o=e[s(361)][s(506)][s(457)];n[s(510)][s(548)](s(289),r[s(374)](s(289)),o),n[s(510)][s(548)](s(385),r[s(374)](s(385)),o)},{priority:i(477)})}),this[t(245)][t(343)][t(376)](t(271))[t(275)](e=>{const i=t;e.on(i(319),(t,e,n)=>{const s=i;if(!n[s(491)][s(307)](e[s(247)],{attributes:[s(289),s(385)]}))return;if(e[s(361)][s(505)])return;const r=e[s(361)][s(506)][s(457)];r[s(395)](s(289))||r[s(395)](s(561))||(n[s(510)][s(548)](s(289),e[s(247)][s(374)](s(289)),r),n[s(510)][s(548)](s(385),e[s(247)][s(374)](s(385)),r))},{priority:i(477)})}),this[t(245)][t(343)][t(376)](t(271))[t(284)]({view:{name:t(264),attributes:{vid:!0}},model:{key:t(561),value:e=>e[t(374)](t(561))}}),this[t(245)][t(478)][t(340)].on(t(360),(e,[,i])=>{const n=t;[n(289),n(385),n(561)][n(242)](i)&&(e[n(486)]=!0,e[n(453)]())},{priority:t(442)}),this[t(245)][t(343)][t(376)](t(421))[t(275)](e=>{const i=t;e.on(i(370),(t,e,n)=>{const s=i;if(" "!=e[s(521)][s(381)]||e[s(521)][s(557)][s(516)]>1)return;if(!n[s(491)][s(307)](e[s(521)],t[s(454)]))return;const r=n[s(510)],o=n[s(567)][s(363)](e[s(407)]);r[s(546)](o,r[s(553)](s(264)))})}),this[t(245)][t(343)][t(376)](t(421))[t(291)]({model:t(296)}),this[t(245)][t(268)][t(470)].on(t(414),function(e){const i=t,n=e[i(535)][i(276)](i(544));return(t,s,r)=>{const o=i,a=s[o(494)][o(344)](":")[1],c=n[o(474)](a);if(!c)return null;const u=o(275)==c[o(447)]?o(344):o(282);if(!r[o(491)][o(359)](s[o(409)],t[o(454)]))return;const l=s[o(409)][o(415)](),h=s[o(409)][o(506)],d=e[o(478)][o(340)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(521)];p=p||d[o(412)](e);const i=r[o(567)][o(466)](e);if(i&&i[o(500)](o(348)))return;o(496)==t[o(447)]&&d[o(249)](e)&&!d[o(263)](e)&&(e[o(347)]||h[o(534)]?f&&f[o(557)]==e||(f=e,g(t[o(329)]),v=!0):m=m||t[o(329)])}function g(t){const e=o,i=r[e(510)][e(556)](e(264),{class:e(532)+u}),a=r[e(567)][e(246)](t);c[e(381)][e(455)]&&r[e(510)][e(379)](e(532)+u+e(464),i),n[e(493)]==c&&r[e(510)][e(379)](e(503),i),r[e(510)][e(356)](a,i),r[e(567)][e(420)](i,s[e(494)])}p||v||!m||g(m)}}(this[t(245)]),{priority:t(484)}),this[t(245)][t(268)][t(470)].on(t(422),(e,i,n)=>{const s=t,r=n[s(567)][s(369)](i[s(494)]);if(r)for(const t of r)(t[s(437)](s(261))||t[s(437)](s(469)))&&(n[s(567)][s(527)](t,i[s(494)]),n[s(510)][s(358)](t))},{priority:t(484)}),this[t(245)][t(268)][t(470)].on(t(414),(e,i,n)=>{const s=t,r=i[s(494)][s(344)](":")[1],o=this[s(474)](r);if(!o)return null;const a=s(275)==o[s(447)]?s(344):s(282);if(n[s(491)][s(359)](i[s(409)],e[s(454)]))for(const t of i[s(409)][s(306)]()){if(!t.is(s(319),s(562)))continue;const e=n[s(510)][s(556)](s(264),{class:s(532)+a}),r=n[s(567)][s(246)](this[s(245)][s(478)][s(318)](t));o[s(381)][s(455)]&&n[s(510)][s(379)](s(532)+a+s(464),e),this[s(493)]==o&&n[s(510)][s(379)](s(503),e),n[s(510)][s(356)](r,e),n[s(567)][s(420)](e,i[s(494)])}},{priority:t(484)}),this[t(245)][t(478)][t(495)].on(t(259),()=>{const e=t;this[e(245)][e(268)][e(476)][e(259)](t=>{const i=e;for(const e of this[i(245)][i(478)][i(495)][i(267)]()){const n=this[i(245)][i(478)][i(495)][i(408)](e),s=this[i(245)][i(268)][i(476)][i(495)][i(408)](e);if(s){const e=n[i(374)](i(424));if(t[i(354)](i(334),s),t[i(430)](i(492),s),t[i(430)](i(350),s),t[i(430)](i(416),s),e){const n=this[i(474)](e);if(!n)return null;t[i(548)](i(334),e,s),t[i(379)](i(294)+n[i(447)],s),this[i(493)]==n&&t[i(379)](i(416),s)}}}})}),this[t(245)][t(343)][t(376)](t(271))[t(410)]({view:t(518),model:e=>t(501)+e,converterPriority:t(442)}),this[t(245)][t(343)][t(376)](t(271))[t(410)]({view:t(411),model:e=>t(279)+e,converterPriority:t(442)}),this[t(245)][t(343)][t(376)](t(421))[t(291)]({model:t(508),view:e=>({name:t(274)+e,group:t(508)}),converterPriority:t(442)}),this[t(245)][t(343)][t(376)](t(564))[t(490)]({model:t(508),view:e=>{const i=t,n=e[i(494)][i(344)](":")[1];return i(302)!=n&&i(542)!=n?null:{classes:[i(364),i(423)+n]}}}),this[t(245)][t(268)][t(470)].on(t(304),le(this[t(245)],t(282)),{priority:t(484)}),this[t(245)][t(268)][t(470)].on(t(479),le(this[t(245)],t(344)),{priority:t(484)}),this[t(245)][t(268)][t(470)].on(t(434),(e,i,n)=>{const s=t,r=n[s(567)][s(369)](i[s(494)]);if(r)for(const t of r)t.is(s(531))&&(n[s(567)][s(527)](t,i[s(494)]),n[s(510)][s(358)](t))},{priority:t(484)})}[ae(474)](t){const e=ae;return this[e(489)][e(276)](t)}[ae(475)](t){const e=ae;return this[e(285)]&&this[e(285)][e(339)](),this[e(285)]=new Gt(this[e(245)][e(566)],t),this[e(285)]}[ae(248)](){const t=ae;this[t(245)][t(478)][t(495)][t(333)][t(563)](t(296)),this.on(t(550),(e,i,n,s)=>{const r=t;s&&this[r(403)][r(358)](s),n&&(this[r(403)][r(275)]({view:n,stackId:r(533),position:{target:()=>{const t=r,e=this[t(245)][t(268)],i=this[t(474)](n[t(355)]);let s;if(i[t(381)][t(287)]){const n=e[t(476)][t(316)](i[t(368)]);s=Array[t(513)](n[t(481)]())}else{const i=this[t(245)][t(478)][t(297)][t(276)](t(560)+n[t(355)]);s=Array[t(513)](e[t(567)][t(369)](i[t(454)]))[t(545)](i=>e[t(476)][t(260)][t(399)](i))[t(545)](e=>Array[t(513)](e[t(481)]()))[t(335)]()}return this[t(351)]&&s[t(452)](e=>e[t(386)]-3<=this[t(351)].y&&e[t(436)]+3>=this[t(351)].y&&e[t(444)]-3<=this[t(351)].x&&e[t(372)]+3>=this[t(351)].x)||s[0]}}}),this[r(403)][r(520)](r(533)))}),this.on(t(392),(e,i,n,s)=>{const r=t;this[r(487)]=n?this[r(475)](n):null,this[r(245)][r(478)][r(259)](()=>{const t=r,e=this[t(245)][t(268)];s&&(s[t(381)][t(287)]?e[t(476)][t(259)](i=>{const n=t;i[n(430)](n(416),e[n(476)][n(495)][n(408)](s[n(368)]))}):e[t(250)](t(560)+s.id)),n&&(n[t(381)][t(287)]?e[t(476)][t(259)](i=>{const s=t;i[s(379)](s(416),e[s(476)][s(495)][s(408)](n[s(368)]))}):e[t(250)](t(560)+n.id))})}),this[t(320)](this[t(245)][t(268)][t(476)][t(495)],t(290),(e,i)=>{const n=t;if(this[n(493)])return;const s=this[n(498)](i[n(459)]),r=this[n(489)][n(276)](s);r?(this[n(351)]={x:i[n(295)].x,y:i[n(295)].y},this[n(487)]=this[n(475)](r)):(this[n(351)]=null,this[n(487)]=null)}),this[t(320)](this[t(245)][t(268)][t(476)][t(495)],t(377),(e,i)=>{const n=t,s=this[n(498)](i[n(459)]),r=this[n(489)][n(276)](s);r?(this[n(351)]={x:i[n(295)].x,y:i[n(295)].y},r===this[n(493)]?this[n(403)][n(272)]():this[n(493)]=r):(this[n(351)]=null,this[n(493)]=null)})}[ae(498)](t){const e=ae;do{const i=t[e(374)](e(334));if(i)return i;t=t[e(557)]}while(t);return null}[ae(502)](){const t=ae;this[t(245)][t(478)][t(259)](e=>{const i=t;for(const t of this[i(245)][i(478)][i(297)])e[i(529)](t)})}}function le(t,e){return(i,n,s)=>{const r=oe;if(!s[r(491)][r(359)](n[r(409)],i[r(454)]))return;const o=n[r(409)][r(415)](),a=n[r(409)][r(506)],c=t[r(478)][r(340)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(521)];h=h||c[r(412)](e);const i=s[r(567)][r(466)](e);if(i&&i[r(500)](r(348)))return;r(496)==t[r(447)]&&c[r(249)](e)&&!c[r(263)](e)&&(e[r(347)]||a[r(534)]?u&&u[r(557)]==e||(u=e,f(t[r(329)]),d=!0):l=l||t[r(329)])}function f(t){const i=r,o=s[i(567)][i(246)](t),a=s[i(510)][i(556)](i(264),{class:i(423)+e});s[i(510)][i(356)](o,a),s[i(567)][i(420)](a,n[i(494)])}h||d||!l||f(l)}}class he extends J.Command{constructor(t){const e=ae;super(t);const i=t[e(535)][e(276)](ue);this[e(507)]=!1,this[e(320)](i,e(425),()=>this[e(378)]()),this[e(320)](i,e(551),()=>this[e(378)]())}[ae(366)](){const t=ae,e=this[t(245)],i=e[t(535)][t(276)](ue),n=i[t(332)]?i[t(465)][t(273)]:null;e[t(451)][t(276)](t(401))[t(515)](n)}[ae(378)](){const t=ae,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(245)][t(535)][t(276)](ue),r=s&&n[t(539)](s[t(273)]);this[t(325)]=e&&i&&Boolean(r)}}class de extends J.Command{[ae(441)];constructor(t,{direction:e}){const i=ae;super(t);const n=t[i(535)][i(276)](ue);this[i(507)]=!1,this[i(441)]=i(428)===e?1:-1,this[i(320)](n,i(425),()=>this[i(378)]()),this[i(320)](n,i(551),()=>this[i(378)]()),this[i(320)](n,i(392),()=>this[i(378)]())}[ae(366)](){const e=ae,i=this[e(245)],n=i[e(535)][e(276)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(493)]=s?n[e(465)][e(397)][e(276)](r+this[e(441)]):n[e(465)][e(397)][e(280)],n[e(493)][e(381)][e(287)])o=i[e(268)][e(476)][e(316)](n[e(493)][e(368)]);else{const t=i[e(478)][e(297)][e(276)](e(560)+n[e(493)].id);o=(0,K.getMarkerDomElement)(i[e(268)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[ae(378)](){const t=ae,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(245)][t(535)][t(276)](ue);this[t(325)]=!!(r&&s&&n)&&(!e||(1===this[t(441)]?i<n-1:i>0))}}var fe=i(308),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),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=ve();return(pe=function(t,e){return i[t-=383]})(t,e)}function ve(){const t=["numberOfChanges","isForwardNavigationEnabled","_isStatusLabelVisible","bindTemplate","set","isNavigationMode","_statusText","ck-revision-history-ui__changes-navigation","ck-hidden","span","X_OF_Y_CHANGES","ck-revision-history-ui__changes-navigation__navigation","Show next change","execute","Show previous change","No changes","NUMBER_OF_CHANGES","1730BxSfzL","forward","isReady","512375YYofya","17138ioxCdq","Total","30IDRNqj","3462lZVSVa","EDIT_X_OF_Y_REVISIONS","4336AHkSlW","ck-revision-history-ui__changes-navigation__label","isEnabled","bind","14940vHVciA","ck-revision-history-ui","Loading...","1507200OiauOB","ck-revision-history-ui__changes-navigation__wrapper","currentChangeNumber","2224WbWOFT","1689667lXBWBG","setTemplate","4021025eSzbal","backward","isBackwardNavigationEnabled","div","fire"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(733697===-parseInt(e(423))/1+-parseInt(e(392))/2+-parseInt(e(383))/3*(parseInt(e(395))/4)+parseInt(e(398))/5+parseInt(e(426))/6*(parseInt(e(396))/7)+-parseInt(e(385))/8*(-parseInt(e(389))/9)+-parseInt(e(420))/10*(parseInt(e(424))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(406)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(407)](e(408),!1),this[e(407)](e(422),!1),this[e(407)](e(394),0),this[e(407)](e(403),0),this[e(407)](e(404),!1),this[e(407)](e(400),!1),this[e(388)](e(405)).to(this,e(422),this,e(403),(t,e)=>t&&e>0),this[e(388)](e(409)).to(this,e(422),this,e(394),this,e(403),this,e(408),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(391));if(!s)return at(t,o(418));const a=at(t,o(419),s);return r?at(t,o(413),[n+1,s]):a}),n[e(407)]({label:at(t,e(417)),tooltip:!0,icon:_t.IconChevronUp}),s[e(407)]({label:at(t,e(415)),tooltip:!0,icon:_t.IconChevronDown}),n[e(388)](e(387)).to(this,e(400)),s[e(388)](e(387)).to(this,e(404)),n.on(e(416),()=>this[e(402)](e(416),e(399))),s.on(e(416),()=>this[e(402)](e(416),e(421))),this[e(397)]({tag:e(401),attributes:{class:["ck",e(390),e(410)]},children:[{tag:e(412),attributes:{class:[e(393)]},children:[{tag:e(412),attributes:{class:[e(386),i.if(e(405),e(411),t=>!t)]},children:[{text:i.to(e(408),i=>i?at(t,e(384))+": ":at(t,e(425))+": ")}]},{text:i.to(e(409))}]},new It.ToolbarSeparatorView,{tag:e(401),attributes:{class:[e(414)]},children:[n,s]}]})}}var ye=i(772),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(t,e){const i=_e();return(be=function(t,e){return i[t-=267]})(t,e)}const we=be;function _e(){const t=["view","2769156rWOqLS","document","hide","3ZjCDzT","change","show","editing","5841300BinxqJ","197049dumECE","814802hQZyTH","editor","pluginName","3902015YLrjdx","roots","RevisionViewerLoadingOverlay","removeClass","1650500pbRYvK","isOfficialPlugin","8CkYIYW","addClass","ck-editor__editable__loading-overlay","3472028EyqyGV","isPremiumPlugin"];return(_e=function(){return t})()}!function(t){const e=be,i=t();for(;;)try{if(548558===-parseInt(e(283))/1+parseInt(e(284))/2*(-parseInt(e(278))/3)+-parseInt(e(267))/4+parseInt(e(287))/5+parseInt(e(282))/6+parseInt(e(272))/7*(-parseInt(e(269))/8)+parseInt(e(275))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const Ie=we(271);class Se extends J.Plugin{static get[we(286)](){return we(289)}static get[we(268)](){return!0}static get[we(273)](){return!0}[we(280)](){const t=we,e=this[t(285)][t(281)][t(274)];e[t(279)](i=>{const n=t;for(const t of e[n(276)][n(288)])i[n(270)](Ie,t)})}[we(277)](){const t=we,e=this[t(285)][t(281)][t(274)];e[t(279)](i=>{const n=t;for(const t of e[n(276)][n(288)])i[n(290)](Ie,t)})}}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=280]})(t,e)}function xe(){const t=["6pkPlVV","init","isNavigationMode","changesNavigation","plugins","RevisionViewerUI","678nEAGyl","171781aFZYSh","restoreRevision","set","listenTo","currentChangeNumber","502990BFqTmX","requires","isBackwardNavigationEnabled","34338PtaJQd","showPreviousChange","exitToEditing","componentFactory","1690332xKAuDz","ck-revision-history-ui__back-to-editing","isForwardNavigationEnabled","isOfficialPlugin","77wKblkZ","6326776FaQIHf","editor","revisionHistory","numberOfChanges","623xjtnyX","config","Back to editing","add","change:isReady","isPremiumPlugin","pluginName","37390OhCwrc","show","closeRevisionViewerCallback","get","isEnabled","commands","showNextChange","Restore this revision","bind","2452pMzZCB","forward","isReady","execute","180rzPUZs","hide"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(515594===parseInt(e(317))/1*(parseInt(e(310))/2)+parseInt(e(316))/3*(-parseInt(e(304))/4)+-parseInt(e(322))/5+-parseInt(e(325))/6*(-parseInt(e(288))/7)+parseInt(e(284))/8+-parseInt(e(308))/9*(parseInt(e(295))/10)+-parseInt(e(283))/11*(parseInt(e(329))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends J.Plugin{static get[Oe(294)](){return Oe(315)}static get[Oe(282)](){return!0}static get[Oe(293)](){return!0}static get[Oe(323)](){return[ue,Se]}[Oe(311)](){const t=Oe,e=this[t(285)],i=e[t(314)][t(298)](ue),n=e[t(314)][t(298)](Se);e.ui[t(328)][t(291)](t(327),i=>{const n=t,s=new It.ButtonView(i);return s[n(319)]({label:at(i,n(290)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(280)}),this[n(320)](s,n(307),()=>{const t=n;e[t(289)][t(298)](t(286))[t(297)]()}),s}),e.ui[t(328)][t(291)](t(318),i=>{const n=t,s=new It.ButtonView(i);return s[n(319)]({label:at(i,n(302)),withText:!0,tooltip:!0}),s[n(303)](n(299)).to(e[n(300)][n(298)](n(318))),this[n(320)](s,n(307),()=>e[n(307)](n(318))),s}),e.ui[t(328)][t(291)](t(313),n=>{const s=t,r=new ge(n),o=e[s(300)][s(298)](s(326)),a=e[s(300)][s(298)](s(301));return r[s(303)](s(324)).to(o,s(299)),r[s(303)](s(281)).to(a,s(299)),r[s(303)](s(306),s(321),s(287),s(312)).to(i),this[s(320)](r,s(307),(t,i)=>{const n=s;e[n(307)](n(305)===i?n(301):n(326))}),r}),n[t(296)](),i.on(t(292),(e,i,s)=>{const r=t;s?n[r(309)]():n[r(296)]()})}}var Ae=i(853),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Et();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ve;function Ve(t,e){const i=De();return(Ve=function(t,e){return i[t-=100]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(600185===parseInt(e(116))/1+parseInt(e(108))/2+-parseInt(e(130))/3*(parseInt(e(123))/4)+parseInt(e(101))/5*(parseInt(e(131))/6)+-parseInt(e(118))/7*(parseInt(e(121))/8)+parseInt(e(119))/9*(-parseInt(e(109))/10)+parseInt(e(115))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ee extends It.LabeledFieldView{[Me(105)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(104)];this[i(128)]({label:at(t,i(113)),_tooltipString:""}),this[i(117)][i(103)]=at(t,i(125)),this[i(112)]({tag:i(120),attributes:{class:[i(100)],"data-cke-tooltip-text":n.to(i(129)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(102)}})}[Me(122)](){const e=Me;super[e(122)](),this[e(105)]=new t.ResizeObserver(this[e(117)][e(127)],()=>this[e(126)]()),this[e(106)](this[e(117)],e(107),()=>this[e(126)]())}[Me(124)](){const t=Me;super[t(124)](),this[t(105)]&&this[t(105)][t(124)]()}[Me(126)](){const t=Me,e=this[t(117)][t(127)];this[t(129)]=e[t(110)]>e[t(111)]&&e[t(114)]||""}}function De(){const t=["render","76BWBgwB","destroy","Enter the revision name","_updateTooltipText","element","set","_tooltipString","75975GWOQlJ","7692VfRPpB","ck-revision-history-sidebar__revision-name","160mcELAi","ck-tooltip_multi-line","placeholder","bindTemplate","_resizeObserver","listenTo","input","1010174mdKqLo","1350FQLcUb","scrollWidth","clientWidth","extendTemplate","Revision name","value","10589678YsGTPn","506322njboKK","fieldView","2950122FqmFdk","34155dSDfRe","span","8qvWqvD"];return(De=function(){return t})()}var Ce=i(21),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),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 Pe(t,e){const i=je();return(Pe=function(t,e){return i[t-=401]})(t,e)}function je(){const t=["9PDcIld","58606950aYiNVo","setTemplate","span","3vqKaWp","5721075uNFsDy","1716136RQLrbT","ck-revision-history-sidebar__revision-author","Revision creator","96542UUUraa","ck-revision-history-sidebar__revision-author__name","push","0 0 11 10","3559624KTgTto","3815012SmHOEM","805091YHnGlV","30ryzoHE","Revision author","name","ck-revision-history-sidebar__revision-author_creator","set"];return(je=function(){return t})()}!function(t){const e=Pe,i=t();for(;;)try{if(978302===-parseInt(e(408))/1+parseInt(e(411))/2*(-parseInt(e(406))/3)+-parseInt(e(416))/4+-parseInt(e(407))/5+-parseInt(e(418))/6*(parseInt(e(417))/7)+-parseInt(e(415))/8+-parseInt(e(402))/9*(-parseInt(e(403))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Le extends It.View{constructor(t,e,i){const n=Pe;super(t);const s=new It.IconView;s[n(401)]({content:_t.IconUser,viewBox:n(414)});const r=["ck",n(409)];i&&r[n(413)](n(421));const o=[{tag:n(405),attributes:{class:["ck",n(412)],title:at(t,n(i?410:419))},children:[s,e[n(420)]]}];this[n(404)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=466]})(t,e)}function We(){var t=["1lsPrjs","312529ZkIpXh","8knNLjr","213dJTPtY","numeric","2914992GPoXnP","62096QVGTFH","toLocaleDateString","80mWKIvo","5874588ssrUzA","4024990XAkXoN","toLocaleTimeString","11TjJoNi","long","547110mQPoOR","2206522PEQwYn"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(847210===parseInt(e(480))/1*(parseInt(e(479))/2)+-parseInt(e(467))/3*(parseInt(e(470))/4)+parseInt(e(472))/5*(parseInt(e(478))/6)+parseInt(e(481))/7*(-parseInt(e(466))/8)+parseInt(e(469))/9+parseInt(e(474))/10*(-parseInt(e(476))/11)+-parseInt(e(473))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(111),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),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=qe();return(Ze=function(t,e){return i[t-=174]})(t,e)}function qe(){const t=["ck-on","extendTemplate","listenTo","set","Name this revision","change:isActionsDropdownOpen","first","class","Compare against selected","panelPosition","_action","isEnabled","add","menu","bindTemplate","locale","name","items","isReady","children","function","Restore this revision","buttonView","956028MjgyGB","menuitem","listView","7PNIBRM","model","source","execute","6145668XIOGRd","stopPropagation","isOpen","4367285XfFqqH","map","Show more items","find","685356AkLPEA","100251SWNjHo","button","isActionsDropdownOpen","12330456JXYpbU","action","bind","1449396KdAjDS","ck-revision-history-sidebar__revision__actions","isVisible"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(618702===parseInt(e(177))/1+-parseInt(e(183))/2+-parseInt(e(209))/3+parseInt(e(176))/4+parseInt(e(219))/5+-parseInt(e(216))/6+parseInt(e(212))/7*(parseInt(e(180))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(700),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=232]})(t,e)}function Je(){const t=["div","_createdAtFormatted","isEnabled","_revision","createdAt","setName","ck-revision-history-sidebar__revision_selected","fire","extendTemplate","revisionActionsView","filter","name","map","bindTemplate","4185265ZeDstA","ck-revision-history-sidebar__revision__date","creator","ck-revision-history-sidebar__revision_highlighted","ck-reset","element","ck-disabled",".ck-confirm-view","311427jdGKRo","69UpTnsB","setTemplate","isSelected","2303352RKvnWW","ck-revision-history-sidebar__revision-authors","length","7XOZQiJ","ck-revision-history-sidebar__revision__controls-wrapper","unshift","ck-revision-history-sidebar__revision","13939288dJUUeG","_requireRevisionName","isReady","select","set","srcElement","ck-revision-history-sidebar__revision-wrapper","render","from","fieldView","change","bind","closest","highlight","revisionNameView","1911506mxxxCH","isHighlighted","isConfirm","10gIJdeE","unhighlight","deselect","isActionsDropdownOpen","1iZRrGh","145096KaNPzM","listenTo","3462870SbEEUe","220","span","authors","ck-revision-history-sidebar__actions_dropdown_open","uiLanguage","value","ck-revision-history-sidebar__revision-wrapper_confirmation_visible"];return(Je=function(){return t})()}!function(t){const e=Ge,i=t();for(;;)try{if(568829===parseInt(e(239))/1*(-parseInt(e(232))/2)+-parseInt(e(273))/3*(parseInt(e(240))/4)+parseInt(e(264))/5+-parseInt(e(242))/6*(-parseInt(e(279))/7)+-parseInt(e(276))/8+parseInt(e(272))/9*(-parseInt(e(235))/10)+parseInt(e(283))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(297)];[Ye(259)];[Ye(253)];[Ye(284)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(263)],a=function(t,e){const i=r,n=Array[i(291)](e[i(245)])[i(260)](t=>t!=e[i(266)]);return e[i(266)]&&n[i(281)](e[i(266)]),n[i(262)](n=>new Le(t,n,n==e[i(266)]))}(e,i);this.id=i.id,this[r(253)]=i,this[r(284)]=s,this[r(294)](r(261),r(254)).to(i),this[r(294)](r(251)).to(this,r(254),t=>{return i=e[r(247)],(n=t)[(s=ze)(471)](i,{month:s(477),day:s(468)})+", "+n[s(475)](i,{hour:s(468),minute:s(468)});var i,n,s}),this[r(287)](r(275),!1),this[r(287)](r(233),!1),this[r(287)](r(238),!1),this[r(287)](r(285),!1),this[r(287)](r(252),!1),this[r(297)]=new Ee(e,It.createLabeledInputText),this[r(297)][r(292)][r(258)]({attributes:{maxlength:r(243)}}),this[r(297)][r(292)][r(294)](r(248)).to(this,r(261),t=>t||this[r(251)]),this[r(297)][r(294)](r(252)).to(this,r(275),this,r(252),(t,e)=>t&&e),this[r(259)]=n&&n[r(278)]?function(e,i){const n=Ze,s=e[n(200)],r=e[n(201)],o=(0,It.createDropdown)(r);o[n(195)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(201)],s={"Compare against selected":at(n,i(194)),"Name this revision":at(n,i(190)),"Restore this revision":at(n,i(207))};return e[i(220)](t=>{const e=i,n=s[t[e(202)]];return n&&n!==t[e(202)]&&(t[e(202)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(178),model:new It.UIModel({label:t[s(202)],class:t[s(193)],withText:!0,role:s(210),_action:t[s(181)]})};i[s(213)][s(182)](s(197)).to(e,s(179),i=>s(206)!=typeof t[s(197)]||!i||t[s(197)](e)),o[s(198)](i)}return o}(e,i);return e[n(182)](n(179)).to(o,n(218)),o[n(208)][n(189)]({label:at(r,n(174)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(187)]({attributes:{class:[n(184),s.if(n(179),n(186))]},on:{click:s.to(t=>t[n(217)]())}}),o.on(n(215),t=>{const i=n;e[i(204)]&&i(206)==typeof t[i(214)][i(196)]&&t[i(214)][i(196)](e)}),(0,It.addListToDropdown)(o,a,{role:n(199)}),o[n(188)](e,n(191),(t,s,r)=>{const a=n;if(r)for(const t of o[a(211)][a(203)]){const n=t[a(205)][a(192)],s=i[a(175)](t=>t[a(181)]===n[a(196)])[a(185)];t[a(185)]=void 0===s||s(e)}}),o}(this,n):"",this[r(259)]&&this[r(259)][r(294)](r(252)).to(this),this[r(274)]({tag:r(250),attributes:{class:["ck",r(268),r(289),o.if(r(234),r(249))]},children:[{tag:r(250),attributes:{class:["ck",r(268),r(282),o.if(r(252),r(270),t=>!t),o.if(r(275),r(256)),o.if(r(233),r(267)),o.if(r(238),r(246))]},children:[this[r(297)],{tag:r(244),attributes:{class:["ck",r(265)]},children:[{text:o.to(r(251))}]},{tag:r(250),attributes:{class:["ck",r(280)]},children:[{tag:"ul",attributes:{class:["ck",r(277)]},children:a}]},this[r(259)]],on:{click:o.to(t=>{const e=r;t[e(288)][e(295)](e(271))||this[e(285)]&&this[e(252)]&&this[e(257)](e(286),{id:this.id})})}}]})}[Ye(290)](){const t=Ye;super[t(290)]();const e=this[t(297)][t(292)][t(269)];this[t(241)](e,t(293),()=>{const i=t;this[i(284)]&&!e[i(248)]||this[i(257)](i(255),{id:this.id,name:e[i(248)]}),e[i(248)]||(e[i(248)]=this[i(261)]?this[i(261)]:this[i(251)])})}[Ye(286)](){this[Ye(275)]=!0}[Ye(237)](){this[Ye(275)]=!1}[Ye(296)](){this[Ye(233)]=!0}[Ye(236)](){this[Ye(233)]=!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 Ei extends Mi{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 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 Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class Pi extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Pi(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=Pi.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=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[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:En(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,(Jn({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 ji={};const Li=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Li.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Li.set(i,n)),n}const Wi=new Map;const Ui=new Map;let Hi=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=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.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 Un(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Gi{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&&Pi.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 Ji{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=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.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":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Hi=null,Li.clear(),Wi.clear(),Ui.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 Gi(t,this.intl,e)}relFormatter(t={}){return new Ji(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=ji[i];return n||(n=new Intl.ListFormat(t,e),ji[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:Pn()?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(En(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?Ei.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||Pi.create(t)}return Dn(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,Ei.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(),Pi.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(!En(t.localWeekday)||!En(t.localWeekNumber)||!En(t.localWeekYear)){if(!En(t.weekday)||!En(t.weekNumber)||!En(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return En(t.localWeekday)||(t.weekday=t.localWeekday),En(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),En(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=Wn(t.month,1,12),n=Wn(t.day,1,Gn(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=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function En(t){return void 0===t}function Dn(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 Pn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function jn(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 Ln(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(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Wn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hn(t){return En(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return En(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!En(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 Gn(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 Jn(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(Ln(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}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(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 Un(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]]=Hn(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"),Es=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Ds=RegExp(`(?: ${Es.source})?`);function Cs(t,e,i){const n=t[e];return En(n)?i:Hn(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 Ps(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 js(t,e){return[{},t[e]?Pi.create(t[e]):null,e+1]}const Ls=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 Ws(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 Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?Xn(Hn(e)):Hn(e),month:as.indexOf(i)+1,day:Hn(n),hour:Hn(s),minute:Hn(r)};return o&&(a.second=Hn(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=Hs(e,s,n,i,r,o,a);let f;return f=c?Us[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 Gs(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,s,n,i,r,o,a),tn.utcInstance]}function Js(t){const[,e,i,n,s,r,o,a]=t;return[Hs(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,Ps,js),ir=Ss(Ms,Fs,Ps,js),nr=Ss(Vs,Fs,Ps,js),sr=Ss(Fs,Ps,js);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Es),cr=Ss(Fs,Ps,js);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(En(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(En(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(Dn(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,Ws])}(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,[Ls,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 En(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)(Ln(e.values,t)||Ln(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;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(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 Pi.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:Pn()}}}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 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=Lr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Pr{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 Er(l);case"uu":return Er(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 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 n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Ln(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 En(t.z)||(i=Pi.create(t.z)),En(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),En(t.q)||(t.M=3*(t.q-1)+1),En(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),En(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(Ln(i,"a")&&Ln(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 jr(t,e,i){return new Pr(t,i).explainFromTokens(e)}function Lr(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=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(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(Jn(t),e,i)}function Gr(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,Gn(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=Jn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(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+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Xr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(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(Ur(i));const n=Qi.fromObject(e);let s,r;if(En(t.year))s=gn.now();else{for(const e of no)En(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=!!En(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:Ur(e));this.ts=En(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=Dn(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(Ur(s))}static fromMillis(t,e={}){if(Dn(t))return t<-Wr||t>Wr?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(Dn(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(Ur(i));const n=Qi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=En(e.specificOffset)?i.offset(a):e.specificOffset,u=!En(s.ordinal),l=!En(s.year),h=!En(s.month)||!En(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){En(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=Wn(t.weekNumber,1,Qn(t.weekYear,e,i)),r=Wn(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=Wn(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 Jr(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 Jr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Gs],[Bs,Gs],[Ys,Js])}(t);return Jr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(En(t)||En(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}=jr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Jr(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 Jr(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=Lr(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?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?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=Jn(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 Gn(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(Ur(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=!En(e.weekYear)||!En(e.weekNumber)||!En(e.weekday),r=!En(e.ordinal),o=!En(e.year),a=!En(e.month)||!En(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):En(e.ordinal)?(l={...this.toObject(),...e},En(e.day)&&(l.day=Math.min(Gn(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,Gr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Gr(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 jn(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return jr(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 Pr(s,t)}static fromFormatParser(t,e,i={}){if(En(t)||En(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):Jr(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&&Dn(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(t,e){const i=vo();return(po=function(t,e){return i[t-=243]})(t,e)}function vo(){const t=["startOf","2602839psCMdG","toJSDate","minus","57087nwJwyl","4587584NBibFZ","fromJSDate","64MgxYsH","weekdayLong","hasSame","toRelativeCalendar","911547kJiNMb","month","day","local","4515755vvqxCv","monthLong","week","setLocale","14isDjkI","1801914wNPTcr","2758048edOVwM","year"];return(vo=function(){return t})()}function go(t,e){const i=po,n=fo[i(262)](t)[i(251)](e),s=fo[i(247)](),r=s[i(259)]({days:1})[i(256)](i(246));let o,a;return n[i(265)](s,i(246))?(o=n[i(256)](i(246))[i(258)](),a=n[i(243)]()):n[i(265)](r,i(246))?(o=r[i(258)](),a=n[i(243)]()):n[i(265)](s,i(250))?(o=n[i(256)](i(250))[i(258)](),a=n[i(264)]||""):n[i(265)](s,i(255))?(o=n[i(256)](i(245))[i(258)](),a=n[i(249)]||""):(o=n[i(256)](i(255))[i(258)](),a=String(n[i(255)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(998529===-parseInt(e(244))/1+parseInt(e(254))/2+-parseInt(e(257))/3+parseInt(e(261))/4+parseInt(e(248))/5+-parseInt(e(253))/6*(parseInt(e(252))/7)+-parseInt(e(263))/8*(parseInt(e(260))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(702),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(t,e){const i=_o();return(bo=function(t,e){return i[t-=133]})(t,e)}const wo=bo;function _o(){const t=["revisionViews","select","locale","createCollection","4015323bMJCAG","delegate","387064vUUFfs","_revisionActions","119pNkgpH","3365990fXTbjn","setTemplate","removeRevision","_requireRevisionName","3356816YtCJHo","find","div","1823988BUbYbF","3pyuLyp","localizedPeriodName","startDate","ck-revision-history-sidebar__time-period","addRevision","uiLanguage","ck-revision-history-sidebar__time-period__label","span","add","remove","2464293FHVlbX","setName","ck-revision-history-sidebar__time-period__revisions","179978PXfmAt"];return(_o=function(){return t})()}!function(t){const e=bo,i=t();for(;;)try{if(493370===-parseInt(e(145))/1*(parseInt(e(158))/2)+-parseInt(e(155))/3+parseInt(e(141))/4+parseInt(e(137))/5+-parseInt(e(144))/6+parseInt(e(136))/7*(parseInt(e(134))/8)+-parseInt(e(163))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[wo(147)];[wo(159)];[wo(135)];[wo(140)];constructor(t,e,i,n){const s=wo;super(t);const r=go(e,this[s(161)][s(150)])[s(146)];this[s(147)]=e,this[s(159)]=this[s(162)](),this[s(135)]=i,this[s(140)]=n,this[s(159)][s(133)](s(160)).to(this),this[s(159)][s(133)](s(156)).to(this),this[s(138)]({tag:s(143),attributes:{class:["ck",s(148)]},children:[{tag:s(152),attributes:{class:["ck",s(151)]},children:[{text:r}]},{tag:s(143),attributes:{class:["ck",s(157)]},children:this[s(159)]}]})}[wo(149)](t){const e=wo,i=new Ke(this[e(161)],t,this[e(135)],this[e(140)]);this[e(159)][e(153)](i)}[wo(139)](t){const e=wo,i=this[e(159)][e(142)](e=>e.id===t.id);this[e(159)][e(154)](i)}}var So=i(929),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),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(){const t=["ck-reset_all","1899wAWNdi","2421534HpaiTT","Revision history","div","8701957mxDjUg","ck-revision-history-sidebar__header__label","214872OFdRgw","7byBbYV","12lbbEoB","span","30atBHbA","452649gqQoNI","18070oEfSDR","setTemplate","ck-revision-history-sidebar__header","8GlPxGw","94782fGoLcI","content","854720yzkTdy"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=334]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(207124===parseInt(e(342))/1*(-parseInt(e(343))/2)+parseInt(e(338))/3+-parseInt(e(353))/4*(-parseInt(e(337))/5)+parseInt(e(348))/6*(-parseInt(e(334))/7)+parseInt(e(345))/8+parseInt(e(347))/9*(-parseInt(e(339))/10)+-parseInt(e(351))/11*(-parseInt(e(335))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(344)]=_t.IconHistory,this[e(340)]({tag:e(350),attributes:{class:["ck",e(346),e(341)]},children:[i,{tag:e(336),attributes:{class:["ck",e(352)]},children:[at(t,e(349))]}]})}}var Ao=i(390),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Et();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Eo;function Vo(){const t=["199812mrwVzO","deselect","2330hgxTPD","selectRevision","25AZVoCZ","render","highlight","setName","ck-rounded-corners","addRevision","createdAt","startDate","18UmeraW","setTemplate","_requireRevisionName","uiLanguage","unhighlight","set","map","ck-reset","locale","revisionViews","_revisionActions","revisionSelected","timePeriodViews","div","182iBzmQs","get","removeRevision","_revisions","6671800isgnmK","22kiCbhj","fire","12262700dsSvAx","ck-revision-history-sidebar__timeline","bindTemplate","getTime","some","find","5438148mpUoTg","isEnabled","2826UxwjRW","_removeRevision","revisionSetName","remove","select","_addRevision","add","16668xTgWWo","ck-revision-history-sidebar","1679284MlBXLh","createCollection","ck-disabled","delegate","highlightRevisions","flat","_getTimePeriodViewByStartDate"];return(Vo=function(){return t})()}function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=100]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(943721===-parseInt(e(104))/1+-parseInt(e(113))/2*(-parseInt(e(152))/3)+-parseInt(e(111))/4*(-parseInt(e(115))/5)+-parseInt(e(102))/6*(parseInt(e(137))/7)+-parseInt(e(141))/8*(-parseInt(e(123))/9)+-parseInt(e(144))/10+parseInt(e(142))/11*(parseInt(e(150))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends It.View{[Mo(135)];[Mo(140)];[Mo(133)];[Mo(125)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(146)];this[s(135)]=this[s(105)](),this[s(135)][s(107)](s(156)).to(this),this[s(135)][s(107)](s(118)).to(this),this[s(140)]=e,this[s(133)]=i,this[s(125)]=n,this.on(s(156),(t,e)=>{const i=s;this[i(143)](i(134),e)}),this.on(s(118),(t,e)=>{const i=s;this[i(143)](i(154),e)}),this[s(128)](s(151),!1),this[s(124)]({tag:s(136),attributes:{class:["ck",s(130),s(119),s(103)]},children:[new No(t),{tag:s(136),attributes:{class:["ck",s(145),r.if(s(151),s(106),t=>!t)]},children:this[s(135)]}]})}[Mo(116)](){const t=Mo;super[t(116)]();for(const e of this[t(140)])this[t(100)](e);this[t(140)].on(t(101),(e,i)=>{this[t(100)](i)}),this[t(140)].on(t(155),(e,i)=>{this[t(153)](i)})}get[Mo(132)](){const t=Mo;return this[t(135)][t(129)](e=>e[t(132)][t(129)](t=>t))[t(109)]()}[Mo(114)](t){const e=Mo;for(const i of this[e(132)])t&&t.id===i.id?i[e(156)]():i[e(112)]()}[Mo(108)](t){const e=Mo;for(const i of this[e(132)])t[e(148)](({id:t})=>t===i.id)?i[e(117)]():i[e(127)]()}[Mo(100)](t){const e=Mo,i=go(t[e(121)],this[e(131)][e(126)])[e(122)];let n=this[e(135)][e(138)](0);n&&n[e(122)][e(147)]()===i[e(147)]()||(n=new Io(this[e(131)],i,this[e(133)],this[e(125)]),this[e(135)][e(101)](n)),n[e(120)](t)}[Mo(153)](t){const e=Mo,i=go(t[e(121)],this[e(131)][e(126)])[e(122)];this[e(110)](i)[e(139)](t)}[Mo(110)](t){const e=Mo;return this[e(135)][e(149)](i=>i[e(122)][e(147)]()===t[e(147)]())}}const Co=Po;function Fo(){const t=["_handleDiffChange","6539760yxDYgM","element","nameRevision","getRevisionsInDiff","newRevisionId","revisionHistory.requireRevisionName","687252kcgVxt","locale","repository","getIndex","8uSMBdL","isSelected","timePeriodViews","restoreRevision","1006116oRQwHW","revisionHistory.viewerSidebarContainer","render","requires","change:diff","destroy","getRevision","1372400iJceLH","get","revisionSetName","name","compare","isPremiumPlugin","length","_sidebarView","_handleEditorDataReady","revisionHistory.revisionActions","521757tzxDRH","revisionViews","compareAgainstSelected","remove","70dEFfeU","4341534uRkesy","Name this revision","availableRevisionActions","getEarlierVisibleRevision","7wScxxP","getLaterVisibleRevision","appendChild","data","isReady","setName","diff","selectRevision","revisionHistory","action","105558gyBNLF","editor","init","listenTo","_createRevisionActions","_revisions","Restore this revision","revisionSelected","assign","defaultRevisionActions","restoreRevisionCallback","_handleRevisionSetName","RevisionsSidebar","focus","_revisionsRepository","isEnabled","string","_handleRevisionSelected","_revisionViewer","ready","highlightRevisions","config","map","select","bind","Compare against selected","pluginName","plugins","add","isOfficialPlugin","isVisible","fieldView"];return(Fo=function(){return t})()}function Po(t,e){const i=Fo();return(Po=function(t,e){return i[t-=185]})(t,e)}!function(t){const e=Po,i=t();for(;;)try{if(554060===parseInt(e(210))/1+-parseInt(e(257))/2+-parseInt(e(249))/3*(parseInt(e(253))/4)+parseInt(e(264))/5+parseInt(e(196))/6*(parseInt(e(200))/7)+parseInt(e(243))/8+-parseInt(e(191))/9*(parseInt(e(195))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class jo extends J.Plugin{[Co(228)];[Co(224)];[Co(188)];static[Co(219)]=[Co(193),Co(256),Co(245)];static[Co(198)]=function(){const t=Co;return{compareAgainstSelected:{name:t(235),action:({plugins:e},i)=>{const n=t,s=e[n(265)](ue),r=s[n(251)];let o=s[n(206)][n(247)],a=i.id;r[n(252)](o)>r[n(252)](a)&&([o,a]=[a,o]),s[n(185)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(265)](ue);return!(s[n(251)][n(246)](s[n(206)])[n(187)]>2||i[n(254)])}},restoreRevision:{name:t(216),action:(e,{id:i})=>{const n=t;e[n(231)][n(265)](n(208))[n(220)](i)},isVisible:({plugins:e},i)=>!!e[t(265)](ue)[t(251)][t(201)](i.id)},nameRevision:{name:t(197),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(265)](ue),o=r[s(251)][s(199)](i);r[s(185)](i,o),n[s(223)](),n[s(241)][s(233)]()}}}}();static get[Co(236)](){return Co(222)}static get[Co(239)](){return!0}static get[Co(186)](){return!0}static get[Co(260)](){return[ue]}constructor(t){const e=Co;super(t),this[e(228)]=t[e(237)][e(265)](ue),this[e(224)]=this[e(228)][e(251)],this[e(188)]=null}[Co(212)](){const t=Co,e=this[t(224)][t(215)],i=this[t(214)](),n=this[t(211)][t(231)][t(265)](t(258));this[t(188)]=new Do(this[t(211)][t(250)],e,i,this[t(211)][t(231)][t(265)](t(248))),this[t(188)].on(t(217),this[t(227)][t(234)](this)),this[t(188)].on(t(266),this[t(221)][t(234)](this)),this[t(188)][t(234)](t(225)).to(this[t(228)]),this[t(188)][t(255)].on(t(238),(e,i)=>{const n=t;i[n(192)].on(n(238),(t,e)=>{const i=n;e[i(234)](i(225),i(204)).to(this[i(228)])})}),this[t(188)][t(259)](),this[t(213)](this[t(211)][t(203)],t(229),this[t(189)][t(234)](this)),this[t(213)](this[t(228)],t(261),this[t(242)][t(234)](this)),n[t(202)](this[t(188)][t(244)])}[Co(262)](){const t=Co;this[t(188)][t(244)][t(194)](),this[t(188)][t(262)]()}[Co(189)](){const t=Co,e=this[t(224)][t(263)](0);if(e){const i=this[t(224)][t(199)](e.id);this[t(228)][t(185)](e,i)}}[Co(227)](t,e){const i=Co,n=this[i(224)][i(263)](e.id),s=this[i(224)][i(199)](n.id);this[i(228)][i(185)](n,s)}[Co(221)](t,e){const i=Co;this[i(224)][i(263)](e.id)[i(205)](e[i(267)])}[Co(242)](t,e,i){const n=Co,s=this[n(224)][n(246)](i);s[n(187)]>2?(this[n(188)][n(230)](s),this[n(188)][n(207)](null)):(this[n(188)][n(230)]([]),this[n(188)][n(207)](s[0]))}[Co(214)](){const t=Co,e=this[t(211)],i=jo[t(198)],n=e[t(231)][t(265)](t(190))||jo[t(219)];if(n[t(187)])return n[t(232)](n=>{const s=t,r=s(226)==typeof n?Object[s(218)]({},i[n]):n;return r[s(209)]=r[s(209)][s(234)](this,e),r[s(240)]&&(r[s(240)]=r[s(240)][s(234)](this,e)),r})}}const Lo=Wo;function zo(){const t=["46696606zVXihT","4jVdQZN","2137160qNcuSn","render","getRoot","destroy","_toolbarConfig","name","4334728iVIcWQ","86376EmYOha","limiterElement","_initToolbar","focusTracker","ready","toolbar","document","fire","componentFactory","replace","editable","7wroPun","setEditableElement","rootName","config","editing","stickyPanel","167708mLmnBb","viewportTopOffset","_view","view","isFocused","140YFTmWv","3074802PlgCCh","restore","fillFromConfig","5977848zElCIB","init","element","editor","attachDomRoot","addToolbar","isActive","bind","63fCqEuM","_elementReplacer","viewportOffset","get","detachDomRoot"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=200]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(831959===parseInt(e(231))/1*(-parseInt(e(239))/2)+-parseInt(e(214))/3+-parseInt(e(208))/4*(parseInt(e(213))/5)+parseInt(e(217))/6+-parseInt(e(202))/7*(parseInt(e(238))/8)+-parseInt(e(225))/9*(parseInt(e(232))/10)+parseInt(e(230))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Lo(210)];[Lo(236)];[Lo(226)];get[Lo(211)](){return this[Lo(210)]}constructor(e,i){const n=Lo;super(e),this[n(210)]=i,this[n(236)]=(0,It.normalizeToolbarConfig)(e[n(205)][n(228)](n(244))),this[n(226)]=new t.ElementReplacer}get[Lo(219)](){const t=Lo;return this[t(211)][t(219)]}[Lo(218)](t){const e=Lo,i=this[e(220)],n=this[e(211)],s=i[e(206)][e(211)],r=n[e(201)],o=s[e(245)][e(234)]();r[e(237)]=o[e(204)],n[e(233)]();const a=r[e(219)];this[e(203)](r[e(237)],a),n[e(201)][e(224)](e(212)).to(this[e(242)]),s[e(221)](a),this[e(226)][e(200)](t,this[e(219)]),this[e(241)](),this[e(246)](e(243))}[Lo(235)](){const t=Lo;super[t(235)]();const e=this[t(211)],i=this[t(220)][t(206)][t(211)];this[t(226)][t(215)](),i[t(229)](e[t(201)][t(237)]),e[t(235)]()}[Lo(241)](){const t=Lo,e=this[t(211)];e[t(207)][t(224)](t(223)).to(this[t(242)],t(212)),e[t(207)][t(240)]=e[t(219)],e[t(207)][t(224)](t(209)).to(this,t(227),({top:t})=>t),e[t(244)][t(216)](this[t(236)],this[t(247)]),this[t(222)](e[t(244)])}}var Ho=i(318),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),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 qo=$o;function $o(t,e){var i=Bo();return($o=function(t,e){return i[t-=210]})(t,e)}function Bo(){var t=["36aksmAm","12546036iKreni","337740lBmQng","_editable","add","163115AxBhRm","1203209aDJqVi","stickyPanel","1FeGmxs","editable","5519080mOLCGJ","1497066dRpmsQ","top","render","1520331Zpzeva","shouldToolbarGroupWhenFull","main","toolbar","content"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(419375===-parseInt(e(212))/1*(parseInt(e(215))/2)+-parseInt(e(218))/3+parseInt(e(223))/4*(-parseInt(e(228))/5)+parseInt(e(225))/6+-parseInt(e(210))/7+parseInt(e(214))/8+parseInt(e(224))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[qo(226)];[qo(211)];[qo(221)];get[qo(213)](){return this[qo(226)]}constructor(t,e,i={}){var n=qo;super(t),this[n(211)]=new It.StickyPanelView(t),this[n(221)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(219)]}),this[n(226)]=new It.InlineEditableUIView(t,e)}[qo(217)](){var t=qo;super[t(217)](),this[t(211)][t(222)][t(227)](this[t(221)]),this[t(216)][t(227)](this[t(211)]),this[t(220)][t(227)](this[t(213)])}}const Go=Jo;function Jo(t,e){const i=Ko();return(Jo=function(t,e){return i[t-=407]})(t,e)}function Ko(){const t=["updateSourceElement","3899lNhDQF","locale","sourceElement","model","2AYtGPj","editing","10440PcCHTc","document","574302MGYxxu","init","initPlugins","5998805fFZeLl","initialData","fire","createRoot","69476HYnbZv","view","8249121WsHOwb","6IvSbqi","create","config","data","get","150340SDnAKa","781822aGlpmp","840eFtqJC","ready","_ui","destroy"];return(Ko=function(){return t})()}!function(t){const e=Jo,i=t();for(;;)try{if(639654===parseInt(e(429))/1+-parseInt(e(409))/2*(parseInt(e(413))/3)+-parseInt(e(428))/4+-parseInt(e(416))/5*(-parseInt(e(423))/6)+-parseInt(e(435))/7*(parseInt(e(411))/8)+-parseInt(e(422))/9+parseInt(e(430))/10*(parseInt(e(420))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Qo extends((0,J.ElementApiMixin)(J.Editor)){[Go(432)];get ui(){return this[Go(432)]}constructor(t,e){const i=Go;super(e),this[i(407)]=t,this[i(408)][i(412)][i(419)]();const n=new Yo(this[i(436)],this[i(410)][i(421)],{shouldToolbarGroupWhenFull:!0});this[i(432)]=new Uo(this,n)}[Go(433)](){const t=Go;return this[t(434)](),this.ui[t(433)](),super[t(433)]()}static async[Go(424)](t,e){const i=Go,n=new this(t,e);return await n[i(415)](),await n.ui[i(414)](t),await n[i(426)][i(414)](n[i(425)][i(427)](i(417))||""),n[i(418)](i(431)),n}}const Xo=ta;function ta(t,e){const i=ea();return(ta=function(t,e){return i[t-=313]})(t,e)}function ea(){const t=["isEnabled","restoreRevision","display","end","getRevisions","154ZHrHRB","remove","DocumentOutline","AIChatHistory","RevisionHistoryUI","map","4WhhaPE","numeric","has","getUser","repository","refreshVisibility","addRevisionData",".ck-ai-chat__prompt-input .ck-textarea","revisionHistory.viewerEditorElement","Restored","element","parse","revision-history-missing-configuration","createdAt","DocumentOutlineUI","removeAttribute","editor","revisionHistory.requireRevisionName","getRevisionRootsAttributes","AITabs","create","rootName","tabindex","RevisionHistory","querySelector","result","uiLanguage","toJSON","commands","lazyRoots","getMarkersGroup","save","saveRevision","removeSelectionAttribute","detachRoot","disableReadOnlyMode","_enhanceShowRevisionViewerCallback","catch","exitToEditing","RevisionViewerIntegration","fromVersion","insert","addRoot","error","isRevisionViewerOpen","5547159rgZdWb","bind","revisionHistory.viewerContainer","refreshPositioning","_recalculatePageBreaks","keys","name","enableReadOnlyMode","roots","change","replace","selection","model","Annotations","pluginName","32iJaPvu","AIReviewMode","push","class","toVersion","get","11784490pWWmdD","revisionHistory.closeRevisionViewerCallback","markers","none","revision-history-viewer-opened","config","getRevisionDocumentData","AIChat","11DCafGv","getRevision","ck-tab-panel_disabled","locale","isAnonymous","data","view","_restoreRevision","setSelection","_closeRevisionViewer","join","isAttached","4580335TQdpvu","setAttribute","revisionHistory.showRevisionViewerCallback","revisionHistory.editorContainer","RevisionHistoryUtils","showRevisionViewerCallback","toLocaleTimeString","hide","_update","884870gcLdoO","RevisionTracker","requires","getAttributeKeys","isOfficialPlugin","users","enqueueChange","translations","set","revisionHistory","RevisionViewer","3074022TwFULC",".ck-ai-chat-history .ck-input","AIBalloon","style","removeMarker","2492775wldPxH","$graveyard","toolbar","document","isOpen","block","restrictedEditingException","AIQuickActions","toLocaleDateString","_getRevisionViewerEditorConfig","Dialog","fromCharCode","_enhanceCloseRevisionViewerCallback","getRoot"," ck-tab-panel_disabled","isReadOnly","7228ItinEw","isPremiumPlugin","init","RestrictedEditingMode","isReady","AIActions","panelViews","RevisionsRepository","includes","_cleanUp","revisionHistory.restoreRevisionCallback","then","loadRevisionData","creator","plugins","changesNavigation","long","Users","destroy","createRangeIn","update","indexOf","PaginationLookup","Autosave","_viewerEditor","_showRevisionViewer","adapter","from","closeRevisionViewerCallback","define","addUser"];return(ea=function(){return t})()}!function(t){const e=ta,i=t();for(;;)try{if(502051===parseInt(e(416))/1*(parseInt(e(452))/2)+-parseInt(e(400))/3*(-parseInt(e(458))/4)+parseInt(e(375))/5+-parseInt(e(395))/6+-parseInt(e(384))/7*(-parseInt(e(349))/8)+-parseInt(e(334))/9+-parseInt(e(355))/10*(parseInt(e(363))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);const ia=[Xo(456),Xo(419),Xo(362),Xo(350),Xo(397),Xo(407),Xo(421)];class na extends J.Plugin{[Xo(314)];static get[Xo(348)](){return Xo(328)}static get[Xo(388)](){return!0}static get[Xo(417)](){return!0}constructor(t){const e=Xo;function i(t){const e=ta;return t[e(457)](t=>String[e(411)](t))[e(373)]("")}super(t),this[e(314)]=e(450),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 J.Plugin{[Xo(440)];static get[Xo(348)](){return Xo(481)}static get[Xo(388)](){return!0}static get[Xo(417)](){return!0}static get[Xo(386)](){return[pt,qt]}constructor(e){const i=Xo;if(super(e),!this[i(474)][i(360)][i(354)](i(393)))throw new t.CKEditorError(i(470),this);this[i(440)]=null,this[i(392)](i(333),!1),this[i(474)][i(360)][i(445)](i(377),t=>this[i(441)]({...t,translations:this[i(474)][i(366)][i(391)]})),this[i(474)][i(360)][i(445)](i(356),t=>this[i(372)](t)),this[i(474)][i(360)][i(445)](i(426),t=>this[i(370)](t)),this[i(474)][i(360)][i(445)](i(475),!1),this[i(325)](),this[i(412)]()}set[Xo(442)](t){const e=Xo;this[e(474)][e(430)][e(354)](e(385))[e(442)]=t}get[Xo(442)](){const t=Xo;return this[t(474)][t(430)][t(354)](t(385))[t(442)]}[Xo(464)](t){const e=Xo;return this[e(474)][e(430)][e(354)](e(385))[e(464)](t)}[Xo(364)](t){const e=Xo;return this[e(474)][e(430)][e(354)](e(423))[e(364)](t)}[Xo(451)](t){const e=Xo;return this[e(474)][e(430)][e(354)](e(423))[e(451)](t||{toJSON:!1})}[Xo(409)](){const e=Xo,i=this[e(474)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(430)][e(354)](e(385)),r=i[e(430)][e(354)](e(433))[e(389)];return n[e(402)]=[e(327),e(448),e(431)],delete n[e(318)],n[e(430)][e(351)](na,ue,Ne,class extends J.Plugin{static get[e(386)](){return[ue,e(433)]}[e(418)](){const n=e,o=this[n(474)][n(430)][n(354)](n(433));for(const t of r)t[n(367)]||o[n(461)](t.id)||o[n(446)](t);const a=s[n(462)][n(451)]();let c=null;const u=this[n(474)][n(430)][n(354)](n(394));u[n(442)]=s[n(442)],u[n(335)](n(447)).to(s),this[n(474)][n(317)][n(354)](n(448))[n(335)](n(447)).to(i,n(415),t=>!t);for(const e of a){const i=null===e[n(429)];if(i&&e[n(353)]===e[n(329)])continue;const r=e[n(316)]();u[n(464)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(383)](r,o);else if(!o){const e=a[u(316)]();e.id=(0,t.uid)(),s[u(321)](e,a[u(353)])[u(427)](t=>{c=t})}}else e[u(383)](r,o)})}}},jo),n}[Xo(325)](){const t=Xo,e=this[t(474)][t(360)][t(354)](t(393))[t(380)];this[t(474)][t(360)][t(392)](t(377),async()=>{const i=t;this[i(474)][i(341)](i(359));const n=this[i(474)][i(430)][i(354)](i(385));if(this[i(474)][i(430)][i(460)](i(439))){const t=this[i(474)][i(430)][i(354)](i(439));await t[i(320)]()}else await n[i(436)]();if(this[i(474)][i(430)][i(460)](i(438))&&this[i(474)][i(430)][i(354)](i(438))[i(338)](),this[i(474)][i(430)][i(460)](i(410))){const t=this[i(474)][i(430)][i(354)](i(410));t[i(404)]&&t[i(382)]()}if(this[i(474)][i(430)][i(460)](i(477))){const t=this[i(474)][i(430)][i(354)](i(477))[i(369)][i(422)];for(const e of t)e[i(352)]=e[i(352)]?e[i(352)]+i(414):i(365);if(this[i(474)][i(430)][i(460)](i(362))){const t=document[i(313)](i(465));t&&t[i(376)](i(480),"-1")}if(this[i(474)][i(430)][i(460)](i(455))){const t=document[i(313)](i(396));t&&t[i(376)](i(480),"-1")}}const s=this[i(409)]();return e(s)[i(427)](t=>{const e=i;return this[e(440)]=t,this[e(474)][e(430)][e(460)](e(347))&&this[e(474)][e(430)][e(354)](e(347))[e(463)](),this[e(474)][e(430)][e(460)](e(454))&&(this[e(474)][e(430)][e(354)](e(472))[e(369)][e(468)][e(398)][e(449)]=e(358)),t})[i(326)](t=>(console[i(332)](t),this[i(474)][i(324)](i(359)),null))})}[Xo(412)](){const t=Xo,e=this[t(474)][t(360)][t(354)](t(393))[t(444)];this[t(474)][t(360)][t(392)](t(356),()=>{const i=t;if(this[i(474)][i(430)][i(460)](i(438))&&this[i(474)][i(430)][i(354)](i(438))[i(338)](),this[i(474)][i(430)][i(460)](i(454))&&(this[i(474)][i(430)][i(354)](i(472))[i(369)][i(468)][i(398)][i(449)]=""),this[i(474)][i(430)][i(460)](i(477))){const t=this[i(474)][i(430)][i(354)](i(477))[i(369)][i(422)];for(const e of t)e[i(352)]=i(365)===e[i(352)]?"":e[i(352)][i(344)](i(414),"");if(this[i(474)][i(430)][i(460)](i(362))){const t=document[i(313)](i(465));t&&t[i(473)](i(480))}if(this[i(474)][i(430)][i(460)](i(455))){const t=document[i(313)](i(396));t&&t[i(473)](i(480))}}return this[i(440)][i(430)][i(354)](i(394))[i(425)](),e(this[i(440)])[i(427)](()=>{const t=i;if(this[t(474)][t(324)](t(359)),this[t(440)]=null,this[t(474)][t(430)][t(460)](t(347))){const e=this[t(474)][t(430)][t(354)](t(347));e[t(463)](),e[t(337)]()}})})}[Xo(441)](t){const e=Xo,i=this[e(474)][e(360)][e(354)](e(378)),n=this[e(474)][e(360)][e(354)](e(336)),s=this[e(474)][e(360)][e(354)](e(466));return Qo[e(478)](s,t)[e(427)](t=>(n[e(398)][e(449)]=e(405),i[e(398)][e(449)]=e(358),this[e(333)]=!0,t))}[Xo(372)](t){const e=Xo,i=this[e(474)][e(360)][e(354)](e(378));return this[e(474)][e(360)][e(354)](e(336))[e(398)][e(449)]=e(358),i[e(398)][e(449)]="",this[e(333)]=!1,t[e(434)]()}async[Xo(370)](t){const e=Xo,i=this[e(474)],n=this[e(440)][e(430)][e(354)](e(394)),s=i[e(430)][e(354)](e(385)),r=i[e(430)][e(354)](e(379)),o=n[e(462)][e(364)](t);let a,c,u;try{await r[e(428)](o,this[e(442)]),a=r[e(361)](o),c=r[e(476)](o)}catch(t){return void console[e(332)](t)}i[e(346)][e(343)](t=>{const n=e;for(const e of Array[n(443)](i[n(346)][n(357)][n(319)](n(406))))t[n(399)](e)}),n[e(420)]=!1,i[e(346)][e(390)](t=>{const n=e;t[n(371)](null),t[n(322)](i[n(346)][n(403)][n(345)][n(387)]());const s=Object[n(339)](a);for(const e of i[n(346)][n(403)][n(342)])n(401)!=e[n(479)]&&e[n(374)]()&&!s[n(424)](e[n(479)])&&t[n(323)](e);for(const e of s){let s=i[n(346)][n(403)][n(413)](e);s&&s[n(374)]()||(s=t[n(331)](e));const r=c[e],o=Object[n(339)](r),u=a[e];for(const e of s[n(387)]())o[n(424)](e)||t[n(473)](e,s);for(const i of o)t[n(376)](i,c[e][i],s);t[n(453)](t[n(435)](s)),t[n(330)](i[n(368)][n(469)](u,s),s,0)}});const l=at(i[e(366)],e(467));return u=o[e(340)]?-1==o[e(340)][e(437)](l)?l+": "+o[e(340)]:o[e(340)]:l+": "+o[e(471)][e(408)](i[e(366)][e(315)],{month:e(432),day:e(459)})+", "+o[e(471)][e(381)](i[e(366)][e(315)],{hour:e(459),minute:e(459)}),await s[e(321)]({name:u}),n[e(420)]=!0,i[e(360)][e(354)](e(393))[e(444)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=183]})(t,e)}function oa(){var t=["39104BnDvZo","24359460Nenbkx","18aKrKkX","1099QwPPwM","6819fSSFxC","556bNknkf","4176248sqMnpZ","38388FVABku","77OddoLe","160pXOdou","40340sTaIHL","161291FFVzCl"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(793080===-parseInt(e(186))/1+parseInt(e(192))/2*(parseInt(e(191))/3)+-parseInt(e(187))/4*(-parseInt(e(184))/5)+-parseInt(e(194))/6*(parseInt(e(190))/7)+parseInt(e(193))/8*(-parseInt(e(189))/9)+-parseInt(e(185))/10*(-parseInt(e(183))/11)+parseInt(e(188))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();