@ckeditor/ckeditor5-revision-history 47.0.0-alpha.7 → 47.0.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +7 -7
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +12 -12
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={6:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},140:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},193:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(931)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},290:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},302:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},316:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},342:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},439:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},532:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},549:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},557:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},574:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},602:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},606:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},628:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},660:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},718:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},750:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},931:t=>{"use strict";t.exports=CKEditor5.collaborationDll},933:t=>{"use strict";t.exports=function(t){return t[1]}},997:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>he,Revision:()=>G,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>vt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>ia,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 n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",x="[object Float64Array]";function T(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,T(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(T(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case 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 s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function 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 s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function U(t,e,i){return function(t,e,i,s){if(null==t&&!W(t))return t;const n=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=P(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:W(i)?i:C(n[e+1])?[]:{}}D(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 s=t[e];return void 0===s?Z(e)?H(t,z(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function q(t,e){const i=H(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const $=Y;function B(){const t=["169ELSntl","setAttribute","map","558488ptcJGR","name","3pNBcFc","diffData","fromVersion","3464mDOexE","authors","creatorId","removeAttribute","toJSON","144YbbJRq","createdAt","352860rjuluo","setName","12IbXQzv","authorsIds","1084173sVzjDd","4528945hHhjrq","attributes","creator","451vxyzWv","174538pnvnaj","set","_update","fire","156790ZNclMw","model","18CDHQVD","toVersion"];return(B=function(){return t})()}function Y(t,e){const i=B();return(Y=function(t,e){return i[t-=193]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(606538===parseInt(e(213))/1*(-parseInt(e(211))/2)+parseInt(e(195))/3*(-parseInt(e(193))/4)+parseInt(e(196))/5+-parseInt(e(221))/6*(-parseInt(e(200))/7)+parseInt(e(216))/8*(-parseInt(e(206))/9)+-parseInt(e(204))/10*(-parseInt(e(199))/11)+-parseInt(e(223))/12*(-parseInt(e(208))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class G extends((0,t.ObservableMixin)()){id;[$(198)];[$(217)];[$(214)];[$(207)];[$(215)];[$(205)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(198)]=e[i(198)]||null,this[i(217)]=e[i(217)]||[],this[i(214)]=e[i(214)]||null,this[i(207)]=e[i(207)]||0,this[i(215)]=e[i(215)]||0,this[i(201)](i(212),e[i(212)]||""),this[i(201)](i(222),e[i(222)]||new Date),this[i(201)](i(197),e[i(197)]||{})}[$(224)](t){this[$(202)]({name:t})}[$(209)](t,e){const i=$,s=R(this[i(197)]);U(s,t,e),this[i(202)]({attributes:s})}[$(219)](t){const e=$,i=R(this[e(197)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&Z(e))return q(t,z(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(202)]({attributes:i})}[$(202)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(212),i(222),i(214),i(217),i(197),i(207),i(215),i(218)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(217)]&&(n[i(194)]=n[i(217)][i(210)](t=>t.id),delete n[i(217)]),this[i(203)](i(202),n,e))}[$(220)](){const t=$;return{id:this.id,name:this[t(212)],creatorId:this[t(198)]?this[t(198)].id:null,authorsIds:this[t(217)][t(210)](t=>t.id),diffData:this[t(214)],createdAt:this[t(222)],attributes:this[t(197)],fromVersion:this[t(215)],toVersion:this[t(207)]}}}var J=i(782),K=i(211),X=i(783);function Q(t,e){const i=et();return(Q=function(t,e){return i[t-=298]})(t,e)}const tt=Q;function et(){const t=["name","getEarlierVisibleRevision","isOfficialPlugin","newRevisionId","href","RevisionsRepository","map","3070249wifXrw","690464eGcGVx","createdAt","add","getRevision","join","toVersion","later","diffData","452986bcsvHm","2141530bxYadU","pluginName","isPremiumPlugin","from","getLaterVisibleRevision","toJSON","fromVersion","getRevisionsIterator","reverse","attributes","2418324ZXtIso","requires","867790MeGrxx","data","editor","plugins","createRevision","length","getRevisions","3GXQOgg","earlier","addRevision","isNaN","authorsIds","getUser","creatorId","_revisions","afterInit","getIndex","push","4612304otpsWM","getRevisionsInDiff","get","fromCharCode","Users","oldRevisionId"];return(et=function(){return t})()}!function(t){const e=Q,i=t();for(;;)try{if(255026===-parseInt(e(320))/1+-parseInt(e(333))/2+parseInt(e(340))/3*(parseInt(e(312))/4)+parseInt(e(321))/5+parseInt(e(331))/6+-parseInt(e(311))/7+parseInt(e(298))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends J.Plugin{[tt(347)];static get[tt(332)](){return[K.Users]}static get[tt(322)](){return tt(309)}static get[tt(306)](){return!0}static get[tt(323)](){return!0}get[tt(338)](){const t=tt;return this[t(347)][t(338)]}constructor(e){const i=tt;super(e),this[i(347)]=new t.Collection}[tt(348)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(343)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=Q;return t[e(310)](t=>String[e(301)](t))[e(316)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1759190400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(308)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>n[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[tt(337)](t){const e=tt,i=this[e(335)][e(336)][e(300)](e(302));return new G({id:t.id,name:t[e(304)],creator:t[e(346)]?i[e(345)](t[e(346)]):null,diffData:t[e(319)]||t[e(334)],authors:t[e(344)][e(310)](t=>i[e(345)](t)),createdAt:new Date(t[e(313)]),attributes:t[e(330)],fromVersion:t[e(327)],toVersion:t[e(317)]})}[tt(342)](t,e=0){const i=tt;this[i(347)][i(314)](t,e)}[tt(315)](t){const e=tt;return this[e(347)][e(300)](t)}[tt(339)](t={toJSON:!1}){const e=tt,i=Array[e(324)](this[e(347)]);return i[e(329)](),t[e(326)]?i[e(310)](t=>t[e(326)]()):i}[tt(349)](t){const e=tt;return this[e(347)][e(349)](t)}[tt(305)](t){const e=tt,[,i]=this[e(328)](t,{direction:e(341)});return i}[tt(325)](t){const e=tt,[,i]=this[e(328)](t,{direction:e(318)});return i}[tt(299)](t){const e=tt,i=[];for(const s of this[e(328)](t[e(307)]))if(i[e(350)](s),s.id===t[e(303)])break;return i}*[tt(328)](t,{direction:e=tt(341),filter:i=()=>!0}={}){const s=tt,n=s(341)===e?1:-1;let r=this[s(347)][s(300)](t),o=this[s(349)](r);for(yield r;r;){if(o+=n,r=this[s(315)](o),!r)return;i(r)&&(yield r)}}}function st(t,e){const i=ot();return(st=function(t,e){return i[t-=458]})(t,e)}const nt=st;!function(t){const e=st,i=t();for(;;)try{if(405082===-parseInt(e(507))/1+-parseInt(e(529))/2*(-parseInt(e(464))/3)+parseInt(e(517))/4+parseInt(e(489))/5*(-parseInt(e(484))/6)+-parseInt(e(508))/7*(-parseInt(e(527))/8)+-parseInt(e(532))/9+parseInt(e(479))/10*(parseInt(e(466))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class rt extends J.Plugin{static get[nt(514)](){return nt(480)}static get[nt(462)](){return!0}static get[nt(515)](){return!0}[nt(519)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(494)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(474)](t,e){const i=nt;if(t[i(526)]||!e)return;const s=this[i(482)][i(509)][i(520)](i(481)),n=await e[i(470)]({channelId:s,revisionId:t.id});t[i(526)]=n[i(526)]}[nt(491)](t){const e=nt,i={};for(const s in t[e(526)]){if(t[e(526)][s][e(503)]&&!t[e(526)][s][e(503)][e(500)])continue;const n=this[e(512)](JSON[e(476)](t[e(526)][s][e(493)])),r=this[e(482)][e(513)][e(469)][e(471)],o=new X.ViewDocumentFragment(r,n[e(468)](t=>this[e(496)](t,!1)));this[e(482)][e(506)][e(504)][e(501)](e(525)),i[s]=this[e(482)][e(506)][e(504)][e(483)](o),this[e(482)][e(506)][e(504)][e(501)](e(531))}return i}[nt(488)](t){const e=nt,i={};for(const s in t[e(526)])t[e(526)][s][e(503)]&&!t[e(526)][s][e(503)][e(500)]||(i[s]=t[e(526)][s][e(461)]||{});return i}[nt(477)](t){const e=nt;return this[e(519)][e(520)](t[e(467)])}[nt(496)](t,e){const i=nt,s=this[i(482)][i(513)][i(469)][i(471)];if(i(478)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(502)]||"r"==t[i(502)]?[]:t[i(498)][i(468)](t=>this[i(496)](t,e));const o=this[i(494)][i(520)](t[i(502)])||X.ViewElement,a=this[i(482)][i(506)][i(463)][i(487)];if(n=new o(s,t[i(499)],t[i(511)],r),"u"==t[i(502)]&&t[i(498)][0]){const r=t[i(498)][0];if(n[i(473)]=function(t){const e=i,s=t[e(460)](e(510));return s[e(516)]=r,s[e(485)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(523)](n);const e=Array[i(533)](a[i(505)](t,{bind:!1})),r=a[i(458)][i(460)](i(510));r[i(459)](...e),n=Array[i(533)](a[i(465)](r))[0]}}else if("r"==t[i(502)]&&t[i(498)][0]){const r=t[i(498)][0];if(n[i(473)]=function(t){t[i(516)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(523)](n);const e=Array[i(533)](a[i(505)](t,{bind:!1})),r=a[i(458)][i(460)](i(510));r[i(459)](...e);const o=Array[i(533)](a[i(465)](r));o[i(521)]>1?n[i(523)](o):n=o[0]}}if(t[i(472)])for(const[e,s]of t[i(472)])n[i(522)](e,s);const c=void 0===t[i(528)]?null:t[i(528)];return null!==c&&(n[i(475)]=()=>c),n}}[nt(497)](t){const e=nt,i=JSON[e(476)](t),s=this[e(482)][e(513)][e(469)][e(471)],n=new X.ViewDocumentFragment(s,i[e(468)](t=>this[e(496)](t,!0)));return this[e(482)][e(506)][e(495)](n)}[nt(512)](t){const e=nt;return(t=t[e(486)](t=>!t[e(499)]||e(490)!==t[e(499)]&&e(530)!==t[e(499)]))[e(492)](t=>{const i=e;i(478)!=typeof t&&(t[i(498)]=this[i(512)](t[i(498)]),t[i(511)]=t[i(511)][i(486)](t=>!t[0][i(524)](i(518))))}),t}}function ot(){const t=["filter","domConverter","getRevisionRootsAttributes","5sMUfLH","revision-start","getRevisionDocumentData","forEach","insertions","_typeCharToViewClass","toModel","_getViewFromDiffObj","_makeModelFromViewString","children","name","isAttached","useFillerType","type","attachChange","processor","viewChildrenToDom","data","425370HKcXUS","77zOIziY","config","div","attributes","_removeRevisionMarkers","editing","pluginName","isPremiumPlugin","innerHTML","2398532sPXdBm","data-revision-","_viewClassToTypeChar","get","length","_setCustomProperty","_appendChild","startsWith","marked","diffData","193944WpIqOW","fillerOffset","14uifhlF","revision-end","default","536769ICNfRY","from","domDocument","append","createElement","attributesAfter","isOfficialPlugin","htmlProcessor","117756CfyHZm","domChildrenToView","110pvHJCd","constructor","map","view","getRevision","document","customProperties","render","loadRevisionData","getFillerOffset","parse","_getTypeCharForViewElement","string","381730apcBAa","RevisionHistoryUtils","collaboration.channelId","editor","toData","3796242JJaNyI","childNodes"];return(ot=function(){return t})()}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,T){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,T))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,T));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case 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,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,T)||ct(t)&&ct(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,s,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=pt;function mt(){const t=["setSource","revisionHistoryLicenseKeyTrialLimit","getNodeByPath","997185tpvKkS","range","featureNotAllowed","then","collaboration.channelId","112yTWWVD","_removePendingAction","vid_start","_insertChild","editor","destroy","source","getRootNames","loadRevisionData","move","locale","changeRootAttribute","addRoot","6420jbOWUr","7152wnIKdO","editor-initial-data-replaced-with-revision-data","getRevisionRootsAttributes","max","_findInsertionIndex","getCurrentRevisionId","_handleRootAttributeOperation","howMany","define","NEGATIVE_INFINITY","_touched","push","108828LxABQh","getRevisionDocumentData","revisionHistoryLicenseKeyExpired","merge","render","_pendingAction","revisionHistoryLicenseKeyInvalid","pluginName","authors","repository","_cloneOperation","offsetSize","258208xWaDpT","createPositionBefore","rootsAttributes","start","_handleInsertOperation","revisionHistoryLicenseKeyNotAllowed","getWalker","domConverter","get","markers","_handleSplitOperation","invalid","_appendChild","getLatestVersion","PENDING_ACTION_REVISION_HISTORY","fromVersion","_touchedRoots","createPositionAt","RevisionsRepository","trim","isOfficialPlugin","_handleOperation","affectsData","init","_isInit","clear","_touchedMarkers","_bufferedUpdates","insertionPosition","length","end","_addPendingAction","_makeRevision","config","deletions","getChildren","version","set","_diffRoots","_markChanges","_transformMarkers","_getState","targetPosition","createElement","nodeAfter","_operations","newRange","Users","getCustomProperties","deletion","element","remove","children","conversion","stringify","getRange","requires","bind","clone","slice","innerHTML","825TSsbdp","_startingRevisionId","revisionHistoryLicenseKeyEvaluationLimit","expired","sendBufferedUpdates","_generateTape","customProperties","Empty document","createdAt","revision","tableCell","authorsIds","1010387mDFvGR","_clone","upcast","find","isEqual","_getFromVersion","name","getIndex","markerToData","_createInitialRevision","_createCurrentRevision","reinsert","_bufferUpdate","path","trialLimit","isAdd","_authorId","addRevision","evaluationLimit","_startingVersion","dataToMarker","_handleMergeOperation","creator","getAncestors","ready","getAttributes","attachChange","getData","update","3784NFxhqT","string","elementEnd","_applyOperations","previousPosition","_baseIdsRoots","insertions","$text","text","includes","root","7916vQzadq","outerHTML","vid_end","_initialRevisionId","_execute","_setAttribute","toView","childCount","getRevision","_baseRoots","_fixPosition","model","getFillerOffset","Initial revision","_continueCurrentRevision","adapter","_update","_getVidAttributeName","uiElement","_utils","getUser","getOperations","domainLimit","userId","usageLimit","from","initialData","_reset","getChild","revisionHistoryLicenseKeyValid","values","createRangeIn","afterInit","getRevisions","_lastFrom","revisionHistoryLicenseKeyDomainLimit","_removeMetaData","has","_getViewJson","data","position","rootName","revisionHistoryLicenseKeyUsageLimit","finally","fromEntries","_saveMetaData","offset","baseVersion","_savedMetaData","updateRevisions","elementStart","RevisionTracker","revisionHistory.resumeUnsavedRevision","startsWith","saveRevision","key","_makeModelFromViewString","sort","_baseRootsAttributes","rawElement","_handleMoveOperation","isReady","insert","item","keepParagraph","_lastTo","loadState","delete","_loadedStateData","createPositionAfter","getMovedRangeStart","oldRange","parent","_createFromRanges","4381ShURpV","sourcePosition","_handleMarkerOperation","_isAttached","$graveyard","_calculateMetaData","reInit","size","createRange","hasContent","vid","RevisionHistory","map","_revisionDataBuilder","stickiness","split","roots","toVersion","_markers","_idsRoots","licenseKey","attributesBefore","creatorId","for","isPremiumPlugin","filter","some","isEnabled","document","buildRevisionData","type","dataDowncast","newValue","_makeIdsRoot","_showLicenseError","_replaceEditorDataWithRevisionData","addRevisionData","history","_getPreviousFrom","diffData","_copyMarkers","RevisionHistoryUtils","getOperation","resolve","getAttribute","_setConversion","isAttached","documentFragment","reverse","currentRevision","paragraph","_source","createPositionFromPath","marker","_diffRootsAttributes","domDocument","_handleRootOperation","setRevisionData","_fixOperation","2PjpGzW","plugins","addRootAttribute","_fixRange","removeRootAttribute","add","_getTypeCharForViewElement","insertion","revision:","graveyardPosition","_prepareViewToSave","getTime","splitPosition","nodes","PendingActions","_processRootBeforeSave","createRevision","shift","$comment","_revisionId","keys","_loadState","RealTimeCollaborationClient","fillerOffset","attributesAfter","getTransformedByOperation","_getBaseVids","initial","detachRoot","htmlProcessor","_isPendingUpdate","getRoot","12CCvuDf","_licenseKeyCheckInterval"];return(mt=function(){return t})()}function pt(t,e){const i=mt();return(pt=function(t,e){return i[t-=460]})(t,e)}!function(t){const e=pt,i=t();for(;;)try{if(173906===-parseInt(e(759))/1*(parseInt(e(679))/2)+-parseInt(e(716))/3+-parseInt(e(546))/4*(-parseInt(e(494))/5)+parseInt(e(711))/6*(parseInt(e(506))/7)+parseInt(e(721))/8*(parseInt(e(747))/9)+-parseInt(e(734))/10*(parseInt(e(535))/11)+parseInt(e(735))/12*(parseInt(e(620))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class vt extends J.Plugin{[ft(640)];[ft(712)];[ft(669)]=null;[ft(756)];[ft(561)]=null;[ft(633)];[ft(671)];[ft(549)];[ft(460)];[ft(565)];[ft(752)];[ft(560)];[ft(525)];[ft(614)];static get[ft(754)](){return ft(597)}static get[ft(779)](){return!0}static get[ft(644)](){return!0}static get[ft(489)](){return[K.Users,it,rt,J.PendingActions]}constructor(e){const i=ft;super(e),this[i(756)]=this[i(725)][i(680)][i(767)](i(777)),this[i(565)]=this[i(725)][i(680)][i(767)](i(661)),this[i(633)]=new gt(this[i(725)]),this[i(549)]=this[i(725)][i(466)][i(767)](i(720))||i(706),this[i(460)]=new Map,this[i(614)]=null;const s=(0,t.uid)();this[i(671)]={history:this[i(725)][i(557)][i(648)][i(657)],getLatestVersion:()=>Promise[i(663)](this[i(725)][i(557)][i(648)][i(469)]),getCurrentRevisionId:()=>s},this[i(470)](i(607),!1),this[i(470)](i(647),!0),this[i(470)](i(709),!1),this[i(725)][i(466)][i(743)](i(598),!0),this[i(725)][i(486)][i(643)](i(508))[i(526)]({view:i(503)})}[ft(782)](){const t=ft;this[t(665)](),this[t(725)][t(585)].on(t(530),()=>{const e=t,i=this[e(756)][e(554)](0),s=i&&null===i[e(528)]?i:null;if(this[e(560)]=!!s&&this[e(725)][e(466)][e(767)](e(598)),this[e(725)][e(680)][e(583)](e(701))){const t=this[e(671)][e(740)](),n=this[e(756)][e(554)](t);if(n)this[e(525)]=n[e(774)],this[e(560)]=!1;else{const t=this[e(671)][e(657)][e(478)][e(509)](t=>!t[e(783)]),n=t?t[e(593)]:this[e(671)][e(657)][e(469)];i?(i[e(637)]<n&&i[e(562)]({toVersion:n}),this[e(560)]?(this[e(671)][e(740)]=()=>s.id,this[e(525)]=s[e(774)]):(this[e(525)]=i[e(637)],this[e(560)]=!1)):(this[e(525)]=n,this[e(560)]=!1)}}else s&&(this[e(725)][e(557)][e(648)][e(657)][e(469)]=Math[e(738)](s[e(637)],this[e(725)][e(557)][e(648)][e(657)][e(469)]),s[e(774)]===s[e(637)]?(0!==s[e(774)]&&(this[e(671)][e(740)]=()=>s.id),this[e(560)]=!1):this[e(560)]&&(this[e(671)][e(740)]=()=>s.id,this[e(525)]=s[e(774)])),this[e(560)]||(this[e(525)]=this[e(725)][e(557)][e(648)][e(469)]);this[e(633)][e(782)](this[e(671)][e(657)]),this[e(515)](this[e(525)]),this[e(516)](this[e(525)]),this[e(561)]&&this[e(498)]()}),this[t(490)](t(607)).to(this,t(709),t=>!t),this[t(640)]=this[t(725)][t(466)][t(767)](t(640));const e=this[t(725)];this[t(712)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(575)==r||i(753)==r||i(749)==r||i(581)==r||i(764)==r||i(496)==r||i(714)==r||i(588)==r){delete e[n],s=r,clearInterval(this[i(712)]),this[i(712)]=void 0;break}}i(753)==s&&e[i(654)](i(770)),i(749)==s&&e[i(654)](i(497)),i(581)==s&&e[i(654)](i(568)),i(764)==s&&e[i(654)](i(718),i(631)),i(496)==s&&e[i(654)](i(524)),i(714)==s&&e[i(654)](i(520)),i(588)==s&&e[i(654)](i(570))},1e3)}async[ft(578)](){const t=ft;if(this[t(756)][t(462)]>0){const e=this[t(756)][t(554)](0),i=await this[t(748)](e),s=await this[t(737)](e);this[t(655)](i,s)}}[ft(726)](){const t=ft;super[t(726)](),this[t(712)]&&clearInterval(this[t(712)])}[ft(713)](t){this[ft(671)]=t}async[ft(534)](){const t=ft,e=await this[t(671)][t(772)]();if(e>this[t(669)][t(637)]){await this[t(700)]();const i=this[t(649)]({revision:this[t(669)],to:e});i[t(755)]=i[t(505)][t(632)](e=>this[t(725)][t(680)][t(767)](t(480))[t(566)](e)),this[t(669)][t(562)](i)}}async[ft(600)](e={},i=null){const s=ft,n=[];await this[s(700)](),this[s(560)]=!1,i>this[s(669)][s(637)]&&(i=null),null===i&&(i=await this[s(671)][s(772)]());const r=this[s(511)](i),o=this[s(649)]({from:r,to:i});if(this[s(669)][s(637)]<i){const t=this[s(649)]({revision:this[s(669)],from:i,to:i});t[s(755)]=[],t[s(505)]=[],t.id=this[s(669)].id,this[s(669)][s(562)](t,!0),delete t[s(755)],n[s(746)](t)}e[s(642)]=this[s(725)][s(680)][s(767)](s(480)).me.id,e[s(512)]=e[s(512)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(656)](e);n[s(746)](e);const c=this[s(756)][s(513)](a);if(0!==c){const t=this[s(756)][s(554)](c-1);if(t[s(774)]!==i){const r=this[s(633)][s(533)](i,t[s(637)]),o={id:t.id,diffData:r[s(659)],authorsIds:r[s(505)],authors:r[s(505)][s(632)](t=>this[s(725)][s(680)][s(767)](s(480))[s(566)](t)),fromVersion:i};t===this[s(669)]&&(o[s(502)]=new Date(e[s(502)][s(690)]()+10)),t[s(562)](o,!0),delete o[s(755)],n[s(746)](o)}}if(this[s(561)]){for(const t of n)this[s(518)](t.id,t,!0);this[s(498)]()}return a}[ft(656)](t){const e=ft,i=this[e(756)][e(695)](t);return this[e(561)]&&i.on(e(562),(t,i,s)=>{const n=e;s||(this[n(518)](i.id,i,!0),this[n(498)]())}),this[e(756)][e(523)](i,this[e(739)](i)),i}async[ft(748)](t){const e=ft;return await this[e(565)][e(729)](t,this[e(561)]),this[e(565)][e(748)](t)}async[ft(737)](t){const e=ft;return await this[e(565)][e(729)](t,this[e(561)]),this[e(565)][e(737)](t)}[ft(498)](){const t=ft;if(0===this[t(460)][t(627)])return;if(this[t(709)])return;let e=Array[t(571)](this[t(460)][t(576)]());this[t(460)][t(784)]();for(let i=0;i<e[t(462)];i++){const s=e[i];let n=!1;for(const e of Object[t(699)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(645)](t=>null!==t),!e[t(462)])return;for(let i=0;i<e[t(462)];i++){const s=e[i];void 0!==s[t(774)]&&void 0===s[t(637)]&&(s[t(637)]=this[t(756)][t(554)](s.id)[t(637)]),void 0!==s[t(637)]&&void 0===s[t(774)]&&(s[t(774)]=this[t(756)][t(554)](s.id)[t(774)])}const i=this[t(725)][t(466)][t(767)](t(720));this[t(709)]=!0,this[t(464)](),this[t(561)][t(595)](e,i)[t(589)](()=>{this[t(709)]=!1})[t(719)](e=>{const i=t;if(e)for(const t of e)this[i(677)]({id:t.id,createdAt:t[i(502)]});this[i(722)](),this[i(498)]()})}[ft(649)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(774)],i=null!==i?i:t[s(637)];const n=this[s(633)][s(533)](e,i),r={diffData:n[s(659)],authorsIds:n[s(505)],fromVersion:e,toVersion:i};if(!t||i!==t[s(637)]){const t=i-1,e=this[s(671)][s(657)][s(662)](t);r[s(502)]=e&&e[s(502)]||new Date}if(this[s(614)]&&e===this[s(614)][s(774)])for(const t of this[s(614)][s(755)])r[s(505)][s(544)](t.id)||r[s(505)][s(746)](t.id);return r}[ft(518)](t,e,i){const s=ft;if(this[s(460)][s(583)](t)){const n=this[s(460)][s(767)](t);e=i?{...n,...e}:{...e,...n}}this[s(460)][s(470)](t,e)}[ft(677)](t){const e=ft,i=this[e(756)][e(554)](t.id);if(t[e(502)]&&(t[e(502)]=new Date(t[e(502)])),t[e(505)]){const i=this[e(725)][e(680)][e(767)](e(480));t[e(755)]=t[e(505)][e(632)](t=>i[e(566)](t))}i[e(562)](t,!0)}[ft(515)](t){const e=ft,i=this[e(756)][e(554)](this[e(756)][e(462)]-1);if(i)this[e(549)]=i.id;else{const i=!this[e(725)][e(557)][e(648)][e(636)][e(509)](t=>this[e(725)][e(557)][e(629)](t)),s=this[e(725)][e(680)][e(767)](e(480)).me.id,n=at(this[e(725)][e(731)],e(i?501:559));this[e(465)]({from:t,to:t,id:this[e(549)],name:n,creatorId:s})}}[ft(516)](t){const e=ft,i=this[e(671)][e(740)]();this[e(669)]=this[e(756)][e(554)](i),this[e(669)]||(this[e(669)]=this[e(465)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(700)](){const t=ft;this[t(560)]&&!this[t(614)]&&(await this[t(565)][t(729)](this[t(669)],this[t(561)]),this[t(633)][t(612)](this[t(669)]),this[t(614)]={fromVersion:this[t(669)][t(774)],authors:this[t(669)][t(755)][t(492)]()})}[ft(655)](e,i){const s=ft;let n=this[s(725)][s(466)][s(767)](s(572)),r=this[s(725)][s(466)][s(767)](s(761));if(void 0===n){n={};for(const t of this[s(725)][s(557)][s(648)][s(728)]())n[t]=""}if(s(536)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(725)][s(557)][s(648)][s(728)]())r[t]={}}let o=!1;const a=Object[s(699)](n),c=Object[s(699)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(778)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(699)](r[t])[s(462)]>0){o=!0;break}}o||(o=c[s(646)](t=>!this[s(725)][s(557)][s(648)][s(710)](t))),o&&(0,t.logWarning)(s(736),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(725)][s(466)][s(470)](s(572),e),this[s(725)][s(466)][s(470)](s(761),i)}[ft(464)](){const t=ft;if(!this[t(752)]){const e=this[t(725)][t(680)][t(767)](t(693));this[t(752)]=e[t(684)](at(this[t(725)][t(731)],t(773)))}}[ft(722)](){const t=ft;this[t(752)]&&(this[t(725)][t(680)][t(767)](t(693))[t(484)](this[t(752)]),this[t(752)]=null)}[ft(739)](t){const e=ft,i=this[e(756)][e(579)]();i[e(668)]();let s=0;for(;s<i[e(462)];){const n=i[s];if(n===this[e(669)]){s++;continue}if(n.id===this[e(549)])break;const r=t[e(637)]-n[e(637)]||t[e(774)]-n[e(774)];if(r>0)break;if(r<0)s++;else{if(!t[e(528)]&&n[e(528)])break;if(n[e(528)]||!t[e(528)]){if(t[e(502)]>n[e(502)])break;s++}else s++}}return s}[ft(511)](t){const e=ft,i=this[e(756)][e(579)]();i[e(668)](),i[e(696)]();const s=i[e(509)](i=>i[e(637)]<=t)[e(637)];return s<this[e(525)]?this[e(525)]:s}[ft(465)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(649)]({from:e,to:i});o[r(512)]=t,o[r(642)]=s,o.id=n;const a=this[r(656)](o);return this[r(561)]&&this[r(518)](o.id,o,!0),a}[ft(665)](){const t=ft;this[t(725)][t(486)][t(643)](t(651))[t(514)]({model:t(503)})}}class gt{[ft(725)];[ft(727)];[ft(594)];[ft(580)];[ft(611)];[ft(638)];[ft(471)];[ft(674)];[ft(555)];[ft(604)];[ft(639)];[ft(540)];[ft(745)];[ft(785)];[ft(775)];[ft(698)];[ft(495)];constructor(t){const e=ft;this[e(725)]=t,this[e(594)]=new Map,this[e(580)]=-1,this[e(611)]=-1,this[e(638)]=new Map,this[e(471)]=new Map,this[e(674)]=new Map,this[e(555)]=new Map,this[e(604)]=new Map,this[e(639)]=new Map,this[e(540)]=new Map,this[e(745)]=new Map,this[e(785)]=new Map,this[e(775)]=new Map,this[e(698)]=1}[ft(782)](t){const e=ft;this[e(727)]=t;const i=new Map,s=new Map,n=this[e(725)][e(557)][e(648)][e(636)][e(632)](t=>t[e(587)]);for(const t of n){const n=this[e(725)][e(557)][e(648)][e(710)](t),r=yt(n);i[e(470)](t,r),s[e(470)](t,Object[e(590)](n[e(531)]()))}const r=Array[e(571)](this[e(725)][e(557)][e(768)])[e(632)](t=>[t[e(512)],t[e(488)]()]),o=this[e(727)][e(469)];this[e(591)](o,i,r,s),this[e(495)]=this[e(698)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(470)](t,i),c[e(470)](t,{})}this[e(591)](Number[e(744)],a,[],c)}[ft(533)](t,e){const i=ft;if(this[i(580)]===t&&this[i(611)]<=e)this[i(594)][i(627)]>1&&this[i(582)](this[i(611)]),this[i(538)](this[i(611)],e,!0);else{if(!this[i(594)][i(583)](t)){const e=this[i(658)](t);this[i(625)](e,t,!1)}this[i(625)](t,e,!0)}return this[i(580)]=t,this[i(611)]=e,this[i(474)]()}[ft(612)](t){const e=ft;if(!this[e(594)][e(583)](t[e(774)])){const i=this[e(658)](t[e(774)]);this[e(625)](i,t[e(774)],!1)}this[e(625)](t[e(774)],t[e(637)],!1);const i=this[e(725)][e(680)][e(767)](e(661));this[e(573)](),this[e(580)]=t[e(774)],this[e(611)]=t[e(637)];for(const s in t[e(659)]){const n=t[e(659)][s][e(532)],r=R(t[e(659)][s][e(641)])||{},o=i[e(602)](t[e(659)][s][e(467)]);o[e(587)]=s,o[e(623)]=!n||!n[e(666)],o[e(666)]=()=>o[e(623)],this[e(555)][e(470)](s,o),this[e(604)][e(470)](s,r),n&&this[e(775)][e(470)](s,n);const a=this[e(653)](o);this[e(540)][e(470)](s,a);for(const[t,i]of o[e(768)]){if(!t[e(599)](e(687)))continue;const s=t[e(635)](":")[2];for(const t of i[e(765)]({singleCharacters:!0})){const i=this[e(563)](t),n=e(537)==t[e(650)]?t[e(539)][e(519)][e(492)](0,-1):t[e(539)][e(519)],r=a[e(715)](n)[e(664)](i);this[e(745)][e(470)](r,{userId:s})}}}this[e(495)]=this[e(698)];const s=[...Array(this[e(698)])[e(699)]()][e(492)](1)[e(645)](t=>!this[e(745)][e(583)](t));let n=0;const r=new Map;for(const o in t[e(659)]){const a=t[e(659)][o][e(532)],c=R(t[e(659)][o][e(703)])||{},u=i[e(602)](t[e(659)][o][e(541)]);u[e(587)]=o,u[e(623)]=!a||a[e(666)],u[e(666)]=()=>u[e(623)],this[e(471)][e(470)](o,u),this[e(674)][e(470)](o,c);const l=this[e(653)](u,Number[e(744)]);this[e(639)][e(470)](o,l),r[e(470)](o,u[e(666)]()?c:{});for(const[t,i]of u[e(768)]){if(!t[e(599)](e(687)))continue;const s=t[e(635)](":")[2];for(const t of i[e(765)]({singleCharacters:!0})){const i=this[e(563)](t),n=this[e(698)]++,r=e(537)==t[e(650)]?t[e(539)][e(519)][e(492)](0,-1):t[e(539)][e(519)];l[e(715)](r)[e(551)](i,n),this[e(745)][e(470)](n,{userId:s})}}for(const t of this[e(725)][e(557)][e(577)](u)[e(765)]({singleCharacters:!0})){const i=this[e(563)](t),r=e(537)==t[e(650)]?t[e(539)][e(519)][e(492)](0,-1):t[e(539)][e(519)],o=l[e(715)](r);o[e(664)](i)>0||o[e(551)](i,s[n++])}for(const[t,i]of u[e(768)])t[e(599)](e(687))||this[e(638)][e(470)](t,i)}const{roots:o}=this[e(594)][e(767)](t[e(774)]),{roots:a}=this[e(594)][e(767)](t[e(637)]),c=yt(o[e(767)](e(624)));this[e(555)][e(470)](e(624),c),this[e(540)][e(470)](e(624),this[e(653)](c,Number[e(744)]));const u=yt(a[e(767)](e(624)));this[e(471)][e(470)](e(624),u),this[e(639)][e(470)](e(624),this[e(653)](u));const l=Array[e(571)](this[e(471)])[e(632)](([t,e])=>[t,yt(e)]);this[e(591)](this[e(611)],l,this[e(638)],r)}[ft(626)](){const t=ft;this[t(573)](),this[t(580)]=-1,this[t(611)]=-1,this[t(594)][t(784)](),this[t(782)](this[t(727)])}[ft(591)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(470)](t,{start:e[n(762)][n(491)](),end:e[n(463)][n(491)](),rootName:e[n(545)][n(587)]});this[n(594)][n(470)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(582)](t){const e=ft;this[e(594)][e(613)](t)}[ft(573)](){const t=ft;this[t(745)][t(784)](),this[t(785)][t(784)](),this[t(775)][t(784)](),this[t(471)][t(784)](),this[t(674)][t(784)](),this[t(555)][t(784)](),this[t(604)][t(784)](),this[t(639)][t(784)](),this[t(540)][t(784)](),this[t(638)][t(784)](),this[t(698)]=1,this[t(495)]=this[t(698)]}[ft(653)](t,e=null){const i=ft;let s=null;t.is(i(667))||(s=new X.ModelElement(t[i(512)],{vid_start:null===e?this[i(698)]++:e++}));const n=[];for(const s of t[i(468)]())if(s.is(i(483))){n[i(746)](this[i(653)](s,e));const t=n[n[i(462)]-1];null!==e&&(e=t.is(i(483),i(542))?t[i(664)](i(630))+1:t[i(664)](i(548))+1)}else for(let t=0;t<s[i(758)];t++)n[i(746)](new X.ModelElement(i(542),{vid:null===e?this[i(698)]++:e++}));if(t.is(i(667))){const e=kt(t[i(587)]);return e[i(724)](0,n),e}return s[i(551)](i(548),null===e?this[i(698)]++:e++),s[i(724)](0,n),s}[ft(625)](t,e,i){const s=ft;this[s(573)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(594)][s(767)](t);this[s(555)]=new Map(n),this[s(604)]=new Map(R(o));for(const[t,e]of this[s(555)])if(s(624)!==t&&(this[s(471)][s(470)](t,yt(e)),this[s(674)]=new Map(R(o)),i)){const i=this[s(698)];this[s(639)][s(470)](t,this[s(653)](e)),this[s(540)][s(470)](t,this[s(653)](e,i))}this[s(495)]=this[s(698)],this[s(471)][s(470)](s(624),yt(this[s(555)][s(767)](s(624)))),i&&this[s(639)][s(470)](s(624),this[s(653)](this[s(555)][s(767)](s(624))));for(const[t,e]of r){const i=this[s(555)][s(767)](e[s(587)]),n=this[s(471)][s(767)](e[s(587)]),r=new X.ModelRange(this[s(556)](e[s(762)],i),this[s(556)](e[s(463)],i)),o=this[s(682)](r,n);i[s(768)][s(470)](t,r),this[s(638)][s(470)](t,o)}this[s(538)](t,e,i)}[ft(538)](t,e,i){const s=ft;for(const n of this[s(727)][s(567)](t,e))this[s(780)](n,i);for(const t of this[s(471)][s(576)]())t[s(768)][s(784)]();for(const[t,e]of this[s(638)])this[s(471)][s(767)](e[s(545)][s(587)])[s(768)][s(470)](t,e[s(491)]());const n=new Map,r=new Map;for(const[t,e]of this[s(471)])n[s(470)](t,yt(e)),r[s(470)](t,this[s(674)][s(767)](t));this[s(591)](e,n,this[s(638)],r)}[ft(658)](t){const e=ft,i=Array[e(571)](this[e(594)][e(699)]());i[e(603)]((t,e)=>t-e),i[e(668)]();for(const e of i)if(e<t)return e;return Number[e(744)]}[ft(660)](t,e){const i=ft,s=Array[i(571)](e[i(768)])[i(632)](([e,s])=>[e,this[i(682)](s,t)]);t[i(768)]=new Map(s)}[ft(473)](t){const e=ft;for(const i of this[e(638)][e(576)]()){const s=i[e(704)](t),n=X.ModelRange[e(619)](s);i[e(762)]=n[e(762)],i[e(463)]=n[e(463)]}}[ft(780)](t,e){const i=ft;if(i(733)!=t[i(650)]&&i(707)!=t[i(650)]){if(i(608)==t[i(650)]){const s=t[i(586)][i(545)][i(587)];this[i(471)][i(583)](s)||(this[i(471)][i(470)](s,kt(s,!0)),this[i(674)][i(470)](s,{}),e&&this[i(639)][i(470)](s,kt(s,!0)))}else{if(i(681)==t[i(650)]||i(683)==t[i(650)]||i(732)==t[i(650)])return void this[i(741)](t);i(673)==t[i(650)]&&this[i(622)](t)}if(i(673)!==t[i(650)]){const e=this[i(757)](t,this[i(471)]);e[i(550)](),this[i(473)](e)}if(e)switch(t[i(650)]){case i(608):this[i(763)](t);break;case i(730):case i(484):case i(517):this[i(606)](t);break;case i(750):this[i(527)](t);break;case i(635):this[i(769)](t)}}else this[i(676)](t,e)}[ft(757)](t,e){const i=ft,s=t[i(491)]();return s[i(522)]=t[i(522)],this[i(678)](s,e),s}[ft(705)](t){const e=ft;return t[e(632)](t=>{const i=e,s=this[i(563)](t);return Number(t[i(609)][i(664)](s))})}[ft(499)](t,e){const i=ft;if(t.is(i(483),i(542)))e[i(746)]({item:t,type:i(543)});else{t.is(i(483))&&e[i(746)]({item:t,type:i(596)});for(const s of t[i(468)]())this[i(499)](s,e);t.is(i(483))&&e[i(746)]({item:t,type:i(537)})}return e}[ft(474)](){const t=ft,e=new Map(this[t(745)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(555)][t(699)](),...this[t(471)][t(699)]()]);a[t(613)](t(624));for(const e of a){const i=this[t(471)][t(767)](e)||kt(e,!1),s=this[t(555)][t(767)](e)||kt(e,!1);i[t(666)]()||s[t(666)]()?(n[t(541)][e]=yt(i),n[t(467)][e]=yt(s),this[t(660)](n[t(467)][e],s),this[t(660)](n[t(541)][e],i),r[t(541)][e]=this[t(499)](this[t(639)][t(767)](e),[]),r[t(467)][e]=this[t(499)](this[t(540)][t(767)](e)||kt(e,!1),[])):a[t(613)](e)}for(const n of a){const o=r[t(541)][n];for(const n of o){const r=this[t(563)](n),o=n[t(609)][t(664)](r);i[t(613)](o),o>=this[t(495)]&&s[t(470)](o,e[t(767)](o))}}for(const n of a){const a=r[t(541)][n],c=this[t(705)](r[t(467)][n]);let u=0;for(const n of a){const r=this[t(563)](n),a=n[t(609)][t(664)](r);if(!s[t(583)](a)&&!o[t(583)](a))if(i[t(583)](a))u++;else{if(a!=c[u]){const s=e[t(767)](a)||e[t(767)](c[u]);for(;a!=c[u];)i[t(583)](c[u])||(o[t(470)](c[u],s),e[t(470)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(541)][e];for(const e of n){const n=this[t(563)](e),r=e[t(609)][t(664)](n);if(o[t(583)](r)){const e=o[t(767)](r);i[t(583)](r)||i[t(470)](r,{...e}),s[t(470)](r,{...e})}}}for(const e of i[t(699)]())e>=this[t(495)]&&i[t(613)](e);const c=new Map;for(const e of a){let n=r[t(541)][e];for(const e of n)if(e[t(609)].is(t(483),t(504))){const i=this[t(563)](e),n=e[t(609)][t(664)](i);if(s[t(583)](n)){const i=e[t(609)][t(618)][t(618)][t(664)](t(723)),r=c[t(767)](i)||new Set;r[t(684)](s[t(767)](n)[t(569)]),c[t(470)](i,r)}}n=r[t(467)][e];for(const e of n)if(e[t(609)].is(t(483),t(504))){const s=this[t(563)](e),n=e[t(609)][t(664)](s);if(i[t(583)](n)){const s=e[t(609)][t(618)][t(618)][t(664)](t(723)),r=c[t(767)](s)||new Set;r[t(684)](i[t(767)](n)[t(569)]),c[t(470)](s,r)}}for(const e of c[t(699)]())(s[t(583)](e)||i[t(583)](e))&&c[t(613)](e)}for(const e of a){const n=r[t(541)][e];let o=null,a=null;for(const e of n){const n=this[t(563)](e),r=e[t(609)][t(664)](n),u=c[t(767)](r);u&&t(596)==e[t(650)]&&(o=Array[t(571)](u)[0],a=e[t(609)][t(664)](t(548))),o&&(i[t(470)](r,{userId:o}),s[t(470)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(467)][e],a=n[t(541)][e];for(const{userId:e}of this[t(785)][t(576)]())null!==e&&l[t(684)](e);for(const{userId:e}of this[t(775)][t(576)]())null!==e&&l[t(684)](e);this[t(472)](a,r[t(541)][e],s,t(686),l),this[t(472)](o,r[t(467)][e],i,t(482),l),u[e]={insertions:this[t(689)](a),deletions:this[t(689)](o),attachChange:this[t(775)][t(767)](e)||null,attributesBefore:R(this[t(604)][t(767)](e))||{},attributesAfter:R(this[t(674)][t(767)](e))}}return{diffData:u,authorsIds:Array[t(571)](l)}}[ft(694)](t){const e=ft;for(const[,i]of t[e(768)]){const t=i[e(762)][e(529)]()[e(645)](t=>e(504)==t[e(512)]);for(const i of t)1==i[e(553)]&&i[e(574)](0).is(e(483),e(670))&&i[e(574)](0)[e(551)](e(610),!0)}}[ft(689)](t){const e=ft;this[e(694)](t);const i=this[e(725)][e(585)][e(552)](t,{}),s=Array[e(571)](i[e(468)]())[e(632)](t=>this[e(584)](t));return JSON[e(487)](s)}[ft(584)](t){const e=ft;if(t.is(e(542)))return t[e(585)];{const i=this[e(725)][e(680)][e(767)](e(661)),s=t,n=this[e(725)][e(585)][e(708)][e(766)],r={type:i[e(685)](s),name:s[e(512)],attributes:Array[e(571)](s[e(531)]()),children:Array[e(571)](s[e(468)]())[e(632)](t=>this[e(584)](t))};if(t.is(e(564))&&e(697)!=t[e(512)]){const i=t[e(751)](n[e(675)],n);r[e(485)][e(746)](i[e(547)])}else if(t.is(e(605))){const i=n[e(675)][e(476)](s[e(512)]);t[e(751)](i,n),r[e(485)][e(746)](i[e(493)])}const o=Array[e(571)](s[e(481)]());o[e(462)]>0&&(r[e(500)]=o);const a=s[e(558)]();return null!==a&&(r[e(702)]=a),r}}[ft(472)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(725)][r(557)];for(let s=0;s<e[r(462)];s++){const n=this[r(563)](e[s]),c=e[s][r(609)][r(664)](n),h=i[r(767)](c),d=s==e[r(462)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(569)]!=o[r(569)])&&(l(h,bt(a,t,u),bt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,bt(a,t,u),wt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(569)],d=l(687)+s+":"+h+":"+c++,f=u[l(628)](i,a);t[l(768)][l(470)](d,f),null!==h&&n[l(684)](h)}}[ft(563)](t){const e=ft;switch(t[e(650)]){case e(596):return e(723);case e(537):return e(548);default:return e(630)}}[ft(678)](t,e){const i=ft;t[i(593)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(767)](n[i(545)][i(587)]);t[s]=this[i(556)](n,r)}if(n instanceof X.ModelRange){const r=e[i(767)](n[i(545)][i(587)]);t[s]=this[i(682)](n,r)}i(545)===s&&(t[i(545)]=e[i(767)](t[i(545)][i(587)]))}}[ft(682)](t,e){const i=ft;return this[i(725)][i(557)][i(628)](this[i(556)](t[i(762)],e),this[i(556)](t[i(463)],e))}[ft(556)](t,e){const i=ft;return this[i(725)][i(557)][i(672)](e,t[i(519)],t[i(634)])}[ft(763)](t){const e=ft,i=this[e(639)][e(767)](t[e(586)][e(545)][e(587)]),s=this[e(556)](t[e(586)],i),n=null===t[e(522)]?null:t[e(522)]||this[e(725)][e(680)][e(767)](e(480)).me.id,r=s[e(618)],o=this[e(698)],a=[];for(const i of t[e(692)])if(i.is(e(483)))a[e(746)](this[e(653)](i));else for(let t=0;t<i[e(758)];t++)a[e(746)](new X.ModelElement(e(542),{vid:this[e(698)]++}));const c=this[e(698)];for(let t=o;t<c;t++)this[e(745)][e(470)](t,{userId:n});r[e(724)](s[e(592)],a)}[ft(606)](t){const e=ft;(t=this[e(757)](t,this[e(639)]))[e(550)]();const i=null===t[e(522)]?null:t[e(522)]||this[e(725)][e(680)][e(767)](e(480)).me.id,s=t[e(616)](),n=s[e(618)],r=s[e(592)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(574)](e);r.is(a(483),a(542))?s[a(470)](r[a(664)](a(630)),{userId:i}):(s[a(470)](r[a(664)](a(723)),{userId:i}),t(s,r,0,r[a(553)]),s[a(470)](r[a(664)](a(548)),{userId:i}))}}(this[e(745)],n,r,r+t[e(742)])}[ft(527)](t){const e=ft,i=null===(t=this[e(757)](t,this[e(639)]))[e(522)]?null:t[e(522)]||this[e(725)][e(680)][e(767)](e(480)).me.id,s=t[e(475)][e(618)],n=t[e(621)][e(618)],r=s[e(664)](e(548)),o=n[e(664)](e(723));s[e(551)](e(548),n[e(664)](e(548))),n[e(551)](e(548),r),this[e(745)][e(470)](o,{userId:i}),this[e(745)][e(470)](r,{userId:i}),t[e(550)]()}[ft(769)](t){const e=ft,i=null===(t=this[e(757)](t,this[e(639)]))[e(522)]?null:t[e(522)]||this[e(725)][e(680)][e(767)](e(480)).me.id,s=t[e(688)],n=t[e(691)][e(618)];t[e(550)]();const r=n[e(664)](e(548)),o=t[e(461)][e(477)];if(s){const t=o[e(664)](e(548)),s=n[e(664)](e(548));n[e(551)](e(548),t),o[e(551)](e(548),s),this[e(745)][e(470)](n[e(664)](e(548)),{userId:i}),this[e(745)][e(470)](o[e(664)](e(723)),{userId:i})}else{const t=this[e(698)]++,s=this[e(698)]++;n[e(551)](e(548),t),o[e(551)](e(723),s),o[e(551)](e(548),r),this[e(745)][e(470)](t,{userId:i}),this[e(745)][e(470)](s,{userId:i})}}[ft(622)](t){const e=ft;if(!t[e(781)])return;const i=(t=this[e(757)](t,this[e(471)]))[e(617)]?t[e(617)][e(545)]:null,s=t[e(479)]?t[e(479)][e(545)]:null;i&&this[e(638)][e(613)](t[e(512)]),s&&this[e(638)][e(470)](t[e(512)],t[e(479)][e(491)]());const n=null===t[e(522)]?null:t[e(522)]||this[e(725)][e(680)][e(767)](e(480)).me.id,r=t[e(512)];if(!this[e(785)][e(583)](r))return void this[e(785)][e(470)](r,{range:t[e(617)],userId:n});const o=this[e(785)][e(767)](r),a=o[e(717)],c=t[e(479)];null==a&&null==c||a&&c&&a[e(510)](c)?this[e(785)][e(613)](t[e(512)]):o[e(569)]=n}[ft(676)](t,e){const i=ft;this[i(471)][i(583)](t[i(587)])?this[i(471)][i(767)](t[i(587)])[i(623)]=t[i(521)]:(this[i(471)][i(470)](t[i(587)],kt(t[i(587)],!0)),this[i(674)][i(470)](t[i(587)],{}),e&&this[i(639)][i(470)](t[i(587)],kt(t[i(587)],!0)));const s=null===t[i(522)]?null:t[i(522)]||this[i(725)][i(680)][i(767)](i(480)).me.id,n=this[i(775)][i(767)](t[i(587)]);n&&n[i(569)]===s?this[i(775)][i(613)](t[i(587)]):this[i(775)][i(470)](t[i(587)],{userId:s,isAttached:t[i(521)]})}[ft(741)](t){const e=ft,i=this[e(674)][e(767)](t[e(545)][e(587)]);null===t[e(652)]?delete i[t[e(601)]]:i[t[e(601)]]=t[e(652)]}}function yt(t){const e=ft,i=kt(t[e(587)],t[e(666)]());for(const s of t[e(468)]()){const t=s[e(507)](!0);i[e(771)](t)}return i}function kt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(587)]=t,s[i(623)]=e,s[i(666)]=()=>s[i(623)],s}function bt(t,e,i){const s=ft,n=s(537)==t[s(650)]?i[s(776)](t[s(609)],s(463)):i[s(760)](t[s(609)]);return i[s(672)](e,n[s(519)],n[s(634)])}function wt(t,e,i){const s=ft,n=s(596)==t[s(650)]?i[s(776)](t[s(609)],0):i[s(615)](t[s(609)]);return i[s(672)](e,n[s(519)],n[s(634)])}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),Dt=i.n(Vt),Et=i(606),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=Tt(),Ct.insertStyleElement=Dt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(660),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=At().bind(null,"head"),jt.domAPI=Tt(),jt.insertStyleElement=Dt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;function Lt(){const t=["ck-revision-history-save-revision-form","focusTracker","focus","listenTo","value","revisionNameInputView","1568ioZfgO","keystrokes","extendTemplate","render","setTemplate","errorText","optional","stopPropagation","arrowup","ck-responsive-form","reset","label","7352DeXprz","Name of the revision","577254KiaTRC","set","revisionNameInputValue","initializeCssTransitionDisablerMixin","arrowleft","1676816yWZuBw","6233325gGjkcT","arrowdown","form","420jyusbW","trim","726tXZUOw","fieldView","arrowright","235143GQVjga","28986tsmoRL","add","_createRevisionNameInput","element","input","220","1406652eftPRd","revisionName","locale"];return(Lt=function(){return t})()}const Pt=Wt;function Wt(t,e){const i=Lt();return(Wt=function(t,e){return i[t-=377]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(683886===-parseInt(e(377))/1+parseInt(e(419))/2*(parseInt(e(388))/3)+-parseInt(e(398))/4+-parseInt(e(383))/5+parseInt(e(392))/6*(parseInt(e(407))/7)+-parseInt(e(382))/8+parseInt(e(391))/9*(parseInt(e(386))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(402)];[Pt(408)];[Pt(406)];constructor(e,i){const s=Pt;super(e),this[s(402)]=new t.FocusTracker,this[s(408)]=new t.KeystrokeHandler,this[s(378)](s(379),""),this[s(406)]=this[s(394)](i),this[s(411)]({tag:s(385),attributes:{class:["ck",s(401),s(416)],tabindex:"-1"},children:[this[s(406)]]}),this[s(380)]()}[Pt(410)](){const t=Pt;super[t(410)](),(0,It.submitHandler)({view:this}),this[t(402)][t(393)](this[t(406)][t(395)]),this[t(408)][t(404)](this[t(395)]);const e=e=>e[t(414)]();this[t(408)][t(378)](t(390),e),this[t(408)][t(378)](t(381),e),this[t(408)][t(378)](t(415),e),this[t(408)][t(378)](t(384),e)}[Pt(403)](){const t=Pt;this[t(406)][t(403)]()}get[Pt(399)](){const t=Pt;return this[t(406)][t(389)][t(395)][t(405)][t(387)]()}set[Pt(399)](t){const e=Pt;this[e(406)][e(389)][e(395)][e(405)]=t[e(387)]()}[Pt(417)](){const t=Pt;this[t(406)][t(389)][t(395)][t(405)]="",this[t(406)][t(412)]=null}[Pt(394)](t){const e=Pt,i=new It.LabeledFieldView(this[e(400)],It.createLabeledInputText),s=i[e(389)];s[e(409)]({attributes:{maxlength:e(397)}});let n=at(this[e(400)],e(420));return!t&&(n+=" ("+at(this[e(400)],e(413))+")"),i[e(418)]=n,s.on(e(396),()=>{const t=e;this[t(379)]=s[t(395)][t(405)][t(387)]()}),i}}const Ut=Ht;function Zt(){const t=["plugins","revisionNameInputView","revisionHistory","showRevisionViewerCallback","errorText","_registerMenuComponent","buttonView","addMany","_createSaveRevisionFormView","hide","Cancel","view","3337503KUxTCt","isReadOnly","get","Accept","isReady","8508249NLYbRl","21oNQwLP","submit","The revision name cannot be empty.","RevisionTracker","saveRevision","reset","revisionName","revisionHistory.requireRevisionName","Open revision history","411920wuXtEd","revisionSave","menu","menuitem","locale","init","RevisionHistoryUI","componentFactory","isOfficialPlugin","isOpen","menuBar:revisionHistory","Dialog","bind","children","requires","_showDialog","866390bKaVGk","ck-button-action","36xmJJSn","1505651wAnDqF","isEnabled","role","set","focus","editing","render","Save current revision","panelView","config","execute","add","isPremiumPlugin","_saveRevisionFormView","3903936BFMQWb","delegate","Revision history","55RafxsU","show","8vllBkx","pluginName","editor","1570ZDQJmP","items"];return(Zt=function(){return t})()}function Ht(t,e){const i=Zt();return(Ht=function(t,e){return i[t-=455]})(t,e)}!function(t){const e=Ht,i=t();for(;;)try{if(679498===-parseInt(e(504))/1*(-parseInt(e(484))/2)+-parseInt(e(498))/3+-parseInt(e(476))/4+parseInt(e(513))/5+-parseInt(e(461))/6*(-parseInt(e(462))/7)+-parseInt(e(481))/8*(-parseInt(e(503))/9)+-parseInt(e(459))/10*(-parseInt(e(479))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends J.Plugin{static get[Ut(482)](){return Ut(519)}static get[Ut(521)](){return!0}static get[Ut(474)](){return!0}static get[Ut(457)](){return[vt]}[Ut(475)];[Ut(518)](){const t=Ut,e=this[t(483)],i=e[t(486)][t(500)](t(507));e.ui[t(520)][t(473)](t(488),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(470)][n(456)],a=new It.ListView(s),c=new It.ListItemView(s),u=new It.ButtonView(s),l=new It.ListItemView(s),h=new It.ButtonView(s);return r[n(455)](n(463)).to(i,n(502),i,n(463),e,n(499),(t,e,i)=>t&&e&&!i),r[n(492)][n(465)]({icon:_t.IconHistory,label:at(s,n(478)),tooltip:!0}),u[n(465)]({label:at(s,n(469)),withText:!0,role:n(516)}),u[n(455)](n(463)).to(i,n(502),i,n(463),e,n(499),(t,e,i)=>t&&e&&!i),u.on(n(472),()=>this[n(458)]()),h[n(465)]({label:at(s,n(512)),withText:!0,role:n(516)}),h[n(455)](n(463)).to(i,n(502),e,n(499),(t,e)=>t&&!e),h.on(n(472),()=>{const t=n;e[t(471)][t(500)](t(488))[t(489)](),r[t(522)]=!1,e[t(467)][t(497)][t(466)]()}),c[n(456)][n(473)](u),l[n(456)][n(473)](h),a[n(464)]=n(515),a[n(485)][n(493)]([c,l]),o[n(473)](a),r}),e.ui[t(520)][t(473)](t(523),()=>this[t(491)]())}[Ut(491)](){const t=Ut,e=this[t(483)],i=e[t(517)],s=new It.MenuBarMenuView(i),n=new It.MenuBarMenuListView(i);s[t(492)][t(465)]({icon:_t.IconHistory,label:at(i,t(478))});const r=new It.MenuBarMenuListItemView(i,s),o=new It.MenuBarMenuListItemButtonView(i);o[t(465)]({label:at(i,t(469))}),o[t(477)](t(472)).to(s),o.on(t(472),()=>{this[t(458)]()}),r[t(456)][t(473)](o),n[t(485)][t(473)](r);const a=new It.MenuBarMenuListItemView(i,s),c=new It.MenuBarMenuListItemButtonView(i);return c[t(465)]({label:at(i,t(512))}),c[t(477)](t(472)).to(s),c.on(t(472),()=>{const i=t;e[i(471)][i(500)](i(488))[i(489)]()}),a[t(456)][t(473)](c),n[t(485)][t(473)](a),s[t(470)][t(456)][t(473)](n),s}[Ut(458)](){const t=Ut,e=this[t(483)],i=e[t(517)],s=e[t(486)][t(500)](t(524)),n=e[t(486)][t(500)](t(507));function r(n){const r=t;e[r(471)][r(500)](r(511))&&""===n[r(510)]?n[r(487)][r(490)]=at(i,r(506)):(e[r(486)][r(500)](vt)[r(508)]({name:n[r(510)]}),s[r(495)]())}this[t(475)]||(this[t(494)](),this[t(475)].on(t(505),()=>r(this[t(475)]))),this[t(475)][t(509)](),s[t(480)]({id:t(514),title:at(i,t(469)),isModal:!0,content:this[t(475)],actionButtons:[{label:at(e[t(517)],t(496)),withText:!0,onExecute:()=>s[t(495)]()},{label:at(e[t(517)],t(501)),class:t(460),withText:!0,onCreate(i){const s=t;i[s(455)](s(463)).to(n,s(502),n,s(463),e,s(499),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(475)])}]})}[Ut(494)](){const t=Ut,e=this[t(483)],i=e[t(517)];this[t(475)]=new zt(i,e[t(471)][t(500)](t(511))),this[t(475)][t(468)]()}}const $t=Yt;function Bt(){const t=["118623pKxKZy","22TZGYrs","10HfFFrA","focus","type","set","108LtiBng","element","583qYWHLD","_model","3472146whdxWg","43209gkOCWz","671796fwSiyp","ck-revision-change__","bindTemplate","name","changeId","isSuggestion","Suggested by","ck-revision-change","8615AnnsTc","setTemplate","Removed by","data","250644JdgcgG","Added by","ck-annotation","author","div","50248sewWUp","span","301SrEPVK","add","ck-revision-change__label"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=494]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(225989===parseInt(e(507))/1+parseInt(e(497))/2*(parseInt(e(496))/3)+parseInt(e(508))/4+parseInt(e(516))/5*(parseInt(e(502))/6)+-parseInt(e(527))/7*(-parseInt(e(525))/8)+parseInt(e(506))/9*(parseInt(e(498))/10)+-parseInt(e(504))/11*(parseInt(e(520))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Gt extends It.View{[$t(512)];[$t(505)];constructor(t,e){const i=$t;super(t),this[i(505)]=e,this[i(512)]=e.id;const s=this[i(510)],n=at(t,e[i(519)][i(513)]?i(514):i(494)==e[i(500)]?i(521):i(518));this[i(501)](i(500),e[i(500)]),this[i(517)]({tag:i(524),attributes:{class:[i(522),i(515),s.to(i(500),t=>i(509)+t)],tabindex:-1},children:[{tag:i(526),children:[{tag:i(526),attributes:{class:[i(495)]},children:[{text:n}]},{text:" "+e[i(523)][i(511)]}]}]})}[$t(499)](){const t=$t;this[t(503)][t(499)]()}}var Jt=Kt;function Kt(t,e){var i=Xt();return(Kt=function(t,e){return i[t-=159]})(t,e)}function Xt(){var t=["createdAt","rootName","data","1174452jObLjH","810535iOtoUQ","author","984384WVzzrZ","340280ySlQMT","7jyMXAx","209397PAEoON","20kTlXuH","type","1249672XMtAgG","toJSON","set","9LwlDMH","181635ItsIBU","2QphziR"];return(Xt=function(){return t})()}!function(t){for(var e=Kt,i=t();;)try{if(137025===-parseInt(e(165))/1+parseInt(e(173))/2*(parseInt(e(172))/3)+parseInt(e(162))/4+-parseInt(e(163))/5+parseInt(e(159))/6*(-parseInt(e(164))/7)+parseInt(e(168))/8*(parseInt(e(171))/9)+parseInt(e(166))/10*(parseInt(e(160))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Jt(161)];[Jt(167)];[Jt(176)];[Jt(175)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(161)]=e[i(161)],this[i(167)]=e[i(167)],this[i(176)]=e[i(176)]||{},this[i(175)]=e[i(175)],this[i(170)](i(174),e[i(174)])}[Jt(169)](){var t=Jt;return{id:this.id,authorId:this[t(161)].id,type:this[t(167)],data:this[t(176)],createdAt:this[t(174)]}}}function te(){const t=["2542413OGbrRx","_setChanges","1711260pMLNTW","oldRevisionId","6474348OCoTLT","5zHTlye","744923SOOyPQ","37833120fwdSds","12556215mfgbth","newRevisionId","6hsIDFk","349352SNzxmw","add","306viXDMh","changes"];return(te=function(){return t})()}const ee=ie;function ie(t,e){const i=te();return(ie=function(t,e){return i[t-=140]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(897548===parseInt(e(149))/1+-parseInt(e(145))/2+-parseInt(e(143))/3+-parseInt(e(147))/4*(parseInt(e(148))/5)+parseInt(e(153))/6*(-parseInt(e(151))/7)+-parseInt(e(154))/8*(-parseInt(e(141))/9)+parseInt(e(150))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class se{[ee(152)];[ee(146)];[ee(142)];constructor(e,i){const s=ee;this[s(152)]=e,this[s(146)]=i,this[s(142)]=new t.Collection}[ee(144)](t){const e=ee;for(const i of t)this[e(142)][e(140)](i)}}var ne=i(316),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=Tt(),re.insertStyleElement=Dt();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ae;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=419]})(t,e)}function ce(){const t=["removeClass","listenTo","_update","uiElement","domConverter","high","insertion","deletion","view","add","rootName","side","_getChangeFromId","getDomRoot","_fixObsoleteTags","parent","_removeMissingPairs","domEvent","_appendChild","_utils","forceDisabled","createRangeIn","_getDiff","_joinTapes","pop","findIndex","getLaterVisibleRevision","schema","ck-suggestion-preview-marker","mapper","comment","createRange","done","isObject","ck-suggestion-marker-","diff","markerNameToElements","getClientRects","removeMarker:revision","revision","startIndex","getCustomProperty","_changeView","RevisionHistoryUtils","wrap","getWalker","shift","_markInsertions","addHighlight","3005WRdZTB","isEnabled","10827033pqmgAH","level","showNextChange","index","_findChangeIdFromDomTarget","name","viewItem","top","authors","getAttributes","pairId","dataToMarker","string","detachRoot","change:activeView","map","_changeIdToChange","ck-revision-history-root--active","element","_sortAndFilterDiffChanges","-new","isBefore","showStack","nodeAfter","from","softBreak","attribute:vid","markerRange","addMarker:revision","isPremiumPlugin","removeAttribute","_activeViewTarget","getRevisionDocumentData","43919870qVShUe","loadRevisionData","left","_makeModelFromTape","removeMarker","affectsData","change:activeChange","forward","_setDistance","userId","model","elementStart","_getRevisionsRange","return","forEach","insertions","revisionHistoryLabel","distance","markerName","consumable","bindElementToMarker","POSITIVE_INFINITY","document","mapViewToDom","has","newRevisionId","clear","object","addMarker:revision-suggestion:deletion","selection","revisionHistoryAttachChange","isOfficialPlugin","catch","unshift","createRevision","includes","refresh","ck-suggestion-marker--active","next","previousPosition","activeChange","adapter","activeView","_initInteractions","keys","deletions","enableReadOnlyMode","plugins","8iOpjlW","nextPosition","revision:","revisionHistory","_getViewForChange","init","then","right","createAttributeElement","ck-revision-history-root-remove","change:isEnabled","endIndex","markerToData","numberOfChanges","end","requires","isReady","elementEnd","7157604wlidMA","markers","isAddSuggestion","restoreRevisionCallback","ck-revision-history-root-add","addMarker:revision-suggestion:insertion","getItems","editor","change","_processTape","for","WidgetToolbarRepository","2825757GpTjLx","editing","ck-editor__editable__overlay","enqueueChange","isAdded","revision-viewer","commands","_threeWayMerge","filter","code","_balloon","restoreRevision","offsetSize","_removeUnsupportedChanges","set","modelRange","slice","_setChanges","_makeTape","observeMarkers","locale","RevisionViewer","bind","ck-suggestion-marker","isContent","backward","type","concat","markerToHighlight","hasAttribute","change:numberOfChanges","vid_end","nextSibling","compare","isAfter","all","removeMarker:revision-suggestion","isEqual","ck-suggestion-preview-marker-","suggestion","range","isAttached","attributesBefore","pluginName","diffData","setAttribute","abs","isAtEnd","_data","values","getRootNames","isRemoveSuggestion","_cleanUp","isRemoved","isInline","isLimit","createPositionBefore","hasClass","ck-suggestion-marker-split","isAtStart","length","addRevision","_markSuggestions","oldRevisionId","attachChange","toViewElement","getRoot","maxOffset","vid_start","changeId","unbindElementFromMarkerName","indexOf","item","attributes","addClass","markersStart","markersEnd","getIndex","isBlock","span","getRevision","createUIElement","_cleanMarkers","test","sort","changes","find","execute","text","dataDowncast","stop","toViewRange","mouseover","highest","isIncorrect","revision-comment:","vid","push","start","addRoot","resolve","updatePosition","flat","low","conversion","insert","remove","_setConversion","repository","config","destroy","showPreviousChange","first","ck-suggestion-marker-merge","suggestion:","_revisions","split","isCollapsed","downcastDispatcher","RevisionsRepository","getRevisionRootsAttributes","mousedown","addRevisionData","_markMarkers","4868wMzqNA","get","change:isReady","getChild","revision-suggestion:","element:pre","roots","1240574tihtAN","upcast","createPositionFromPath","_step","writer","_refreshStartEndIndex","bottom","splice","editingDowncast","ck-revision-history-root-","isSuggestion","error","delete","consume","currentChangeNumber","isNavigationMode","checkAttribute","25119gqTjdr","reconvertMarker","startsWith","isOnRoot","_markMismatchedRemovedTags","target","data-change-id","_makeModelFromViewString","merge","data","getAttribute","attributesAfter","toViewPosition","revision-suggestion","elementToAttribute","158PdUWaB"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(795683===-parseInt(e(465))/1+parseInt(e(497))/2*(-parseInt(e(482))/3)+parseInt(e(458))/4*(parseInt(e(547))/5)+-parseInt(e(648))/6+-parseInt(e(549))/7*(parseInt(e(630))/8)+parseInt(e(660))/9+parseInt(e(582))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends J.Plugin{[oe(442)];[oe(623)]=null;[oe(517)];[oe(580)];[oe(540)];[oe(565)];[oe(670)];static get[oe(703)](){return oe(681)}static get[oe(613)](){return!0}static get[oe(578)](){return!0}static get[oe(645)](){return[K.Users,It.ContextualBalloon,it,rt]}constructor(t){const e=oe;super(t),this[e(442)]=this[e(655)][e(629)][e(459)](e(453)),this[e(517)]=this[e(655)][e(629)][e(459)](e(541)),this[e(674)](e(622),null),this[e(674)](e(624),null),this[e(580)]=null,this[e(674)](e(533),null),this[e(674)](e(646),!1),this[e(674)](e(548),!0),this.on(e(640),(t,i,s)=>{const n=e;this[n(622)]=null,this[n(624)]=null,this[n(655)][n(661)][n(506)][n(656)](t=>{const e=n;for(const i of this[e(655)][e(661)][e(506)][e(604)][e(464)])s?t[e(498)](e(662),i):t[e(734)](e(662),i)})}),this[e(682)](e(480)).to(this,e(622),t=>null!==t),this[e(682)](e(479)).to(this,e(646),this,e(533),this,e(622),(t,i,s)=>t&&s?i[e(419)][e(737)](s):0),this[e(682)](e(643)).to(this,e(646),this,e(533),(t,i)=>t?i[e(419)][e(720)]:0),this[e(540)]=null,this[e(565)]=new Map,this[e(670)]=this[e(655)][e(629)][e(459)](It.ContextualBalloon)}[oe(635)](){const t=oe,e=this[t(655)],i=new de(e,{direction:t(685)}),s=new de(e,{direction:t(589)});e[t(666)][t(507)](t(445),i),e[t(666)][t(507)](t(551),s),e[t(666)][t(507)](t(671),new he(e)),this.on(t(690),()=>{const e=t;i[e(618)](),s[e(618)]()}),this[t(441)](),this[t(625)](),e[t(628)](t(665)),e[t(629)][t(606)](t(659))&&e[t(629)][t(459)](t(659))[t(518)](t(665))}async[oe(581)](t){const e=oe;return await this[e(517)][e(583)](t,this[e(623)]),this[e(517)][e(581)](t)}async[oe(454)](t){const e=oe;return await this[e(517)][e(583)](t,this[e(623)]),this[e(517)][e(454)](t)}async[oe(693)](t,e,i=!1){const s=oe;if(!this[s(548)])return;const n=this[s(533)],r=this[s(442)],o=s(561)==typeof t?r[s(740)](t):t,a=s(561)==typeof e?r[s(740)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(533)]&&this[s(533)][s(607)]===c&&this[s(533)][s(723)]===u)return Promise[s(434)]();this[s(646)]=!1,this[s(624)]=null,this[s(622)]=null,this[s(533)]=new se(c,u);const l=this[s(594)](o,a,!0)[s(564)](t=>this[s(517)][s(583)](t,this[s(623)]));return l[s(431)](new Promise(t=>{setTimeout(t,20)})),Promise[s(695)](l)[s(636)](()=>{const t=s;if(!this[t(548)])return;this[t(712)]();const e=this[t(520)](c,u);for(const i of e[t(419)])this[t(565)][t(674)](i.id,i);this[t(655)][t(592)][t(663)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(655)][s(592)][s(604)][s(710)]())i[s(562)](t);for(const t of Object[s(626)](e[s(592)])){const n=i[s(433)](t);for(const r of Object[s(626)](e[s(733)][t]))i[s(705)](r,e[s(733)][t][r],n);i[s(439)](e[s(592)][t],n,0)}}),this[t(533)][t(677)](this[t(568)](e[t(419)])),this[t(646)]=!0})[s(614)](t=>{const e=s;console[e(476)](t),this[e(712)](),n&&(this[e(533)]=n),this[e(646)]=!0})}[oe(456)](t,e){const i=oe,s=this[i(442)][i(616)](t);return s.on(i(500),(t,i,n)=>e(i,n,s)),this[i(442)][i(721)](s),s}[oe(712)](){const t=oe;this[t(622)]=null,this[t(742)](),this[t(540)]&&this[t(540)][t(444)](),this[t(540)]=null,this[t(565)][t(608)](),this[t(655)][t(592)][t(663)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(655)][i(592)][i(604)][i(710)]())e[i(562)](t)})}[oe(568)](t){const e=oe,i=[],s=new Map;for(const t of this[e(655)][e(592)][e(604)][e(710)]()){const n=this[e(655)][e(661)][e(506)][e(511)](t);if(!n)continue;const r=n[e(535)]()[e(732)](0);r&&(i[e(431)](t),s[e(674)](t,r))}return i[e(744)]((t,i)=>{const n=e,r=s[n(459)](t),o=s[n(459)](i);return r.y-o.y||r.x-o.x}),(t=t[e(668)](t=>i[e(617)](t[e(508)])))[e(744)]((t,s)=>i[e(731)](t[e(508)])-i[e(731)](s[e(508)])),t}[oe(678)](t){const e=oe,i=Array[e(573)](t[e(649)])[e(668)](([t,i])=>t[e(484)](e(632))&&!i[e(451)]),s=Array[e(573)](this[e(655)][e(592)][e(519)](t)[e(543)]({singleCharacters:!0}));if(0!=i[e(720)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(450)](":");if(n[e(644)][e(697)](t[e(631)])&&i[e(544)](),(t[e(621)][e(697)](n[e(432)])||t[e(621)][e(694)](n[e(432)]))&&(e(504)==r?t[e(664)]={userId:o}:e(505)==r&&(t[e(713)]={userId:o})),0==i[e(720)])break}return s}[oe(470)](t){const e=oe,i=new Map;for(let s=0;s<t[e(720)];s++)e(422)===t[s][e(686)]?(t[s][e(732)][e(538)]=s,t[s][e(732)][e(641)]=s):(e(593)===t[s][e(686)]?t[s][e(732)][e(538)]=s:e(647)===t[s][e(686)]&&(t[s][e(732)][e(641)]=s),i[e(674)](t[s].id,s));for(const s of i[e(709)]())e(593)===t[s][e(686)]?t[s][e(732)][e(641)]=i[e(459)](t[s][e(559)]):e(647)===t[s][e(686)]&&(t[s][e(732)][e(538)]=i[e(459)](t[s][e(559)]))}[oe(657)](t){const e=oe;for(let i=0;i<t[e(720)];i++){if(e(593)===t[i][e(686)])t[i][e(732)][e(538)]=i;else if(e(647)===t[i][e(686)]){t[i][e(732)][e(641)]=i;const s=t[i][e(732)][e(538)];t[s][e(559)]=t[i].id,t[i][e(559)]=t[s].id}else t[i][e(732)][e(538)]=i,t[i][e(732)][e(641)]=i,t[i][e(559)]=null;t[i][e(735)]||(t[i][e(735)]=[],t[i][e(736)]=[])}}[oe(545)](t,e){const i=oe,s=t[i(668)](t=>!t[i(664)]);for(let t=0;t<e[i(720)];t++)e[t][i(664)]&&(s[t][i(664)]=e[t][i(664)])}[oe(520)](t,e=null){const i=oe,s=this[i(442)][i(740)](t),n=e?this[i(442)][i(740)](e):null,r=this[i(594)](s,n),o=r[r[i(720)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(720)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(626)](e[i(704)]))if(e[i(704)][t][i(724)]){const s=e[i(704)][t][i(724)];s[i(701)]?(u[i(507)](t),l[i(606)](t)&&l[i(459)](t)[i(591)]==s[i(591)]?l[i(477)](t):l[i(674)](t,s)):l[i(606)](t)?(u[i(477)](t),l[i(477)](t)):(u[i(507)](t),l[i(674)](t,s))}else u[i(507)](t)}for(const t of u){const e=l[i(606)](t)&&!l[i(459)](t)[i(701)];let s=e?r[i(720)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(704)][t]){const s=e?o[i(704)][t][i(702)]:o[i(704)][t][i(493)];c[i(733)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(592)]={};for(const e of t[i(557)])a[i(674)](e.id,e);for(const e of u){const s=t[i(704)][e]?t[i(704)][e][i(597)]:"[]",n=t[i(704)][e]?t[i(704)][e][i(627)]:"[]";t[i(592)][e]={insertions:this[i(517)][i(489)](s),deletions:this[i(517)][i(489)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(573)](s[i(592)][t][i(597)][i(649)])[i(668)](([t])=>!t[i(484)](i(632))));let h=0;for(const o of r){const r=this[i(678)](o[i(592)][t][i(597)]);o==s?(e=r,n=e[i(720)],e[i(596)](t=>{t.id=h++}),this[i(657)](e)):this[i(545)](e,r);const a=e[i(668)](t=>!t[i(664)])[i(564)](t=>t.id);let c=0;const l=this[i(678)](o[i(592)][t][i(627)]);l[i(596)](t=>{t[i(713)]?t.id=n++:t.id=a[c++]}),this[i(657)](l),this[i(590)](e,i(664)),this[i(590)](l,i(713)),o==s&&this[i(457)](e,u),e=this[i(521)](e,l),this[i(470)](e),this[i(590)](e,i(713))}e=e[i(668)](t=>!(t[i(664)]&&t[i(713)]));const d=new Map(o[i(592)][t][i(627)][i(649)]),f=new Set(u[i(626)]());for(const t of d[i(626)]())f[i(477)](t);this[i(722)](e,f),this[i(512)](e),e=this[i(514)](e),e=this[i(486)](e),e=this[i(673)](e);const{root:m,changes:p}=this[i(585)](e,a,t);c[i(592)][t]=m;const v=l[i(459)](t);if(v){const e=a[i(459)](v[i(591)]),s=new Qt({author:e,type:v[i(701)]?i(507):i(440),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(615)](s),c[i(733)][t][i(612)]=s.id}c[i(419)]=c[i(419)][i(687)](p)}return c}[oe(457)](t,e){const i=oe;for(let s=0;s<t[i(720)];s++)for(const[n,r]of e)!r[i(451)]&&r[i(432)][i(697)](t[s][i(621)])&&t[s][i(735)][i(431)](n),r[i(644)][i(697)](t[s][i(631)])&&t[s][i(736)][i(431)](n)}[oe(521)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(720)]||r<e[i(720)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(431)](o);else if(a[i(713)]&&o[i(664)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(667)](t,n,e,r);s=s[i(687)](o),n=a,r=c}else a[i(713)]?(r++,s[i(431)](a)):(n++,s[i(431)](o))}return s}[oe(722)](t,e){const i=oe,s=[];for(let o=0;o<t[i(720)];o++){for(let r=0;r<t[o][i(735)][i(720)];r++){const a=t[o][i(735)][r];if(!e[i(606)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(495)!=c||i(504)!=u&&i(505)!=u||(s[i(615)]({type:u,name:a,userId:l}),t[o][i(735)][i(472)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(736)][i(720)];r++){const a=t[o][i(736)][r];if(!e[i(606)](a))continue;const{group:c,type:u}=n(a);if(i(495)!=c||i(504)!=u&&i(505)!=u)continue;t[o][i(736)][i(472)](r,1),r--;const l=s[i(523)](t=>t[i(554)]==a);l>-1&&s[i(472)](l,1)}}function n(t){const e=i,s=t[e(450)](":");return{group:s[0],type:s[1],subType:s[e(720)]>=5?s[2]:null,id:s[e(720)]<5?s[2]:s[3],authorId:s[e(720)]<5?s[3]:s[4],markerCount:6==s[e(720)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(720)];i++){if(t[e(664)]&&e(504)==s[i][e(686)]&&t[e(664)][e(591)]==s[i][e(591)])return t[e(650)]=s[i],void delete t[e(664)];if(!t[e(664)]&&!t[e(713)]&&e(505)==s[i][e(686)])return void(t[e(711)]=s[i])}}}[oe(590)](t,e){const i=oe;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(674)](o.id,s);for(let s=0;s<t[i(720)];s++){if(i(713)==e&&t[s][i(664)]||i(664)==e&&t[s][i(713)])continue;if(i(422)==t[s][i(686)]){t[s][i(599)]=0;continue}const n=r[i(459)](t[s][i(559)]),o=r[i(459)](t[s].id);t[s][i(599)]=n-o}}[oe(594)](t,e,i=!1){const s=oe,n=[];let r=this[s(442)][s(737)](t),o=this[s(442)][s(737)](e);for(-1==o&&(o=this[s(442)][s(449)][s(720)],i=!1);r<o;)n[s(431)](this[s(442)][s(740)](r)),r++;return i&&n[s(431)](this[s(442)][s(740)](r)),n}[oe(667)](t,e,i,s){const n=oe,r=this[n(655)][n(592)][n(525)];let o=e;for(;t[o]&&t[o][n(664)];)o++;let a=s;for(;i[a]&&i[a][n(713)];)a++;u(t,e,o),u(i,s,a);const c=i[n(676)](s,a)[n(687)](t[n(676)](e,o));return c[n(744)]((t,e)=>t[n(509)]!=e[n(509)]?t[n(509)]-e[n(509)]:t[n(550)]!=e[n(550)]?t[n(550)]-e[n(550)]:t[n(599)]!=e[n(599)]?e[n(599)]-t[n(599)]:!!t[n(664)]!=!!e[n(664)]?-1==t[n(509)]||0==t[n(509)]?t[n(664)]?-1:1:t[n(664)]?1:-1:t[n(552)]-e[n(552)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(603)],c=!0;for(let n=e;n<i;n++)if(r[s(714)](t[n][s(732)])||(c=!1),t[n][s(732)][s(538)]<e&&(o=n),t[n][s(732)][s(641)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(509)]=n<=o?-1:n<a?0:1,t[n][s(552)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(599)]?t[i][s(550)]=u:(u++,t[i][s(550)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(509)]&&(t[n][s(550)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(599)]?t[e][s(550)]=u:(u--,t[e][s(550)]=u,u--)}}[oe(512)](t){const e=oe,i=new Map,s=this[e(655)][e(592)][e(525)];for(let n=1;n<t[e(720)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(422)==c[e(686)])continue;if(c[e(686)]!=u[e(686)])continue;if(!s[e(738)](u[e(732)])||s[e(715)](u[e(732)]))continue;if(!s[e(738)](c[e(732)])||s[e(715)](c[e(732)]))continue;if((t[n][e(664)]||t[n][e(650)])&&t[n-1][e(713)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(713)]||!t[n-1][e(664)]&&!t[n-1][e(650)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(550)]==o[e(550)],h=Math[e(706)](r[e(550)])<Math[e(706)](o[e(550)])&&0==o[e(599)];(l||h)&&(i[e(674)](o.id,r.id),t[e(472)](a,1),n--,r[e(664)]=!1)}for(let s=0;s<t[e(720)];s++)i[e(606)](t[s][e(559)])&&(t[s][e(559)]=i[e(459)](t[s][e(559)]))}[oe(514)](t){const e=oe,i=new Set(t[e(564)](t=>t.id));for(let s=0;s<t[e(720)];s++)i[e(606)](t[s][e(559)])||0==t[s][e(599)]||(t[s][e(428)]=!0);return t[e(668)](t=>!t[e(428)])}[oe(486)](t){const e=oe,i=new Set;for(let s=0;s<t[e(720)];s++){if(i[e(606)](t[s].id)&&t[s][e(713)]&&(t[s][e(428)]=!0),t[s][e(428)])continue;if(0==t[s][e(599)])continue;if(e(593)!=t[s][e(686)])continue;if(null==t[s][e(559)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(559)];)e(593)==t[n][e(686)]?r++:e(647)==t[n][e(686)]&&r--,n++;if(0!=r)if(t[s][e(713)])t[s][e(428)]=!0;else for(;n!=s;)t[n][e(713)]&&0!=t[n][e(599)]&&(t[n][e(428)]=!0,i[e(507)](t[n][e(559)])),n--}return t[e(668)](t=>!t[e(428)])}[oe(673)](t){const e=oe,i=this[e(655)][e(592)][e(525)];for(let s=0;s<t[e(720)];s++){if(!(t[s][e(664)]||t[s][e(650)]||t[s][e(713)]||t[s][e(711)]))continue;if(0==t[s][e(599)])continue;const n=t[s][e(732)];i[e(738)](n)||i[e(715)](n)||(t[s][e(664)]&&delete t[s][e(664)],t[s][e(650)]&&delete t[s][e(650)],t[s][e(711)]&&delete t[s][e(711)],t[s][e(713)]&&(t[s][e(428)]=!0))}return t[e(668)](t=>!t[e(428)])}[oe(585)](t,e,i){const s=oe,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(655)][s(592)],c=a[s(525)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(720)];e++)if(s(593)===t[e][s(686)]){t[e][s(621)]=a[s(467)](n,f);const i=new X.ModelElement(t[e][s(732)][s(554)],t[e][s(732)][s(558)]());u[0][s(516)](i),f[s(431)](0),u[s(615)](i),t[e][s(631)]=a[s(467)](n,f)}else s(647)===t[e][s(686)]?(u[s(544)](),t[e][s(621)]=a[s(467)](n,f),f[s(522)](),f[f[s(720)]-1]++,t[e][s(631)]=a[s(467)](n,f)):(t[e][s(621)]=a[s(467)](n,f),d?d[s(708)]+=t[e][s(732)][s(491)]:d=new X.ModelText(t[e][s(732)][s(491)],t[e][s(732)][s(558)]()),t[e+1]&&s(422)===t[e+1][s(686)]&&v(d,t[e+1][s(732)])||(u[0][s(516)](d),d=null),f[f[s(720)]-1]+=t[e][s(732)][s(672)],t[e][s(631)]=a[s(467)](n,f));for(let e=0;e<t[s(720)];e++){const i=t[e][s(621)],n=t[e][s(631)];for(const n of t[e][s(735)])o[s(674)](n,{start:i,end:null});m(s(711),e,i,n),m(s(650),e,i,n),m(s(713),e,i,n),m(s(664),e,i,n);for(const i of t[e][s(736)]){const t=o[s(459)](i);t?t[s(644)]=n:o[s(674)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(655)][s(592)][s(529)](e[s(432)],e[s(644)]);n[s(649)][s(674)](t,i)}return r[s(744)]((t,e)=>{const i=s,r=n[i(649)][i(459)](i(632)+t.id),o=n[i(649)][i(459)](i(632)+e.id);return r[i(432)][i(570)](o[i(432)])?-1:r[i(432)][i(694)](o[i(432)])?1:r[i(644)][i(570)](o[i(644)])?-1:r[i(644)][i(694)](o[i(644)])?1:i(507)===t[i(686)]?-1:1}),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(591)]:null,d=i===t[o(720)]-1,f=h[e][0],m=c[o(531)](t[i][o(732)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(644)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(591)]!==u&&(l[e][o(644)]=n,f&&f[o(591)]===l[e][o(591)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(593)!==t[i][o(686)]||f&&f[o(591)]===u||h[e][o(615)]({userId:u,object:t[i][o(732)],change:l[e]}),o(647)===t[i][o(686)]&&f&&f[o(609)]===t[i][o(732)]&&(h[e][o(544)](),l[e]=f[o(656)])),l[e]&&d&&(l[e][o(644)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(732)],f=a[h(525)][h(738)](d)&&!a[h(525)][h(715)](d),m=t[h(572)]==o[h(513)]&&o[h(719)];if(f&&m)return;const p=a[h(529)](t,o),v=e[h(459)](u),g=new Qt({author:v,type:h(664)==l||h(650)==l?h(507):h(440),data:{isSuggestion:h(650)==l||h(711)==l},createdAt:new Date,rootName:i});r[h(431)](g),n[h(649)][h(674)](h(632)+g.id,p)}function v(t,e){const i=s,n=t[i(558)](),r=e[i(558)]();for(const t of n){if(t[1]!==e[i(492)](t[0]))return!1;r[i(620)]()}return r[i(620)]()[i(530)]}}[oe(441)](){const t=oe;this[t(655)][t(438)][t(658)](t(466))[t(560)]({view:t(537)}),this[t(655)][t(438)][t(658)](t(473))[t(688)]({model:t(537),view:e=>{const i=t,s=e[i(600)][i(450)](":")[1],n=this[i(510)](s);if(!n)return null;const r=i(507)==n[i(686)]?i(504):i(505),o=[i(683),i(532)+r];return n[i(491)][i(475)]&&o[i(431)](i(532)+r+i(569)),this[i(622)]==n&&o[i(431)](i(619)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(655)][t(438)][t(658)](t(466))[t(507)](e=>{const i=t;e.on(i(463),(t,e,s)=>{const n=i,r=e[n(555)][n(461)](0);if(!r||!r.is(n(567),n(669)))return;if(!s[n(601)][n(478)](r,{attributes:[n(728),n(691)]}))return;const o=e[n(675)][n(432)][n(572)];s[n(469)][n(705)](n(728),r[n(492)](n(728)),o),s[n(469)][n(705)](n(691),r[n(492)](n(691)),o)},{priority:i(437)})}),this[t(655)][t(438)][t(658)](t(466))[t(507)](e=>{const i=t;e.on(i(567),(t,e,s)=>{const n=i;if(!s[n(601)][n(478)](e[n(555)],{attributes:[n(728),n(691)]}))return;if(e[n(675)][n(451)])return;const r=e[n(675)][n(432)][n(572)];r[n(689)](n(728))||r[n(689)](n(430))||(s[n(469)][n(705)](n(728),e[n(555)][n(492)](n(728)),r),s[n(469)][n(705)](n(691),e[n(555)][n(492)](n(691)),r))},{priority:i(437)})}),this[t(655)][t(438)][t(658)](t(466))[t(496)]({view:{name:t(739),attributes:{vid:!0}},model:{key:t(430),value:e=>e[t(492)](t(430))}}),this[t(655)][t(592)][t(525)].on(t(481),(e,[,i])=>{const s=t;[s(728),s(691),s(430)][s(617)](i)&&(e[s(595)]=!0,e[s(424)]())},{priority:t(427)}),this[t(655)][t(438)][t(658)](t(423))[t(507)](e=>{const i=t;e.on(i(575),(t,e,s)=>{const n=i;if(" "!=e[n(732)][n(491)]||e[n(732)][n(513)][n(727)]>1)return;if(!s[n(601)][n(478)](e[n(732)],t[n(554)]))return;const r=s[n(469)],o=s[n(527)][n(425)](e[n(700)]);r[n(542)](o,r[n(638)](n(739)))})}),this[t(655)][t(438)][t(658)](t(423))[t(642)]({model:t(537)}),this[t(655)][t(661)][t(452)].on(t(577),function(e){const i=t,s=e[i(629)][i(459)](i(681));return(t,n,r)=>{const o=i,a=n[o(600)][o(450)](":")[1],c=s[o(510)](a);if(!c)return null;const u=o(507)==c[o(686)]?o(450):o(490);if(!r[o(601)][o(743)](n[o(576)],t[o(554)]))return;const l=n[o(576)][o(543)](),h=n[o(576)][o(432)],d=e[o(592)][o(525)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(732)];p=p||d[o(684)](e);const i=r[o(527)][o(725)](e);if(i&&i[o(539)](o(546)))return;o(647)==t[o(686)]&&d[o(738)](e)&&!d[o(715)](e)&&(e[o(692)]||h[o(707)]?f&&f[o(513)]==e||(f=e,g(t[o(621)]),v=!0):m=m||t[o(621)])}function g(t){const e=o,i=r[e(469)][e(741)](e(739),{class:e(532)+u}),a=r[e(527)][e(494)](t);c[e(491)][e(475)]&&r[e(469)][e(734)](e(532)+u+e(569),i),s[e(622)]==c&&r[e(469)][e(734)](e(619),i),r[e(469)][e(439)](a,i),r[e(527)][e(602)](i,n[e(600)])}p||v||!m||g(m)}}(this[t(655)]),{priority:t(503)}),this[t(655)][t(661)][t(452)].on(t(536),(e,i,s)=>{const n=t,r=s[n(527)][n(534)](i[n(600)]);if(r)for(const t of r)(t[n(717)](n(718))||t[n(717)](n(447)))&&(s[n(527)][n(730)](t,i[n(600)]),s[n(469)][n(440)](t))},{priority:t(503)}),this[t(655)][t(661)][t(452)].on(t(577),(e,i,s)=>{const n=t,r=i[n(600)][n(450)](":")[1],o=this[n(510)](r);if(!o)return null;const a=n(507)==o[n(686)]?n(450):n(490);if(s[n(601)][n(743)](i[n(576)],e[n(554)]))for(const t of i[n(576)][n(654)]()){if(!t.is(n(567),n(574)))continue;const e=s[n(469)][n(741)](n(739),{class:n(532)+a}),r=s[n(527)][n(494)](this[n(655)][n(592)][n(716)](t));o[n(491)][n(475)]&&s[n(469)][n(734)](n(532)+a+n(569),e),this[n(622)]==o&&s[n(469)][n(734)](n(619),e),s[n(469)][n(439)](r,e),s[n(527)][n(602)](e,i[n(600)])}},{priority:t(503)}),this[t(655)][t(592)][t(604)].on(t(656),()=>{const e=t;this[e(655)][e(661)][e(506)][e(656)](t=>{const i=e;for(const e of this[i(655)][i(592)][i(604)][i(710)]()){const s=this[i(655)][i(592)][i(604)][i(726)](e),n=this[i(655)][i(661)][i(506)][i(604)][i(726)](e);if(n){const e=s[i(492)](i(612));if(t[i(579)](i(488),n),t[i(498)](i(652),n),t[i(498)](i(639),n),t[i(498)](i(566),n),e){const s=this[i(510)](e);if(!s)return null;t[i(705)](i(488),e,n),t[i(734)](i(474)+s[i(686)],n),this[i(622)]==s&&t[i(734)](i(566),n)}}}})}),this[t(655)][t(438)][t(658)](t(466))[t(560)]({view:t(528),model:e=>t(429)+e,converterPriority:t(427)}),this[t(655)][t(438)][t(658)](t(466))[t(560)]({view:t(699),model:e=>t(462)+e,converterPriority:t(427)}),this[t(655)][t(438)][t(658)](t(423))[t(642)]({model:t(495),view:e=>({name:t(448)+e,group:t(495)}),converterPriority:t(427)}),this[t(655)][t(438)][t(658)](t(473))[t(688)]({model:t(495),view:e=>{const i=t,s=e[i(600)][i(450)](":")[1];return i(504)!=s&&i(505)!=s?null:{classes:[i(526),i(698)+s]}}}),this[t(655)][t(661)][t(452)].on(t(610),le(this[t(655)],t(490)),{priority:t(503)}),this[t(655)][t(661)][t(452)].on(t(653),le(this[t(655)],t(450)),{priority:t(503)}),this[t(655)][t(661)][t(452)].on(t(696),(e,i,s)=>{const n=t,r=s[n(527)][n(534)](i[n(600)]);if(r)for(const t of r)t.is(n(501))&&(s[n(527)][n(730)](t,i[n(600)]),s[n(469)][n(440)](t))},{priority:t(503)})}[oe(510)](t){const e=oe;return this[e(565)][e(459)](t)}[oe(634)](t){const e=oe;return this[e(540)]&&this[e(540)][e(444)](),this[e(540)]=new Gt(this[e(655)][e(680)],t),this[e(540)]}[oe(625)](){const t=oe;this[t(655)][t(592)][t(604)][t(611)][t(679)](t(537)),this.on(t(563),(e,i,s,n)=>{const r=t;n&&this[r(670)][r(440)](n),s&&(this[r(670)][r(507)]({view:s,stackId:r(598),position:{target:()=>{const t=r,e=this[t(655)][t(661)],i=this[t(510)](s[t(729)]);let n;if(i[t(491)][t(485)]){const s=e[t(506)][t(511)](i[t(508)]);n=Array[t(573)](s[t(535)]())}else{const i=this[t(655)][t(592)][t(649)][t(459)](t(632)+s[t(729)]);n=Array[t(573)](e[t(527)][t(534)](i[t(554)]))[t(564)](i=>e[t(506)][t(502)][t(605)](i))[t(564)](e=>Array[t(573)](e[t(535)]()))[t(436)]()}return this[t(580)]&&n[t(420)](e=>e[t(556)]-3<=this[t(580)].y&&e[t(471)]+3>=this[t(580)].y&&e[t(584)]-3<=this[t(580)].x&&e[t(637)]+3>=this[t(580)].x)||n[0]}}}),this[r(670)][r(571)](r(598)))}),this.on(t(588),(e,i,s,n)=>{const r=t;this[r(624)]=s?this[r(634)](s):null,this[r(655)][r(592)][r(656)](()=>{const t=r,e=this[t(655)][t(661)];n&&(n[t(491)][t(485)]?e[t(506)][t(656)](i=>{const s=t;i[s(498)](s(566),e[s(506)][s(604)][s(726)](n[s(508)]))}):e[t(483)](t(632)+n.id)),s&&(s[t(491)][t(485)]?e[t(506)][t(656)](i=>{const n=t;i[n(734)](n(566),e[n(506)][n(604)][n(726)](s[n(508)]))}):e[t(483)](t(632)+s.id))})}),this[t(499)](this[t(655)][t(661)][t(506)][t(604)],t(426),(e,i)=>{const s=t;if(this[s(622)])return;const n=this[s(553)](i[s(487)]),r=this[s(565)][s(459)](n);r?(this[s(580)]={x:i[s(515)].x,y:i[s(515)].y},this[s(624)]=this[s(634)](r)):(this[s(580)]=null,this[s(624)]=null)}),this[t(499)](this[t(655)][t(661)][t(506)][t(604)],t(455),(e,i)=>{const s=t,n=this[s(553)](i[s(487)]),r=this[s(565)][s(459)](n);r?(this[s(580)]={x:i[s(515)].x,y:i[s(515)].y},r===this[s(622)]?this[s(670)][s(435)]():this[s(622)]=r):(this[s(580)]=null,this[s(622)]=null)})}[oe(553)](t){const e=oe;do{const i=t[e(492)](e(488));if(i)return i;t=t[e(513)]}while(t);return null}[oe(742)](){const t=oe;this[t(655)][t(592)][t(656)](e=>{const i=t;for(const t of this[i(655)][i(592)][i(649)])e[i(586)](t)})}}function le(t,e){return(i,s,n)=>{const r=ae;if(!n[r(601)][r(743)](s[r(576)],i[r(554)]))return;const o=s[r(576)][r(543)](),a=s[r(576)][r(432)],c=t[r(592)][r(525)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(732)];h=h||c[r(684)](e);const i=n[r(527)][r(725)](e);if(i&&i[r(539)](r(546)))return;r(647)==t[r(686)]&&c[r(738)](e)&&!c[r(715)](e)&&(e[r(692)]||a[r(707)]?u&&u[r(513)]==e||(u=e,f(t[r(621)]),d=!0):l=l||t[r(621)])}function f(t){const i=r,o=n[i(527)][i(494)](t),a=n[i(469)][i(741)](i(739),{class:i(698)+e});n[i(469)][i(439)](o,a),n[i(527)][i(602)](a,s[i(600)])}h||d||!l||f(l)}}class he extends J.Command{constructor(t){const e=oe;super(t);const i=t[e(629)][e(459)](ue);this[e(587)]=!1,this[e(499)](i,e(460),()=>this[e(618)]()),this[e(499)](i,e(640),()=>this[e(618)]())}[oe(421)](){const t=oe,e=this[t(655)],i=e[t(629)][t(459)](ue),s=i[t(646)]?i[t(533)][t(607)]:null;e[t(443)][t(459)](t(633))[t(651)](s)}[oe(618)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(655)][t(629)][t(459)](ue),r=n&&s[t(524)](n[t(607)]);this[t(548)]=e&&i&&Boolean(r)}}class de extends J.Command{[oe(468)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(629)][i(459)](ue);this[i(587)]=!1,this[i(468)]=i(589)===e?1:-1,this[i(499)](s,i(460),()=>this[i(618)]()),this[i(499)](s,i(640),()=>this[i(618)]()),this[i(499)](s,i(588),()=>this[i(618)]())}[oe(421)](){const e=oe,i=this[e(655)],s=i[e(629)][e(459)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(622)]=n?s[e(533)][e(419)][e(459)](r+this[e(468)]):s[e(533)][e(419)][e(446)],s[e(622)][e(491)][e(485)])o=i[e(661)][e(506)][e(511)](s[e(622)][e(508)]);else{const t=i[e(592)][e(649)][e(459)](e(632)+s[e(622)].id);o=(0,K.getMarkerDomElement)(i[e(661)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(618)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(655)][t(629)][t(459)](ue);this[t(548)]=!!(r&&n&&s)&&(!e||(1===this[t(468)]?i<s-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=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ge();return(pe=function(t,e){return i[t-=194]})(t,e)}!function(t){const e=pe,i=t();for(;;)try{if(855122===-parseInt(e(233))/1+-parseInt(e(216))/2*(-parseInt(e(221))/3)+-parseInt(e(210))/4+-parseInt(e(235))/5+-parseInt(e(201))/6*(parseInt(e(227))/7)+-parseInt(e(213))/8*(parseInt(e(237))/9)+-parseInt(e(195))/10*(-parseInt(e(207))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ve extends It.View{constructor(t){const e=pe;super(t);const i=this[e(199)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(212)](e(220),!1),this[e(212)](e(203),!1),this[e(212)](e(218),0),this[e(212)](e(214),0),this[e(212)](e(219),!1),this[e(212)](e(211),!1),this[e(224)](e(223)).to(this,e(203),this,e(214),(t,e)=>t&&e>0),this[e(224)](e(209)).to(this,e(203),this,e(218),this,e(214),this,e(220),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(208));if(!n)return at(t,o(194));const a=at(t,o(205),n);return r?at(t,o(198),[s+1,n]):a}),s[e(212)]({label:at(t,e(197)),tooltip:!0,icon:_t.IconChevronUp}),n[e(212)]({label:at(t,e(206)),tooltip:!0,icon:_t.IconChevronDown}),s[e(224)](e(204)).to(this,e(211)),n[e(224)](e(204)).to(this,e(219)),s.on(e(200),()=>this[e(231)](e(200),e(222))),n.on(e(200),()=>this[e(231)](e(200),e(215))),this[e(225)]({tag:e(236),attributes:{class:["ck",e(232),e(234)]},children:[{tag:e(228),attributes:{class:[e(196)]},children:[{tag:e(228),attributes:{class:[e(229),i.if(e(223),e(217),t=>!t)]},children:[{text:i.to(e(220),i=>i?at(t,e(226))+": ":at(t,e(230))+": ")}]},{text:i.to(e(209))}]},new It.ToolbarSeparatorView,{tag:e(236),attributes:{class:[e(202)]},children:[s,n]}]})}}function ge(){const t=["isEnabled","NUMBER_OF_CHANGES","Show next change","53933ZjquWQ","Loading...","_statusText","6226836WModzt","isBackwardNavigationEnabled","set","2683784pUkekY","numberOfChanges","forward","233182oeBCcN","ck-hidden","currentChangeNumber","isForwardNavigationEnabled","isNavigationMode","42ucvQOW","backward","_isStatusLabelVisible","bind","setTemplate","EDIT_X_OF_Y_REVISIONS","7jVnzlc","span","ck-revision-history-ui__changes-navigation__label","Total","fire","ck-revision-history-ui","1152053IjSeAx","ck-revision-history-ui__changes-navigation","7521165puCZTp","div","9bDxkCJ","No changes","11090NvAOBz","ck-revision-history-ui__changes-navigation__wrapper","Show previous change","X_OF_Y_CHANGES","bindTemplate","execute","9996666iwELIx","ck-revision-history-ui__changes-navigation__navigation","isReady"];return(ge=function(){return t})()}var ye=i(628),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=Tt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=_e;function we(){const t=["368yQyGSM","1813446bDWtjc","3035480xlEhmT","2200756QFsOWq","show","change","isOfficialPlugin","isPremiumPlugin","roots","view","removeClass","5vlfcsJ","45315KrbqYG","2rNVNdi","hide","7597639XpBDiv","editor","editing","pluginName","RevisionViewerLoadingOverlay","document","ck-editor__editable__loading-overlay","1029682JPqXsu","2364273qenxhE","addClass"];return(we=function(){return t})()}function _e(t,e){const i=we();return(_e=function(t,e){return i[t-=145]})(t,e)}!function(t){const e=_e,i=t();for(;;)try{if(543802===-parseInt(e(154))/1*(-parseInt(e(163))/2)+-parseInt(e(164))/3+parseInt(e(169))/4+parseInt(e(152))/5*(parseInt(e(167))/6)+-parseInt(e(156))/7+-parseInt(e(166))/8*(-parseInt(e(153))/9)+parseInt(e(168))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(we);const Ie=be(162);class Se extends J.Plugin{static get[be(159)](){return be(160)}static get[be(147)](){return!0}static get[be(148)](){return!0}[be(145)](){const t=be,e=this[t(157)][t(158)][t(150)];e[t(146)](i=>{const s=t;for(const t of e[s(161)][s(149)])i[s(165)](Ie,t)})}[be(155)](){const t=be,e=this[t(157)][t(158)][t(150)];e[t(146)](i=>{const s=t;for(const t of e[s(161)][s(149)])i[s(151)](Ie,t)})}}const Oe=xe;function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=387]})(t,e)}function Te(){const t=["config","numberOfChanges","add","forward","closeRevisionViewerCallback","isPremiumPlugin","1441480VAynnw","changesNavigation","componentFactory","463527XbRKoN","editor","requires","get","showPreviousChange","pluginName","isOfficialPlugin","isForwardNavigationEnabled","23722nDGBSi","isEnabled","exitToEditing","isBackwardNavigationEnabled","showNextChange","set","hide","revisionHistory","2040636JfXkmt","371gVskqv","Back to editing","bind","currentChangeNumber","Restore this revision","show","isReady","isNavigationMode","414834xqHOeU","execute","init","listenTo","31hmFwYA","RevisionViewerUI","plugins","1261010CTrqRO","27352XfFlDy","change:isReady","commands","restoreRevision","20yONUeR","ck-revision-history-ui__back-to-editing"];return(Te=function(){return t})()}!function(t){const e=xe,i=t();for(;;)try{if(195830===parseInt(e(431))/1*(parseInt(e(410))/2)+parseInt(e(427))/3+parseInt(e(399))/4+-parseInt(e(434))/5+-parseInt(e(418))/6+parseInt(e(419))/7*(-parseInt(e(387))/8)+-parseInt(e(402))/9*(-parseInt(e(391))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends J.Plugin{static get[Oe(407)](){return Oe(432)}static get[Oe(408)](){return!0}static get[Oe(398)](){return!0}static get[Oe(404)](){return[ue,Se]}[Oe(429)](){const t=Oe,e=this[t(403)],i=e[t(433)][t(405)](ue),s=e[t(433)][t(405)](Se);e.ui[t(401)][t(395)](t(412),i=>{const s=t,n=new It.ButtonView(i);return n[s(415)]({label:at(i,s(420)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(392)}),this[s(430)](n,s(428),()=>{const t=s;e[t(393)][t(405)](t(417))[t(397)]()}),n}),e.ui[t(401)][t(395)](t(390),i=>{const s=t,n=new It.ButtonView(i);return n[s(415)]({label:at(i,s(423)),withText:!0,tooltip:!0}),n[s(421)](s(411)).to(e[s(389)][s(405)](s(390))),this[s(430)](n,s(428),()=>e[s(428)](s(390))),n}),e.ui[t(401)][t(395)](t(400),s=>{const n=t,r=new ve(s),o=e[n(389)][n(405)](n(406)),a=e[n(389)][n(405)](n(414));return r[n(421)](n(413)).to(o,n(411)),r[n(421)](n(409)).to(a,n(411)),r[n(421)](n(425),n(422),n(394),n(426)).to(i),this[n(430)](r,n(428),(t,i)=>{const s=n;e[s(428)](s(396)===i?s(414):s(406))}),r}),s[t(424)](),i.on(t(388),(e,i,n)=>{const r=t;n?s[r(416)]():s[r(424)]()})}}var Ae=i(549),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=Tt(),Re.insertStyleElement=Dt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=De;!function(t){const e=De,i=t();for(;;)try{if(937234===-parseInt(e(461))/1+parseInt(e(463))/2+-parseInt(e(469))/3*(-parseInt(e(471))/4)+-parseInt(e(458))/5*(parseInt(e(446))/6)+-parseInt(e(444))/7*(parseInt(e(452))/8)+-parseInt(e(459))/9+-parseInt(e(465))/10*(-parseInt(e(449))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class Ve extends It.LabeledFieldView{[Me(457)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(443)];this[i(456)]({label:at(t,i(464)),_tooltipString:""}),this[i(455)][i(448)]=at(t,i(451)),this[i(473)]({tag:i(472),attributes:{class:[i(466)],"data-cke-tooltip-text":s.to(i(445)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(460)}})}[Me(467)](){const e=Me;super[e(467)](),this[e(457)]=new t.ResizeObserver(this[e(455)][e(453)],()=>this[e(470)]()),this[e(462)](this[e(455)],e(468),()=>this[e(470)]())}[Me(442)](){const t=Me;super[t(442)](),this[t(457)]&&this[t(457)][t(442)]()}[Me(470)](){const t=Me,e=this[t(455)][t(453)];this[t(445)]=e[t(447)]>e[t(454)]&&e[t(450)]||""}}function De(t,e){const i=Ee();return(De=function(t,e){return i[t-=442]})(t,e)}function Ee(){const t=["fieldView","set","_resizeObserver","290rjjrtA","6830451JjnKQP","ck-tooltip_multi-line","356085vZEhIi","listenTo","2988216UPFvCp","Revision name","5331980syVsPj","ck-revision-history-sidebar__revision-name","render","input","17826NRXNlx","_updateTooltipText","1188BHModm","span","extendTemplate","destroy","bindTemplate","14qKOhEs","_tooltipString","122106rRMmgf","scrollWidth","placeholder","11cnzkGk","value","Enter the revision name","2237856uOYezB","element","clientWidth"];return(Ee=function(){return t})()}var Ce=i(997),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=Tt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(){const t=["name","92016XnVnSG","setTemplate","Revision author","0 0 11 10","206962QfqEiU","674895AZFRYG","219zLnWqS","push","span","Revision creator","ck-revision-history-sidebar__revision-author__name","set","1039934eyOFWI","3356PWBWyI","994320eUdQMZ","59360UBKYlZ","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author_creator"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=430]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(110419===-parseInt(e(446))/1+parseInt(e(436))/2*(parseInt(e(448))/3)+parseInt(e(442))/4+-parseInt(e(447))/5+parseInt(e(437))/6+parseInt(e(435))/7+-parseInt(e(438))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const s=Le;super(t);const n=new It.IconView;n[s(434)]({content:_t.IconUser,viewBox:s(445)});const r=["ck",s(439)];i&&r[s(430)](s(440));const o=[{tag:s(431),attributes:{class:["ck",s(433)],title:at(t,s(i?432:444))},children:[n,e[s(441)]]}];this[s(443)]({tag:"li",attributes:{class:r},children:o})}}function We(t,e){var i=ze();return(We=function(t,e){return i[t-=489]})(t,e)}function ze(){var t=["1554390ATPFLj","5bPyqSq","620483hhIgWK","long","1797417thQvpt","14266QpmSiL","toLocaleDateString","numeric","2853492ibGVtw","975842seagrI","3083292BNOZVu","112seaxMq","toLocaleTimeString"];return(ze=function(){return t})()}!function(t){for(var e=We,i=t();;)try{if(663553===-parseInt(e(495))/1+-parseInt(e(489))/2+parseInt(e(490))/3+parseInt(e(501))/4+parseInt(e(494))/5*(parseInt(e(493))/6)+parseInt(e(498))/7*(-parseInt(e(491))/8)+-parseInt(e(497))/9)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=Dt();Ot()(Ue.A,Ze);Ue.A&&Ue.A.locals&&Ue.A.locals;function He(){const t=["map","button","29SMHoZr","model","menu","isEnabled","Name this revision","1740305qlTtfr","execute","function","find","bindTemplate","first","listenTo","_action","menuitem","5654LyWytp","Show more items","class","Restore this revision","bind","stopPropagation","166572PtnkJL","ck-revision-history-sidebar__revision__actions","listView","isVisible","isReady","children","Compare against selected","items","add","buttonView","8gDrixH","13630YLXrOG","change:isActionsDropdownOpen","set","isOpen","2298222cdWCqx","locale","action","isActionsDropdownOpen","extendTemplate","name","276CQoVjv","ck-on","panelPosition","229002wczPul","source","19016YphgcF","9387KlHwYo"];return(He=function(){return t})()}function qe(t,e){const i=He();return(qe=function(t,e){return i[t-=264]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(178209===-parseInt(e(291))/1*(parseInt(e(287))/2)+parseInt(e(288))/3*(-parseInt(e(282))/4)+-parseInt(e(296))/5+parseInt(e(285))/6+parseInt(e(311))/7+-parseInt(e(271))/8*(-parseInt(e(276))/9)+parseInt(e(272))/10*(parseInt(e(305))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var $e=i(532),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=Tt(),Be.insertStyleElement=Dt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Je;function Ge(){const t=["5030xAqltB","ck-revision-history-sidebar__revision","authors","revisionActionsView","map","fieldView","24rfWuMC","isConfirm","1150773DquiaK","set","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision__date","length","463Yrwnfc","3557781ZwHzZt","uiLanguage","7456491jUIzGM","unshift","32684360aLiksM","ck-disabled","div","isReady","_requireRevisionName","value","isSelected","bind","ck-revision-history-sidebar__revision-authors","filter","23802nGDPKB","creator",".ck-confirm-view","ck-revision-history-sidebar__revision_selected","220","highlight","ck-reset","ck-revision-history-sidebar__revision-wrapper","setTemplate","325mVvgll","ck-revision-history-sidebar__revision__controls-wrapper","isActionsDropdownOpen","listenTo","revisionNameView","name","from","element","change","bindTemplate","srcElement","_revision","ck-revision-history-sidebar__revision_highlighted","extendTemplate","closest","6067084NNypyV","span","unhighlight","isHighlighted","ck-revision-history-sidebar__actions_dropdown_open","deselect","createdAt","isEnabled","setName","select","fire","render","_createdAtFormatted"];return(Ge=function(){return t})()}function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=257]})(t,e)}!function(t){const e=Je,i=t();for(;;)try{if(790706===-parseInt(e(316))/1*(-parseInt(e(303))/2)+parseInt(e(311))/3+-parseInt(e(290))/4+parseInt(e(275))/5*(-parseInt(e(266))/6)+-parseInt(e(319))/7+parseInt(e(309))/8*(-parseInt(e(317))/9)+parseInt(e(321))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(279)];[Ye(306)];[Ye(286)];[Ye(260)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(284)],a=function(t,e){const i=r,s=Array[i(281)](e[i(305)])[i(265)](t=>t!=e[i(267)]);return e[i(267)]&&s[i(320)](e[i(267)]),s[i(307)](s=>new Pe(t,s,s==e[i(267)]))}(e,i);this.id=i.id,this[r(286)]=i,this[r(260)]=n,this[r(263)](r(280),r(296)).to(i),this[r(263)](r(302)).to(this,r(296),t=>{return i=e[r(318)],(s=t)[(n=We)(499)](i,{month:n(496),day:n(500)})+", "+s[n(492)](i,{hour:n(500),minute:n(500)});var i,s,n}),this[r(312)](r(262),!1),this[r(312)](r(293),!1),this[r(312)](r(277),!1),this[r(312)](r(259),!1),this[r(312)](r(297),!1),this[r(279)]=new Ve(e,It.createLabeledInputText),this[r(279)][r(308)][r(288)]({attributes:{maxlength:r(270)}}),this[r(279)][r(308)][r(263)](r(261)).to(this,r(280),t=>t||this[r(302)]),this[r(279)][r(263)](r(297)).to(this,r(262),this,r(297),(t,e)=>t&&e),this[r(306)]=s&&s[r(315)]?function(e,i){const s=qe,n=e[s(300)],r=e[s(277)],o=(0,It.createDropdown)(r);o[s(284)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=qe,s=t[i(277)],n={"Compare against selected":at(s,i(267)),"Name this revision":at(s,i(295)),"Restore this revision":at(s,i(308))};return e[i(289)](t=>{const e=i,s=n[t[e(281)]];return s&&s!==t[e(281)]&&(t[e(281)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(290),model:new It.UIModel({label:t[n(281)],class:t[n(307)],withText:!0,role:n(304),_action:t[n(278)]})};i[n(292)][n(309)](n(294)).to(e,n(279),i=>n(298)!=typeof t[n(294)]||!i||t[n(294)](e)),o[n(269)](i)}return o}(e,i);return e[s(309)](s(279)).to(o,s(275)),o[s(270)][s(274)]({label:at(r,s(306)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(280)]({attributes:{class:[s(312),n.if(s(279),s(283))]},on:{click:n.to(t=>t[s(310)]())}}),o.on(s(297),t=>{const i=s;e[i(265)]&&i(298)==typeof t[i(286)][i(303)]&&t[i(286)][i(303)](e)}),(0,It.addListToDropdown)(o,a,{role:s(293)}),o[s(302)](e,s(273),(t,n,r)=>{const a=s;if(r)for(const t of o[a(313)][a(268)]){const s=t[a(266)][a(301)],n=i[a(299)](t=>t[a(278)]===s[a(303)])[a(264)];t[a(264)]=void 0===n||n(e)}}),o}(this,s):"",this[r(306)]&&this[r(306)][r(263)](r(297)).to(this),this[r(274)]({tag:r(258),attributes:{class:["ck",r(272),r(273),o.if(r(310),r(313))]},children:[{tag:r(258),attributes:{class:["ck",r(272),r(304),o.if(r(297),r(257),t=>!t),o.if(r(262),r(269)),o.if(r(293),r(287)),o.if(r(277),r(294))]},children:[this[r(279)],{tag:r(291),attributes:{class:["ck",r(314)]},children:[{text:o.to(r(302))}]},{tag:r(258),attributes:{class:["ck",r(276)]},children:[{tag:"ul",attributes:{class:["ck",r(264)]},children:a}]},this[r(306)]],on:{click:o.to(t=>{const e=r;t[e(285)][e(289)](e(268))||this[e(259)]&&this[e(297)]&&this[e(300)](e(299),{id:this.id})})}}]})}[Ye(301)](){const t=Ye;super[t(301)]();const e=this[t(279)][t(308)][t(282)];this[t(278)](e,t(283),()=>{const i=t;this[i(260)]&&!e[i(261)]||this[i(300)](i(298),{id:this.id,name:e[i(261)]}),e[i(261)]||(e[i(261)]=this[i(280)]?this[i(280)]:this[i(302)])})}[Ye(299)](){this[Ye(262)]=!0}[Ye(295)](){this[Ye(262)]=!1}[Ye(271)](){this[Ye(293)]=!0}[Ye(292)](){this[Ye(293)]=!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 si extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class ni 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 Di extends Mi{static get instance(){return null===Vi&&(Vi=new Di),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Ei.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i,this.name)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Vs(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gs({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const Pi=new Map;function Wi(t,e={}){const i=JSON.stringify([t,e]);let s=Pi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Pi.set(i,s)),s}const zi=new Map;const Ui=new Map;let Zi=null;const Hi=new Map;function qi(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=zi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),zi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return zs(this.floor?Math.floor(t):qs(t,3),this.padTo)}}class Gi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Wi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Ji{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ui.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const 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,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ps(s)||vs.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Zi=null,Pi.clear(),zi.clear(),Ui.clear(),Hi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Xi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Wi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Wi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===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?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ps(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,un,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=fo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Bi(this,t,fn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,yn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new 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 s=Li[i];return s||(s=new Intl.ListFormat(t,e),Li[i]=s),s}(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:Fs()?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 Qi=null;class ts extends Mi{static get utcInstance(){return null===Qi&&(Qi=new ts(0)),Qi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class es extends 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 is(t,e){if(Vs(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||ji.create(t)}return Ds(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Di.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=Ps(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Xi.resetCache(),ji.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+($s(t)?ks:ys)[e-1]}function Is(t,e){const i=$s(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ks(c,e,i)):u>Ks(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function xs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function Ts(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ns(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function As(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Rs(t){const e=Es(t.year),i=Ws(t.month,1,12),s=Ws(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Ws(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Ws(i,0,59),a=Ws(s,0,59),c=Ws(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Ds(t){return"number"==typeof t}function Es(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function js(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Ls(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ps(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!Ws(t.firstDay,1,7)||!Ws(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Ws(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Ws(t,e,i){return Es(t)&&t>=e&&t<=i}function zs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Us(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Zs(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Hs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return $s(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gs(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 Js(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Js(t,e,i),n=Js(t+1,e,i);return(Bs(t)-s+n)/7}function Xs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Qs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(Ls(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${zs(i,2)}:${zs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${zs(i,2)}${zs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:Ti,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return zs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function xn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Us(e[i+n]);return[s,null,i+n]}}const Tn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,An=RegExp(`${Nn.source}${`(?:${Tn.source}?(?:\\[(${_n.source})\\])?)?`}`),Rn=RegExp(`(?:T${An.source})?`),Mn=xn("weekYear","weekNumber","weekDay"),Vn=xn("year","ordinal"),Dn=RegExp(`${Nn.source} ?(?:${Tn.source}|(${_n.source}))?`),En=RegExp(`(?: ${Dn.source})?`);function Cn(t,e,i){const s=t[e];return Vs(s)?i:Us(s)}function Fn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Hs(t[e+3])},null,e+4]}function jn(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Ln(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Pn=RegExp(`^T?${Nn.source}$`),Wn=/^-?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 zn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zs(i)),months:d(Zs(s)),weeks:d(Zs(n)),days:d(Zs(r)),hours:d(Zs(o)),minutes:d(Zs(a)),seconds:d(Zs(c),"-0"===c),milliseconds:d(Hs(u),h)}]}const Un={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zn(t,e,i,s,n,r,o){const a={year:2===e.length?Xs(Us(e)):Us(e),month:an.indexOf(i)+1,day:Us(s),hour:Us(n),minute:Us(r)};return o&&(a.second=Us(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Hn=/^(?:(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 qn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Zn(e,n,s,i,r,o,a);let f;return f=c?Un[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Zn(e,n,s,i,r,o,a),ts.utcInstance]}function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Zn(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Qn=In(/(\d{4})-?(\d{3})/,Rn),tr=In(An),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,jn,Ln),ir=Sn(Mn,Fn,jn,Ln),sr=Sn(Vn,Fn,jn,Ln),nr=Sn(Fn,jn,Ln);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,En),ar=In(Dn),cr=Sn(Fn,jn,Ln);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Vs(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),pr.reduce((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||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 ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ds(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[Wn,zn])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return On(t,[Pn,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new si(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vs(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=qs(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)(Ls(e.values,t)||Ls(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Ds(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ds(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return is(t,vs.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:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||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:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function 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 s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const 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])=>tn(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(wn.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(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return 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,Xs);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(s);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(n);case"u":return Dr(l);case"uu":return Dr(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})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ls(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return Vs(t.z)||(i=ji.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Vs(t.u)||(t.S=Hs(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Ls(i,"a")&&Ls(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const Wr="Invalid DateTime",zr=864e13;function Ur(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Zr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Os(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 s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Gs(t),e,i)}function Gr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Gs(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,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.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 s="";return i&&t.c.year>=0&&(s+="+"),s+=zs(t.c.year,i?6:4),e?(s+="-",s+=zs(t.c.month),s+="-",s+=zs(t.c.day)):(s+=zs(t.c.month),s+=zs(t.c.day)),s}function Qr(t,e,i,s,n,r){let o=zs(t.c.hour);return e?(o+=":",o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=zs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=zs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=zs(Math.trunc(-t.o/60)),o+=":",o+=zs(Math.trunc(-t.o%60))):(o+="+",o+=zs(Math.trunc(t.o/60)),o+=":",o+=zs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=Rs(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=qs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Vs(t.ts)?vs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Ds(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Xi.fromObject(e)}):fo.invalid(Ur(n))}static fromMillis(t,e={}){if(Ds(t))return t<-zr||t>zr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ds(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=Ts(g)):(p=so,v=to);let y=!1;for(const t of p){Vs(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Es(t.weekYear),n=Ws(t.weekNumber,1,Ks(t.weekYear,e,i)),r=Ws(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Es(t.year),i=Ws(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Rs(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?xs(n,r,o):u?Ns(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Xn,ir],[Qn,sr],[tr,nr])}(t);return Jr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hn,qn])}(t);return Jr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[$n,Gn],[Bn,Gn],[Yn,Jn])}(t);return Jr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[s,n,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,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Jr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.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?Ts(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=Gs(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return $s(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Yr(i,e,t)}return qr(this,{ts:s,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=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=As(e,this.loc),n=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=xs({...Os(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=Ns({...Ts(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={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Wr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):Wr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,s,n),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:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Qr(this,"extended"===r,e,t,i,n)}toRFC2822(){return 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 s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Kr(this,s,!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 s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Lr(Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Xi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new jr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):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&&Ds(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(){const t=["10266570gSJowO","1211544GNWHwM","month","week","1DoilDa","fromJSDate","setLocale","6599448hDtGtF","192vYwuSO","year","day","monthLong","217885Zhegcz","hasSame","toJSDate","7wePXdl","9470352XSaMUi","537554VLUWiB","local","weekdayLong","9464140dOGZLc","toRelativeCalendar","minus","startOf"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=317]})(t,e)}function go(t,e){const i=vo,s=fo[i(335)](t)[i(336)](e),n=fo[i(324)](),r=n[i(328)]({days:1})[i(329)](i(340));let o,a;return s[i(319)](n,i(340))?(o=s[i(329)](i(340))[i(320)](),a=s[i(327)]()):s[i(319)](r,i(340))?(o=r[i(320)](),a=s[i(327)]()):s[i(319)](n,i(333))?(o=s[i(329)](i(333))[i(320)](),a=s[i(325)]||""):s[i(319)](n,i(339))?(o=s[i(329)](i(332))[i(320)](),a=s[i(317)]||""):(o=s[i(329)](i(339))[i(320)](),a=String(s[i(339)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(987641===-parseInt(e(334))/1*(-parseInt(e(323))/2)+-parseInt(e(331))/3+-parseInt(e(337))/4+-parseInt(e(318))/5*(-parseInt(e(338))/6)+parseInt(e(321))/7*(parseInt(e(322))/8)+parseInt(e(330))/9+-parseInt(e(326))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(342),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=Tt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=Io();return(wo=function(t,e){return i[t-=468]})(t,e)}!function(t){const e=wo,i=t();for(;;)try{if(113535===parseInt(e(476))/1*(-parseInt(e(479))/2)+-parseInt(e(486))/3*(parseInt(e(492))/4)+-parseInt(e(496))/5+parseInt(e(473))/6+parseInt(e(470))/7*(parseInt(e(469))/8)+-parseInt(e(477))/9*(-parseInt(e(480))/10)+parseInt(e(500))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class _o extends It.View{[bo(482)];[bo(498)];[bo(468)];[bo(471)];constructor(t,e,i,s){const n=bo;super(t);const r=go(e,this[n(488)][n(499)])[n(478)];this[n(482)]=e,this[n(498)]=this[n(485)](),this[n(468)]=i,this[n(471)]=s,this[n(498)][n(491)](n(487)).to(this),this[n(498)][n(491)](n(494)).to(this),this[n(483)]({tag:n(475),attributes:{class:["ck",n(489)]},children:[{tag:n(495),attributes:{class:["ck",n(481)]},children:[{text:r}]},{tag:n(475),attributes:{class:["ck",n(497)]},children:this[n(498)]}]})}[bo(474)](t){const e=bo,i=new Ke(this[e(488)],t,this[e(468)],this[e(471)]);this[e(498)][e(472)](i)}[bo(490)](t){const e=bo,i=this[e(498)][e(493)](e=>e.id===t.id);this[e(498)][e(484)](i)}}function Io(){const t=["createCollection","3xGDPWT","select","locale","ck-revision-history-sidebar__time-period","removeRevision","delegate","577436dAEagS","find","setName","span","249365rHfqGP","ck-revision-history-sidebar__time-period__revisions","revisionViews","uiLanguage","2947384QHTqBQ","_revisionActions","40GWKADc","111083mrqTOw","_requireRevisionName","add","768174RrMjPw","addRevision","div","1cUjJCp","93897xUOdGX","localizedPeriodName","376834TFRcgs","20MnWLvx","ck-revision-history-sidebar__time-period__label","startDate","setTemplate","remove"];return(Io=function(){return t})()}var So=i(193),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=Tt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function xo(){const t=["945612gBZlHZ","6jUvoqK","8572670cYxopO","11693201vTQvLc","ck-reset_all","span","9UVCxmh","ck-revision-history-sidebar__header","setTemplate","4iHUwok","ck-revision-history-sidebar__header__label","10EegleN","div","8047721ZpVdYQ","Revision history","8183288zZHzlP","5212067eKzgpv","18FGTkMr","12fWPsUt","content","666608bbvISW"];return(xo=function(){return t})()}function To(t,e){const i=xo();return(To=function(t,e){return i[t-=169]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(872318===-parseInt(e(181))/1*(parseInt(e(170))/2)+-parseInt(e(178))/3*(parseInt(e(182))/4)+parseInt(e(184))/5+parseInt(e(183))/6*(-parseInt(e(177))/7)+-parseInt(e(176))/8*(-parseInt(e(188))/9)+-parseInt(e(172))/10*(-parseInt(e(174))/11)+-parseInt(e(179))/12*(-parseInt(e(185))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(180)]=_t.IconHistory,this[e(169)]({tag:e(173),attributes:{class:["ck",e(186),e(189)]},children:[i,{tag:e(187),attributes:{class:["ck",e(171)]},children:[at(t,e(175))]}]})}}var Ao=i(574),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=Tt(),Ro.insertStyleElement=Dt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Do;function Vo(){const t=["deselect","addRevision","createCollection","ck-revision-history-sidebar__timeline","15835008wJPadn","highlight","flat","10380912SXUKqW","revisionViews","ck-revision-history-sidebar","startDate","isEnabled","unhighlight","find","render","map","setTemplate","854517GoElJx","timePeriodViews","_revisions","some","bindTemplate","uiLanguage","ck-rounded-corners","ck-disabled","get","div","set","fire","setName","2160792CZRGSO","_getTimePeriodViewByStartDate","locale","createdAt","ck-reset","removeRevision","revisionSetName","add","remove","select","_addRevision","highlightRevisions","2333935ubWtLy","_revisionActions","getTime","_requireRevisionName","508772YTBPdl","_removeRevision","selectRevision","delegate","revisionSelected","4561908bFSWLy"];return(Vo=function(){return t})()}function Do(t,e){const i=Vo();return(Do=function(t,e){return i[t-=239]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(876341===-parseInt(e(279))/1+-parseInt(e(240))/2+-parseInt(e(261))/3+-parseInt(e(256))/4+parseInt(e(252))/5+parseInt(e(269))/6+parseInt(e(266))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends It.View{[Mo(280)];[Mo(281)];[Mo(253)];[Mo(255)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(283)];this[n(280)]=this[n(264)](),this[n(280)][n(259)](n(249)).to(this),this[n(280)][n(259)](n(239)).to(this),this[n(281)]=e,this[n(253)]=i,this[n(255)]=s,this.on(n(249),(t,e)=>{const i=n;this[i(290)](i(260),e)}),this.on(n(239),(t,e)=>{const i=n;this[i(290)](i(246),e)}),this[n(289)](n(273),!1),this[n(278)]({tag:n(288),attributes:{class:["ck",n(244),n(285),n(271)]},children:[new No(t),{tag:n(288),attributes:{class:["ck",n(265),r.if(n(273),n(286),t=>!t)]},children:this[n(280)]}]})}[Mo(276)](){const t=Mo;super[t(276)]();for(const e of this[t(281)])this[t(250)](e);this[t(281)].on(t(247),(e,i)=>{this[t(250)](i)}),this[t(281)].on(t(248),(e,i)=>{this[t(257)](i)})}get[Mo(270)](){const t=Mo;return this[t(280)][t(277)](e=>e[t(270)][t(277)](t=>t))[t(268)]()}[Mo(258)](t){const e=Mo;for(const i of this[e(270)])t&&t.id===i.id?i[e(249)]():i[e(262)]()}[Mo(251)](t){const e=Mo;for(const i of this[e(270)])t[e(282)](({id:t})=>t===i.id)?i[e(267)]():i[e(274)]()}[Mo(250)](t){const e=Mo,i=go(t[e(243)],this[e(242)][e(284)])[e(272)];let s=this[e(280)][e(287)](0);s&&s[e(272)][e(254)]()===i[e(254)]()||(s=new _o(this[e(242)],i,this[e(253)],this[e(255)]),this[e(280)][e(247)](s)),s[e(263)](t)}[Mo(257)](t){const e=Mo,i=go(t[e(243)],this[e(242)][e(284)])[e(272)];this[e(241)](i)[e(245)](t)}[Mo(241)](t){const e=Mo;return this[e(280)][e(275)](i=>i[e(272)][e(254)]()===t[e(254)]())}}const Co=Fo;function Fo(t,e){const i=Lo();return(Fo=function(t,e){return i[t-=188]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(257263===parseInt(e(197))/1+parseInt(e(241))/2+-parseInt(e(250))/3*(parseInt(e(219))/4)+-parseInt(e(199))/5*(parseInt(e(208))/6)+-parseInt(e(218))/7*(-parseInt(e(263))/8)+-parseInt(e(231))/9*(parseInt(e(206))/10)+-parseInt(e(233))/11*(-parseInt(e(192))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends J.Plugin{[Co(261)];[Co(207)];[Co(252)];static[Co(243)]=[Co(202),Co(189),Co(227)];static[Co(195)]=function(){const t=Co;return{compareAgainstSelected:{name:t(249),action:({plugins:e},i)=>{const s=t,n=e[s(235)](ue),r=n[s(260)];let o=n[s(225)][s(240)],a=i.id;r[s(239)](o)>r[s(239)](a)&&([o,a]=[a,o]),n[s(205)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(235)](ue);return!(n[s(260)][s(210)](n[s(225)])[s(198)]>2||i[s(255)])}},restoreRevision:{name:t(253),action:(e,{id:i})=>{const s=t;e[s(266)][s(235)](s(228))[s(222)](i)},isVisible:({plugins:e},i)=>!!e[t(235)](ue)[t(260)][t(269)](i.id)},nameRevision:{name:t(204),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(235)](ue),o=r[n(260)][n(265)](i);r[n(205)](i,o),s[n(254)](),s[n(267)][n(217)]()}}}}();static get[Co(247)](){return Co(270)}static get[Co(211)](){return!0}static get[Co(196)](){return!0}static get[Co(259)](){return[ue]}constructor(t){const e=Co;super(t),this[e(261)]=t[e(224)][e(235)](ue),this[e(207)]=this[e(261)][e(260)],this[e(252)]=null}[Co(238)](){const t=Co,e=this[t(207)][t(193)],i=this[t(200)](),s=this[t(234)][t(266)][t(235)](t(194));this[t(252)]=new Eo(this[t(234)][t(237)],e,i,this[t(234)][t(266)][t(235)](t(212))),this[t(252)].on(t(244),this[t(223)][t(251)](this)),this[t(252)].on(t(236),this[t(258)][t(251)](this)),this[t(252)][t(251)](t(245)).to(this[t(261)]),this[t(252)][t(230)].on(t(203),(e,i)=>{const s=t;i[s(242)].on(s(203),(t,e)=>{const i=s;e[i(251)](i(245),i(272)).to(this[i(261)])})}),this[t(252)][t(214)](),this[t(213)](this[t(234)][t(271)],t(220),this[t(215)][t(251)](this)),this[t(213)](this[t(261)],t(190),this[t(264)][t(251)](this)),s[t(246)](this[t(252)][t(188)])}[Co(191)](){const t=Co;this[t(252)][t(188)][t(256)](),this[t(252)][t(191)]()}[Co(215)](){const t=Co,e=this[t(207)][t(232)](0);if(e){const i=this[t(207)][t(265)](e.id);this[t(261)][t(205)](e,i)}}[Co(223)](t,e){const i=Co,s=this[i(207)][i(232)](e.id),n=this[i(207)][i(265)](s.id);this[i(261)][i(205)](s,n)}[Co(258)](t,e){const i=Co;this[i(207)][i(232)](e.id)[i(268)](e[i(257)])}[Co(264)](t,e,i){const s=Co,n=this[s(207)][s(210)](i);n[s(198)]>2?(this[s(252)][s(229)](n),this[s(252)][s(262)](null)):(this[s(252)][s(229)]([]),this[s(252)][s(262)](n[0]))}[Co(200)](){const t=Co,e=this[t(234)],i=jo[t(195)],s=e[t(266)][t(235)](t(209))||jo[t(243)];if(s[t(198)])return s[t(248)](s=>{const n=t,r=n(221)==typeof s?Object[n(216)]({},i[s]):s;return r[n(201)]=r[n(201)][n(251)](this,e),r[n(226)]&&(r[n(226)]=r[n(226)][n(251)](this,e)),r})}}function Lo(){const t=["nameRevision","revisionHistory","highlightRevisions","timePeriodViews","117153urzEko","getRevision","44XHBuKS","editor","get","revisionSetName","locale","init","getIndex","newRevisionId","279176vLQKUl","revisionViews","defaultRevisionActions","revisionSelected","isEnabled","appendChild","pluginName","map","Compare against selected","3XaJAnp","bind","_sidebarView","Restore this revision","focus","isSelected","remove","name","_handleRevisionSetName","requires","repository","_revisionViewer","selectRevision","8jwMeEG","_handleDiffChange","getEarlierVisibleRevision","config","fieldView","setName","getLaterVisibleRevision","RevisionsSidebar","data","isReady","element","restoreRevision","change:diff","destroy","791196wUSjyi","_revisions","revisionHistory.viewerSidebarContainer","availableRevisionActions","isPremiumPlugin","233270UtscbO","length","459490viKaBV","_createRevisionActions","action","compareAgainstSelected","add","Name this revision","compare","200QZuOiv","_revisionsRepository","12YFyiIk","revisionHistory.revisionActions","getRevisionsInDiff","isOfficialPlugin","revisionHistory.requireRevisionName","listenTo","render","_handleEditorDataReady","assign","select","2723987dVoMhU","1297328zCbpuA","ready","string","restoreRevisionCallback","_handleRevisionSelected","plugins","diff","isVisible"];return(Lo=function(){return t})()}const Po=zo;function Wo(){const t=["limiterElement","get","replace","3277212enkOIG","bind","fillFromConfig","viewportTopOffset","editable","editor","isActive","fire","147KPekLr","ready","init","isFocused","_toolbarConfig","26626977CLkTMI","detachDomRoot","attachDomRoot","view","element","editing","393228KBrsft","36665RtVWhQ","document","_initToolbar","componentFactory","restore","config","1038hpyjda","2250868uJgUaM","setEditableElement","render","viewportOffset","name","addToolbar","focusTracker","41000vUGGDI","stickyPanel","_elementReplacer","toolbar","rootName","2462752RsFxrh","destroy","_view","getRoot"];return(Wo=function(){return t})()}function zo(t,e){const i=Wo();return(zo=function(t,e){return i[t-=369]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(821683===-parseInt(e(381))/1+parseInt(e(389))/2+-parseInt(e(408))/3+-parseInt(e(401))/4+-parseInt(e(382))/5*(parseInt(e(388))/6)+-parseInt(e(370))/7*(-parseInt(e(396))/8)+parseInt(e(375))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends It.EditorUI{[Po(403)];[Po(374)];[Po(398)];get[Po(378)](){return this[Po(403)]}constructor(e,i){const s=Po;super(e),this[s(403)]=i,this[s(374)]=(0,It.normalizeToolbarConfig)(e[s(387)][s(406)](s(399))),this[s(398)]=new t.ElementReplacer}get[Po(379)](){const t=Po;return this[t(378)][t(379)]}[Po(372)](t){const e=Po,i=this[e(413)],s=this[e(378)],n=i[e(380)][e(378)],r=s[e(412)],o=n[e(383)][e(404)]();r[e(393)]=o[e(400)],s[e(391)]();const a=r[e(379)];this[e(390)](r[e(393)],a),s[e(412)][e(409)](e(373)).to(this[e(395)]),n[e(377)](a),this[e(398)][e(407)](t,this[e(379)]),this[e(384)](),this[e(369)](e(371))}[Po(402)](){const t=Po;super[t(402)]();const e=this[t(378)],i=this[t(413)][t(380)][t(378)];this[t(398)][t(386)](),i[t(376)](e[t(412)][t(393)]),e[t(402)]()}[Po(384)](){const t=Po,e=this[t(378)];e[t(397)][t(409)](t(414)).to(this[t(395)],t(373)),e[t(397)][t(405)]=e[t(379)],e[t(397)][t(409)](t(411)).to(this,t(392),({top:t})=>t),e[t(399)][t(410)](this[t(374)],this[t(385)]),this[t(394)](e[t(399)])}}var Zo=i(750),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=At().bind(null,"head"),Ho.domAPI=Tt(),Ho.insertStyleElement=Dt();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;var qo=$o;function $o(t,e){var i=Bo();return($o=function(t,e){return i[t-=120]})(t,e)}function Bo(){var t=["_editable","1203156lbXeUR","render","10455552kIFPmk","445008iQlKCB","editable","122066AsEetE","main","add","stickyPanel","612638utSobR","50bAYlaZ","13105530KlZyzz","3494802RbYYCd","9kGRQYT","5bbbtha","top","shouldToolbarGroupWhenFull","toolbar","content"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(793723===parseInt(e(120))/1*(parseInt(e(135))/2)+-parseInt(e(138))/3+-parseInt(e(126))/4+parseInt(e(136))/5*(parseInt(e(129))/6)+-parseInt(e(131))/7+-parseInt(e(128))/8+parseInt(e(139))/9*(parseInt(e(137))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[qo(125)];[qo(134)];[qo(123)];get[qo(130)](){return this[qo(125)]}constructor(t,e,i={}){var s=qo;super(t),this[s(134)]=new It.StickyPanelView(t),this[s(123)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(122)]}),this[s(125)]=new It.InlineEditableUIView(t,e)}[qo(127)](){var t=qo;super[t(127)](),this[t(134)][t(124)][t(133)](this[t(123)]),this[t(121)][t(133)](this[t(134)]),this[t(132)][t(133)](this[t(130)])}}function Go(){const t=["destroy","sourceElement","createRoot","326887oeIlJt","9JJsQlq","initialData","51064GpQaer","model","1657877qXlOxD","document","get","140adDlSY","3BFhXFu","data","editing","86OwDKhi","_ui","ready","541490PFxVNp","config","84gUUlrj","695UqeXbf","create","2242132WhXijv","5162cNRmGv","161kQqrIk","view","locale","fire","updateSourceElement","init","initPlugins","3738ScvDxl"];return(Go=function(){return t})()}const Jo=Ko;function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=210]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(413255===parseInt(e(222))/1*(-parseInt(e(231))/2)+parseInt(e(219))/3*(-parseInt(e(230))/4)+parseInt(e(228))/5*(-parseInt(e(239))/6)+-parseInt(e(232))/7*(parseInt(e(213))/8)+-parseInt(e(211))/9*(parseInt(e(225))/10)+-parseInt(e(210))/11*(-parseInt(e(227))/12)+parseInt(e(215))/13*(parseInt(e(218))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,J.ElementApiMixin)(J.Editor)){[Jo(223)];get ui(){return this[Jo(223)]}constructor(t,e){const i=Jo;super(e),this[i(241)]=t,this[i(214)][i(216)][i(242)]();const s=new Yo(this[i(234)],this[i(221)][i(233)],{shouldToolbarGroupWhenFull:!0});this[i(223)]=new Uo(this,s)}[Jo(240)](){const t=Jo;return this[t(236)](),this.ui[t(240)](),super[t(240)]()}static async[Jo(229)](t,e){const i=Jo,s=new this(t,e);return await s[i(238)](),await s.ui[i(237)](t),await s[i(220)][i(237)](s[i(226)][i(217)](i(212))||""),s[i(235)](i(224)),s}}const Qo=ta;function ta(t,e){const i=na();return(ta=function(t,e){return i[t-=110]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(662220===-parseInt(e(269))/1+parseInt(e(161))/2*(-parseInt(e(242))/3)+parseInt(e(203))/4+parseInt(e(188))/5+parseInt(e(207))/6*(-parseInt(e(277))/7)+parseInt(e(172))/8*(-parseInt(e(159))/9)+parseInt(e(111))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(na);const ea=[Qo(138),Qo(155),Qo(139),Qo(132),Qo(251),Qo(255),Qo(235)];class ia extends J.Plugin{[Qo(247)];static get[Qo(145)](){return Qo(144)}static get[Qo(151)](){return!0}static get[Qo(124)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(215)](t=>String[e(213)](t))[e(234)]("")}super(t),this[e(247)]=e(270),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{[Qo(257)];static get[Qo(145)](){return Qo(141)}static get[Qo(151)](){return!0}static get[Qo(124)](){return!0}static get[Qo(212)](){return[vt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(166)][i(208)][i(178)](i(150)))throw new t.CKEditorError(i(117),this);this[i(257)]=null,this[i(131)](i(122),!1),this[i(166)][i(208)][i(205)](i(220),t=>this[i(259)]({...t,translations:this[i(166)][i(129)][i(218)]})),this[i(166)][i(208)][i(205)](i(264),t=>this[i(119)](t)),this[i(166)][i(208)][i(205)](i(152),t=>this[i(121)](t)),this[i(166)][i(208)][i(205)](i(217),!1),this[i(179)](),this[i(165)]()}set[Qo(223)](t){const e=Qo;this[e(166)][e(133)][e(178)](e(238))[e(223)]=t}get[Qo(223)](){const t=Qo;return this[t(166)][t(133)][t(178)](t(238))[t(223)]}[Qo(140)](t){const e=Qo;return this[e(166)][e(133)][e(178)](e(238))[e(140)](t)}[Qo(221)](t){const e=Qo;return this[e(166)][e(133)][e(178)](e(118))[e(221)](t)}[Qo(252)](t){const e=Qo;return this[e(166)][e(133)][e(178)](e(118))[e(252)](t||{toJSON:!1})}[Qo(184)](){const e=Qo,i=this[e(166)],s=(0,K.sanitizeEditorConfig)(i,ea),n=i[e(133)][e(178)](e(238)),r=i[e(133)][e(178)](e(120))[e(177)];return s[e(168)]=[e(112),e(225),e(222)],delete s[e(110)],s[e(133)][e(262)](ia,ue,Ne,class extends J.Plugin{static get[e(212)](){return[ue,e(120)]}[e(130)](){const s=e,o=this[s(166)][s(133)][s(178)](s(120));for(const t of r)t[s(128)]||o[s(254)](t.id)||o[s(171)](t);const a=n[s(200)][s(252)]();let c=null;const u=this[s(166)][s(133)][s(178)](s(116));u[s(223)]=n[s(223)],u[s(202)](s(230)).to(n),this[s(166)][s(157)][s(178)](s(225))[s(202)](s(230)).to(i,s(135),t=>!t);for(const e of a){const i=null===e[s(253)];if(i&&e[s(272)]===e[s(243)])continue;const r=e[s(191)]();u[s(140)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(164)](r,o);else if(!o){const e=a[u(191)]();e.id=(0,t.uid)(),n[u(260)](e,a[u(272)])[u(195)](t=>{c=t})}}else e[u(164)](r,o)})}}},jo),s}[Qo(179)](){const t=Qo,e=this[t(166)][t(208)][t(178)](t(150))[t(182)];this[t(166)][t(208)][t(131)](t(220),async()=>{const i=t;this[i(166)][i(228)](i(209));const s=this[i(166)][i(133)][i(178)](i(238));if(this[i(166)][i(133)][i(147)](i(240))){const t=this[i(166)][i(133)][i(178)](i(240));await t[i(204)]()}else await s[i(241)]();if(this[i(166)][i(133)][i(147)](i(114))&&this[i(166)][i(133)][i(178)](i(114))[i(236)](),this[i(166)][i(133)][i(147)](i(183))){const t=this[i(166)][i(133)][i(178)](i(183));t[i(123)]&&t[i(237)]()}if(this[i(166)][i(133)][i(147)](i(173))){const t=this[i(166)][i(133)][i(178)](i(173))[i(167)][i(185)];for(const e of t)e[i(274)]=e[i(274)]?e[i(274)]+i(175):i(180);if(this[i(166)][i(133)][i(147)](i(139))){const t=document[i(113)](i(170));t&&t[i(256)](i(192),"-1")}if(this[i(166)][i(133)][i(147)](i(233))){const t=document[i(113)](i(268));t&&t[i(256)](i(192),"-1")}}const n=this[i(184)]();return e(n)[i(195)](t=>{const e=i;return this[e(257)]=t,this[e(166)][e(133)][e(147)](e(193))&&this[e(166)][e(133)][e(178)](e(193))[e(186)](),this[e(166)][e(133)][e(147)](e(127))&&(this[e(166)][e(133)][e(178)](e(196))[e(167)][e(146)][e(156)][e(169)]=e(224)),t})[i(115)](t=>(console[i(227)](t),this[i(166)][i(162)](i(209)),null))})}[Qo(165)](){const t=Qo,e=this[t(166)][t(208)][t(178)](t(150))[t(244)];this[t(166)][t(208)][t(131)](t(264),()=>{const i=t;if(this[i(166)][i(133)][i(147)](i(114))&&this[i(166)][i(133)][i(178)](i(114))[i(236)](),this[i(166)][i(133)][i(147)](i(127))&&(this[i(166)][i(133)][i(178)](i(196))[i(167)][i(146)][i(156)][i(169)]=""),this[i(166)][i(133)][i(147)](i(173))){const t=this[i(166)][i(133)][i(178)](i(173))[i(167)][i(185)];for(const e of t)e[i(274)]=i(180)===e[i(274)]?"":e[i(274)][i(148)](i(175),"");if(this[i(166)][i(133)][i(147)](i(139))){const t=document[i(113)](i(170));t&&t[i(198)](i(192))}if(this[i(166)][i(133)][i(147)](i(233))){const t=document[i(113)](i(268));t&&t[i(198)](i(192))}}return this[i(257)][i(133)][i(178)](i(116))[i(206)](),e(this[i(257)])[i(195)](()=>{const t=i;if(this[t(166)][t(162)](t(209)),this[t(257)]=null,this[t(166)][t(133)][t(147)](t(193))){const e=this[t(166)][t(133)][t(178)](t(193));e[t(186)](),e[t(216)]()}})})}[Qo(259)](t){const e=Qo,i=this[e(166)][e(208)][e(178)](e(248)),s=this[e(166)][e(208)][e(178)](e(174)),n=this[e(166)][e(208)][e(178)](e(154));return Xo[e(275)](n,t)[e(195)](t=>(s[e(156)][e(169)]=e(229),i[e(156)][e(169)]=e(224),this[e(122)]=!0,t))}[Qo(119)](t){const e=Qo,i=this[e(166)][e(208)][e(178)](e(248));return this[e(166)][e(208)][e(178)](e(174))[e(156)][e(169)]=e(224),i[e(156)][e(169)]="",this[e(122)]=!1,t[e(214)]()}async[Qo(121)](t){const e=Qo,i=this[e(166)],s=this[e(257)][e(133)][e(178)](e(116)),n=i[e(133)][e(178)](e(238)),r=i[e(133)][e(178)](e(143)),o=s[e(200)][e(221)](t);let a,c,u;try{await r[e(189)](o,this[e(223)]),a=r[e(211)](o),c=r[e(210)](o)}catch(t){return void console[e(227)](t)}i[e(249)][e(194)](t=>{const s=e;for(const e of Array[s(267)](i[s(249)][s(271)][s(273)](s(137))))t[s(149)](e)}),s[e(158)]=!1,i[e(249)][e(219)](t=>{const s=e;t[s(163)](null),t[s(276)](i[s(249)][s(239)][s(258)][s(153)]());const n=Object[s(226)](a);for(const e of i[s(249)][s(239)][s(126)])s(181)!=e[s(246)]&&e[s(199)]()&&!n[s(232)](e[s(246)])&&t[s(265)](e);for(const e of n){let n=i[s(249)][s(239)][s(201)](e);n&&n[s(199)]()||(n=t[s(136)](e));const r=c[e],o=Object[s(226)](r),u=a[e];for(const e of n[s(153)]())o[s(232)](e)||t[s(198)](e,n);for(const i of o)t[s(256)](i,c[e][i],n);t[s(187)](t[s(160)](n)),t[s(176)](i[s(197)][s(245)](u,n),n,0)}});const l=at(i[e(129)],e(250));return u=o[e(263)]?-1==o[e(263)][e(142)](l)?l+": "+o[e(263)]:o[e(263)]:l+": "+o[e(190)][e(266)](i[e(129)][e(134)],{month:e(125),day:e(261)})+", "+o[e(190)][e(231)](i[e(129)][e(134)],{hour:e(261),minute:e(261)}),await n[e(260)]({name:u}),s[e(158)]=!0,i[e(208)][e(178)](e(150))[e(244)]()}}function na(){const t=["removeMarker","revisionHistory","isOfficialPlugin","revisionHistory.restoreRevisionCallback","getAttributeKeys","revisionHistory.viewerEditorElement","RestrictedEditingMode","style","commands","isReady","1314oOyLVH","createRangeIn","28aZvNsL","disableReadOnlyMode","setSelection","_update","_enhanceCloseRevisionViewerCallback","editor","view","toolbar","display",".ck-ai-chat__prompt-input .ck-textarea","addUser","62512YSCNak","AITabs","revisionHistory.viewerContainer"," ck-tab-panel_disabled","insert","users","get","_enhanceShowRevisionViewerCallback","ck-tab-panel_disabled","$graveyard","showRevisionViewerCallback","Dialog","_getRevisionViewerEditorConfig","panelViews","refreshVisibility","remove","1411225DZTeGu","loadRevisionData","createdAt","toJSON","tabindex","Annotations","change","then","DocumentOutlineUI","data","removeAttribute","isAttached","repository","getRoot","bind","2723892NFMXpy","save","define","_cleanUp","279690eLMrDg","config","revision-history-viewer-opened","getRevisionRootsAttributes","getRevisionDocumentData","requires","fromCharCode","destroy","map","refreshPositioning","revisionHistory.requireRevisionName","translations","enqueueChange","revisionHistory.showRevisionViewerCallback","getRevision","changesNavigation","adapter","none","restoreRevision","keys","error","enableReadOnlyMode","block","isEnabled","toLocaleTimeString","includes","AIChatHistory","join","AIActions","_recalculatePageBreaks","hide","RevisionTracker","document","Autosave","update","118362WkGfEO","fromVersion","closeRevisionViewerCallback","parse","rootName","result","revisionHistory.editorContainer","model","Restored","AIBalloon","getRevisions","creator","getUser","AIQuickActions","setAttribute","_viewerEditor","selection","_showRevisionViewer","saveRevision","numeric","push","name","revisionHistory.closeRevisionViewerCallback","detachRoot","toLocaleDateString","from",".ck-ai-chat-history .ck-input","1066667kzOKAO","end","markers","toVersion","getMarkersGroup","class","create","removeSelectionAttribute","21jIrHot","lazyRoots","25987140HrFKsC","exitToEditing","querySelector","PaginationLookup","catch","RevisionViewer","revision-history-missing-configuration","RevisionsRepository","_closeRevisionViewer","Users","_restoreRevision","isRevisionViewerOpen","isOpen","isPremiumPlugin","long","roots","DocumentOutline","isAnonymous","locale","init","set","AIReviewMode","plugins","uiLanguage","isReadOnly","addRoot","restrictedEditingException","RevisionHistoryUI","AIChat","addRevisionData","RevisionHistory","indexOf","RevisionHistoryUtils","RevisionViewerIntegration","pluginName","element","has","replace"];return(na=function(){return t})()}function ra(){var t=["4460214sRcqVk","534AtWrQo","6Bsxwna","5wfKVMo","4501352cLyDVq","6151RCYqFK","15194380gMzjmb","12897082MLjkgw","9paCXUX","10669337lLomPX","7579136xeddzz"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=314]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(843690===-parseInt(e(320))/1*(parseInt(e(316))/2)+parseInt(e(315))/3+parseInt(e(319))/4*(-parseInt(e(318))/5)+-parseInt(e(317))/6*(-parseInt(e(324))/7)+parseInt(e(314))/8+-parseInt(e(323))/9*(parseInt(e(321))/10)+parseInt(e(322))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={6:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},140:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},193:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(931)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},290:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},302:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},316:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},342:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},439:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},532:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},549:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},557:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},574:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},602:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},606:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},628:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},660:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},718:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},750:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},931:t=>{"use strict";t.exports=CKEditor5.collaborationDll},933:t=>{"use strict";t.exports=function(t){return t[1]}},997:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>na,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>sa,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 n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const M=A?.(t,e,i,s);if(null!=M)return M;if(null==(R=t)||"object"!=typeof R&&"function"!=typeof R)return t;var R;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function M(t){return A(t)}function R(t){return"__proto__"===t}function E(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&E(s,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/;function 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&&(L.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function U(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function H(t,e,i){return function(t,e,i,s){if(null==t&&!z(t))return t;const n=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?U(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=P(n[e]);if(R(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[e+1])?[]:{}}V(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function W(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(R(e))return i;const s=t[e];return void 0===s?W(e)?Z(t,U(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(R(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(R(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(R(s))return!1;try{return delete i[s],!0}catch{return!1}}const $=B;function B(t,e){const i=Y();return(B=function(t,e){return i[t-=253]})(t,e)}function Y(){const t=["createdAt","874614PJJFfC","857440qDSTxp","set","creatorId","371647qNshzv","authorsIds","toJSON","name","_update","map","creator","10rSFELF","setAttribute","1867032FqzFmy","diffData","removeAttribute","1657208oZZhEK","attributes","authors","fromVersion","setName","1152186VFxzeN","fire","model","963132BRxqtn","toVersion"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(535192===parseInt(e(270))/1+parseInt(e(279))/2+-parseInt(e(266))/3+parseInt(e(267))/4+parseInt(e(277))/5*(-parseInt(e(263))/6)+-parseInt(e(260))/7+-parseInt(e(255))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[$(276)];[$(257)];[$(253)];[$(264)];[$(258)];[$(262)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(276)]=e[i(276)]||null,this[i(257)]=e[i(257)]||[],this[i(253)]=e[i(253)]||null,this[i(264)]=e[i(264)]||0,this[i(258)]=e[i(258)]||0,this[i(268)](i(273),e[i(273)]||""),this[i(268)](i(265),e[i(265)]||new Date),this[i(268)](i(256),e[i(256)]||{})}[$(259)](t){this[$(274)]({name:t})}[$(278)](t,e){const i=$,s=M(this[i(256)]);H(s,t,e),this[i(274)]({attributes:s})}[$(254)](t){const e=$,i=M(this[e(256)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),R(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&W(e))return q(t,U(e));if(R(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(274)]({attributes:i})}[$(274)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(273),i(265),i(253),i(257),i(256),i(264),i(258),i(269)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(257)]&&(n[i(271)]=n[i(257)][i(275)](t=>t.id),delete n[i(257)]),this[i(261)](i(274),n,e))}[$(272)](){const t=$;return{id:this.id,name:this[t(273)],creatorId:this[t(276)]?this[t(276)].id:null,authorsIds:this[t(257)][t(275)](t=>t.id),diffData:this[t(253)],createdAt:this[t(265)],attributes:this[t(256)],fromVersion:this[t(258)],toVersion:this[t(264)]}}}var G=i(782),X=i(211),Q=i(783);function K(t,e){const i=et();return(K=function(t,e){return i[t-=175]})(t,e)}const tt=K;function et(){const t=["data","toJSON","_revisions","authorsIds","1348188uarQau","getUser","length","isNaN","5eTJgJs","isOfficialPlugin","33UxwLjH","createdAt","fromVersion","plugins","2926569ocLYBq","add","fromCharCode","8573390KEMoeZ","getLaterVisibleRevision","RevisionsRepository","diffData","648213YmLXwn","63WJYvNM","3917448QVlOlq","get","getRevisionsInDiff","toVersion","creatorId","getRevisions","8XmphOg","oldRevisionId","requires","getRevision","2177846zAhXGs","getIndex","afterInit","earlier","join","getEarlierVisibleRevision","newRevisionId","156990cktbJS","href","push","createRevision","isPremiumPlugin","name","pluginName","getRevisionsIterator","later","from","attributes","addRevision","reverse","editor","Users","map"];return(et=function(){return t})()}!function(t){const e=K,i=t();for(;;)try{if(867162===-parseInt(e(181))/1+-parseInt(e(193))/2+-parseInt(e(230))/3+-parseInt(e(220))/4*(-parseInt(e(224))/5)+parseInt(e(200))/6*(parseInt(e(182))/7)+-parseInt(e(189))/8*(-parseInt(e(183))/9)+parseInt(e(177))/10*(parseInt(e(226))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[tt(218)];static get[tt(191)](){return[X.Users]}static get[tt(206)](){return tt(179)}static get[tt(225)](){return!0}static get[tt(204)](){return!0}get[tt(222)](){const t=tt;return this[t(218)][t(222)]}constructor(e){const i=tt;super(e),this[i(218)]=new t.Collection}[tt(195)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=K;for(const e in window)if(window[k([78,117,109,98,101,114])][i(223)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=K;return t[e(215)](t=>String[e(176)](t))[e(197)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1759276800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=K,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(201)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>n[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[tt(203)](t){const e=tt,i=this[e(213)][e(229)][e(184)](e(214));return new J({id:t.id,name:t[e(205)],creator:t[e(187)]?i[e(221)](t[e(187)]):null,diffData:t[e(180)]||t[e(216)],authors:t[e(219)][e(215)](t=>i[e(221)](t)),createdAt:new Date(t[e(227)]),attributes:t[e(210)],fromVersion:t[e(228)],toVersion:t[e(186)]})}[tt(211)](t,e=0){const i=tt;this[i(218)][i(175)](t,e)}[tt(192)](t){const e=tt;return this[e(218)][e(184)](t)}[tt(188)](t={toJSON:!1}){const e=tt,i=Array[e(209)](this[e(218)]);return i[e(212)](),t[e(217)]?i[e(215)](t=>t[e(217)]()):i}[tt(194)](t){const e=tt;return this[e(218)][e(194)](t)}[tt(198)](t){const e=tt,[,i]=this[e(207)](t,{direction:e(196)});return i}[tt(178)](t){const e=tt,[,i]=this[e(207)](t,{direction:e(208)});return i}[tt(185)](t){const e=tt,i=[];for(const s of this[e(207)](t[e(199)]))if(i[e(202)](s),s.id===t[e(190)])break;return i}*[tt(207)](t,{direction:e=tt(196),filter:i=()=>!0}={}){const s=tt,n=s(196)===e?1:-1;let r=this[s(218)][s(184)](t),o=this[s(194)](r);for(yield r;r;){if(o+=n,r=this[s(192)](o),!r)return;i(r)&&(yield r)}}}function st(){const t=["2408014zTgqiQ","editor","createElement","document","diffData","collaboration.channelId","domConverter","htmlProcessor","getRevisionRootsAttributes","276iDCymO","1507875SUSzTx","view","getRevisionDocumentData","get","2885526mwBbaz","marked","length","toModel","_typeCharToViewClass","map","data-revision-","11961GncrrA","isAttached","getFillerOffset","forEach","attributesAfter","_viewClassToTypeChar","revision-end","div","processor","RevisionHistoryUtils","getRevision","_appendChild","_setCustomProperty","32etBQzE","useFillerType","467469azUbFf","toData","domChildrenToView","default","insertions","startsWith","string","type","customProperties","isPremiumPlugin","childNodes","isOfficialPlugin","pluginName","_makeModelFromViewString","parse","_getViewFromDiffObj","filter","attachChange","domDocument","loadRevisionData","name","append","attributes","viewChildrenToDom","_getTypeCharForViewElement","innerHTML","from","198483IsIjYb","fillerOffset","children","constructor","revision-start","config","98778LijrKk","_removeRevisionMarkers","editing","data","render"];return(st=function(){return t})()}const nt=rt;function rt(t,e){const i=st();return(rt=function(t,e){return i[t-=188]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(395759===-parseInt(e(227))/1+-parseInt(e(233))/2+-parseInt(e(259))/3*(parseInt(e(247))/4)+parseInt(e(248))/5+parseInt(e(252))/6+parseInt(e(238))/7+-parseInt(e(198))/8*(parseInt(e(200))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends G.Plugin{static get[nt(212)](){return nt(194)}static get[nt(211)](){return!0}static get[nt(209)](){return!0}[nt(190)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[nt(256)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[nt(219)](t,e){const i=nt;if(t[i(242)]||!e)return;const s=this[i(239)][i(232)][i(251)](i(243)),n=await e[i(195)]({channelId:s,revisionId:t.id});t[i(242)]=n[i(242)]}[nt(250)](t){const e=nt,i={};for(const s in t[e(242)]){if(t[e(242)][s][e(217)]&&!t[e(242)][s][e(217)][e(260)])continue;const n=this[e(234)](JSON[e(214)](t[e(242)][s][e(204)])),r=this[e(239)][e(235)][e(249)][e(241)],o=new Q.ViewDocumentFragment(r,n[e(257)](t=>this[e(215)](t,!1)));this[e(239)][e(236)][e(193)][e(199)](e(253)),i[s]=this[e(239)][e(236)][e(193)][e(201)](o),this[e(239)][e(236)][e(193)][e(199)](e(203))}return i}[nt(246)](t){const e=nt,i={};for(const s in t[e(242)])t[e(242)][s][e(217)]&&!t[e(242)][s][e(217)][e(260)]||(i[s]=t[e(242)][s][e(189)]||{});return i}[nt(224)](t){const e=nt;return this[e(190)][e(251)](t[e(230)])}[nt(215)](t,e){const i=nt,s=this[i(239)][i(235)][i(249)][i(241)];if(i(206)==typeof t)return new Q.ViewText(s,t);{let n,r;r="u"==t[i(207)]||"r"==t[i(207)]?[]:t[i(229)][i(257)](t=>this[i(215)](t,e));const o=this[i(256)][i(251)](t[i(207)])||Q.ViewElement,a=this[i(239)][i(236)][i(245)][i(244)];if(n=new o(s,t[i(220)],t[i(222)],r),"u"==t[i(207)]&&t[i(229)][0]){const r=t[i(229)][0];if(n[i(237)]=function(t){const e=i,s=t[e(240)](e(192));return s[e(225)]=r,s[e(210)][0]},e){const t=new Q.ViewDocumentFragment(s);t[i(196)](n);const e=Array[i(226)](a[i(223)](t,{bind:!1})),r=a[i(218)][i(240)](i(192));r[i(221)](...e),n=Array[i(226)](a[i(202)](r))[0]}}else if("r"==t[i(207)]&&t[i(229)][0]){const r=t[i(229)][0];if(n[i(237)]=function(t){t[i(225)]=r},e){const t=new Q.ViewDocumentFragment(s);t[i(196)](n);const e=Array[i(226)](a[i(223)](t,{bind:!1})),r=a[i(218)][i(240)](i(192));r[i(221)](...e);const o=Array[i(226)](a[i(202)](r));o[i(254)]>1?n[i(196)](o):n=o[0]}}if(t[i(208)])for(const[e,s]of t[i(208)])n[i(197)](e,s);const c=void 0===t[i(228)]?null:t[i(228)];return null!==c&&(n[i(261)]=()=>c),n}}[nt(213)](t){const e=nt,i=JSON[e(214)](t),s=this[e(239)][e(235)][e(249)][e(241)],n=new Q.ViewDocumentFragment(s,i[e(257)](t=>this[e(215)](t,!0)));return this[e(239)][e(236)][e(255)](n)}[nt(234)](t){const e=nt;return(t=t[e(216)](t=>!t[e(220)]||e(231)!==t[e(220)]&&e(191)!==t[e(220)]))[e(188)](t=>{const i=e;i(206)!=typeof t&&(t[i(229)]=this[i(234)](t[i(229)]),t[i(222)]=t[i(222)][i(216)](t=>!t[0][i(205)](i(258))))}),t}}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return E(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const M=(s=s??new Map).get(t),R=s.get(i);if(null!=M&&null!=R)return M===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,x));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,x)||ct(t)&&ct(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=gt;function mt(){const t=["toView","dataToMarker","_saveMetaData","_handleMoveOperation","outerHTML","string","markerToData","toVersion","deletion","render","expired","rootName","_removePendingAction","fromVersion","upcast","range","_makeIdsRoot","sendBufferedUpdates","_authorId","revisionHistoryLicenseKeyExpired","revision:","model","getNodeByPath","createRange","addRootAttribute","_insertChild","currentRevision","insertion","for","_isInit","_markers","data","update","position","length","source","revisionHistoryLicenseKeyUsageLimit","getData","newValue","invalid","_baseRootsAttributes","_getPreviousFrom","$text","getTransformedByOperation","keys","customProperties","_fixRange","size","howMany","_getVidAttributeName","requires","_update","RevisionTracker","getWalker","_transformMarkers","init","getOperations","_findInsertionIndex","userId","createRangeIn","startsWith","isPremiumPlugin","170656byhOCY","_handleSplitOperation","root","Users","adapter","marker","detachRoot","children","_continueCurrentRevision","path","licenseKey","_getState","text","sort","updateRevisions","PENDING_ACTION_REVISION_HISTORY","_handleOperation","Empty document","sourcePosition","addRevision","attributesAfter","_pendingAction","vid_start","_handleRootAttributeOperation","getTime","_setConversion","oldRange","_savedMetaData","revision","2609148EWFzQH","$graveyard","has","end","bind","revisionHistoryLicenseKeyDomainLimit","_fixOperation","parent","getIndex","innerHTML","locale","_makeRevision","getLatestVersion","reinsert","getChild","buildRevisionData","dataDowncast","_getViewJson","conversion","uiElement","featureNotAllowed","_touchedMarkers","remove","revisionHistoryLicenseKeyEvaluationLimit","_fixPosition","getCurrentRevisionId","_bufferedUpdates","removeRootAttribute","RevisionsRepository","setSource","usageLimit","type","plugins","_createFromRanges","_getBaseVids","_touchedRoots","rawElement","pluginName","_makeModelFromViewString","attachChange","newRange","evaluationLimit","_touched","item","reverse","previousPosition","12aufbpl","then","creator","revisionHistoryLicenseKeyNotAllowed","23528qwFolF","trim","createElement","_baseIdsRoots","$comment","_processRootBeforeSave","getAncestors","graveyardPosition","domainLimit","roots","deletions","_lastFrom","revisionHistoryLicenseKeyValid","_applyOperations","key","_copyMarkers","_clone","_removeMetaData","move","authorsIds","PendingActions","clone","hasContent","markers","getRevision","createPositionBefore","includes","splitPosition","_idsRoots","version","getRevisionRootsAttributes","insert","_showLicenseError","changeRootAttribute","_handleRootOperation","offset","RealTimeCollaborationClient","domConverter","element","_startingRevisionId","map","_replaceEditorDataWithRevisionData","name","domDocument","editor-initial-data-replaced-with-revision-data","elementStart","some","find","keepParagraph","stickiness","_loadedStateData","24630067kOmbCg","affectsData","diffData","saveRevision","rootsAttributes","initialData","isAttached","_handleMarkerOperation","_markChanges","get","63QHDkMS","_createCurrentRevision","fillerOffset","nodes","merge","stringify","getRange","targetPosition","_source","document","trialLimit","_reset","getAttributes","finally","addRevisionData","initial","_calculateMetaData","5628954nZRIYk","push","_getTypeCharForViewElement","insertionPosition","createPositionFromPath","_diffRootsAttributes","getRevisions","getCustomProperties","_startingVersion","_addPendingAction","split","fromEntries","shift","revisionHistoryLicenseKeyTrialLimit","slice","revisionHistory.resumeUnsavedRevision","_prepareViewToSave","loadRevisionData","config","_generateTape","Initial revision","collaboration.channelId","_setAttribute","tableCell","NEGATIVE_INFINITY","getRevisionDocumentData","delete","add","getChildren","insertions","_loadState","1603DzkNWe","createdAt","documentFragment","creatorId","_revisionId","isEqual","define","repository","resolve","attributesBefore","_utils","_licenseKeyCheckInterval","3dSPBKh","_initialRevisionId","getFillerOffset","getOperation","max","isOfficialPlugin","_handleInsertOperation","htmlProcessor","getUser","nodeAfter","setRevisionData","_execute","set","RevisionHistory","isEnabled","getRoot","isAdd","264820ZZvfQI","afterInit","editor","history","_handleMergeOperation","elementEnd","offsetSize","from","_revisionDataBuilder","destroy","4608360SyyXzf","_diffRoots","getMovedRangeStart","RevisionHistoryUtils","baseVersion","vid","_isAttached","revisionHistoryLicenseKeyInvalid","ready","authors","vid_end","values","_getFromVersion","createPositionAfter","start","getRootNames","childCount","isReady","_cloneOperation","addRoot","getAttribute","_appendChild","createPositionAt","clear","_operations","createRevision","loadState","_isPendingUpdate","_lastTo","_baseRoots","reInit","_createInitialRevision","_bufferUpdate","paragraph","filter"];return(mt=function(){return t})()}!function(t){const e=gt,i=t();for(;;)try{if(808842===-parseInt(e(502))/1*(-parseInt(e(427))/2)+-parseInt(e(303))/3*(-parseInt(e(456))/4)+parseInt(e(330))/5+parseInt(e(260))/6+-parseInt(e(291))/7*(parseInt(e(506))/8)+-parseInt(e(243))/9*(-parseInt(e(320))/10)+-parseInt(e(233))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends G.Plugin{[ft(437)];[ft(302)];[ft(391)]=null;[ft(298)];[ft(431)]=null;[ft(328)];[ft(251)];[ft(304)];[ft(482)];[ft(301)];[ft(448)];[ft(435)];[ft(268)];[ft(232)];static get[ft(493)](){return ft(417)}static get[ft(308)](){return!0}static get[ft(426)](){return!0}static get[ft(415)](){return[X.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(298)]=this[i(322)][i(488)][i(242)](i(484)),this[i(301)]=this[i(322)][i(488)][i(242)](i(333)),this[i(328)]=new vt(this[i(322)]),this[i(304)]=this[i(322)][i(278)][i(242)](i(281))||i(258),this[i(482)]=new Map,this[i(232)]=null;const s=(0,t.uid)();this[i(251)]={history:this[i(322)][i(386)][i(252)][i(323)],getLatestVersion:()=>Promise[i(299)](this[i(322)][i(386)][i(252)][i(211)]),getCurrentRevisionId:()=>s},this[i(315)](i(347),!1),this[i(315)](i(317),!0),this[i(315)](i(357),!1),this[i(322)][i(278)][i(297)](i(275),!0),this[i(322)][i(474)][i(393)](i(379))[i(366)]({view:i(455)})}[ft(420)](){const t=ft;this[t(452)](),this[t(322)][t(396)].on(t(338),()=>{const e=t,i=this[e(298)][e(206)](0),s=i&&null===i[e(504)]?i:null;if(this[e(435)]=!!s&&this[e(322)][e(278)][e(242)](e(275)),this[e(322)][e(488)][e(458)](e(218))){const t=this[e(251)][e(481)](),n=this[e(298)][e(206)](t);if(n)this[e(268)]=n[e(378)],this[e(435)]=!1;else{const t=this[e(251)][e(323)][e(354)][e(229)](t=>!t[e(394)]),n=t?t[e(334)]:this[e(251)][e(323)][e(211)];i?(i[e(372)]<n&&i[e(416)]({toVersion:n}),this[e(435)]?(this[e(251)][e(481)]=()=>s.id,this[e(268)]=s[e(378)]):(this[e(268)]=i[e(372)],this[e(435)]=!1)):(this[e(268)]=n,this[e(435)]=!1)}}else s&&(this[e(322)][e(386)][e(252)][e(323)][e(211)]=Math[e(307)](s[e(372)],this[e(322)][e(386)][e(252)][e(323)][e(211)]),s[e(378)]===s[e(372)]?(0!==s[e(378)]&&(this[e(251)][e(481)]=()=>s.id),this[e(435)]=!1):this[e(435)]&&(this[e(251)][e(481)]=()=>s.id,this[e(268)]=s[e(378)])),this[e(435)]||(this[e(268)]=this[e(322)][e(386)][e(252)][e(211)]);this[e(328)][e(420)](this[e(251)][e(323)]),this[e(361)](this[e(268)]),this[e(244)](this[e(268)]),this[e(431)]&&this[e(382)]()}),this[t(460)](t(347)).to(this,t(357),t=>!t),this[t(437)]=this[t(322)][t(278)][t(242)](t(437));const e=this[t(322)];this[t(302)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(194)==r||i(337)==r||i(384)==r||i(461)==r||i(505)==r||i(479)==r||i(273)==r||i(401)==r){delete e[n],s=r,clearInterval(this[i(302)]),this[i(302)]=void 0;break}}i(337)==s&&e[i(214)](i(404)),i(384)==s&&e[i(214)](i(375)),i(461)==s&&e[i(214)](i(514)),i(505)==s&&e[i(214)](i(476),i(316)),i(479)==s&&e[i(214)](i(497)),i(273)==s&&e[i(214)](i(253)),i(401)==s&&e[i(214)](i(486))},1e3)}async[ft(321)](){const t=ft;if(this[t(298)][t(399)]>0){const e=this[t(298)][t(206)](0),i=await this[t(285)](e),s=await this[t(212)](e);this[t(223)](i,s)}}[ft(329)](){const t=ft;super[t(329)](),this[t(302)]&&clearInterval(this[t(302)])}[ft(485)](t){this[ft(251)]=t}async[ft(397)](){const t=ft,e=await this[t(251)][t(468)]();if(e>this[t(391)][t(372)]){await this[t(290)]();const i=this[t(471)]({revision:this[t(391)],to:e});i[t(339)]=i[t(201)][t(222)](e=>this[t(322)][t(488)][t(242)](t(430))[t(311)](e)),this[t(391)][t(416)](i)}}async[ft(236)](e={},i=null){const s=ft,n=[];await this[s(290)](),this[s(435)]=!1,i>this[s(391)][s(372)]&&(i=null),null===i&&(i=await this[s(251)][s(468)]());const r=this[s(342)](i),o=this[s(471)]({from:r,to:i});if(this[s(391)][s(372)]<i){const t=this[s(471)]({revision:this[s(391)],from:i,to:i});t[s(339)]=[],t[s(201)]=[],t.id=this[s(391)].id,this[s(391)][s(416)](t,!0),delete t[s(339)],n[s(261)](t)}e[s(294)]=this[s(322)][s(488)][s(242)](s(430)).me.id,e[s(224)]=e[s(224)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(257)](e);n[s(261)](e);const c=this[s(298)][s(464)](a);if(0!==c){const t=this[s(298)][s(206)](c-1);if(t[s(378)]!==i){const r=this[s(328)][s(402)](i,t[s(372)]),o={id:t.id,diffData:r[s(235)],authorsIds:r[s(201)],authors:r[s(201)][s(222)](t=>this[s(322)][s(488)][s(242)](s(430))[s(311)](t)),fromVersion:i};t===this[s(391)]&&(o[s(292)]=new Date(e[s(292)][s(451)]()+10)),t[s(416)](o,!0),delete o[s(339)],n[s(261)](o)}}if(this[s(431)]){for(const t of n)this[s(362)](t.id,t,!0);this[s(382)]()}return a}[ft(257)](t){const e=ft,i=this[e(298)][e(355)](t);return this[e(431)]&&i.on(e(416),(t,i,s)=>{const n=e;s||(this[n(362)](i.id,i,!0),this[n(382)]())}),this[e(298)][e(446)](i,this[e(422)](i)),i}async[ft(285)](t){const e=ft;return await this[e(301)][e(277)](t,this[e(431)]),this[e(301)][e(285)](t)}async[ft(212)](t){const e=ft;return await this[e(301)][e(277)](t,this[e(431)]),this[e(301)][e(212)](t)}[ft(382)](){const t=ft;if(0===this[t(482)][t(412)])return;if(this[t(357)])return;let e=Array[t(327)](this[t(482)][t(341)]());this[t(482)][t(353)]();for(let i=0;i<e[t(399)];i++){const s=e[i];let n=!1;for(const e of Object[t(409)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(364)](t=>null!==t),!e[t(399)])return;for(let i=0;i<e[t(399)];i++){const s=e[i];void 0!==s[t(378)]&&void 0===s[t(372)]&&(s[t(372)]=this[t(298)][t(206)](s.id)[t(372)]),void 0!==s[t(372)]&&void 0===s[t(378)]&&(s[t(378)]=this[t(298)][t(206)](s.id)[t(378)])}const i=this[t(322)][t(278)][t(242)](t(281));this[t(357)]=!0,this[t(269)](),this[t(431)][t(441)](e,i)[t(256)](()=>{this[t(357)]=!1})[t(503)](e=>{const i=t;if(e)for(const t of e)this[i(313)]({id:t.id,createdAt:t[i(292)]});this[i(377)](),this[i(382)]()})}[ft(471)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(378)],i=null!==i?i:t[s(372)];const n=this[s(328)][s(402)](e,i),r={diffData:n[s(235)],authorsIds:n[s(201)],fromVersion:e,toVersion:i};if(!t||i!==t[s(372)]){const t=i-1,e=this[s(251)][s(323)][s(306)](t);r[s(292)]=e&&e[s(292)]||new Date}if(this[s(232)]&&e===this[s(232)][s(378)])for(const t of this[s(232)][s(339)])r[s(201)][s(208)](t.id)||r[s(201)][s(261)](t.id);return r}[ft(362)](t,e,i){const s=ft;if(this[s(482)][s(458)](t)){const n=this[s(482)][s(242)](t);e=i?{...n,...e}:{...e,...n}}this[s(482)][s(315)](t,e)}[ft(313)](t){const e=ft,i=this[e(298)][e(206)](t.id);if(t[e(292)]&&(t[e(292)]=new Date(t[e(292)])),t[e(201)]){const i=this[e(322)][e(488)][e(242)](e(430));t[e(339)]=t[e(201)][e(222)](t=>i[e(311)](t))}i[e(416)](t,!0)}[ft(361)](t){const e=ft,i=this[e(298)][e(206)](this[e(298)][e(399)]-1);if(i)this[e(304)]=i.id;else{const i=!this[e(322)][e(386)][e(252)][e(191)][e(229)](t=>this[e(322)][e(386)][e(204)](t)),s=this[e(322)][e(488)][e(242)](e(430)).me.id,n=at(this[e(322)][e(466)],e(i?444:280));this[e(467)]({from:t,to:t,id:this[e(304)],name:n,creatorId:s})}}[ft(244)](t){const e=ft,i=this[e(251)][e(481)]();this[e(391)]=this[e(298)][e(206)](i),this[e(391)]||(this[e(391)]=this[e(467)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(290)](){const t=ft;this[t(435)]&&!this[t(232)]&&(await this[t(301)][t(277)](this[t(391)],this[t(431)]),this[t(328)][t(356)](this[t(391)]),this[t(232)]={fromVersion:this[t(391)][t(378)],authors:this[t(391)][t(339)][t(274)]()})}[ft(223)](e,i){const s=ft;let n=this[s(322)][s(278)][s(242)](s(238)),r=this[s(322)][s(278)][s(242)](s(237));if(void 0===n){n={};for(const t of this[s(322)][s(386)][s(252)][s(345)]())n[t]=""}if(s(370)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(322)][s(386)][s(252)][s(345)]())r[t]={}}let o=!1;const a=Object[s(409)](n),c=Object[s(409)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(507)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(409)](r[t])[s(399)]>0){o=!0;break}}o||(o=c[s(228)](t=>!this[s(322)][s(386)][s(252)][s(318)](t))),o&&(0,t.logWarning)(s(226),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(322)][s(278)][s(315)](s(238),e),this[s(322)][s(278)][s(315)](s(237),i)}[ft(269)](){const t=ft;if(!this[t(448)]){const e=this[t(322)][t(488)][t(242)](t(202));this[t(448)]=e[t(287)](at(this[t(322)][t(466)],t(442)))}}[ft(377)](){const t=ft;this[t(448)]&&(this[t(322)][t(488)][t(242)](t(202))[t(478)](this[t(448)]),this[t(448)]=null)}[ft(422)](t){const e=ft,i=this[e(298)][e(266)]();i[e(500)]();let s=0;for(;s<i[e(399)];){const n=i[s];if(n===this[e(391)]){s++;continue}if(n.id===this[e(304)])break;const r=t[e(372)]-n[e(372)]||t[e(378)]-n[e(378)];if(r>0)break;if(r<0)s++;else{if(!t[e(504)]&&n[e(504)])break;if(n[e(504)]||!t[e(504)]){if(t[e(292)]>n[e(292)])break;s++}else s++}}return s}[ft(342)](t){const e=ft,i=this[e(298)][e(266)]();i[e(500)](),i[e(272)]();const s=i[e(229)](i=>i[e(372)]<=t)[e(372)];return s<this[e(268)]?this[e(268)]:s}[ft(467)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(471)]({from:e,to:i});o[r(224)]=t,o[r(294)]=s,o.id=n;const a=this[r(257)](o);return this[r(431)]&&this[r(362)](o.id,o,!0),a}[ft(452)](){const t=ft;this[t(322)][t(474)][t(393)](t(472))[t(371)]({model:t(455)})}}class vt{[ft(322)];[ft(400)];[ft(454)];[ft(193)];[ft(358)];[ft(395)];[ft(331)];[ft(265)];[ft(359)];[ft(405)];[ft(210)];[ft(509)];[ft(498)];[ft(477)];[ft(491)];[ft(295)];[ft(221)];constructor(t){const e=ft;this[e(322)]=t,this[e(454)]=new Map,this[e(193)]=-1,this[e(358)]=-1,this[e(395)]=new Map,this[e(331)]=new Map,this[e(265)]=new Map,this[e(359)]=new Map,this[e(405)]=new Map,this[e(210)]=new Map,this[e(509)]=new Map,this[e(498)]=new Map,this[e(477)]=new Map,this[e(491)]=new Map,this[e(295)]=1}[ft(420)](t){const e=ft;this[e(400)]=t;const i=new Map,s=new Map,n=this[e(322)][e(386)][e(252)][e(191)][e(222)](t=>t[e(376)]);for(const t of n){const n=this[e(322)][e(386)][e(252)][e(318)](t),r=yt(n);i[e(315)](t,r),s[e(315)](t,Object[e(271)](n[e(255)]()))}const r=Array[e(327)](this[e(322)][e(386)][e(205)])[e(222)](t=>[t[e(224)],t[e(249)]()]),o=this[e(400)][e(211)];this[e(367)](o,i,r,s),this[e(221)]=this[e(295)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(315)](t,i),c[e(315)](t,{})}this[e(367)](Number[e(284)],a,[],c)}[ft(402)](t,e){const i=ft;if(this[i(193)]===t&&this[i(358)]<=e)this[i(454)][i(412)]>1&&this[i(199)](this[i(358)]),this[i(195)](this[i(358)],e,!0);else{if(!this[i(454)][i(458)](t)){const e=this[i(406)](t);this[i(259)](e,t,!1)}this[i(259)](t,e,!0)}return this[i(193)]=t,this[i(358)]=e,this[i(438)]()}[ft(356)](t){const e=ft;if(!this[e(454)][e(458)](t[e(378)])){const i=this[e(406)](t[e(378)]);this[e(259)](i,t[e(378)],!1)}this[e(259)](t[e(378)],t[e(372)],!1);const i=this[e(322)][e(488)][e(242)](e(333));this[e(254)](),this[e(193)]=t[e(378)],this[e(358)]=t[e(372)];for(const s in t[e(235)]){const n=t[e(235)][s][e(495)],r=M(t[e(235)][s][e(300)])||{},o=i[e(494)](t[e(235)][s][e(192)]);o[e(376)]=s,o[e(336)]=!n||!n[e(239)],o[e(239)]=()=>o[e(336)],this[e(359)][e(315)](s,o),this[e(405)][e(315)](s,r),n&&this[e(491)][e(315)](s,n);const a=this[e(381)](o);this[e(509)][e(315)](s,a);for(const[t,i]of o[e(205)]){if(!t[e(425)](e(385)))continue;const s=t[e(270)](":")[2];for(const t of i[e(418)]({singleCharacters:!0})){const i=this[e(414)](t),n=e(325)==t[e(487)]?t[e(501)][e(436)][e(274)](0,-1):t[e(501)][e(436)],r=a[e(387)](n)[e(350)](i);this[e(498)][e(315)](r,{userId:s})}}}this[e(221)]=this[e(295)];const s=[...Array(this[e(295)])[e(409)]()][e(274)](1)[e(364)](t=>!this[e(498)][e(458)](t));let n=0;const r=new Map;for(const o in t[e(235)]){const a=t[e(235)][o][e(495)],c=M(t[e(235)][o][e(447)])||{},u=i[e(494)](t[e(235)][o][e(289)]);u[e(376)]=o,u[e(336)]=!a||a[e(239)],u[e(239)]=()=>u[e(336)],this[e(331)][e(315)](o,u),this[e(265)][e(315)](o,c);const l=this[e(381)](u,Number[e(284)]);this[e(210)][e(315)](o,l),r[e(315)](o,u[e(239)]()?c:{});for(const[t,i]of u[e(205)]){if(!t[e(425)](e(385)))continue;const s=t[e(270)](":")[2];for(const t of i[e(418)]({singleCharacters:!0})){const i=this[e(414)](t),n=this[e(295)]++,r=e(325)==t[e(487)]?t[e(501)][e(436)][e(274)](0,-1):t[e(501)][e(436)];l[e(387)](r)[e(282)](i,n),this[e(498)][e(315)](n,{userId:s})}}for(const t of this[e(322)][e(386)][e(424)](u)[e(418)]({singleCharacters:!0})){const i=this[e(414)](t),r=e(325)==t[e(487)]?t[e(501)][e(436)][e(274)](0,-1):t[e(501)][e(436)],o=l[e(387)](r);o[e(350)](i)>0||o[e(282)](i,s[n++])}for(const[t,i]of u[e(205)])t[e(425)](e(385))||this[e(395)][e(315)](t,i)}const{roots:o}=this[e(454)][e(242)](t[e(378)]),{roots:a}=this[e(454)][e(242)](t[e(372)]),c=yt(o[e(242)](e(457)));this[e(359)][e(315)](e(457),c),this[e(509)][e(315)](e(457),this[e(381)](c,Number[e(284)]));const u=yt(a[e(242)](e(457)));this[e(331)][e(315)](e(457),u),this[e(210)][e(315)](e(457),this[e(381)](u));const l=Array[e(327)](this[e(331)])[e(222)](([t,e])=>[t,yt(e)]);this[e(367)](this[e(358)],l,this[e(395)],r)}[ft(360)](){const t=ft;this[t(254)](),this[t(193)]=-1,this[t(358)]=-1,this[t(454)][t(353)](),this[t(420)](this[t(400)])}[ft(367)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(M(s)),a=new Map;for(const[t,e]of i)a[n(315)](t,{start:e[n(344)][n(203)](),end:e[n(459)][n(203)](),rootName:e[n(429)][n(376)]});this[n(454)][n(315)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(199)](t){const e=ft;this[e(454)][e(286)](t)}[ft(254)](){const t=ft;this[t(498)][t(353)](),this[t(477)][t(353)](),this[t(491)][t(353)](),this[t(331)][t(353)](),this[t(265)][t(353)](),this[t(359)][t(353)](),this[t(405)][t(353)](),this[t(210)][t(353)](),this[t(509)][t(353)](),this[t(395)][t(353)](),this[t(295)]=1,this[t(221)]=this[t(295)]}[ft(381)](t,e=null){const i=ft;let s=null;t.is(i(293))||(s=new Q.ModelElement(t[i(224)],{vid_start:null===e?this[i(295)]++:e++}));const n=[];for(const s of t[i(288)]())if(s.is(i(220))){n[i(261)](this[i(381)](s,e));const t=n[n[i(399)]-1];null!==e&&(e=t.is(i(220),i(407))?t[i(350)](i(335))+1:t[i(350)](i(340))+1)}else for(let t=0;t<s[i(326)];t++)n[i(261)](new Q.ModelElement(i(407),{vid:null===e?this[i(295)]++:e++}));if(t.is(i(293))){const e=kt(t[i(376)]);return e[i(390)](0,n),e}return s[i(282)](i(340),null===e?this[i(295)]++:e++),s[i(390)](0,n),s}[ft(259)](t,e,i){const s=ft;this[s(254)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(454)][s(242)](t);this[s(359)]=new Map(n),this[s(405)]=new Map(M(o));for(const[t,e]of this[s(359)])if(s(457)!==t&&(this[s(331)][s(315)](t,yt(e)),this[s(265)]=new Map(M(o)),i)){const i=this[s(295)];this[s(210)][s(315)](t,this[s(381)](e)),this[s(509)][s(315)](t,this[s(381)](e,i))}this[s(221)]=this[s(295)],this[s(331)][s(315)](s(457),yt(this[s(359)][s(242)](s(457)))),i&&this[s(210)][s(315)](s(457),this[s(381)](this[s(359)][s(242)](s(457))));for(const[t,e]of r){const i=this[s(359)][s(242)](e[s(376)]),n=this[s(331)][s(242)](e[s(376)]),r=new Q.ModelRange(this[s(480)](e[s(344)],i),this[s(480)](e[s(459)],i)),o=this[s(411)](r,n);i[s(205)][s(315)](t,r),this[s(395)][s(315)](t,o)}this[s(195)](t,e,i)}[ft(195)](t,e,i){const s=ft;for(const n of this[s(400)][s(421)](t,e))this[s(443)](n,i);for(const t of this[s(331)][s(341)]())t[s(205)][s(353)]();for(const[t,e]of this[s(395)])this[s(331)][s(242)](e[s(429)][s(376)])[s(205)][s(315)](t,e[s(203)]());const n=new Map,r=new Map;for(const[t,e]of this[s(331)])n[s(315)](t,yt(e)),r[s(315)](t,this[s(265)][s(242)](t));this[s(367)](e,n,this[s(395)],r)}[ft(406)](t){const e=ft,i=Array[e(327)](this[e(454)][e(409)]());i[e(440)]((t,e)=>t-e),i[e(500)]();for(const e of i)if(e<t)return e;return Number[e(284)]}[ft(197)](t,e){const i=ft,s=Array[i(327)](e[i(205)])[i(222)](([e,s])=>[e,this[i(411)](s,t)]);t[i(205)]=new Map(s)}[ft(419)](t){const e=ft;for(const i of this[e(395)][e(341)]()){const s=i[e(408)](t),n=Q.ModelRange[e(489)](s);i[e(344)]=n[e(344)],i[e(459)]=n[e(459)]}}[ft(443)](t,e){const i=ft;if(i(349)!=t[i(487)]&&i(433)!=t[i(487)]){if(i(213)==t[i(487)]){const s=t[i(398)][i(429)][i(376)];this[i(331)][i(458)](s)||(this[i(331)][i(315)](s,kt(s,!0)),this[i(265)][i(315)](s,{}),e&&this[i(210)][i(315)](s,kt(s,!0)))}else{if(i(389)==t[i(487)]||i(483)==t[i(487)]||i(215)==t[i(487)])return void this[i(450)](t);i(432)==t[i(487)]&&this[i(240)](t)}if(i(432)!==t[i(487)]){const e=this[i(348)](t,this[i(331)]);e[i(314)](),this[i(419)](e)}if(e)switch(t[i(487)]){case i(213):this[i(309)](t);break;case i(200):case i(478):case i(469):this[i(368)](t);break;case i(247):this[i(324)](t);break;case i(270):this[i(428)](t)}}else this[i(216)](t,e)}[ft(348)](t,e){const i=ft,s=t[i(203)]();return s[i(383)]=t[i(383)],this[i(462)](s,e),s}[ft(490)](t){const e=ft;return t[e(222)](t=>{const i=e,s=this[i(414)](t);return Number(t[i(499)][i(350)](s))})}[ft(279)](t,e){const i=ft;if(t.is(i(220),i(407)))e[i(261)]({item:t,type:i(439)});else{t.is(i(220))&&e[i(261)]({item:t,type:i(227)});for(const s of t[i(288)]())this[i(279)](s,e);t.is(i(220))&&e[i(261)]({item:t,type:i(325)})}return e}[ft(438)](){const t=ft,e=new Map(this[t(498)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(359)][t(409)](),...this[t(331)][t(409)]()]);a[t(286)](t(457));for(const e of a){const i=this[t(331)][t(242)](e)||kt(e,!1),s=this[t(359)][t(242)](e)||kt(e,!1);i[t(239)]()||s[t(239)]()?(n[t(289)][e]=yt(i),n[t(192)][e]=yt(s),this[t(197)](n[t(192)][e],s),this[t(197)](n[t(289)][e],i),r[t(289)][e]=this[t(279)](this[t(210)][t(242)](e),[]),r[t(192)][e]=this[t(279)](this[t(509)][t(242)](e)||kt(e,!1),[])):a[t(286)](e)}for(const n of a){const o=r[t(289)][n];for(const n of o){const r=this[t(414)](n),o=n[t(499)][t(350)](r);i[t(286)](o),o>=this[t(221)]&&s[t(315)](o,e[t(242)](o))}}for(const n of a){const a=r[t(289)][n],c=this[t(490)](r[t(192)][n]);let u=0;for(const n of a){const r=this[t(414)](n),a=n[t(499)][t(350)](r);if(!s[t(458)](a)&&!o[t(458)](a))if(i[t(458)](a))u++;else{if(a!=c[u]){const s=e[t(242)](a)||e[t(242)](c[u]);for(;a!=c[u];)i[t(458)](c[u])||(o[t(315)](c[u],s),e[t(315)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(289)][e];for(const e of n){const n=this[t(414)](e),r=e[t(499)][t(350)](n);if(o[t(458)](r)){const e=o[t(242)](r);i[t(458)](r)||i[t(315)](r,{...e}),s[t(315)](r,{...e})}}}for(const e of i[t(409)]())e>=this[t(221)]&&i[t(286)](e);const c=new Map;for(const e of a){let n=r[t(289)][e];for(const e of n)if(e[t(499)].is(t(220),t(283))){const i=this[t(414)](e),n=e[t(499)][t(350)](i);if(s[t(458)](n)){const i=e[t(499)][t(463)][t(463)][t(350)](t(449)),r=c[t(242)](i)||new Set;r[t(287)](s[t(242)](n)[t(423)]),c[t(315)](i,r)}}n=r[t(192)][e];for(const e of n)if(e[t(499)].is(t(220),t(283))){const s=this[t(414)](e),n=e[t(499)][t(350)](s);if(i[t(458)](n)){const s=e[t(499)][t(463)][t(463)][t(350)](t(449)),r=c[t(242)](s)||new Set;r[t(287)](i[t(242)](n)[t(423)]),c[t(315)](s,r)}}for(const e of c[t(409)]())(s[t(458)](e)||i[t(458)](e))&&c[t(286)](e)}for(const e of a){const n=r[t(289)][e];let o=null,a=null;for(const e of n){const n=this[t(414)](e),r=e[t(499)][t(350)](n),u=c[t(242)](r);u&&t(227)==e[t(487)]&&(o=Array[t(327)](u)[0],a=e[t(499)][t(350)](t(340))),o&&(i[t(315)](r,{userId:o}),s[t(315)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(192)][e],a=n[t(289)][e];for(const{userId:e}of this[t(477)][t(341)]())null!==e&&l[t(287)](e);for(const{userId:e}of this[t(491)][t(341)]())null!==e&&l[t(287)](e);this[t(241)](a,r[t(289)][e],s,t(392),l),this[t(241)](o,r[t(192)][e],i,t(373),l),u[e]={insertions:this[t(276)](a),deletions:this[t(276)](o),attachChange:this[t(491)][t(242)](e)||null,attributesBefore:M(this[t(405)][t(242)](e))||{},attributesAfter:M(this[t(265)][t(242)](e))}}return{diffData:u,authorsIds:Array[t(327)](l)}}[ft(511)](t){const e=ft;for(const[,i]of t[e(205)]){const t=i[e(344)][e(512)]()[e(364)](t=>e(283)==t[e(224)]);for(const i of t)1==i[e(346)]&&i[e(470)](0).is(e(220),e(363))&&i[e(470)](0)[e(282)](e(230),!0)}}[ft(276)](t){const e=ft;this[e(511)](t);const i=this[e(322)][e(396)][e(365)](t,{}),s=Array[e(327)](i[e(288)]())[e(222)](t=>this[e(473)](t));return JSON[e(248)](s)}[ft(473)](t){const e=ft;if(t.is(e(407)))return t[e(396)];{const i=this[e(322)][e(488)][e(242)](e(333)),s=t,n=this[e(322)][e(396)][e(310)][e(219)],r={type:i[e(262)](s),name:s[e(224)],attributes:Array[e(327)](s[e(255)]()),children:Array[e(327)](s[e(288)]())[e(222)](t=>this[e(473)](t))};if(t.is(e(475))&&e(510)!=t[e(224)]){const i=t[e(374)](n[e(225)],n);r[e(434)][e(261)](i[e(369)])}else if(t.is(e(492))){const i=n[e(225)][e(508)](s[e(224)]);t[e(374)](i,n),r[e(434)][e(261)](i[e(465)])}const o=Array[e(327)](s[e(267)]());o[e(399)]>0&&(r[e(410)]=o);const a=s[e(305)]();return null!==a&&(r[e(245)]=a),r}}[ft(241)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(322)][r(386)];for(let s=0;s<e[r(399)];s++){const n=this[r(414)](e[s]),c=e[s][r(499)][r(350)](n),h=i[r(242)](c),d=s==e[r(399)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(423)]!=o[r(423)])&&(l(h,bt(a,t,u),bt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,bt(a,t,u),wt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(423)],d=l(385)+s+":"+h+":"+c++,f=u[l(388)](i,a);t[l(205)][l(315)](d,f),null!==h&&n[l(287)](h)}}[ft(414)](t){const e=ft;switch(t[e(487)]){case e(227):return e(449);case e(325):return e(340);default:return e(335)}}[ft(462)](t,e){const i=ft;t[i(334)]=null;for(const s in t){const n=t[s];if(n instanceof Q.ModelPosition){const r=e[i(242)](n[i(429)][i(376)]);t[s]=this[i(480)](n,r)}if(n instanceof Q.ModelRange){const r=e[i(242)](n[i(429)][i(376)]);t[s]=this[i(411)](n,r)}i(429)===s&&(t[i(429)]=e[i(242)](t[i(429)][i(376)]))}}[ft(411)](t,e){const i=ft;return this[i(322)][i(386)][i(388)](this[i(480)](t[i(344)],e),this[i(480)](t[i(459)],e))}[ft(480)](t,e){const i=ft;return this[i(322)][i(386)][i(264)](e,t[i(436)],t[i(231)])}[ft(309)](t){const e=ft,i=this[e(210)][e(242)](t[e(398)][e(429)][e(376)]),s=this[e(480)](t[e(398)],i),n=null===t[e(383)]?null:t[e(383)]||this[e(322)][e(488)][e(242)](e(430)).me.id,r=s[e(463)],o=this[e(295)],a=[];for(const i of t[e(246)])if(i.is(e(220)))a[e(261)](this[e(381)](i));else for(let t=0;t<i[e(326)];t++)a[e(261)](new Q.ModelElement(e(407),{vid:this[e(295)]++}));const c=this[e(295)];for(let t=o;t<c;t++)this[e(498)][e(315)](t,{userId:n});r[e(390)](s[e(217)],a)}[ft(368)](t){const e=ft;(t=this[e(348)](t,this[e(210)]))[e(314)]();const i=null===t[e(383)]?null:t[e(383)]||this[e(322)][e(488)][e(242)](e(430)).me.id,s=t[e(332)](),n=s[e(463)],r=s[e(217)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(470)](e);r.is(a(220),a(407))?s[a(315)](r[a(350)](a(335)),{userId:i}):(s[a(315)](r[a(350)](a(449)),{userId:i}),t(s,r,0,r[a(346)]),s[a(315)](r[a(350)](a(340)),{userId:i}))}}(this[e(498)],n,r,r+t[e(413)])}[ft(324)](t){const e=ft,i=null===(t=this[e(348)](t,this[e(210)]))[e(383)]?null:t[e(383)]||this[e(322)][e(488)][e(242)](e(430)).me.id,s=t[e(250)][e(463)],n=t[e(445)][e(463)],r=s[e(350)](e(340)),o=n[e(350)](e(449));s[e(282)](e(340),n[e(350)](e(340))),n[e(282)](e(340),r),this[e(498)][e(315)](o,{userId:i}),this[e(498)][e(315)](r,{userId:i}),t[e(314)]()}[ft(428)](t){const e=ft,i=null===(t=this[e(348)](t,this[e(210)]))[e(383)]?null:t[e(383)]||this[e(322)][e(488)][e(242)](e(430)).me.id,s=t[e(513)],n=t[e(209)][e(463)];t[e(314)]();const r=n[e(350)](e(340)),o=t[e(263)][e(312)];if(s){const t=o[e(350)](e(340)),s=n[e(350)](e(340));n[e(282)](e(340),t),o[e(282)](e(340),s),this[e(498)][e(315)](n[e(350)](e(340)),{userId:i}),this[e(498)][e(315)](o[e(350)](e(449)),{userId:i})}else{const t=this[e(295)]++,s=this[e(295)]++;n[e(282)](e(340),t),o[e(282)](e(449),s),o[e(282)](e(340),r),this[e(498)][e(315)](t,{userId:i}),this[e(498)][e(315)](s,{userId:i})}}[ft(240)](t){const e=ft;if(!t[e(234)])return;const i=(t=this[e(348)](t,this[e(331)]))[e(453)]?t[e(453)][e(429)]:null,s=t[e(496)]?t[e(496)][e(429)]:null;i&&this[e(395)][e(286)](t[e(224)]),s&&this[e(395)][e(315)](t[e(224)],t[e(496)][e(203)]());const n=null===t[e(383)]?null:t[e(383)]||this[e(322)][e(488)][e(242)](e(430)).me.id,r=t[e(224)];if(!this[e(477)][e(458)](r))return void this[e(477)][e(315)](r,{range:t[e(453)],userId:n});const o=this[e(477)][e(242)](r),a=o[e(380)],c=t[e(496)];null==a&&null==c||a&&c&&a[e(296)](c)?this[e(477)][e(286)](t[e(224)]):o[e(423)]=n}[ft(216)](t,e){const i=ft;this[i(331)][i(458)](t[i(376)])?this[i(331)][i(242)](t[i(376)])[i(336)]=t[i(319)]:(this[i(331)][i(315)](t[i(376)],kt(t[i(376)],!0)),this[i(265)][i(315)](t[i(376)],{}),e&&this[i(210)][i(315)](t[i(376)],kt(t[i(376)],!0)));const s=null===t[i(383)]?null:t[i(383)]||this[i(322)][i(488)][i(242)](i(430)).me.id,n=this[i(491)][i(242)](t[i(376)]);n&&n[i(423)]===s?this[i(491)][i(286)](t[i(376)]):this[i(491)][i(315)](t[i(376)],{userId:s,isAttached:t[i(319)]})}[ft(450)](t){const e=ft,i=this[e(265)][e(242)](t[e(429)][e(376)]);null===t[e(403)]?delete i[t[e(196)]]:i[t[e(196)]]=t[e(403)]}}function gt(t,e){const i=mt();return(gt=function(t,e){return i[t-=191]})(t,e)}function yt(t){const e=ft,i=kt(t[e(376)],t[e(239)]());for(const s of t[e(288)]()){const t=s[e(198)](!0);i[e(351)](t)}return i}function kt(t,e=!0){const i=ft,s=new Q.ModelDocumentFragment;return s[i(376)]=t,s[i(336)]=e,s[i(239)]=()=>s[i(336)],s}function bt(t,e,i){const s=ft,n=s(325)==t[s(487)]?i[s(352)](t[s(499)],s(459)):i[s(207)](t[s(499)]);return i[s(264)](e,n[s(436)],n[s(231)])}function wt(t,e,i){const s=ft,n=s(227)==t[s(487)]?i[s(352)](t[s(499)],0):i[s(343)](t[s(499)]);return i[s(264)](e,n[s(436)],n[s(231)])}var _t=i(355),It=i(311),St=i(6),Ot=i.n(St),Tt=i(602),xt=i.n(Tt),Nt=i(557),At=i.n(Nt),Mt=i(302),Rt=i.n(Mt),Et=i(290),Vt=i.n(Et),Dt=i(606),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Rt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Vt();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(660),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Rt(),Lt.insert=At().bind(null,"head"),Lt.domAPI=xt(),Lt.insertStyleElement=Vt();Ot()(Ft.A,Lt);Ft.A&&Ft.A.locals&&Ft.A.locals;const jt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=206]})(t,e)}function zt(){const t=["revisionName","13364271STkxqe","focusTracker","arrowdown","revisionNameInputValue","trim","keystrokes","label","render","arrowleft","21NvtVBw","16150biZijN","value","optional","arrowup","Name of the revision","reset","arrowright","setTemplate","3049260NoAPAi","fieldView","stopPropagation","element","set","initializeCssTransitionDisablerMixin","220","add","ck-responsive-form","19YXivvR","revisionNameInputView","ck-revision-history-save-revision-form","extendTemplate","3751365JJWhDZ","form","errorText","focus","locale","listenTo","_createRevisionNameInput","901578vfxadO","1584104ACBraM","input","1379466MDCDHz"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(397668===parseInt(e(241))/1*(-parseInt(e(224))/2)+-parseInt(e(209))/3+parseInt(e(232))/4+parseInt(e(245))/5+parseInt(e(212))/6+parseInt(e(223))/7*(parseInt(e(210))/8)+-parseInt(e(214))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ut extends((0,It.CssTransitionDisablerMixin)(It.View)){[jt(215)];[jt(219)];[jt(242)];constructor(e,i){const s=jt;super(e),this[s(215)]=new t.FocusTracker,this[s(219)]=new t.KeystrokeHandler,this[s(236)](s(217),""),this[s(242)]=this[s(208)](i),this[s(231)]({tag:s(246),attributes:{class:["ck",s(243),s(240)],tabindex:"-1"},children:[this[s(242)]]}),this[s(237)]()}[jt(221)](){const t=jt;super[t(221)](),(0,It.submitHandler)({view:this}),this[t(215)][t(239)](this[t(242)][t(235)]),this[t(219)][t(207)](this[t(235)]);const e=e=>e[t(234)]();this[t(219)][t(236)](t(230),e),this[t(219)][t(236)](t(222),e),this[t(219)][t(236)](t(227),e),this[t(219)][t(236)](t(216),e)}[jt(248)](){const t=jt;this[t(242)][t(248)]()}get[jt(213)](){const t=jt;return this[t(242)][t(233)][t(235)][t(225)][t(218)]()}set[jt(213)](t){const e=jt;this[e(242)][e(233)][e(235)][e(225)]=t[e(218)]()}[jt(229)](){const t=jt;this[t(242)][t(233)][t(235)][t(225)]="",this[t(242)][t(247)]=null}[jt(208)](t){const e=jt,i=new It.LabeledFieldView(this[e(206)],It.createLabeledInputText),s=i[e(233)];s[e(244)]({attributes:{maxlength:e(238)}});let n=at(this[e(206)],e(228));return!t&&(n+=" ("+at(this[e(206)],e(226))+")"),i[e(220)]=n,s.on(e(211),()=>{const t=e;this[t(217)]=s[t(235)][t(225)][t(218)]()}),i}}const Ht=Wt;function Wt(t,e){const i=Zt();return(Wt=function(t,e){return i[t-=309]})(t,e)}function Zt(){const t=["get","config","10410237lCIcox","7755447MMwvfp","isOfficialPlugin","ck-button-action","menu","6xkkMUf","view","errorText","bind","children","add","showRevisionViewerCallback","buttonView","hide","_showDialog","2SztBwI","editor","1891116XCgxKn","revisionHistory.requireRevisionName","Save current revision","plugins","delegate","show","componentFactory","menuBar:revisionHistory","isPremiumPlugin","pluginName","revisionName","init","set","panelView","reset","isReady","Revision history","revisionHistory","saveRevision","Dialog","locale","requires","1078159ocAczP","RevisionTracker","isOpen","Accept","isReadOnly","revisionNameInputView","_registerMenuComponent","isEnabled","2080296EbsAzz","revisionSave","_saveRevisionFormView","_createSaveRevisionFormView","The revision name cannot be empty.","addMany","Open revision history","submit","render","8bCNacs","role","execute","RevisionHistoryUI","Cancel","2641565HpQWDY","34845630BFZgmr","editing","items","menuitem","focus"];return(Zt=function(){return t})()}!function(t){const e=Wt,i=t();for(;;)try{if(603584===parseInt(e(339))/1*(parseInt(e(315))/2)+-parseInt(e(347))/3+-parseInt(e(317))/4+-parseInt(e(361))/5*(parseInt(e(374))/6)+-parseInt(e(370))/7+parseInt(e(356))/8*(-parseInt(e(369))/9)+parseInt(e(362))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends G.Plugin{static get[Ht(326)](){return Ht(359)}static get[Ht(371)](){return!0}static get[Ht(325)](){return!0}static get[Ht(338)](){return[pt]}[Ht(349)];[Ht(328)](){const t=Ht,e=this[t(316)],i=e[t(320)][t(367)](t(340));e.ui[t(323)][t(310)](t(334),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(330)][n(309)],a=new It.ListView(s),c=new It.ListItemView(s),u=new It.ButtonView(s),l=new It.ListItemView(s),h=new It.ButtonView(s);return r[n(377)](n(346)).to(i,n(332),i,n(346),e,n(343),(t,e,i)=>t&&e&&!i),r[n(312)][n(329)]({icon:_t.IconHistory,label:at(s,n(333)),tooltip:!0}),u[n(329)]({label:at(s,n(319)),withText:!0,role:n(365)}),u[n(377)](n(346)).to(i,n(332),i,n(346),e,n(343),(t,e,i)=>t&&e&&!i),u.on(n(358),()=>this[n(314)]()),h[n(329)]({label:at(s,n(353)),withText:!0,role:n(365)}),h[n(377)](n(346)).to(i,n(332),e,n(343),(t,e)=>t&&!e),h.on(n(358),()=>{const t=n;e[t(368)][t(367)](t(334))[t(311)](),r[t(341)]=!1,e[t(363)][t(375)][t(366)]()}),c[n(309)][n(310)](u),l[n(309)][n(310)](h),a[n(357)]=n(373),a[n(364)][n(352)]([c,l]),o[n(310)](a),r}),e.ui[t(323)][t(310)](t(324),()=>this[t(345)]())}[Ht(345)](){const t=Ht,e=this[t(316)],i=e[t(337)],s=new It.MenuBarMenuView(i),n=new It.MenuBarMenuListView(i);s[t(312)][t(329)]({icon:_t.IconHistory,label:at(i,t(333))});const r=new It.MenuBarMenuListItemView(i,s),o=new It.MenuBarMenuListItemButtonView(i);o[t(329)]({label:at(i,t(319))}),o[t(321)](t(358)).to(s),o.on(t(358),()=>{this[t(314)]()}),r[t(309)][t(310)](o),n[t(364)][t(310)](r);const a=new It.MenuBarMenuListItemView(i,s),c=new It.MenuBarMenuListItemButtonView(i);return c[t(329)]({label:at(i,t(353))}),c[t(321)](t(358)).to(s),c.on(t(358),()=>{const i=t;e[i(368)][i(367)](i(334))[i(311)]()}),a[t(309)][t(310)](c),n[t(364)][t(310)](a),s[t(330)][t(309)][t(310)](n),s}[Ht(314)](){const t=Ht,e=this[t(316)],i=e[t(337)],s=e[t(320)][t(367)](t(336)),n=e[t(320)][t(367)](t(340));function r(n){const r=t;e[r(368)][r(367)](r(318))&&""===n[r(327)]?n[r(344)][r(376)]=at(i,r(351)):(e[r(320)][r(367)](pt)[r(335)]({name:n[r(327)]}),s[r(313)]())}this[t(349)]||(this[t(350)](),this[t(349)].on(t(354),()=>r(this[t(349)]))),this[t(349)][t(331)](),s[t(322)]({id:t(348),title:at(i,t(319)),isModal:!0,content:this[t(349)],actionButtons:[{label:at(e[t(337)],t(360)),withText:!0,onExecute:()=>s[t(313)]()},{label:at(e[t(337)],t(342)),class:t(372),withText:!0,onCreate(i){const s=t;i[s(377)](s(346)).to(n,s(332),n,s(346),e,s(343),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(349)])}]})}[Ht(350)](){const t=Ht,e=this[t(316)],i=e[t(337)];this[t(349)]=new Ut(i,e[t(368)][t(367)](t(318))),this[t(349)][t(355)]()}}function $t(t,e){const i=Bt();return($t=function(t,e){return i[t-=308]})(t,e)}function Bt(){const t=["div","175458PTQqdA","_model","bindTemplate","setTemplate","ck-revision-change__label","type","ck-annotation","author","55464jbvAJg","add","2987305ayJTsT","focus","4828810zxsSCS","element","Removed by","span","set","changeId","name","isSuggestion","Suggested by","3301398GFhsBB","Added by","1436592ARsTUo","ck-revision-change__","data","ck-revision-change","899344BQwNoU"];return(Bt=function(){return t})()}const Yt=$t;!function(t){const e=$t,i=t();for(;;)try{if(309080===-parseInt(e(315))/1+parseInt(e(313))/2+parseInt(e(309))/3+parseInt(e(323))/4+-parseInt(e(325))/5+-parseInt(e(336))/6+parseInt(e(327))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt extends It.View{[Yt(332)];[Yt(316)];constructor(t,e){const i=Yt;super(t),this[i(316)]=e,this[i(332)]=e.id;const s=this[i(317)],n=at(t,e[i(311)][i(334)]?i(335):i(324)==e[i(320)]?i(308):i(329));this[i(331)](i(320),e[i(320)]),this[i(318)]({tag:i(314),attributes:{class:[i(321),i(312),s.to(i(320),t=>i(310)+t)],tabindex:-1},children:[{tag:i(330),children:[{tag:i(330),attributes:{class:[i(319)]},children:[{text:n}]},{text:" "+e[i(322)][i(333)]}]}]})}[Yt(326)](){const t=Yt;this[t(328)][t(326)]()}}function Gt(t,e){var i=Qt();return(Gt=function(t,e){return i[t-=190]})(t,e)}var Xt=Gt;function Qt(){var t=["data","58387QilrTp","toJSON","282jhIHrN","8030920LeICJF","set","rootName","type","25854070JvYnlc","936983DrIEQr","createdAt","75dULbiS","5548840qtoONI","author","4486268PHWnIa","51290jFNbrd","9mrpbVo"];return(Qt=function(){return t})()}!function(t){for(var e=Gt,i=t();;)try{if(612198===parseInt(e(201))/1+parseInt(e(190))/2*(parseInt(e(203))/3)+parseInt(e(206))/4+parseInt(e(204))/5+parseInt(e(195))/6*(parseInt(e(193))/7)+-parseInt(e(196))/8+parseInt(e(191))/9*(-parseInt(e(200))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Kt extends((0,t.ObservableMixin)()){id;[Xt(205)];[Xt(199)];[Xt(192)];[Xt(198)];constructor(e){var i=Xt;super(),this.id=e.id||(0,t.uid)(),this[i(205)]=e[i(205)],this[i(199)]=e[i(199)],this[i(192)]=e[i(192)]||{},this[i(198)]=e[i(198)],this[i(197)](i(202),e[i(202)])}[Xt(194)](){var t=Xt;return{id:this.id,authorId:this[t(205)].id,type:this[t(199)],data:this[t(192)],createdAt:this[t(202)]}}}const te=ee;function ee(t,e){const i=se();return(ee=function(t,e){return i[t-=461]})(t,e)}!function(t){const e=ee,i=t();for(;;)try{if(404379===-parseInt(e(468))/1+-parseInt(e(465))/2+parseInt(e(464))/3*(-parseInt(e(470))/4)+parseInt(e(469))/5+parseInt(e(466))/6+-parseInt(e(463))/7*(parseInt(e(473))/8)+parseInt(e(471))/9*(parseInt(e(461))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(se);class ie{[te(467)];[te(475)];[te(472)];constructor(e,i){const s=te;this[s(467)]=e,this[s(475)]=i,this[s(472)]=new t.Collection}[te(462)](t){const e=te;for(const i of t)this[e(472)][e(474)](i)}}function se(){const t=["254862ZiYPKr","changes","56nGlrOL","add","oldRevisionId","170GjZfep","_setChanges","176078cTiyVf","21MRZHOl","214256MbhECB","928128NCvPdO","newRevisionId","84368rnyJAn","1022680RMbjFg","39244mMwApz"];return(se=function(){return t})()}var ne=i(316),re={attributes:{"data-cke":!0}};re.setAttributes=Rt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Vt();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ce;function ae(){const t=["addMarker:revision","isRemoved","_processTape","createUIElement","error","first","from","updatePosition","addMarker:revision-suggestion:insertion","left","text","editing","document","nextPosition","catch","_getRevisionsRange","consumable","rootName","showPreviousChange","getRootNames","unbindElementFromMarkerName","_data","softBreak","commands","authors","activeView","change:isReady","getLaterVisibleRevision","revision:","range","_makeModelFromViewString","execute","plugins","15884gNxYTl","_changeView","merge","isObject","done","checkAttribute","restoreRevision","_markMismatchedRemovedTags","revision-comment:","stop","vid","forEach","refresh","_step","domConverter","isAfter","activeChange","_markSuggestions","_cleanUp","toViewRange","selection","attribute:vid","vid_end","revision-viewer","includes","forceDisabled","consume","2166824XYnKuE","item","ck-suggestion-preview-marker","ck-suggestion-marker","getChild","_update","delete","affectsData","isAttached","getAttribute","suggestion","suggestion:","addRoot","enqueueChange","locale","pop","set","isEqual","_removeMissingPairs","vid_start","filter","isIncorrect","map","all","modelRange","removeAttribute","_threeWayMerge","resolve","forward","WidgetToolbarRepository","getCustomProperty","slice","side","startIndex","mousedown","length","enableReadOnlyMode","_revisions","data-change-id","element:pre","_setDistance","_changeIdToChange","removeMarker:revision","model","isAddSuggestion","dataToMarker","revisionHistory","next","isEnabled","removeMarker","nodeAfter","roots","RevisionViewer","isPremiumPlugin","pluginName","getRevisionDocumentData","attributes","ck-revision-history-root-remove","createRevision","writer","getAttributes","newRevisionId","getRevisionRootsAttributes","addHighlight","getRoot","getIndex","createAttributeElement","restoreRevisionCallback","getClientRects","getRevision","splice","revisionHistoryLabel","elementStart","concat","nextSibling","ck-suggestion-marker-split","remove","change:numberOfChanges","detachRoot","getWalker","downcastDispatcher","isInline","40385SDSwQG","removeMarker:revision-suggestion","RevisionHistoryUtils","markerName","revision","change","data","317529wPjCMh","editor","isSuggestion","showStack","offsetSize","diffData","oldRevisionId","attributesAfter","target","pairId","_joinTapes","ck-suggestion-preview-marker-","findIndex","clear","POSITIVE_INFINITY","requires","markers","markerNameToElements","_makeTape","_activeViewTarget","element","_setChanges","_cleanMarkers","distance","then","addMarker:revision-suggestion:deletion","_utils","top","isRemoveSuggestion","ck-revision-history-root--active","code","loadRevisionData","high","85mQWlMb","dataDowncast","sort","endIndex","isCollapsed","bottom","parent","isBlock","index","userId","abs","markersStart","_setConversion","showNextChange","hasClass","_getViewForChange","destroy","isAdded","change:activeChange","toViewPosition","ck-revision-history-root-","test","_fixObsoleteTags","addClass","adapter","changeId","get","domEvent","465156XPSLUU","diff","listenTo","object","backward","attributesBefore","_appendChild","mapper","deletions","markersEnd","maxOffset","unshift","markerToHighlight","_balloon","ck-suggestion-marker-","setAttribute","elementToAttribute","revision-suggestion","deletion","init","type","-new","insert","revisionHistoryAttachChange","insertion","currentChangeNumber","56VBYwfE","conversion","split","mapViewToDom","createRange","_markMarkers","addRevision","startsWith","1158072gxaQPc","for","add","view","toViewElement","createRangeIn","isReady","push","_makeModelFromTape","_initInteractions","removeClass","find","config","reconvertMarker","_getDiff","markerRange","revision-suggestion:","getDomRoot","comment","markerToData","elementEnd","span","ck-revision-history-root-add","highest","values","insertions","end","mouseover","name","keys","changes","numberOfChanges","hasAttribute","schema","indexOf","_markInsertions","isNavigationMode","_findChangeIdFromDomTarget","_getChangeFromId","isOnRoot","isAtEnd","upcast","uiElement","start","ck-editor__editable__overlay","change:activeView","shift","right","attachChange","bind","isLimit","bindElementToMarker","has","ck-suggestion-marker-merge","getItems","change:isEnabled","createPositionFromPath","wrap","_removeUnsupportedChanges","compare","isAtStart","isContent","observeMarkers","level","_refreshStartEndIndex","string","viewItem","_sortAndFilterDiffChanges","editingDowncast","createPositionBefore","addRevisionData","low","repository","flat","8045019eamkbB","previousPosition","return","isBefore","RevisionsRepository","isOfficialPlugin","ck-suggestion-marker--active"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=165]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(382844===-parseInt(e(476))/1*(parseInt(e(327))/2)+parseInt(e(443))/3+parseInt(e(354))/4+-parseInt(e(436))/5+parseInt(e(179))/6*(-parseInt(e(205))/7)+parseInt(e(213))/8+parseInt(e(287))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(285)];[oe(175)]=null;[oe(469)];[oe(462)];[oe(328)];[oe(395)];[oe(192)];static get[oe(408)](){return oe(406)}static get[oe(292)](){return!0}static get[oe(407)](){return!0}static get[oe(458)](){return[X.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(285)]=this[e(444)][e(326)][e(177)](e(291)),this[e(469)]=this[e(444)][e(326)][e(177)](e(438)),this[e(370)](e(343),null),this[e(370)](e(319),null),this[e(462)]=null,this[e(370)](e(180),null),this[e(370)](e(219),!1),this[e(370)](e(402),!0),this.on(e(268),(t,i,s)=>{const n=e;this[n(343)]=null,this[n(319)]=null,this[n(444)][n(305)][n(216)][n(441)](t=>{const e=n;for(const i of this[e(444)][e(305)][e(216)][e(306)][e(405)])s?t[e(223)](e(257),i):t[e(174)](e(257),i)})}),this[e(262)](e(249)).to(this,e(343),t=>null!==t),this[e(262)](e(204)).to(this,e(219),this,e(180),this,e(343),(t,i,s)=>t&&s?i[e(243)][e(419)](s):0),this[e(262)](e(244)).to(this,e(219),this,e(180),(t,i)=>t?i[e(243)][e(389)]:0),this[e(328)]=null,this[e(395)]=new Map,this[e(192)]=this[e(444)][e(326)][e(177)](It.ContextualBalloon)}[oe(198)](){const t=oe,e=this[t(444)],i=new de(e,{direction:t(183)}),s=new de(e,{direction:t(382)});e[t(317)][t(215)](t(312),i),e[t(317)][t(215)](t(489),s),e[t(317)][t(215)](t(333),new he(e)),this.on(t(431),()=>{const e=t;i[e(339)](),s[e(339)]()}),this[t(488)](),this[t(222)](),e[t(390)](t(350)),e[t(326)][t(265)](t(383))&&e[t(326)][t(177)](t(383))[t(352)](t(350))}async[oe(409)](t){const e=oe;return await this[e(469)][e(474)](t,this[e(175)]),this[e(469)][e(409)](t)}async[oe(416)](t){const e=oe;return await this[e(469)][e(474)](t,this[e(175)]),this[e(469)][e(416)](t)}async[oe(272)](t,e,i=!1){const s=oe;if(!this[s(402)])return;const n=this[s(180)],r=this[s(285)],o=s(278)==typeof t?r[s(423)](t):t,a=s(278)==typeof e?r[s(423)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(180)]&&this[s(180)][s(415)]===c&&this[s(180)][s(449)]===u)return Promise[s(381)]();this[s(219)]=!1,this[s(319)]=null,this[s(343)]=null,this[s(180)]=new ie(c,u);const l=this[s(309)](o,a,!0)[s(376)](t=>this[s(469)][s(474)](t,this[s(175)]));return l[s(220)](new Promise(t=>{setTimeout(t,20)})),Promise[s(377)](l)[s(467)](()=>{const t=s;if(!this[t(402)])return;this[t(345)]();const e=this[t(227)](c,u);for(const i of e[t(243)])this[t(395)][t(370)](i.id,i);this[t(444)][t(397)][t(367)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(444)][s(397)][s(306)][s(313)]())i[s(432)](t);for(const t of Object[s(242)](e[s(397)])){const n=i[s(366)](t);for(const r of Object[s(242)](e[s(410)][t]))i[s(194)](r,e[s(410)][t][r],n);i[s(201)](e[s(397)][t],n,0)}}),this[t(180)][t(464)](this[t(280)](e[t(243)])),this[t(219)]=!0})[s(308)](t=>{const e=s;console[e(298)](t),this[e(345)](),n&&(this[e(180)]=n),this[e(219)]=!0})}[oe(283)](t,e){const i=oe,s=this[i(285)][i(412)](t);return s.on(i(359),(t,i,n)=>e(i,n,s)),this[i(285)][i(211)](s),s}[oe(345)](){const t=oe;this[t(343)]=null,this[t(465)](),this[t(328)]&&this[t(328)][t(167)](),this[t(328)]=null,this[t(395)][t(456)](),this[t(444)][t(397)][t(367)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(444)][i(397)][i(306)][i(313)]())e[i(432)](t)})}[oe(280)](t){const e=oe,i=[],s=new Map;for(const t of this[e(444)][e(397)][e(306)][e(313)]()){const n=this[e(444)][e(305)][e(216)][e(230)](t);if(!n)continue;const r=n[e(422)]()[e(355)](0);r&&(i[e(220)](t),s[e(370)](t,r))}return i[e(478)]((t,i)=>{const n=e,r=s[n(177)](t),o=s[n(177)](i);return r.y-o.y||r.x-o.x}),(t=t[e(374)](t=>i[e(351)](t[e(311)])))[e(478)]((t,s)=>i[e(247)](t[e(311)])-i[e(247)](s[e(311)])),t}[oe(461)](t){const e=oe,i=Array[e(300)](t[e(459)])[e(374)](([t,i])=>t[e(212)](e(322))&&!i[e(480)]),s=Array[e(300)](this[e(444)][e(397)][e(218)](t)[e(433)]({singleCharacters:!0}));if(0!=i[e(389)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(207)](":");if(n[e(239)][e(371)](t[e(307)])&&i[e(259)](),(t[e(288)][e(371)](n[e(256)])||t[e(288)][e(342)](n[e(256)]))&&(e(203)==r?t[e(168)]={userId:o}:e(197)==r&&(t[e(295)]={userId:o})),0==i[e(389)])break}return s}[oe(277)](t){const e=oe,i=new Map;for(let s=0;s<t[e(389)];s++)e(304)===t[s][e(199)]?(t[s][e(355)][e(387)]=s,t[s][e(355)][e(479)]=s):(e(426)===t[s][e(199)]?t[s][e(355)][e(387)]=s:e(233)===t[s][e(199)]&&(t[s][e(355)][e(479)]=s),i[e(370)](t[s].id,s));for(const s of i[e(237)]())e(426)===t[s][e(199)]?t[s][e(355)][e(479)]=i[e(177)](t[s][e(452)]):e(233)===t[s][e(199)]&&(t[s][e(355)][e(387)]=i[e(177)](t[s][e(452)]))}[oe(296)](t){const e=oe;for(let i=0;i<t[e(389)];i++){if(e(426)===t[i][e(199)])t[i][e(355)][e(387)]=i;else if(e(233)===t[i][e(199)]){t[i][e(355)][e(479)]=i;const s=t[i][e(355)][e(387)];t[s][e(452)]=t[i].id,t[i][e(452)]=t[s].id}else t[i][e(355)][e(387)]=i,t[i][e(355)][e(479)]=i,t[i][e(452)]=null;t[i][e(487)]||(t[i][e(487)]=[],t[i][e(188)]=[])}}[oe(248)](t,e){const i=oe,s=t[i(374)](t=>!t[i(168)]);for(let t=0;t<e[i(389)];t++)e[t][i(168)]&&(s[t][i(168)]=e[t][i(168)])}[oe(227)](t,e=null){const i=oe,s=this[i(285)][i(423)](t),n=e?this[i(285)][i(423)](e):null,r=this[i(309)](s,n),o=r[r[i(389)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(389)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(242)](e[i(448)]))if(e[i(448)][t][i(261)]){const s=e[i(448)][t][i(261)];s[i(362)]?(u[i(215)](t),l[i(265)](t)&&l[i(177)](t)[i(485)]==s[i(485)]?l[i(360)](t):l[i(370)](t,s)):l[i(265)](t)?(u[i(360)](t),l[i(360)](t)):(u[i(215)](t),l[i(370)](t,s))}else u[i(215)](t)}for(const t of u){const e=l[i(265)](t)&&!l[i(177)](t)[i(362)];let s=e?r[i(389)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(448)][t]){const s=e?o[i(448)][t][i(184)]:o[i(448)][t][i(450)];c[i(410)][t]=s?M(s):{};break}s+=n}}for(const t of r){t[i(397)]={};for(const e of t[i(318)])a[i(370)](e.id,e);for(const e of u){const s=t[i(448)][e]?t[i(448)][e][i(238)]:"[]",n=t[i(448)][e]?t[i(448)][e][i(187)]:"[]";t[i(397)][e]={insertions:this[i(469)][i(324)](s),deletions:this[i(469)][i(324)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(300)](s[i(397)][t][i(238)][i(459)])[i(374)](([t])=>!t[i(212)](i(322))));let h=0;for(const o of r){const r=this[i(461)](o[i(397)][t][i(238)]);o==s?(e=r,n=e[i(389)],e[i(338)](t=>{t.id=h++}),this[i(296)](e)):this[i(248)](e,r);const a=e[i(374)](t=>!t[i(168)])[i(376)](t=>t.id);let c=0;const l=this[i(461)](o[i(397)][t][i(187)]);l[i(338)](t=>{t[i(295)]?t.id=n++:t.id=a[c++]}),this[i(296)](l),this[i(394)](e,i(168)),this[i(394)](l,i(295)),o==s&&this[i(210)](e,u),e=this[i(453)](e,l),this[i(277)](e),this[i(394)](e,i(295))}e=e[i(374)](t=>!(t[i(168)]&&t[i(295)]));const d=new Map(o[i(397)][t][i(187)][i(459)]),f=new Set(u[i(242)]());for(const t of d[i(242)]())f[i(360)](t);this[i(344)](e,f),this[i(173)](e),e=this[i(372)](e),e=this[i(334)](e),e=this[i(271)](e);const{root:m,changes:p}=this[i(221)](e,a,t);c[i(397)][t]=m;const v=l[i(177)](t);if(v){const e=a[i(177)](v[i(485)]),s=new Kt({author:e,type:v[i(362)]?i(215):i(430),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(190)](s),c[i(410)][t][i(202)]=s.id}c[i(243)]=c[i(243)][i(427)](p)}return c}[oe(210)](t,e){const i=oe;for(let s=0;s<t[i(389)];s++)for(const[n,r]of e)!r[i(480)]&&r[i(256)][i(371)](t[s][i(288)])&&t[s][i(487)][i(220)](n),r[i(239)][i(371)](t[s][i(307)])&&t[s][i(188)][i(220)](n)}[oe(453)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(389)]||r<e[i(389)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(220)](o);else if(a[i(295)]&&o[i(168)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(380)](t,n,e,r);s=s[i(427)](o),n=a,r=c}else a[i(295)]?(r++,s[i(220)](a)):(n++,s[i(220)](o))}return s}[oe(344)](t,e){const i=oe,s=[];for(let o=0;o<t[i(389)];o++){for(let r=0;r<t[o][i(487)][i(389)];r++){const a=t[o][i(487)][r];if(!e[i(265)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(196)!=c||i(203)!=u&&i(197)!=u||(s[i(190)]({type:u,name:a,userId:l}),t[o][i(487)][i(424)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(188)][i(389)];r++){const a=t[o][i(188)][r];if(!e[i(265)](a))continue;const{group:c,type:u}=n(a);if(i(196)!=c||i(203)!=u&&i(197)!=u)continue;t[o][i(188)][i(424)](r,1),r--;const l=s[i(455)](t=>t[i(241)]==a);l>-1&&s[i(424)](l,1)}}function n(t){const e=i,s=t[e(207)](":");return{group:s[0],type:s[1],subType:s[e(389)]>=5?s[2]:null,id:s[e(389)]<5?s[2]:s[3],authorId:s[e(389)]<5?s[3]:s[4],markerCount:6==s[e(389)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(389)];i++){if(t[e(168)]&&e(203)==s[i][e(199)]&&t[e(168)][e(485)]==s[i][e(485)])return t[e(398)]=s[i],void delete t[e(168)];if(!t[e(168)]&&!t[e(295)]&&e(197)==s[i][e(199)])return void(t[e(471)]=s[i])}}}[oe(394)](t,e){const i=oe;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(370)](o.id,s);for(let s=0;s<t[i(389)];s++){if(i(295)==e&&t[s][i(168)]||i(168)==e&&t[s][i(295)])continue;if(i(304)==t[s][i(199)]){t[s][i(466)]=0;continue}const n=r[i(177)](t[s][i(452)]),o=r[i(177)](t[s].id);t[s][i(466)]=n-o}}[oe(309)](t,e,i=!1){const s=oe,n=[];let r=this[s(285)][s(419)](t),o=this[s(285)][s(419)](e);for(-1==o&&(o=this[s(285)][s(391)][s(389)],i=!1);r<o;)n[s(220)](this[s(285)][s(423)](r)),r++;return i&&n[s(220)](this[s(285)][s(423)](r)),n}[oe(380)](t,e,i,s){const n=oe,r=this[n(444)][n(397)][n(246)];let o=e;for(;t[o]&&t[o][n(168)];)o++;let a=s;for(;i[a]&&i[a][n(295)];)a++;u(t,e,o),u(i,s,a);const c=i[n(385)](s,a)[n(427)](t[n(385)](e,o));return c[n(478)]((t,e)=>t[n(386)]!=e[n(386)]?t[n(386)]-e[n(386)]:t[n(276)]!=e[n(276)]?t[n(276)]-e[n(276)]:t[n(466)]!=e[n(466)]?e[n(466)]-t[n(466)]:!!t[n(168)]!=!!e[n(168)]?-1==t[n(386)]||0==t[n(386)]?t[n(168)]?-1:1:t[n(168)]?1:-1:t[n(484)]-e[n(484)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(457)],c=!0;for(let n=e;n<i;n++)if(r[s(435)](t[n][s(355)])||(c=!1),t[n][s(355)][s(387)]<e&&(o=n),t[n][s(355)][s(479)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(386)]=n<=o?-1:n<a?0:1,t[n][s(484)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(466)]?t[i][s(276)]=u:(u++,t[i][s(276)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(386)]&&(t[n][s(276)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(466)]?t[e][s(276)]=u:(u--,t[e][s(276)]=u,u--)}}[oe(173)](t){const e=oe,i=new Map,s=this[e(444)][e(397)][e(246)];for(let n=1;n<t[e(389)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(304)==c[e(199)])continue;if(c[e(199)]!=u[e(199)])continue;if(!s[e(483)](u[e(355)])||s[e(263)](u[e(355)]))continue;if(!s[e(483)](c[e(355)])||s[e(263)](c[e(355)]))continue;if((t[n][e(168)]||t[n][e(398)])&&t[n-1][e(295)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(295)]||!t[n-1][e(168)]&&!t[n-1][e(398)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(276)]==o[e(276)],h=Math[e(486)](r[e(276)])<Math[e(486)](o[e(276)])&&0==o[e(466)];(l||h)&&(i[e(370)](o.id,r.id),t[e(424)](a,1),n--,r[e(168)]=!1)}for(let s=0;s<t[e(389)];s++)i[e(265)](t[s][e(452)])&&(t[s][e(452)]=i[e(177)](t[s][e(452)]))}[oe(372)](t){const e=oe,i=new Set(t[e(376)](t=>t.id));for(let s=0;s<t[e(389)];s++)i[e(265)](t[s][e(452)])||0==t[s][e(466)]||(t[s][e(375)]=!0);return t[e(374)](t=>!t[e(375)])}[oe(334)](t){const e=oe,i=new Set;for(let s=0;s<t[e(389)];s++){if(i[e(265)](t[s].id)&&t[s][e(295)]&&(t[s][e(375)]=!0),t[s][e(375)])continue;if(0==t[s][e(466)])continue;if(e(426)!=t[s][e(199)])continue;if(null==t[s][e(452)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(452)];)e(426)==t[n][e(199)]?r++:e(233)==t[n][e(199)]&&r--,n++;if(0!=r)if(t[s][e(295)])t[s][e(375)]=!0;else for(;n!=s;)t[n][e(295)]&&0!=t[n][e(466)]&&(t[n][e(375)]=!0,i[e(215)](t[n][e(452)])),n--}return t[e(374)](t=>!t[e(375)])}[oe(271)](t){const e=oe,i=this[e(444)][e(397)][e(246)];for(let s=0;s<t[e(389)];s++){if(!(t[s][e(168)]||t[s][e(398)]||t[s][e(295)]||t[s][e(471)]))continue;if(0==t[s][e(466)])continue;const n=t[s][e(355)];i[e(483)](n)||i[e(263)](n)||(t[s][e(168)]&&delete t[s][e(168)],t[s][e(398)]&&delete t[s][e(398)],t[s][e(471)]&&delete t[s][e(471)],t[s][e(295)]&&(t[s][e(375)]=!0))}return t[e(374)](t=>!t[e(375)])}[oe(221)](t,e,i){const s=oe,n=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[s(444)][s(397)],c=a[s(246)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(389)];e++)if(s(426)===t[e][s(199)]){t[e][s(288)]=a[s(269)](n,f);const i=new Q.ModelElement(t[e][s(355)][s(241)],t[e][s(355)][s(414)]());u[0][s(185)](i),f[s(220)](0),u[s(190)](i),t[e][s(307)]=a[s(269)](n,f)}else s(233)===t[e][s(199)]?(u[s(259)](),t[e][s(288)]=a[s(269)](n,f),f[s(369)](),f[f[s(389)]-1]++,t[e][s(307)]=a[s(269)](n,f)):(t[e][s(288)]=a[s(269)](n,f),d?d[s(315)]+=t[e][s(355)][s(442)]:d=new Q.ModelText(t[e][s(355)][s(442)],t[e][s(355)][s(414)]()),t[e+1]&&s(304)===t[e+1][s(199)]&&v(d,t[e+1][s(355)])||(u[0][s(185)](d),d=null),f[f[s(389)]-1]+=t[e][s(355)][s(447)],t[e][s(307)]=a[s(269)](n,f));for(let e=0;e<t[s(389)];e++){const i=t[e][s(288)],n=t[e][s(307)];for(const n of t[e][s(487)])o[s(370)](n,{start:i,end:null});m(s(471),e,i,n),m(s(398),e,i,n),m(s(295),e,i,n),m(s(168),e,i,n);for(const i of t[e][s(188)]){const t=o[s(177)](i);t?t[s(239)]=n:o[s(370)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(444)][s(397)][s(209)](e[s(256)],e[s(239)]);n[s(459)][s(370)](t,i)}return r[s(478)]((t,e)=>{const i=s,r=n[i(459)][i(177)](i(322)+t.id),o=n[i(459)][i(177)](i(322)+e.id);return r[i(256)][i(290)](o[i(256)])?-1:r[i(256)][i(342)](o[i(256)])?1:r[i(239)][i(290)](o[i(239)])?-1:r[i(239)][i(342)](o[i(239)])?1:i(215)===t[i(199)]?-1:1}),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(485)]:null,d=i===t[o(389)]-1,f=h[e][0],m=c[o(330)](t[i][o(355)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(239)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(485)]!==u&&(l[e][o(239)]=n,f&&f[o(485)]===l[e][o(485)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(426)!==t[i][o(199)]||f&&f[o(485)]===u||h[e][o(190)]({userId:u,object:t[i][o(355)],change:l[e]}),o(233)===t[i][o(199)]&&f&&f[o(182)]===t[i][o(355)]&&(h[e][o(259)](),l[e]=f[o(441)])),l[e]&&d&&(l[e][o(239)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(355)],f=a[h(246)][h(483)](d)&&!a[h(246)][h(263)](d),m=t[h(404)]==o[h(482)]&&o[h(273)];if(f&&m)return;const p=a[h(209)](t,o),v=e[h(177)](u),g=new Kt({author:v,type:h(168)==l||h(398)==l?h(215):h(430),data:{isSuggestion:h(398)==l||h(471)==l},createdAt:new Date,rootName:i});r[h(220)](g),n[h(459)][h(370)](h(322)+g.id,p)}function v(t,e){const i=s,n=t[i(414)](),r=e[i(414)]();for(const t of n){if(t[1]!==e[i(363)](t[0]))return!1;r[i(401)]()}return r[i(401)]()[i(331)]}}[oe(488)](){const t=oe;this[t(444)][t(206)][t(214)](t(254))[t(399)]({view:t(440)}),this[t(444)][t(206)][t(214)](t(281))[t(191)]({model:t(440),view:e=>{const i=t,s=e[i(439)][i(207)](":")[1],n=this[i(251)](s);if(!n)return null;const r=i(215)==n[i(199)]?i(203):i(197),o=[i(357),i(193)+r];return n[i(442)][i(445)]&&o[i(220)](i(193)+r+i(200)),this[i(343)]==n&&o[i(220)](i(293)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(444)][t(206)][t(214)](t(254))[t(215)](e=>{const i=t;e.on(i(393),(t,e,s)=>{const n=i,r=e[n(279)][n(358)](0);if(!r||!r.is(n(463),n(473)))return;if(!s[n(310)][n(353)](r,{attributes:[n(373),n(349)]}))return;const o=e[n(378)][n(256)][n(404)];s[n(413)][n(194)](n(373),r[n(363)](n(373)),o),s[n(413)][n(194)](n(349),r[n(363)](n(349)),o)},{priority:i(284)})}),this[t(444)][t(206)][t(214)](t(254))[t(215)](e=>{const i=t;e.on(i(463),(t,e,s)=>{const n=i;if(!s[n(310)][n(353)](e[n(279)],{attributes:[n(373),n(349)]}))return;if(e[n(378)][n(480)])return;const r=e[n(378)][n(256)][n(404)];r[n(245)](n(373))||r[n(245)](n(337))||(s[n(413)][n(194)](n(373),e[n(279)][n(363)](n(373)),r),s[n(413)][n(194)](n(349),e[n(279)][n(363)](n(349)),r))},{priority:i(284)})}),this[t(444)][t(206)][t(214)](t(254))[t(195)]({view:{name:t(234),attributes:{vid:!0}},model:{key:t(337),value:e=>e[t(363)](t(337))}}),this[t(444)][t(397)][t(246)].on(t(332),(e,[,i])=>{const s=t;[s(373),s(349),s(337)][s(351)](i)&&(e[s(289)]=!0,e[s(336)]())},{priority:t(236)}),this[t(444)][t(206)][t(214)](t(477))[t(215)](e=>{const i=t;e.on(i(348),(t,e,s)=>{const n=i;if(" "!=e[n(355)][n(442)]||e[n(355)][n(482)][n(189)]>1)return;if(!s[n(310)][n(353)](e[n(355)],t[n(241)]))return;const r=s[n(413)],o=s[n(186)][n(346)](e[n(323)]);r[n(270)](o,r[n(420)](n(234)))})}),this[t(444)][t(206)][t(214)](t(477))[t(232)]({model:t(440)}),this[t(444)][t(305)][t(434)].on(t(294),function(e){const i=t,s=e[i(326)][i(177)](i(406));return(t,n,r)=>{const o=i,a=n[o(439)][o(207)](":")[1],c=s[o(251)](a);if(!c)return null;const u=o(215)==c[o(199)]?o(207):o(329);if(!r[o(310)][o(172)](n[o(228)],t[o(241)]))return;const l=n[o(228)][o(433)](),h=n[o(228)][o(256)],d=e[o(397)][o(246)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(355)];p=p||d[o(274)](e);const i=r[o(186)][o(217)](e);if(i&&i[o(384)](o(417)))return;o(233)==t[o(199)]&&d[o(483)](e)&&!d[o(263)](e)&&(e[o(428)]||h[o(253)]?f&&f[o(482)]==e||(f=e,g(t[o(288)]),v=!0):m=m||t[o(288)])}function g(t){const e=o,i=r[e(413)][e(297)](e(234),{class:e(193)+u}),a=r[e(186)][e(170)](t);c[e(442)][e(445)]&&r[e(413)][e(174)](e(193)+u+e(200),i),s[e(343)]==c&&r[e(413)][e(174)](e(293),i),r[e(413)][e(201)](a,i),r[e(186)][e(264)](i,n[e(439)])}p||v||!m||g(m)}}(this[t(444)]),{priority:t(475)}),this[t(444)][t(305)][t(434)].on(t(396),(e,i,s)=>{const n=t,r=s[n(186)][n(460)](i[n(439)]);if(r)for(const t of r)(t[n(165)](n(429))||t[n(165)](n(266)))&&(s[n(186)][n(314)](t,i[n(439)]),s[n(413)][n(430)](t))},{priority:t(475)}),this[t(444)][t(305)][t(434)].on(t(294),(e,i,s)=>{const n=t,r=i[n(439)][n(207)](":")[1],o=this[n(251)](r);if(!o)return null;const a=n(215)==o[n(199)]?n(207):n(329);if(s[n(310)][n(172)](i[n(228)],e[n(241)]))for(const t of i[n(228)][n(267)]()){if(!t.is(n(463),n(316)))continue;const e=s[n(413)][n(297)](n(234),{class:n(193)+a}),r=s[n(186)][n(170)](this[n(444)][n(397)][n(282)](t));o[n(442)][n(445)]&&s[n(413)][n(174)](n(193)+a+n(200),e),this[n(343)]==o&&s[n(413)][n(174)](n(293),e),s[n(413)][n(201)](r,e),s[n(186)][n(264)](e,i[n(439)])}},{priority:t(475)}),this[t(444)][t(397)][t(306)].on(t(441),()=>{const e=t;this[e(444)][e(305)][e(216)][e(441)](t=>{const i=e;for(const e of this[i(444)][i(397)][i(306)][i(313)]()){const s=this[i(444)][i(397)][i(306)][i(418)](e),n=this[i(444)][i(305)][i(216)][i(306)][i(418)](e);if(n){const e=s[i(363)](i(202));if(t[i(379)](i(392),n),t[i(223)](i(235),n),t[i(223)](i(411),n),t[i(223)](i(472),n),e){const s=this[i(251)](e);if(!s)return null;t[i(194)](i(392),e,n),t[i(174)](i(171)+s[i(199)],n),this[i(343)]==s&&t[i(174)](i(472),n)}}}})}),this[t(444)][t(206)][t(214)](t(254))[t(399)]({view:t(231),model:e=>t(335)+e,converterPriority:t(236)}),this[t(444)][t(206)][t(214)](t(254))[t(399)]({view:t(364),model:e=>t(229)+e,converterPriority:t(236)}),this[t(444)][t(206)][t(214)](t(477))[t(232)]({model:t(196),view:e=>({name:t(365)+e,group:t(196)}),converterPriority:t(236)}),this[t(444)][t(206)][t(214)](t(281))[t(191)]({model:t(196),view:e=>{const i=t,s=e[i(439)][i(207)](":")[1];return i(203)!=s&&i(197)!=s?null:{classes:[i(356),i(454)+s]}}}),this[t(444)][t(305)][t(434)].on(t(468),le(this[t(444)],t(329)),{priority:t(475)}),this[t(444)][t(305)][t(434)].on(t(302),le(this[t(444)],t(207)),{priority:t(475)}),this[t(444)][t(305)][t(434)].on(t(437),(e,i,s)=>{const n=t,r=s[n(186)][n(460)](i[n(439)]);if(r)for(const t of r)t.is(n(255))&&(s[n(186)][n(314)](t,i[n(439)]),s[n(413)][n(430)](t))},{priority:t(475)})}[oe(251)](t){const e=oe;return this[e(395)][e(177)](t)}[oe(166)](t){const e=oe;return this[e(328)]&&this[e(328)][e(167)](),this[e(328)]=new Jt(this[e(444)][e(368)],t),this[e(328)]}[oe(222)](){const t=oe;this[t(444)][t(397)][t(306)][t(347)][t(275)](t(440)),this.on(t(258),(e,i,s,n)=>{const r=t;n&&this[r(192)][r(430)](n),s&&(this[r(192)][r(215)]({view:s,stackId:r(425),position:{target:()=>{const t=r,e=this[t(444)][t(305)],i=this[t(251)](s[t(176)]);let n;if(i[t(442)][t(252)]){const s=e[t(216)][t(230)](i[t(311)]);n=Array[t(300)](s[t(422)]())}else{const i=this[t(444)][t(397)][t(459)][t(177)](t(322)+s[t(176)]);n=Array[t(300)](e[t(186)][t(460)](i[t(241)]))[t(376)](i=>e[t(216)][t(341)][t(208)](i))[t(376)](e=>Array[t(300)](e[t(422)]()))[t(286)]()}return this[t(462)]&&n[t(224)](e=>e[t(470)]-3<=this[t(462)].y&&e[t(481)]+3>=this[t(462)].y&&e[t(303)]-3<=this[t(462)].x&&e[t(260)]+3>=this[t(462)].x)||n[0]}}}),this[r(192)][r(446)](r(425)))}),this.on(t(169),(e,i,s,n)=>{const r=t;this[r(319)]=s?this[r(166)](s):null,this[r(444)][r(397)][r(441)](()=>{const t=r,e=this[t(444)][t(305)];n&&(n[t(442)][t(252)]?e[t(216)][t(441)](i=>{const s=t;i[s(223)](s(472),e[s(216)][s(306)][s(418)](n[s(311)]))}):e[t(226)](t(322)+n.id)),s&&(s[t(442)][t(252)]?e[t(216)][t(441)](i=>{const n=t;i[n(174)](n(472),e[n(216)][n(306)][n(418)](s[n(311)]))}):e[t(226)](t(322)+s.id))})}),this[t(181)](this[t(444)][t(305)][t(216)][t(306)],t(240),(e,i)=>{const s=t;if(this[s(343)])return;const n=this[s(250)](i[s(451)]),r=this[s(395)][s(177)](n);r?(this[s(462)]={x:i[s(178)].x,y:i[s(178)].y},this[s(319)]=this[s(166)](r)):(this[s(462)]=null,this[s(319)]=null)}),this[t(181)](this[t(444)][t(305)][t(216)][t(306)],t(388),(e,i)=>{const s=t,n=this[s(250)](i[s(451)]),r=this[s(395)][s(177)](n);r?(this[s(462)]={x:i[s(178)].x,y:i[s(178)].y},r===this[s(343)]?this[s(192)][s(301)]():this[s(343)]=r):(this[s(462)]=null,this[s(343)]=null)})}[oe(250)](t){const e=oe;do{const i=t[e(363)](e(392));if(i)return i;t=t[e(482)]}while(t);return null}[oe(465)](){const t=oe;this[t(444)][t(397)][t(441)](e=>{const i=t;for(const t of this[i(444)][i(397)][i(459)])e[i(403)](t)})}}function le(t,e){return(i,s,n)=>{const r=ce;if(!n[r(310)][r(172)](s[r(228)],i[r(241)]))return;const o=s[r(228)][r(433)](),a=s[r(228)][r(256)],c=t[r(397)][r(246)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(355)];h=h||c[r(274)](e);const i=n[r(186)][r(217)](e);if(i&&i[r(384)](r(417)))return;r(233)==t[r(199)]&&c[r(483)](e)&&!c[r(263)](e)&&(e[r(428)]||a[r(253)]?u&&u[r(482)]==e||(u=e,f(t[r(288)]),d=!0):l=l||t[r(288)])}function f(t){const i=r,o=n[i(186)][i(170)](t),a=n[i(413)][i(297)](i(234),{class:i(454)+e});n[i(413)][i(201)](o,a),n[i(186)][i(264)](a,s[i(439)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(326)][e(177)](ue);this[e(361)]=!1,this[e(181)](i,e(320),()=>this[e(339)]()),this[e(181)](i,e(268),()=>this[e(339)]())}[oe(325)](){const t=oe,e=this[t(444)],i=e[t(326)][t(177)](ue),s=i[t(219)]?i[t(180)][t(415)]:null;e[t(225)][t(177)](t(400))[t(421)](s)}[oe(339)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(444)][t(326)][t(177)](ue),r=n&&s[t(321)](n[t(415)]);this[t(402)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(340)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(326)][i(177)](ue);this[i(361)]=!1,this[i(340)]=i(382)===e?1:-1,this[i(181)](s,i(320),()=>this[i(339)]()),this[i(181)](s,i(268),()=>this[i(339)]()),this[i(181)](s,i(169),()=>this[i(339)]())}[oe(325)](){const e=oe,i=this[e(444)],s=i[e(326)][e(177)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(343)]=n?s[e(180)][e(243)][e(177)](r+this[e(340)]):s[e(180)][e(243)][e(299)],s[e(343)][e(442)][e(252)])o=i[e(305)][e(216)][e(230)](s[e(343)][e(311)]);else{const t=i[e(397)][e(459)][e(177)](e(322)+s[e(343)].id);o=(0,X.getMarkerDomElement)(i[e(305)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(339)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(444)][t(326)][t(177)](ue);this[t(402)]=!!(r&&n&&s)&&(!e||(1===this[t(340)]?i<s-1:i>0))}}var fe=i(140),me={attributes:{"data-cke":!0}};me.setAttributes=Rt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Vt();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-=151]})(t,e)}function ve(){const t=["28143VrzVrR","currentChangeNumber","forward","13157752UHZzWB","isNavigationMode","isEnabled","325qHTIhh","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation__label","466788kIMJMu","EDIT_X_OF_Y_REVISIONS","Show next change","_statusText","span","ck-revision-history-ui__changes-navigation__wrapper","X_OF_Y_CHANGES","execute","bindTemplate","7czraVO","No changes","ck-revision-history-ui__changes-navigation","656HmAIay","set","724EkXlow","25050HZXfBl","Loading...","979IrQEsX","1777vkDMKj","_isStatusLabelVisible","Show previous change","setTemplate","numberOfChanges","Total","bind","2602224NdzyYu","isForwardNavigationEnabled","isReady","ck-revision-history-ui","isBackwardNavigationEnabled","16049500hOcFag","backward","ck-revision-history-ui__changes-navigation__navigation","ck-hidden","div","fire"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(885002===parseInt(e(193))/1*(-parseInt(e(187))/2)+-parseInt(e(166))/3*(-parseInt(e(189))/4)+parseInt(e(172))/5*(parseInt(e(190))/6)+parseInt(e(184))/7*(parseInt(e(169))/8)+-parseInt(e(155))/9+parseInt(e(160))/10+-parseInt(e(192))/11*(parseInt(e(175))/12))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(183)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(188)](e(170),!1),this[e(188)](e(157),!1),this[e(188)](e(167),0),this[e(188)](e(152),0),this[e(188)](e(156),!1),this[e(188)](e(159),!1),this[e(154)](e(194)).to(this,e(157),this,e(152),(t,e)=>t&&e>0),this[e(154)](e(178)).to(this,e(157),this,e(167),this,e(152),this,e(170),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(191));if(!n)return at(t,o(185));const a=at(t,o(173),n);return r?at(t,o(181),[s+1,n]):a}),s[e(188)]({label:at(t,e(195)),tooltip:!0,icon:_t.IconChevronUp}),n[e(188)]({label:at(t,e(177)),tooltip:!0,icon:_t.IconChevronDown}),s[e(154)](e(171)).to(this,e(159)),n[e(154)](e(171)).to(this,e(156)),s.on(e(182),()=>this[e(165)](e(182),e(161))),n.on(e(182),()=>this[e(165)](e(182),e(168))),this[e(151)]({tag:e(164),attributes:{class:["ck",e(158),e(186)]},children:[{tag:e(179),attributes:{class:[e(180)]},children:[{tag:e(179),attributes:{class:[e(174),i.if(e(194),e(163),t=>!t)]},children:[{text:i.to(e(170),i=>i?at(t,e(176))+": ":at(t,e(153))+": ")}]},{text:i.to(e(178))}]},new It.ToolbarSeparatorView,{tag:e(164),attributes:{class:[e(162)]},children:[s,n]}]})}}var ye=i(628),ke={attributes:{"data-cke":!0}};ke.setAttributes=Rt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Vt();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-=319]})(t,e)}const we=be;function _e(){const t=["change","removeClass","addClass","60381lSYjiY","editor","1168XwVOIQ","610nFjwks","231670uktGer","1757XykXqh","4xOOeWI","roots","hide","52196EIxnUG","24320692OCXYQE","ck-editor__editable__loading-overlay","pluginName","document","isOfficialPlugin","view","editing","64jVeqUB","1403970MurhGW","isPremiumPlugin","show","RevisionViewerLoadingOverlay","1068660pvspGE"];return(_e=function(){return t})()}!function(t){const e=be,i=t();for(;;)try{if(611202===-parseInt(e(334))/1*(-parseInt(e(331))/2)+-parseInt(e(321))/3+parseInt(e(342))/4*(-parseInt(e(329))/5)+-parseInt(e(343))/6+-parseInt(e(330))/7*(-parseInt(e(327))/8)+parseInt(e(325))/9*(-parseInt(e(328))/10)+parseInt(e(335))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const Ie=we(336);class Se extends G.Plugin{static get[we(337)](){return we(320)}static get[we(339)](){return!0}static get[we(344)](){return!0}[we(319)](){const t=we,e=this[t(326)][t(341)][t(340)];e[t(322)](i=>{const s=t;for(const t of e[s(338)][s(332)])i[s(324)](Ie,t)})}[we(333)](){const t=we,e=this[t(326)][t(341)][t(340)];e[t(322)](i=>{const s=t;for(const t of e[s(338)][s(332)])i[s(323)](Ie,t)})}}const Oe=xe;function Te(){const t=["49998ujJlER","14199480HUdbDI","set","hide","restoreRevision","pluginName","4217610xiMIDi","isForwardNavigationEnabled","add","init","isBackwardNavigationEnabled","showPreviousChange","isOfficialPlugin","closeRevisionViewerCallback","show","requires","107434HQUBHs","listenTo","8998521ESdZnQ","config","componentFactory","showNextChange","change:isReady","Back to editing","29NiDlIf","revisionHistory","320NdxtQL","Restore this revision","462JeKCrg","get","bind","462760OZkRSA","changesNavigation","97340qLGEtn","exitToEditing","editor","isNavigationMode","isReady","numberOfChanges","plugins","execute","isEnabled","RevisionViewerUI","commands","forward","currentChangeNumber","9kDJTEy","isPremiumPlugin","ck-revision-history-ui__back-to-editing"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=111]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(923225===-parseInt(e(118))/1*(parseInt(e(159))/2)+-parseInt(e(149))/3+-parseInt(e(125))/4+-parseInt(e(120))/5*(-parseInt(e(143))/6)+parseInt(e(112))/7+-parseInt(e(144))/8*(-parseInt(e(140))/9)+parseInt(e(127))/10*(parseInt(e(122))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(148)](){return Oe(136)}static get[Oe(155)](){return!0}static get[Oe(141)](){return!0}static get[Oe(158)](){return[ue,Se]}[Oe(152)](){const t=Oe,e=this[t(129)],i=e[t(133)][t(123)](ue),s=e[t(133)][t(123)](Se);e.ui[t(114)][t(151)](t(128),i=>{const s=t,n=new It.ButtonView(i);return n[s(145)]({label:at(i,s(117)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(142)}),this[s(111)](n,s(134),()=>{const t=s;e[t(113)][t(123)](t(119))[t(156)]()}),n}),e.ui[t(114)][t(151)](t(147),i=>{const s=t,n=new It.ButtonView(i);return n[s(145)]({label:at(i,s(121)),withText:!0,tooltip:!0}),n[s(124)](s(135)).to(e[s(137)][s(123)](s(147))),this[s(111)](n,s(134),()=>e[s(134)](s(147))),n}),e.ui[t(114)][t(151)](t(126),s=>{const n=t,r=new ge(s),o=e[n(137)][n(123)](n(154)),a=e[n(137)][n(123)](n(115));return r[n(124)](n(153)).to(o,n(135)),r[n(124)](n(150)).to(a,n(135)),r[n(124)](n(131),n(139),n(132),n(130)).to(i),this[n(111)](r,n(134),(t,i)=>{const s=n;e[s(134)](s(138)===i?s(115):s(154))}),r}),s[t(157)](),i.on(t(116),(e,i,n)=>{const r=t;n?s[r(146)]():s[r(157)]()})}}var Ae=i(549),Me={attributes:{"data-cke":!0}};Me.setAttributes=Rt(),Me.insert=At().bind(null,"head"),Me.domAPI=xt(),Me.insertStyleElement=Vt();Ot()(Ae.A,Me);Ae.A&&Ae.A.locals&&Ae.A.locals;const Re=Ee;function Ee(t,e){const i=Ve();return(Ee=function(t,e){return i[t-=484]})(t,e)}function Ve(){const t=["ck-revision-history-sidebar__revision-name","3710ILOdeM","ck-tooltip_multi-line","placeholder","27624OdOIIV","listenTo","3368547UmnYgZ","element","extendTemplate","6mORJAc","548622Ibryjy","input","340772EBjRwT","render","Revision name","scrollWidth","_updateTooltipText","Enter the revision name","span","260048dyBMyC","908KllitC","value","692160iIveWV","180pUOkXP","6kvhBvh","_tooltipString","_resizeObserver","7194qMszkz","clientWidth","set","fieldView","bindTemplate","destroy"];return(Ve=function(){return t})()}!function(t){const e=Ee,i=t();for(;;)try{if(344367===parseInt(e(497))/1+-parseInt(e(499))/2*(parseInt(e(496))/3)+parseInt(e(507))/4*(-parseInt(e(488))/5)+parseInt(e(511))/6*(-parseInt(e(493))/7)+-parseInt(e(506))/8*(parseInt(e(510))/9)+-parseInt(e(509))/10+parseInt(e(514))/11*(parseInt(e(491))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends It.LabeledFieldView{[Re(513)]=null;constructor(t,e){const i=Re;super(t,e);const s=this[i(485)];this[i(516)]({label:at(t,i(501)),_tooltipString:""}),this[i(484)][i(490)]=at(t,i(504)),this[i(495)]({tag:i(505),attributes:{class:[i(487)],"data-cke-tooltip-text":s.to(i(512)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(489)}})}[Re(500)](){const e=Re;super[e(500)](),this[e(513)]=new t.ResizeObserver(this[e(484)][e(494)],()=>this[e(503)]()),this[e(492)](this[e(484)],e(498),()=>this[e(503)]())}[Re(486)](){const t=Re;super[t(486)](),this[t(513)]&&this[t(513)][t(486)]()}[Re(503)](){const t=Re,e=this[t(484)][t(494)];this[t(512)]=e[t(502)]>e[t(515)]&&e[t(508)]||""}}var Ce=i(997),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Rt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Vt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Le(){const t=["762831FpyIKx","0 0 11 10","name","5558469kpuCfh","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author__name","Revision creator","setTemplate","29yEEfle","push","1519908yJGCxZ","32ULuDSH","set","Revision author","39316QYaZzG","ck-revision-history-sidebar__revision-author_creator","7121832QrLcZU","span","320535ZmTohh","5210616hVgZXl"];return(Le=function(){return t})()}function je(t,e){const i=Le();return(je=function(t,e){return i[t-=285]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(673262===parseInt(e(285))/1*(parseInt(e(291))/2)+parseInt(e(287))/3+parseInt(e(296))/4+-parseInt(e(295))/5+-parseInt(e(293))/6+-parseInt(e(300))/7+-parseInt(e(288))/8*(-parseInt(e(297))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class Pe extends It.View{constructor(t,e,i){const s=je;super(t);const n=new It.IconView;n[s(289)]({content:_t.IconUser,viewBox:s(298)});const r=["ck",s(301)];i&&r[s(286)](s(292));const o=[{tag:s(294),attributes:{class:["ck",s(302)],title:at(t,s(i?303:290))},children:[n,e[s(299)]]}];this[s(304)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=Ue();return(ze=function(t,e){return i[t-=451]})(t,e)}function Ue(){var t=["581664DOXIoy","3295642UMOedc","32IZjvMS","9FEMzwj","2490565ERiBbQ","1394103rnthev","numeric","toLocaleDateString","11314oJLjfe","656232RqQcxT","toLocaleTimeString","1294320oHMHoW","long"];return(Ue=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(324998===parseInt(e(456))/1*(parseInt(e(462))/2)+-parseInt(e(459))/3+-parseInt(e(452))/4+parseInt(e(458))/5+-parseInt(e(463))/6+parseInt(e(455))/7+parseInt(e(454))/8*(parseInt(e(457))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);var He=i(439),We={attributes:{"data-cke":!0}};We.setAttributes=Rt(),We.insert=At().bind(null,"head"),We.domAPI=xt(),We.insertStyleElement=Vt();Ot()(He.A,We);He.A&&He.A.locals&&He.A.locals;function Ze(){const t=["5DYdWUq","bindTemplate","10528770AgRZye","isReady","model","56UOrvQD","Restore this revision","class","bind","panelPosition","button","Compare against selected","extendTemplate","listView","ck-revision-history-sidebar__revision__actions","function","isActionsDropdownOpen","execute","children","539784ocrRoh","find","Show more items","locale","11wcBGhN","4432183NMGpGu","menuitem","listenTo","action","set","buttonView","Name this revision","1212276GiaHxU","first","ck-on","name","source","741804LtncqM","isOpen","items","isEnabled","1768038UTXuya","add","2769734mwzrzw","menu","3YDJFpi","map","stopPropagation","change:isActionsDropdownOpen","isVisible","_action"];return(Ze=function(){return t})()}function qe(t,e){const i=Ze();return(qe=function(t,e){return i[t-=467]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(884861===-parseInt(e(498))/1+parseInt(e(504))/2+parseInt(e(506))/3*(-parseInt(e(493))/4)+parseInt(e(512))/5*(-parseInt(e(502))/6)+-parseInt(e(486))/7+parseInt(e(467))/8*(parseInt(e(481))/9)+parseInt(e(514))/10*(parseInt(e(485))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);var $e=i(532),Be={attributes:{"data-cke":!0}};Be.setAttributes=Rt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Vt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["listenTo","ck-revision-history-sidebar__revision","3mgcqqP","closest","fieldView","1375155idGKnW","authors","_createdAtFormatted","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","738644ZHHGlL","ck-disabled",".ck-confirm-view","render","ck-revision-history-sidebar__revision_highlighted","length","ck-revision-history-sidebar__revision_selected","span","setTemplate","ck-revision-history-sidebar__revision-wrapper","creator","ck-reset","setName","name","isReady","srcElement","15354oGNHhg","7753370wuEftU","deselect","revisionActionsView","isConfirm","change","1462xEGpDT","set","isSelected","bind","filter","159wdSycu","value","highlight","uiLanguage","bindTemplate","unshift","isEnabled","select","isHighlighted","div","element","unhighlight","_requireRevisionName","isActionsDropdownOpen","220","_revision","from","875cZPWvw","ck-revision-history-sidebar__revision__date","4293950VcTlDq","ck-revision-history-sidebar__revision__controls-wrapper","extendTemplate","2843272ycVObc","fire","map","revisionNameView","ck-revision-history-sidebar__actions_dropdown_open","createdAt","ck-revision-history-sidebar__revision-authors"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=202]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(899680===-parseInt(e(215))/1*(-parseInt(e(210))/2)+-parseInt(e(246))/3*(-parseInt(e(253))/4)+parseInt(e(205))/5+-parseInt(e(204))/6*(parseInt(e(232))/7)+-parseInt(e(237))/8+parseInt(e(249))/9+-parseInt(e(234))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Xe extends((0,X.ConfirmMixin)(It.View)){id;[Ye(240)];[Ye(207)];[Ye(230)];[Ye(227)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(219)],a=function(t,e){const i=r,s=Array[i(231)](e[i(250)])[i(214)](t=>t!=e[i(263)]);return e[i(263)]&&s[i(220)](e[i(263)]),s[i(239)](s=>new Pe(t,s,s==e[i(263)]))}(e,i);this.id=i.id,this[r(230)]=i,this[r(227)]=n,this[r(213)](r(266),r(242)).to(i),this[r(213)](r(251)).to(this,r(242),t=>{return i=e[r(218)],(s=t)[(n=ze)(461)](i,{month:n(453),day:n(460)})+", "+s[n(451)](i,{hour:n(460),minute:n(460)});var i,s,n}),this[r(211)](r(212),!1),this[r(211)](r(223),!1),this[r(211)](r(228),!1),this[r(211)](r(202),!1),this[r(211)](r(221),!1),this[r(240)]=new De(e,It.createLabeledInputText),this[r(240)][r(248)][r(236)]({attributes:{maxlength:r(229)}}),this[r(240)][r(248)][r(213)](r(216)).to(this,r(266),t=>t||this[r(251)]),this[r(240)][r(213)](r(221)).to(this,r(212),this,r(221),(t,e)=>t&&e),this[r(207)]=s&&s[r(258)]?function(e,i){const s=qe,n=e[s(513)],r=e[s(484)],o=(0,It.createDropdown)(r);o[s(471)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=qe,s=t[i(484)],n={"Compare against selected":at(s,i(473)),"Name this revision":at(s,i(492)),"Restore this revision":at(s,i(468))};return e[i(507)](t=>{const e=i,s=n[t[e(496)]];return s&&s!==t[e(496)]&&(t[e(496)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(472),model:new It.UIModel({label:t[n(496)],class:t[n(469)],withText:!0,role:n(487),_action:t[n(489)]})};i[n(516)][n(470)](n(501)).to(e,n(478),i=>n(477)!=typeof t[n(501)]||!i||t[n(501)](e)),o[n(503)](i)}return o}(e,i);return e[s(470)](s(478)).to(o,s(499)),o[s(491)][s(490)]({label:at(r,s(483)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(474)]({attributes:{class:[s(476),n.if(s(478),s(495))]},on:{click:n.to(t=>t[s(508)]())}}),o.on(s(479),t=>{const i=s;e[i(515)]&&i(477)==typeof t[i(497)][i(511)]&&t[i(497)][i(511)](e)}),(0,It.addListToDropdown)(o,a,{role:s(505)}),o[s(488)](e,s(509),(t,n,r)=>{const a=s;if(r)for(const t of o[a(475)][a(500)]){const s=t[a(480)][a(494)],n=i[a(482)](t=>t[a(489)]===s[a(511)])[a(510)];t[a(510)]=void 0===n||n(e)}}),o}(this,s):"",this[r(207)]&&this[r(207)][r(213)](r(221)).to(this),this[r(261)]({tag:r(224),attributes:{class:["ck",r(264),r(262),o.if(r(208),r(252))]},children:[{tag:r(224),attributes:{class:["ck",r(264),r(245),o.if(r(221),r(254),t=>!t),o.if(r(212),r(259)),o.if(r(223),r(257)),o.if(r(228),r(241))]},children:[this[r(240)],{tag:r(260),attributes:{class:["ck",r(233)]},children:[{text:o.to(r(251))}]},{tag:r(224),attributes:{class:["ck",r(235)]},children:[{tag:"ul",attributes:{class:["ck",r(243)]},children:a}]},this[r(207)]],on:{click:o.to(t=>{const e=r;t[e(203)][e(247)](e(255))||this[e(202)]&&this[e(221)]&&this[e(238)](e(222),{id:this.id})})}}]})}[Ye(256)](){const t=Ye;super[t(256)]();const e=this[t(240)][t(248)][t(225)];this[t(244)](e,t(209),()=>{const i=t;this[i(227)]&&!e[i(216)]||this[i(238)](i(265),{id:this.id,name:e[i(216)]}),e[i(216)]||(e[i(216)]=this[i(266)]?this[i(266)]:this[i(251)])})}[Ye(222)](){this[Ye(212)]=!0}[Ye(206)](){this[Ye(212)]=!1}[Ye(217)](){this[Ye(223)]=!0}[Ye(226)](){this[Ye(223)]=!1}}class Qe extends Error{}class Ke 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 si extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class ni 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},Mi={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Ri{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Ei=null;class Vi extends Ri{static get instance(){return null===Ei&&(Ei=new Vi),Ei}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ks(t,e,i)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class Li extends Ri{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Li(t)),e}static resetCache(){Fi.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Li.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ks(t,e,i,this.name)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Es(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Js({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let ji={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let s=Pi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Pi.set(i,s)),s}const Ui=new Map;const Hi=new Map;let Wi=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,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ui.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Ui.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Us(this.floor?Math.floor(t):qs(t,3),this.padTo)}}class Ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Li.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=zi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Hi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Hi.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Xi={firstDay:1,minimalDays:4,weekend:[6,7]};class Qi{static fromOpts(t){return Qi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Wi||(Wi=(new Intl.DateTimeFormat).resolvedOptions().locale,Wi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ps(s)||vs.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Wi=null,Pi.clear(),Ui.clear(),Hi.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Qi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=zi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=zi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===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,Ps(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,un,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=fo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Bi(this,t,fn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,yn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=ji[i];return s||(s=new Intl.ListFormat(t,e),ji[i]=s),s}(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:Fs()?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={...Xi,...e}),$i.set(t,e)}return e}(this.locale):Xi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ki=null;class ts extends Ri{static get utcInstance(){return null===Ki&&(Ki=new ts(0)),Ki}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class es extends Ri{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function is(t,e){if(Es(t)||null===t)return e;if(t instanceof Ri)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||Li.create(t)}return Vs(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Vi.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=Ps(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Qi.resetCache(),Li.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+($s(t)?ks:ys)[e-1]}function Is(t,e){const i=$s(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Xs(c,e,i)):u>Xs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function Ts(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function xs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ns(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function As(t,e){if(!Es(t.localWeekday)||!Es(t.localWeekNumber)||!Es(t.localWeekYear)){if(!Es(t.weekday)||!Es(t.weekNumber)||!Es(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Es(t.localWeekday)||(t.weekday=t.localWeekday),Es(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Es(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Ms(t){const e=Ds(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Rs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Es(t){return void 0===t}function Vs(t){return"number"==typeof t}function Ds(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ls(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function js(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ps(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return Ds(t)&&t>=e&&t<=i}function Us(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hs(t){return Es(t)||null===t||""===t?void 0:parseInt(t,10)}function Ws(t){return Es(t)||null===t||""===t?void 0:parseFloat(t)}function Zs(t){if(!Es(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return $s(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Xs(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Qs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Ks(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(js(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Us(i,2)}:${Us(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Us(i,2)}${Us(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Mi};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Us(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function Tn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Hs(e[i+n]);return[s,null,i+n]}}const xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,An=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),Mn=RegExp(`(?:T${An.source})?`),Rn=Tn("weekYear","weekNumber","weekDay"),En=Tn("year","ordinal"),Vn=RegExp(`${Nn.source} ?(?:${xn.source}|(${_n.source}))?`),Dn=RegExp(`(?: ${Vn.source})?`);function Cn(t,e,i){const s=t[e];return Es(s)?i:Hs(s)}function Fn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Zs(t[e+3])},null,e+4]}function Ln(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function jn(t,e){return[{},t[e]?Li.create(t[e]):null,e+1]}const Pn=RegExp(`^T?${Nn.source}$`),zn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Un(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ws(i)),months:d(Ws(s)),weeks:d(Ws(n)),days:d(Ws(r)),hours:d(Ws(o)),minutes:d(Ws(a)),seconds:d(Ws(c),"-0"===c),milliseconds:d(Zs(u),h)}]}const Hn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Wn(t,e,i,s,n,r,o){const a={year:2===e.length?Qs(Hs(e)):Hs(e),month:an.indexOf(i)+1,day:Hs(s),hour:Hs(n),minute:Hs(r)};return o&&(a.second=Hs(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Zn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Wn(e,n,s,i,r,o,a);let f;return f=c?Hn[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Wn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Wn(e,a,i,s,n,r,o),ts.utcInstance]}const Xn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Mn),Qn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Mn),Kn=In(/(\d{4})-?(\d{3})/,Mn),tr=In(An),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,Ln,jn),ir=Sn(Rn,Fn,Ln,jn),sr=Sn(En,Fn,Ln,jn),nr=Sn(Fn,Ln,jn);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,Dn),ar=In(Vn),cr=Sn(Fn,Ln,jn);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Es(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),pr.reduce((i,s)=>{if(Es(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||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 ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Qi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Vs(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[zn,Un])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return On(t,[Pn,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new si(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Es(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+=qs(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)(js(e.values,t)||js(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Vs(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Vs(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Li.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||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:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||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:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Mr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Rr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Mr(i)===Mr(t))+e}}function Er(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Vr(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(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Lr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Rr(e.eras("short"),0);case"GG":return Rr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Qs);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(s);case"MMM":return Rr(e.months("short",!0),1);case"MMMM":return Rr(e.months("long",!0),1);case"LLL":return Rr(e.months("short",!1),1);case"LLLL":return Rr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(n);case"u":return Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Rr(e.meridiems(),0);case"EEE":return Rr(e.weekdays("short",!1),1);case"EEEE":return Rr(e.weekdays("long",!1),1);case"ccc":return Rr(e.weekdays("short",!0),1);case"cccc":return Rr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Er(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Er(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Vr(/[a-z_+-/]{1,256}?/i);case" ":return Vr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(js(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return Es(t.z)||(i=Li.create(t.z)),Es(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Es(t.q)||(t.M=3*(t.q-1)+1),Es(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),Es(t.u)||(t.S=Zs(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(js(i,"a")&&js(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function jr(t,e,i){return new Lr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const zr="Invalid DateTime",Ur=864e13;function Hr(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Wr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Os(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function 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 s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Js(t),e,i)}function Jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Js(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Xr(t,e,i=!0){return t.isValid?wn.create(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 s="";return i&&t.c.year>=0&&(s+="+"),s+=Us(t.c.year,i?6:4),e?(s+="-",s+=Us(t.c.month),s+="-",s+=Us(t.c.day)):(s+=Us(t.c.month),s+=Us(t.c.day)),s}function Kr(t,e,i,s,n,r){let o=Us(t.c.hour);return e?(o+=":",o+=Us(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Us(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Us(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Us(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Us(Math.trunc(-t.o/60)),o+=":",o+=Us(Math.trunc(-t.o%60))):(o+="+",o+=Us(Math.trunc(t.o/60)),o+=":",o+=Us(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Hr(i));const s=Qi.fromObject(e);let n,r;if(Es(t.year))n=vs.now();else{for(const e of so)Es(t[e])&&(t[e]=to[e]);const e=Ms(t)||Rs(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Es(i.round)||i.round,n=(t,n)=>{t=qs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Hr(e));this.ts=Es(t.ts)?vs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Vs(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Qi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Qi.fromObject(e)}):fo.invalid(Hr(n))}static fromMillis(t,e={}){if(Vs(t))return t<-Ur||t>Ur?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Qi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Vs(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Qi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Hr(i));const s=Qi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Es(e.specificOffset)?i.offset(a):e.specificOffset,u=!Es(n.ordinal),l=!Es(n.year),h=!Es(n.month)||!Es(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=xs(g)):(p=so,v=to);let y=!1;for(const t of p){Es(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ds(t.weekYear),n=zs(t.weekNumber,1,Xs(t.weekYear,e,i)),r=zs(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ds(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Ms(n),b=k||Rs(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?Ns(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Xn,er],[Qn,ir],[Kn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zn,qn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[$n,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Es(t)||Es(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=jr(t,e,i);return[s,n,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Ke(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.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?Wr(this).weekYear:NaN}get weekNumber(){return this.isValid?Wr(this).weekNumber:NaN}get weekday(){return this.isValid?Wr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?xs(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return $s(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Yr(i,e,t)}return qr(this,{ts:s,zone:t})}return fo.invalid(Hr(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=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=As(e,this.loc),n=!Es(e.weekYear)||!Es(e.weekNumber)||!Es(e.weekday),r=!Es(e.ordinal),o=!Es(e.year),a=!Es(e.month)||!Es(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=Ts({...Os(this.c,i,s),...e},i,s):Es(e.ordinal)?(l={...this.toObject(),...e},Es(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=Ns({...xs(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Qr(this,r);return o+="T",o+=Kr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Xr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Kr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Xr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Xr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Xr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return Ls(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return Ls(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return jr(Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Qi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Lr(n,t)}static fromFormatParser(t,e,i={}){if(Es(t)||Es(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Mi}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Vs(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=377]})(t,e)}function vo(){const t=["590488UZbzts","25rJyAwS","2037539alFinU","weekdayLong","3332025snYvIV","year","minus","2938860qAVVHr","hasSame","8HyVkFv","week","setLocale","191hLVyEy","1954cEujBA","toJSDate","monthLong","day","fromJSDate","local","toRelativeCalendar","startOf","225678RLJGwk","1394271yBxHzE","month"];return(vo=function(){return t})()}function go(t,e){const i=po,s=fo[i(377)](t)[i(395)](e),n=fo[i(378)](),r=n[i(390)]({days:1})[i(380)](i(400));let o,a;return s[i(392)](n,i(400))?(o=s[i(380)](i(400))[i(398)](),a=s[i(379)]()):s[i(392)](r,i(400))?(o=r[i(398)](),a=s[i(379)]()):s[i(392)](n,i(394))?(o=s[i(380)](i(394))[i(398)](),a=s[i(387)]||""):s[i(392)](n,i(389))?(o=s[i(380)](i(383))[i(398)](),a=s[i(399)]||""):(o=s[i(380)](i(389))[i(398)](),a=String(s[i(389)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(240803===-parseInt(e(396))/1*(parseInt(e(397))/2)+parseInt(e(382))/3+parseInt(e(384))/4+-parseInt(e(385))/5*(-parseInt(e(381))/6)+-parseInt(e(386))/7*(-parseInt(e(393))/8)+-parseInt(e(388))/9+-parseInt(e(391))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(342),ko={attributes:{"data-cke":!0}};ko.setAttributes=Rt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Vt();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-=399]})(t,e)}function _o(){const t=["delegate","add","ck-revision-history-sidebar__time-period__revisions","_revisionActions","setTemplate","ck-revision-history-sidebar__time-period__label","1135zhhHbL","select","664344wJrQLh","createCollection","uiLanguage","div","192620lHBNZt","localizedPeriodName","span","ck-revision-history-sidebar__time-period","startDate","228016hlhSDt","_requireRevisionName","locale","2806623aPbhwH","find","84VefFCn","remove","1zJiucj","revisionViews","539ZTPstQ","14776kFapEn","setName","379980peJFQX","removeRevision","addRevision","529616xGRNVM"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(728845===parseInt(e(400))/1*(-parseInt(e(426))/2)+-parseInt(e(417))/3+-parseInt(e(403))/4*(-parseInt(e(415))/5)+parseInt(e(405))/6+parseInt(e(431))/7*(parseInt(e(408))/8)+parseInt(e(429))/9+-parseInt(e(421))/10*(parseInt(e(402))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(425)];[bo(401)];[bo(412)];[bo(427)];constructor(t,e,i,s){const n=bo;super(t);const r=go(e,this[n(428)][n(419)])[n(422)];this[n(425)]=e,this[n(401)]=this[n(418)](),this[n(412)]=i,this[n(427)]=s,this[n(401)][n(409)](n(416)).to(this),this[n(401)][n(409)](n(404)).to(this),this[n(413)]({tag:n(420),attributes:{class:["ck",n(424)]},children:[{tag:n(423),attributes:{class:["ck",n(414)]},children:[{text:r}]},{tag:n(420),attributes:{class:["ck",n(411)]},children:this[n(401)]}]})}[bo(407)](t){const e=bo,i=new Xe(this[e(428)],t,this[e(412)],this[e(427)]);this[e(401)][e(410)](i)}[bo(406)](t){const e=bo,i=this[e(401)][e(430)](e=>e.id===t.id);this[e(401)][e(399)](i)}}var So=i(193),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Rt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Vt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["336332MQrnfo","ck-revision-history-sidebar__header","span","div","79677RSShZf","ck-reset_all","Revision history","content","928kIZspO","3414429bfUycn","335132WzPsxZ","890227YJsdqU","1311322mCSoDj","4406088Njtuqc","ck-revision-history-sidebar__header__label","70bmQQlv","setTemplate"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=268]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(614061===parseInt(e(282))/1+-parseInt(e(283))/2+-parseInt(e(280))/3+-parseInt(e(271))/4*(-parseInt(e(269))/5)+-parseInt(e(284))/6+parseInt(e(281))/7+parseInt(e(279))/8*(parseInt(e(275))/9))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(278)]=_t.IconHistory,this[e(270)]({tag:e(274),attributes:{class:["ck",e(276),e(272)]},children:[i,{tag:e(273),attributes:{class:["ck",e(268)]},children:[at(t,e(277))]}]})}}var Ao=i(574),Mo={attributes:{"data-cke":!0}};Mo.setAttributes=Rt(),Mo.insert=At().bind(null,"head"),Mo.domAPI=xt(),Mo.insertStyleElement=Vt();Ot()(Ao.A,Mo);Ao.A&&Ao.A.locals&&Ao.A.locals;const Ro=Vo;!function(t){const e=Vo,i=t();for(;;)try{if(834369===-parseInt(e(261))/1*(-parseInt(e(240))/2)+parseInt(e(258))/3*(parseInt(e(277))/4)+parseInt(e(266))/5*(-parseInt(e(272))/6)+-parseInt(e(248))/7+-parseInt(e(273))/8+-parseInt(e(269))/9*(parseInt(e(283))/10)+parseInt(e(228))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends It.View{[Ro(253)];[Ro(282)];[Ro(255)];[Ro(235)];constructor(t,e,i,s){const n=Ro;super(t);const r=this[n(244)];this[n(253)]=this[n(239)](),this[n(253)][n(236)](n(232)).to(this),this[n(253)][n(236)](n(281)).to(this),this[n(282)]=e,this[n(255)]=i,this[n(235)]=s,this.on(n(232),(t,e)=>{const i=n;this[i(259)](i(229),e)}),this.on(n(281),(t,e)=>{const i=n;this[i(259)](i(251),e)}),this[n(231)](n(279),!1),this[n(249)]({tag:n(275),attributes:{class:["ck",n(267),n(278),n(270)]},children:[new No(t),{tag:n(275),attributes:{class:["ck",n(256),r.if(n(279),n(265),t=>!t)]},children:this[n(253)]}]})}[Ro(245)](){const t=Ro;super[t(245)]();for(const e of this[t(282)])this[t(254)](e);this[t(282)].on(t(247),(e,i)=>{this[t(254)](i)}),this[t(282)].on(t(233),(e,i)=>{this[t(241)](i)})}get[Ro(271)](){const t=Ro;return this[t(253)][t(242)](e=>e[t(271)][t(242)](t=>t))[t(246)]()}[Ro(243)](t){const e=Ro;for(const i of this[e(271)])t&&t.id===i.id?i[e(232)]():i[e(250)]()}[Ro(262)](t){const e=Ro;for(const i of this[e(271)])t[e(238)](({id:t})=>t===i.id)?i[e(230)]():i[e(263)]()}[Ro(254)](t){const e=Ro,i=go(t[e(237)],this[e(264)][e(260)])[e(257)];let s=this[e(253)][e(274)](0);s&&s[e(257)][e(234)]()===i[e(234)]()||(s=new Io(this[e(264)],i,this[e(255)],this[e(235)]),this[e(253)][e(247)](s)),s[e(280)](t)}[Ro(241)](t){const e=Ro,i=go(t[e(237)],this[e(264)][e(260)])[e(257)];this[e(252)](i)[e(276)](t)}[Ro(252)](t){const e=Ro;return this[e(253)][e(268)](i=>i[e(257)][e(234)]()===t[e(234)]())}}function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=228]})(t,e)}function Do(){const t=["setTemplate","deselect","revisionSetName","_getTimePeriodViewByStartDate","timePeriodViews","_addRevision","_revisionActions","ck-revision-history-sidebar__timeline","startDate","15FKrDPL","fire","uiLanguage","39583TXIRMg","highlightRevisions","unhighlight","locale","ck-disabled","510FMQOYl","ck-reset","find","432xxUzym","ck-revision-history-sidebar","revisionViews","6504hwrFYo","428880eQLiHk","get","div","removeRevision","92076evrXux","ck-rounded-corners","isEnabled","addRevision","setName","_revisions","42080tuGRUv","16446133AAIOsf","revisionSelected","highlight","set","select","remove","getTime","_requireRevisionName","delegate","createdAt","some","createCollection","40OXlone","_removeRevision","map","selectRevision","bindTemplate","render","flat","add","8409289biYeSc"];return(Do=function(){return t})()}const Co=Lo;function Fo(){const t=["revisionHistory.requireRevisionName","getIndex","focus","nameRevision","2077746sUXgXM","defaultRevisionActions","6298353RdYIza","select","selectRevision","change:diff","isPremiumPlugin","action","isOfficialPlugin","assign","8269459MqUjRW","map","remove","appendChild","highlightRevisions","10NLTpsC","locale","2271600EqSHNq","render","length","isSelected","setName","_revisionViewer","_revisionsRepository","Compare against selected","compare","fieldView","plugins","restoreRevisionCallback","revisionSetName","RevisionsSidebar","Restore this revision","diff","_handleRevisionSelected","bind","name","revisionSelected","compareAgainstSelected","revisionHistory.viewerSidebarContainer","timePeriodViews","getEarlierVisibleRevision","getRevisionsInDiff","editor","isVisible","pluginName","14bNISEM","revisionViews","repository","restoreRevision","1142094dUCOKg","_handleRevisionSetName","getLaterVisibleRevision","isReady","_handleDiffChange","destroy","10ncoBab","config","availableRevisionActions","getRevision","listenTo","get","_sidebarView","add","922uPGxOS","_handleEditorDataReady","revisionHistory.revisionActions","newRevisionId","ready","Name this revision","_revisions","element","1583OpVAXl","isEnabled","init","string","data","requires","_createRevisionActions","revisionHistory","557796XxBsMe"];return(Fo=function(){return t})()}function Lo(t,e){const i=Fo();return(Lo=function(t,e){return i[t-=219]})(t,e)}!function(t){const e=Lo,i=t();for(;;)try{if(386250===-parseInt(e(241))/1*(-parseInt(e(233))/2)+parseInt(e(254))/3+-parseInt(e(249))/4+parseInt(e(269))/5*(-parseInt(e(219))/6)+-parseInt(e(299))/7*(parseInt(e(271))/8)+parseInt(e(256))/9*(-parseInt(e(225))/10)+parseInt(e(264))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class jo extends G.Plugin{[Co(276)];[Co(277)];[Co(231)];static[Co(255)]=[Co(291),Co(302),Co(253)];static[Co(227)]=function(){const t=Co;return{compareAgainstSelected:{name:t(278),action:({plugins:e},i)=>{const s=t,n=e[s(230)](ue),r=n[s(301)];let o=n[s(286)][s(236)],a=i.id;r[s(251)](o)>r[s(251)](a)&&([o,a]=[a,o]),n[s(279)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(230)](ue);return!(n[s(301)][s(295)](n[s(286)])[s(273)]>2||i[s(274)])}},restoreRevision:{name:t(285),action:(e,{id:i})=>{const s=t;e[s(226)][s(230)](s(248))[s(282)](i)},isVisible:({plugins:e},i)=>!!e[t(230)](ue)[t(301)][t(221)](i.id)},nameRevision:{name:t(238),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(230)](ue),o=r[n(301)][n(294)](i);r[n(279)](i,o),s[n(252)](),s[n(280)][n(257)]()}}}}();static get[Co(298)](){return Co(284)}static get[Co(262)](){return!0}static get[Co(260)](){return!0}static get[Co(246)](){return[ue]}constructor(t){const e=Co;super(t),this[e(276)]=t[e(281)][e(230)](ue),this[e(277)]=this[e(276)][e(301)],this[e(231)]=null}[Co(243)](){const t=Co,e=this[t(277)][t(239)],i=this[t(247)](),s=this[t(296)][t(226)][t(230)](t(292));this[t(231)]=new Eo(this[t(296)][t(270)],e,i,this[t(296)][t(226)][t(230)](t(250))),this[t(231)].on(t(290),this[t(287)][t(288)](this)),this[t(231)].on(t(283),this[t(220)][t(288)](this)),this[t(231)][t(288)](t(242)).to(this[t(276)]),this[t(231)][t(293)].on(t(232),(e,i)=>{const s=t;i[s(300)].on(s(232),(t,e)=>{const i=s;e[i(288)](i(242),i(222)).to(this[i(276)])})}),this[t(231)][t(272)](),this[t(229)](this[t(296)][t(245)],t(237),this[t(234)][t(288)](this)),this[t(229)](this[t(276)],t(259),this[t(223)][t(288)](this)),s[t(267)](this[t(231)][t(240)])}[Co(224)](){const t=Co;this[t(231)][t(240)][t(266)](),this[t(231)][t(224)]()}[Co(234)](){const t=Co,e=this[t(277)][t(228)](0);if(e){const i=this[t(277)][t(294)](e.id);this[t(276)][t(279)](e,i)}}[Co(287)](t,e){const i=Co,s=this[i(277)][i(228)](e.id),n=this[i(277)][i(294)](s.id);this[i(276)][i(279)](s,n)}[Co(220)](t,e){const i=Co;this[i(277)][i(228)](e.id)[i(275)](e[i(289)])}[Co(223)](t,e,i){const s=Co,n=this[s(277)][s(295)](i);n[s(273)]>2?(this[s(231)][s(268)](n),this[s(231)][s(258)](null)):(this[s(231)][s(268)]([]),this[s(231)][s(258)](n[0]))}[Co(247)](){const t=Co,e=this[t(296)],i=jo[t(227)],s=e[t(226)][t(230)](t(235))||jo[t(255)];if(s[t(273)])return s[t(265)](s=>{const n=t,r=n(244)==typeof s?Object[n(263)]({},i[s]):s;return r[n(261)]=r[n(261)][n(288)](this,e),r[n(297)]&&(r[n(297)]=r[n(297)][n(288)](this,e)),r})}}const Po=zo;function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=194]})(t,e)}function Uo(){const t=["_toolbarConfig","name","limiterElement","element","viewportTopOffset","toolbar","get","restore","3840081zXTINS","render","setEditableElement","replace","_elementReplacer","12222968vGNsJR","getRoot","rootName","attachDomRoot","1321346LfLGJu","addToolbar","stickyPanel","editing","isActive","ready","fillFromConfig","componentFactory","_view","_initToolbar","48LuaBoK","document","destroy","focusTracker","40898844GaVjOP","viewportOffset","bind","fire","editor","10POsplw","2960210OYRYSX","editable","view","816277Hlqwip","isFocused","detachDomRoot","2wipBiG","6122148SbdJMo","init","config"];return(Uo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(774619===parseInt(e(228))/1+parseInt(e(207))/2*(parseInt(e(219))/3)+parseInt(e(208))/4+parseInt(e(201))/5+parseInt(e(238))/6*(-parseInt(e(204))/7)+parseInt(e(224))/8+parseInt(e(195))/9*(-parseInt(e(200))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Ho extends It.EditorUI{[Po(236)];[Po(211)];[Po(223)];get[Po(203)](){return this[Po(236)]}constructor(e,i){const s=Po;super(e),this[s(236)]=i,this[s(211)]=(0,It.normalizeToolbarConfig)(e[s(210)][s(217)](s(216))),this[s(223)]=new t.ElementReplacer}get[Po(214)](){const t=Po;return this[t(203)][t(214)]}[Po(209)](t){const e=Po,i=this[e(199)],s=this[e(203)],n=i[e(231)][e(203)],r=s[e(202)],o=n[e(239)][e(225)]();r[e(212)]=o[e(226)],s[e(220)]();const a=r[e(214)];this[e(221)](r[e(212)],a),s[e(202)][e(197)](e(205)).to(this[e(194)]),n[e(227)](a),this[e(223)][e(222)](t,this[e(214)]),this[e(237)](),this[e(198)](e(233))}[Po(240)](){const t=Po;super[t(240)]();const e=this[t(203)],i=this[t(199)][t(231)][t(203)];this[t(223)][t(218)](),i[t(206)](e[t(202)][t(212)]),e[t(240)]()}[Po(237)](){const t=Po,e=this[t(203)];e[t(230)][t(197)](t(232)).to(this[t(194)],t(205)),e[t(230)][t(213)]=e[t(214)],e[t(230)][t(197)](t(215)).to(this,t(196),({top:t})=>t),e[t(216)][t(234)](this[t(211)],this[t(235)]),this[t(229)](e[t(216)])}}var Wo=i(750),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Rt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Vt();Ot()(Wo.A,Zo);Wo.A&&Wo.A.locals&&Wo.A.locals;function qo(){var t=["3709269qtJztL","editable","179473NJJlme","_editable","stickyPanel","toolbar","main","shouldToolbarGroupWhenFull","54430ZoHxoA","896706bMPzQu","102NiCwzq","content","2332EvbjCi","8ASgcCa","render","4pxsNOJ","107020IJEhXb","238846sodOCb","top","712635zqqKvv","add"];return(qo=function(){return t})()}function $o(t,e){var i=qo();return($o=function(t,e){return i[t-=227]})(t,e)}var Bo=$o;!function(t){for(var e=$o,i=t();;)try{if(226854===-parseInt(e(247))/1+-parseInt(e(239))/2+parseInt(e(228))/3*(-parseInt(e(245))/4)+parseInt(e(246))/5+-parseInt(e(240))/6*(parseInt(e(232))/7)+-parseInt(e(243))/8*(-parseInt(e(230))/9)+parseInt(e(238))/10*(parseInt(e(242))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Yo extends It.BoxedEditorUIView{[Bo(233)];[Bo(234)];[Bo(235)];get[Bo(231)](){return this[Bo(233)]}constructor(t,e,i={}){var s=Bo;super(t),this[s(234)]=new It.StickyPanelView(t),this[s(235)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(237)]}),this[s(233)]=new It.InlineEditableUIView(t,e)}[Bo(244)](){var t=Bo;super[t(244)](),this[t(234)][t(241)][t(229)](this[t(235)]),this[t(227)][t(229)](this[t(234)]),this[t(236)][t(229)](this[t(231)])}}function Jo(){const t=["739950kOxtnh","config","init","view","20elTsAb","initialData","editing","69404PjzRML","fire","data","get","destroy","ready","_ui","9hPnmDl","1256890HeJJLE","19249637pwmBiJ","createRoot","initPlugins","7375990qNSpJj","sourceElement","model","updateSourceElement","create","113833yBNIoC","document","locale","77RIWmUL","213EkYSob","5243592sLPKgY"];return(Jo=function(){return t})()}function Go(t,e){const i=Jo();return(Go=function(t,e){return i[t-=351]})(t,e)}const Xo=Go;!function(t){const e=Go,i=t();for(;;)try{if(908135===-parseInt(e(363))/1*(-parseInt(e(373))/2)+-parseInt(e(367))/3*(-parseInt(e(376))/4)+parseInt(e(354))/5+parseInt(e(369))/6*(-parseInt(e(366))/7)+parseInt(e(368))/8+-parseInt(e(353))/9*(-parseInt(e(358))/10)+-parseInt(e(355))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);class Qo extends((0,G.ElementApiMixin)(G.Editor)){[Xo(352)];get ui(){return this[Xo(352)]}constructor(t,e){const i=Xo;super(e),this[i(359)]=t,this[i(360)][i(364)][i(356)]();const s=new Yo(this[i(365)],this[i(375)][i(372)],{shouldToolbarGroupWhenFull:!0});this[i(352)]=new Ho(this,s)}[Xo(380)](){const t=Xo;return this[t(361)](),this.ui[t(380)](),super[t(380)]()}static async[Xo(362)](t,e){const i=Xo,s=new this(t,e);return await s[i(357)](),await s.ui[i(371)](t),await s[i(378)][i(371)](s[i(370)][i(379)](i(374))||""),s[i(377)](i(351)),s}}const Ko=ea;function ta(){const t=["getRoot","PaginationLookup","ck-tab-panel_disabled","locale","restoreRevision","toolbar","getMarkersGroup","update","_viewerEditor","removeMarker","adapter","init","_update","restrictedEditingException","map","_restoreRevision","pluginName","AITabs","createRangeIn","replace","2404266lxVZyo","RevisionViewerIntegration","revisionHistory.viewerEditorElement","commands"," ck-tab-panel_disabled","AIActions","_closeRevisionViewer","RevisionHistoryUI","enableReadOnlyMode","showRevisionViewerCallback","Autosave","remove","RestrictedEditingMode","getUser",".ck-ai-chat-history .ck-input","display","style","_enhanceCloseRevisionViewerCallback","RevisionsRepository",".ck-ai-chat__prompt-input .ck-textarea","isEnabled","insert","addRevisionData","result","getRevisionRootsAttributes","creator","fromVersion","save","AIChatHistory","toLocaleTimeString","destroy","AIReviewMode","setAttribute","RevisionHistoryUtils","addUser","isOfficialPlugin","lazyRoots","isAnonymous","isPremiumPlugin","tabindex","5110550xVAknM","error","revisionHistory.requireRevisionName","Restored","getRevisions","_recalculatePageBreaks","element","revisionHistory","revisionHistory.showRevisionViewerCallback","4TlSaDO","_cleanUp","revisionHistory.editorContainer","parse","revisionHistory.restoreRevisionCallback","class","RevisionTracker","revisionHistory.closeRevisionViewerCallback","RevisionViewer","1923945JZdzgD","disableReadOnlyMode","changesNavigation","name","refreshPositioning","define","view","DocumentOutline","roots","end","rootName","closeRevisionViewerCallback","translations","requires","create","AIBalloon","removeAttribute","then","fromCharCode","createdAt","Dialog","enqueueChange","revisionHistory.viewerContainer","AIQuickActions","AIChat","revision-history-missing-configuration","saveRevision","detachRoot","removeSelectionAttribute","from","includes","isOpen","toJSON","Annotations","document","users","isAttached","revision-history-viewer-opened","5912lXsHvC","push","_showRevisionViewer","uiLanguage","setSelection","exitToEditing","get","numeric","isReady","Users","5awiabd","isReadOnly","set","none","selection","refreshVisibility","RevisionHistory","catch","model","603516wrcXyX","long","loadRevisionData","panelViews","getAttributeKeys","663615RJxDoV","plugins","toVersion","hide","keys","querySelector","repository","DocumentOutlineUI","markers","change","getRevision","22DisAwn","indexOf","isRevisionViewerOpen","join","getRevisionDocumentData","has","_getRevisionViewerEditorConfig","editor","_enhanceShowRevisionViewerCallback","$graveyard","config","data","addRoot","bind","4179CllWWR","toLocaleDateString","135506zMGdTj","block"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=284]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(261629===-parseInt(e(344))/1*(-parseInt(e(385))/2)+-parseInt(e(353))/3*(-parseInt(e(287))/4)+-parseInt(e(296))/5+-parseInt(e(407))/6+-parseInt(e(383))/7*(parseInt(e(334))/8)+-parseInt(e(358))/9+-parseInt(e(447))/10*(-parseInt(e(369))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Ko(414),Ko(419),Ko(320),Ko(438),Ko(311),Ko(319),Ko(412)];class sa extends G.Plugin{[Ko(430)];static get[Ko(403)](){return Ko(408)}static get[Ko(442)](){return!0}static get[Ko(445)](){return!0}constructor(t){const e=Ko;function i(t){const e=ea;return t[e(401)](t=>String[e(314)](t))[e(372)]("")}super(t),this[e(430)]=e(305),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class na extends G.Plugin{[Ko(395)];static get[Ko(403)](){return Ko(350)}static get[Ko(442)](){return!0}static get[Ko(445)](){return!0}static get[Ko(309)](){return[pt,qt]}constructor(e){const i=Ko;if(super(e),!this[i(376)][i(379)][i(340)](i(285)))throw new t.CKEditorError(i(321),this);this[i(395)]=null,this[i(346)](i(371),!1),this[i(376)][i(379)][i(301)](i(286),t=>this[i(336)]({...t,translations:this[i(376)][i(390)][i(308)]})),this[i(376)][i(379)][i(301)](i(294),t=>this[i(413)](t)),this[i(376)][i(379)][i(301)](i(291),t=>this[i(402)](t)),this[i(376)][i(379)][i(301)](i(449),!1),this[i(377)](),this[i(424)]()}set[Ko(397)](t){const e=Ko;this[e(376)][e(359)][e(340)](e(293))[e(397)]=t}get[Ko(397)](){const t=Ko;return this[t(376)][t(359)][t(340)](t(293))[t(397)]}[Ko(429)](t){const e=Ko;return this[e(376)][e(359)][e(340)](e(293))[e(429)](t)}[Ko(368)](t){const e=Ko;return this[e(376)][e(359)][e(340)](e(425))[e(368)](t)}[Ko(451)](t){const e=Ko;return this[e(376)][e(359)][e(340)](e(425))[e(451)](t||{toJSON:!1})}[Ko(375)](){const e=Ko,i=this[e(376)],s=(0,X.sanitizeEditorConfig)(i,ia),n=i[e(359)][e(340)](e(293)),r=i[e(359)][e(340)](e(343))[e(331)];return s[e(392)]=[e(339),e(391),e(298)],delete s[e(443)],s[e(359)][e(335)](sa,ue,Ne,class extends G.Plugin{static get[e(309)](){return[ue,e(343)]}[e(398)](){const s=e,o=this[s(376)][s(359)][s(340)](s(343));for(const t of r)t[s(444)]||o[s(420)](t.id)||o[s(441)](t);const a=n[s(364)][s(451)]();let c=null;const u=this[s(376)][s(359)][s(340)](s(295));u[s(397)]=n[s(397)],u[s(382)](s(427)).to(n),this[s(376)][s(410)][s(340)](s(391))[s(382)](s(427)).to(i,s(345),t=>!t);for(const e of a){const i=null===e[s(432)];if(i&&e[s(360)]===e[s(433)])continue;const r=e[s(328)]();u[s(429)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(399)](r,o);else if(!o){const e=a[u(328)]();e.id=(0,t.uid)(),n[u(322)](e,a[u(360)])[u(313)](t=>{c=t})}}else e[u(399)](r,o)})}}},jo),s}[Ko(377)](){const t=Ko,e=this[t(376)][t(379)][t(340)](t(285))[t(416)];this[t(376)][t(379)][t(346)](t(286),async()=>{const i=t;this[i(376)][i(415)](i(333));const s=this[i(376)][i(359)][i(340)](i(293));if(this[i(376)][i(359)][i(374)](i(417))){const t=this[i(376)][i(359)][i(340)](i(417));await t[i(434)]()}else await s[i(394)]();if(this[i(376)][i(359)][i(374)](i(388))&&this[i(376)][i(359)][i(340)](i(388))[i(452)](),this[i(376)][i(359)][i(374)](i(316))){const t=this[i(376)][i(359)][i(340)](i(316));t[i(327)]&&t[i(361)]()}if(this[i(376)][i(359)][i(374)](i(404))){const t=this[i(376)][i(359)][i(340)](i(404))[i(302)][i(356)];for(const e of t)e[i(292)]=e[i(292)]?e[i(292)]+i(411):i(389);if(this[i(376)][i(359)][i(374)](i(320))){const t=document[i(363)](i(426));t&&t[i(439)](i(446),"-1")}if(this[i(376)][i(359)][i(374)](i(435))){const t=document[i(363)](i(421));t&&t[i(439)](i(446),"-1")}}const n=this[i(375)]();return e(n)[i(313)](t=>{const e=i;return this[e(395)]=t,this[e(376)][e(359)][e(374)](e(329))&&this[e(376)][e(359)][e(340)](e(329))[e(349)](),this[e(376)][e(359)][e(374)](e(303))&&(this[e(376)][e(359)][e(340)](e(365))[e(302)][e(284)][e(423)][e(422)]=e(347)),t})[i(351)](t=>(console[i(448)](t),this[i(376)][i(297)](i(333)),null))})}[Ko(424)](){const t=Ko,e=this[t(376)][t(379)][t(340)](t(285))[t(307)];this[t(376)][t(379)][t(346)](t(294),()=>{const i=t;if(this[i(376)][i(359)][i(374)](i(388))&&this[i(376)][i(359)][i(340)](i(388))[i(452)](),this[i(376)][i(359)][i(374)](i(303))&&(this[i(376)][i(359)][i(340)](i(365))[i(302)][i(284)][i(423)][i(422)]=""),this[i(376)][i(359)][i(374)](i(404))){const t=this[i(376)][i(359)][i(340)](i(404))[i(302)][i(356)];for(const e of t)e[i(292)]=i(389)===e[i(292)]?"":e[i(292)][i(406)](i(411),"");if(this[i(376)][i(359)][i(374)](i(320))){const t=document[i(363)](i(426));t&&t[i(312)](i(446))}if(this[i(376)][i(359)][i(374)](i(435))){const t=document[i(363)](i(421));t&&t[i(312)](i(446))}}return this[i(395)][i(359)][i(340)](i(295))[i(288)](),e(this[i(395)])[i(313)](()=>{const t=i;if(this[t(376)][t(297)](t(333)),this[t(395)]=null,this[t(376)][t(359)][t(374)](t(329))){const e=this[t(376)][t(359)][t(340)](t(329));e[t(349)](),e[t(300)]()}})})}[Ko(336)](t){const e=Ko,i=this[e(376)][e(379)][e(340)](e(289)),s=this[e(376)][e(379)][e(340)](e(318)),n=this[e(376)][e(379)][e(340)](e(409));return Qo[e(310)](n,t)[e(313)](t=>(s[e(423)][e(422)]=e(386),i[e(423)][e(422)]=e(347),this[e(371)]=!0,t))}[Ko(413)](t){const e=Ko,i=this[e(376)][e(379)][e(340)](e(289));return this[e(376)][e(379)][e(340)](e(318))[e(423)][e(422)]=e(347),i[e(423)][e(422)]="",this[e(371)]=!1,t[e(437)]()}async[Ko(402)](t){const e=Ko,i=this[e(376)],s=this[e(395)][e(359)][e(340)](e(295)),n=i[e(359)][e(340)](e(293)),r=i[e(359)][e(340)](e(440)),o=s[e(364)][e(368)](t);let a,c,u;try{await r[e(355)](o,this[e(397)]),a=r[e(373)](o),c=r[e(431)](o)}catch(t){return void console[e(448)](t)}i[e(352)][e(367)](t=>{const s=e;for(const e of Array[s(325)](i[s(352)][s(366)][s(393)](s(400))))t[s(396)](e)}),s[e(342)]=!1,i[e(352)][e(317)](t=>{const s=e;t[s(338)](null),t[s(324)](i[s(352)][s(330)][s(348)][s(357)]());const n=Object[s(362)](a);for(const e of i[s(352)][s(330)][s(304)])s(378)!=e[s(306)]&&e[s(332)]()&&!n[s(326)](e[s(306)])&&t[s(323)](e);for(const e of n){let n=i[s(352)][s(330)][s(387)](e);n&&n[s(332)]()||(n=t[s(381)](e));const r=c[e],o=Object[s(362)](r),u=a[e];for(const e of n[s(357)]())o[s(326)](e)||t[s(312)](e,n);for(const i of o)t[s(439)](i,c[e][i],n);t[s(418)](t[s(405)](n)),t[s(428)](i[s(380)][s(290)](u,n),n,0)}});const l=at(i[e(390)],e(450));return u=o[e(299)]?-1==o[e(299)][e(370)](l)?l+": "+o[e(299)]:o[e(299)]:l+": "+o[e(315)][e(384)](i[e(390)][e(337)],{month:e(354),day:e(341)})+", "+o[e(315)][e(436)](i[e(390)][e(337)],{hour:e(341),minute:e(341)}),await n[e(322)]({name:u}),s[e(342)]=!0,i[e(379)][e(340)](e(285))[e(307)]()}}function ra(){var t=["330624FsPoZk","69294hLkAAf","1084680UDlriM","255944xUaiif","260884uYGiqS","119194TTdwDH","48oiuLab","464525LpWJnJ"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=234]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(216112===parseInt(e(238))/1+-parseInt(e(234))/2+-parseInt(e(239))/3+parseInt(e(241))/4+parseInt(e(236))/5+-parseInt(e(235))/6*(-parseInt(e(237))/7)+parseInt(e(240))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();