@ckeditor/ckeditor5-revision-history 47.3.0-alpha.0 → 47.3.0-alpha.2

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={10:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},52:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},98:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},102: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)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},243:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},251:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},282:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},297: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)}}}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},324:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},448:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},505:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},586:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},692:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779: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}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},815:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},898:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},929: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}}}},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:()=>Ht,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ae,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>et,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 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]=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 R(t){return A(t)}function M(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 W(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(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:z(i)?i:C(n[e+1])?[]:{}}V(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,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(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 $=B;function B(t,e){const i=Y();return(B=function(t,e){return i[t-=386]})(t,e)}function Y(){const t=["toJSON","3496600PmRRFE","11UFdKSF","888ygkgVW","18dffeJy","1792QfCwwT","removeAttribute","setAttribute","setName","toVersion","name","createdAt","diffData","92retrij","fire","model","234245vsgJpe","authorsIds","set","creator","12410770pplSTh","9pcPyVJ","1507093LvWdGp","map","_update","fromVersion","authors","46097712Mrarvc","attributes","42595GkbbSr","creatorId"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(662521===-parseInt(e(413))/1+-parseInt(e(389))/2*(-parseInt(e(387))/3)+parseInt(e(397))/4*(-parseInt(e(400))/5)+parseInt(e(388))/6*(-parseInt(e(406))/7)+-parseInt(e(416))/8*(parseInt(e(405))/9)+-parseInt(e(404))/10*(parseInt(e(386))/11)+parseInt(e(411))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[$(403)];[$(410)];[$(396)];[$(393)];[$(409)];[$(399)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(403)]=e[i(403)]||null,this[i(410)]=e[i(410)]||[],this[i(396)]=e[i(396)]||null,this[i(393)]=e[i(393)]||0,this[i(409)]=e[i(409)]||0,this[i(402)](i(394),e[i(394)]||""),this[i(402)](i(395),e[i(395)]||new Date),this[i(402)](i(412),e[i(412)]||{})}[$(392)](t){this[$(408)]({name:t})}[$(391)](t,e){const i=$,s=R(this[i(412)]);W(s,t,e),this[i(408)]({attributes:s})}[$(390)](t){const e=$,i=R(this[e(412)]);(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,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(408)]({attributes:i})}[$(408)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(394),i(395),i(396),i(410),i(412),i(393),i(409),i(414)];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(410)]&&(n[i(401)]=n[i(410)][i(407)](t=>t.id),delete n[i(410)]),this[i(398)](i(408),n,e))}[$(415)](){const t=$;return{id:this.id,name:this[t(394)],creatorId:this[t(403)]?this[t(403)].id:null,authorsIds:this[t(410)][t(407)](t=>t.id),diffData:this[t(396)],createdAt:this[t(395)],attributes:this[t(412)],fromVersion:this[t(409)],toVersion:this[t(393)]}}}var G=i(782),K=i(211),Q=i(783);const X=tt;function tt(t,e){const i=it();return(tt=function(t,e){return i[t-=142]})(t,e)}!function(t){const e=tt,i=t();for(;;)try{if(191200===parseInt(e(184))/1+parseInt(e(152))/2*(parseInt(e(193))/3)+parseInt(e(146))/4+parseInt(e(144))/5*(parseInt(e(180))/6)+parseInt(e(191))/7+parseInt(e(148))/8+-parseInt(e(164))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(it);class et extends G.Plugin{[X(185)];static get[X(145)](){return[K.Users]}static get[X(159)](){return X(194)}static get[X(150)](){return!0}static get[X(181)](){return!0}get[X(162)](){const t=X;return this[t(185)][t(162)]}constructor(e){const i=X;super(e),this[i(185)]=new t.Collection}[X(161)](){!async function(e){const i=k([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),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=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(174)](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([118]);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=tt;return t[e(170)](t=>String[e(178)](t))[e(172)]("")}!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:1764115200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=tt,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(188)]);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)}[X(163)](t){const e=X,i=this[e(192)][e(166)][e(149)](e(153));return new J({id:t.id,name:t[e(143)],creator:t[e(173)]?i[e(179)](t[e(173)]):null,diffData:t[e(168)]||t[e(151)],authors:t[e(169)][e(170)](t=>i[e(179)](t)),createdAt:new Date(t[e(175)]),attributes:t[e(190)],fromVersion:t[e(189)],toVersion:t[e(156)]})}[X(157)](t,e=0){const i=X;this[i(185)][i(186)](t,e)}[X(165)](t){const e=X;return this[e(185)][e(149)](t)}[X(158)](t={toJSON:!1}){const e=X,i=Array[e(154)](this[e(185)]);return i[e(171)](),t[e(183)]?i[e(170)](t=>t[e(183)]()):i}[X(182)](t){const e=X;return this[e(185)][e(182)](t)}[X(187)](t){const e=X,[,i]=this[e(176)](t,{direction:e(155)});return i}[X(147)](t){const e=X,[,i]=this[e(176)](t,{direction:e(167)});return i}[X(177)](t){const e=X,i=[];for(const s of this[e(176)](t[e(195)]))if(i[e(142)](s),s.id===t[e(160)])break;return i}*[X(176)](t,{direction:e=X(155),filter:i=()=>!0}={}){const s=X,n=s(155)===e?1:-1;let r=this[s(185)][s(149)](t),o=this[s(182)](r);for(yield r;r;){if(o+=n,r=this[s(165)](o),!r)return;i(r)&&(yield r)}}}function it(){const t=["toVersion","addRevision","getRevisions","pluginName","oldRevisionId","afterInit","length","createRevision","7190244iZyPHv","getRevision","plugins","later","diffData","authorsIds","map","reverse","join","creatorId","isNaN","createdAt","getRevisionsIterator","getRevisionsInDiff","fromCharCode","getUser","6YeLoTG","isPremiumPlugin","getIndex","toJSON","326622VstyIL","_revisions","add","getEarlierVisibleRevision","href","fromVersion","attributes","1044477azbuEs","editor","488403ilzxWR","RevisionsRepository","newRevisionId","push","name","604630UkOmQf","requires","647972krNnfr","getLaterVisibleRevision","548504FapTqU","get","isOfficialPlugin","data","2ORjlmY","Users","from","earlier"];return(it=function(){return t})()}function st(t,e){const i=rt();return(st=function(t,e){return i[t-=176]})(t,e)}const nt=st;function rt(){const t=["forEach","type","3941392HLSPbP","_appendChild","marked","revision-start","render","attachChange","isPremiumPlugin","domDocument","isAttached","innerHTML","21802lJjvsd","toData","getFillerOffset","editing","string","append","length","loadRevisionData","getRevision","5ANdHVM","_makeModelFromViewString","_viewClassToTypeChar","createElement","_getViewFromDiffObj","name","default","isOfficialPlugin","18SNnaqf","viewChildrenToDom","constructor","10882828vuLLPJ","pluginName","3923717iuTLZW","attributesAfter","startsWith","1304364YOENGE","customProperties","fillerOffset","_removeRevisionMarkers","useFillerType","revision-end","_typeCharToViewClass","diffData","parse","attributes","_getTypeCharForViewElement","processor","div","filter","getRevisionRootsAttributes","children","data","document","3BhSNyG","getRevisionDocumentData","config","view","childNodes","map","collaboration.channelId","6xNVwET","_setCustomProperty","domConverter","1377346qSOiEe","htmlProcessor","from","2922290LUrAxo","data-revision-","domChildrenToView","editor","toModel","RevisionHistoryUtils","insertions","get"];return(rt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(512987===parseInt(e(215))/1+parseInt(e(192))/2*(-parseInt(e(182))/3)+-parseInt(e(240))/4*(parseInt(e(224))/5)+-parseInt(e(189))/6*(parseInt(e(237))/7)+parseInt(e(205))/8+parseInt(e(232))/9*(parseInt(e(195))/10)+parseInt(e(235))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[nt(236)](){return nt(200)}static get[nt(231)](){return!0}static get[nt(211)](){return!0}[nt(226)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[nt(246)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[nt(222)](t,e){const i=nt;if(t[i(247)]||!e)return;const s=this[i(198)][i(184)][i(202)](i(188)),n=await e[i(223)]({channelId:s,revisionId:t.id});t[i(247)]=n[i(247)]}[nt(183)](t){const e=nt,i={};for(const s in t[e(247)]){if(t[e(247)][s][e(210)]&&!t[e(247)][s][e(210)][e(213)])continue;const n=this[e(243)](JSON[e(248)](t[e(247)][s][e(201)])),r=this[e(198)][e(218)][e(185)][e(181)],o=new Q.ViewDocumentFragment(r,n[e(187)](t=>this[e(228)](t,!1)));this[e(198)][e(180)][e(251)][e(244)](e(207)),i[s]=this[e(198)][e(180)][e(251)][e(216)](o),this[e(198)][e(180)][e(251)][e(244)](e(230))}return i}[nt(178)](t){const e=nt,i={};for(const s in t[e(247)])t[e(247)][s][e(210)]&&!t[e(247)][s][e(210)][e(213)]||(i[s]=t[e(247)][s][e(238)]||{});return i}[nt(250)](t){const e=nt;return this[e(226)][e(202)](t[e(234)])}[nt(228)](t,e){const i=nt,s=this[i(198)][i(218)][i(185)][i(181)];if(i(219)==typeof t)return new Q.ViewText(s,t);{let n,r;r="u"==t[i(204)]||"r"==t[i(204)]?[]:t[i(179)][i(187)](t=>this[i(228)](t,e));const o=this[i(246)][i(202)](t[i(204)])||Q.ViewElement,a=this[i(198)][i(180)][i(193)][i(191)];if(n=new o(s,t[i(229)],t[i(249)],r),"u"==t[i(204)]&&t[i(179)][0]){const r=t[i(179)][0];if(n[i(209)]=function(t){const e=i,s=t[e(227)](e(176));return s[e(214)]=r,s[e(186)][0]},e){const t=new Q.ViewDocumentFragment(s);t[i(206)](n);const e=Array[i(194)](a[i(233)](t,{bind:!1})),r=a[i(212)][i(227)](i(176));r[i(220)](...e),n=Array[i(194)](a[i(197)](r))[0]}}else if("r"==t[i(204)]&&t[i(179)][0]){const r=t[i(179)][0];if(n[i(209)]=function(t){t[i(214)]=r},e){const t=new Q.ViewDocumentFragment(s);t[i(206)](n);const e=Array[i(194)](a[i(233)](t,{bind:!1})),r=a[i(212)][i(227)](i(176));r[i(220)](...e);const o=Array[i(194)](a[i(197)](r));o[i(221)]>1?n[i(206)](o):n=o[0]}}if(t[i(241)])for(const[e,s]of t[i(241)])n[i(190)](e,s);const c=void 0===t[i(242)]?null:t[i(242)];return null!==c&&(n[i(217)]=()=>c),n}}[nt(225)](t){const e=nt,i=JSON[e(248)](t),s=this[e(198)][e(218)][e(185)][e(181)],n=new Q.ViewDocumentFragment(s,i[e(187)](t=>this[e(228)](t,!0)));return this[e(198)][e(180)][e(199)](n)}[nt(243)](t){const e=nt;return(t=t[e(177)](t=>!t[e(229)]||e(208)!==t[e(229)]&&e(245)!==t[e(229)]))[e(203)](t=>{const i=e;i(219)!=typeof t&&(t[i(179)]=this[i(243)](t[i(179)]),t[i(249)]=t[i(249)][i(177)](t=>!t[0][i(239)](i(196))))}),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 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,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,x));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,x)||ct(t)&&ct(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=pt();return(mt=function(t,e){return i[t-=214]})(t,e)}function pt(){const t=["8056EqIjgV","insertions","insertionPosition","loadRevisionData","_createFromRanges","text","_handleMoveOperation","getRevisionRootsAttributes","_createInitialRevision","_markChanges","getRevisionDocumentData","pluginName","elementStart","insertion","_setConversion","attributesBefore","_fixOperation","_loadedStateData","marker","licenseKey","_clone","getData","_getViewJson","createElement","fillerOffset","map","$text","revisionHistoryLicenseKeyEvaluationLimit","paragraph","push","_addPendingAction","data","define","fromEntries","getLatestVersion","_baseIdsRoots","getAttributes","getChildren","domConverter","newValue","_handleRootAttributeOperation","isEqual","revisionHistoryLicenseKeyUsageLimit","remove","isEnabled","$graveyard","domainLimit","markerToData","RevisionHistoryUtils","conversion","authors","trialLimit","getNodeByPath","removeRootAttribute","sourcePosition","max","_getVidAttributeName","fromVersion","createPositionFromPath","revisionHistoryLicenseKeyTrialLimit","RevisionTracker","delete","getRevision","currentRevision","Users","_lastTo","_removeMetaData","_handleRootOperation","creator","domDocument","_bufferUpdate","NEGATIVE_INFINITY","createRevision","_authorId","_getBaseVids","940688rZPmsQ","_baseRoots","_utils","end","_applyOperations","getAttribute","38hAHAkn","key","_showLicenseError","reinsert","_touchedRoots","ready","revisionHistoryLicenseKeyDomainLimit","element","root","rawElement","elementEnd","keys","innerHTML","requires","collaboration.channelId","_operations","getUser","setRevisionData","stringify","_handleInsertOperation","_diffRoots","merge","diffData","createPositionAt","rootsAttributes","usageLimit","_source","_fixRange","destroy","move","_lastFrom","_licenseKeyCheckInterval","_transformMarkers","repository","_isPendingUpdate","RevisionHistory","_getPreviousFrom","_replaceEditorDataWithRevisionData","clone","_touched","2976765sIQiIF","_loadState","_getTypeCharForViewElement","isAdd","afterInit","_diffRootsAttributes","authorsIds","_continueCurrentRevision","isOfficialPlugin","editor-initial-data-replaced-with-revision-data","buildRevisionData","RevisionsRepository","getTime","createdAt","_startingVersion","vid_start","vid_end","htmlProcessor","includes","_cloneOperation","_update","_getState","_insertChild","PENDING_ACTION_REVISION_HISTORY","version","stickiness","keepParagraph","initial","expired","length","model","plugins","dataDowncast","getIndex","isAttached","affectsData","render","toVersion","graveyardPosition","_execute","423YAjHRa","_touchedMarkers","getAncestors","hasContent","nodes","documentFragment","addRoot","detachRoot","getFillerOffset","locale","_startingRevisionId","add","newRange","_savedMetaData","revisionHistory.resumeUnsavedRevision","_fixPosition","get","_removePendingAction","3oMqIBK","editor","upcast","featureNotAllowed","revisionHistoryLicenseKeyValid","_appendChild","getOperations","history","creatorId","tableCell","filter","update","saveRevision","_revisionId","previousPosition","_handleMergeOperation","PendingActions","addRootAttribute","type","3695580UwvqtB","name","uiElement","revision","some","for","getRevisions","getTransformedByOperation","size","customProperties","_makeModelFromViewString","187MDbkAi","has","25141HLivev","slice","nodeAfter","_pendingAction","_findInsertionIndex","_generateTape","_calculateMetaData","deletions","revisionHistoryLicenseKeyInvalid","clear","init","changeRootAttribute","splitPosition","Empty document","revisionHistoryLicenseKeyExpired","setSource","config","_handleMarkerOperation","document","adapter","toView","_revisionDataBuilder","bind","RealTimeCollaborationClient","string","startsWith","rootName","start","split","6VJdgym","oldRange","_baseRootsAttributes","addRevisionData","createRange","initialData","$comment","_processRootBeforeSave","_makeIdsRoot","outerHTML","values","then","find","getRootNames","getMovedRangeStart","deletion","loadState","_saveMetaData","position","userId","isPremiumPlugin","6905544bebqzQ","sort","getRoot","source","_reset","range","_bufferedUpdates","attachChange","getCurrentRevisionId","evaluationLimit","path","revision:","getOperation","insert","howMany","_isAttached","vid","createRangeIn","attributesAfter","from","isReady","shift","_setAttribute","offset","roots","updateRevisions","_prepareViewToSave","_markers","_handleOperation","invalid","finally","revisionHistoryLicenseKeyNotAllowed","dataToMarker","_makeRevision","trim","resolve","item","childCount","getRange","_getFromVersion","createPositionAfter","reverse","targetPosition","getCustomProperties","parent","set","_handleSplitOperation","Initial revision","markers","_copyMarkers","sendBufferedUpdates","_createCurrentRevision","_initialRevisionId","offsetSize","addRevision","createPositionBefore","getWalker","getChild","baseVersion","_isInit","reInit","_idsRoots","433520WqFbGl","children"];return(pt=function(){return t})()}!function(t){const e=mt,i=t();for(;;)try{if(484853===parseInt(e(253))/1*(-parseInt(e(448))/2)+-parseInt(e(221))/3*(parseInt(e(442))/4)+parseInt(e(488))/5*(-parseInt(e(282))/6)+parseInt(e(240))/7+parseInt(e(367))/8*(-parseInt(e(528))/9)+parseInt(e(365))/10*(parseInt(e(251))/11)+parseInt(e(303))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends G.Plugin{[ft(386)];[ft(479)];[ft(430)]=null;[ft(481)];[ft(272)]=null;[ft(274)];[ft(474)];[ft(355)];[ft(309)];[ft(444)];[ft(256)];[ft(495)];[ft(502)];[ft(384)];static get[ft(378)](){return ft(427)}static get[ft(496)](){return!0}static get[ft(302)](){return!0}static get[ft(461)](){return[K.Users,et,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(481)]=this[i(222)][i(519)][i(219)](i(499)),this[i(444)]=this[i(222)][i(519)][i(219)](i(415)),this[i(274)]=new gt(this[i(222)]),this[i(355)]=this[i(222)][i(269)][i(219)](i(462))||i(515),this[i(309)]=new Map,this[i(384)]=null;const s=(0,t.uid)();this[i(474)]={history:this[i(222)][i(518)][i(271)][i(228)],getLatestVersion:()=>Promise[i(338)](this[i(222)][i(518)][i(271)][i(512)]),getCurrentRevisionId:()=>s},this[i(348)](i(323),!1),this[i(348)](i(411),!0),this[i(348)](i(482),!1),this[i(222)][i(269)][i(399)](i(217),!0),this[i(222)][i(416)][i(245)](i(223))[i(335)]({view:i(243)})}[ft(263)](){const t=ft;this[t(381)](),this[t(222)][t(398)].on(t(453),()=>{const e=t,i=this[e(481)][e(429)](0),s=i&&null===i[e(435)]?i:null;if(this[e(495)]=!!s&&this[e(222)][e(269)][e(219)](e(217)),this[e(222)][e(519)][e(252)](e(276))){const t=this[e(474)][e(311)](),n=this[e(481)][e(429)](t);if(n)this[e(502)]=n[e(424)],this[e(495)]=!1;else{const t=this[e(474)][e(228)][e(463)][e(294)](t=>!t[e(362)]),n=t?t[e(361)]:this[e(474)][e(228)][e(512)];i?(i[e(525)]<n&&i[e(508)]({toVersion:n}),this[e(495)]?(this[e(474)][e(311)]=()=>s.id,this[e(502)]=s[e(424)]):(this[e(502)]=i[e(525)],this[e(495)]=!1)):(this[e(502)]=n,this[e(495)]=!1)}}else s&&(this[e(222)][e(518)][e(271)][e(228)][e(512)]=Math[e(422)](s[e(525)],this[e(222)][e(518)][e(271)][e(228)][e(512)]),s[e(424)]===s[e(525)]?(0!==s[e(424)]&&(this[e(474)][e(311)]=()=>s.id),this[e(495)]=!1):this[e(495)]&&(this[e(474)][e(311)]=()=>s.id,this[e(502)]=s[e(424)])),this[e(495)]||(this[e(502)]=this[e(222)][e(518)][e(271)][e(512)]);this[e(274)][e(263)](this[e(474)][e(228)]),this[e(375)](this[e(502)]),this[e(354)](this[e(502)]),this[e(272)]&&this[e(353)]()}),this[t(275)](t(323)).to(this,t(482),t=>!t),this[t(386)]=this[t(222)][t(269)][t(219)](t(386));const e=this[t(222)];this[t(479)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(225)==r||i(261)==r||i(267)==r||i(454)==r||i(334)==r||i(394)==r||i(426)==r||i(409)==r){delete e[n],s=r,clearInterval(this[i(479)]),this[i(479)]=void 0;break}}i(261)==s&&e[i(450)](i(332)),i(267)==s&&e[i(450)](i(516)),i(454)==s&&e[i(450)](i(413)),i(334)==s&&e[i(450)](i(224),i(483)),i(394)==s&&e[i(450)](i(312)),i(426)==s&&e[i(450)](i(418)),i(409)==s&&e[i(450)](i(473))},1e3)}async[ft(492)](){const t=ft;if(this[t(481)][t(517)]>0){const e=this[t(481)][t(429)](0),i=await this[t(377)](e),s=await this[t(374)](e);this[t(485)](i,s)}}[ft(476)](){const t=ft;super[t(476)](),this[t(479)]&&clearInterval(this[t(479)])}[ft(268)](t){this[ft(474)]=t}async[ft(232)](){const t=ft,e=await this[t(474)][t(401)]();if(e>this[t(430)][t(525)]){await this[t(489)]();const i=this[t(498)]({revision:this[t(430)],to:e});i[t(417)]=i[t(494)][t(392)](e=>this[t(222)][t(519)][t(219)](t(431))[t(464)](e)),this[t(430)][t(508)](i)}}async[ft(233)](e={},i=null){const s=ft,n=[];await this[s(489)](),this[s(495)]=!1,i>this[s(430)][s(525)]&&(i=null),null===i&&(i=await this[s(474)][s(401)]());const r=this[s(342)](i),o=this[s(498)]({from:r,to:i});if(this[s(430)][s(525)]<i){const t=this[s(498)]({revision:this[s(430)],from:i,to:i});t[s(417)]=[],t[s(494)]=[],t.id=this[s(430)].id,this[s(430)][s(508)](t,!0),delete t[s(417)],n[s(396)](t)}e[s(229)]=this[s(222)][s(519)][s(219)](s(431)).me.id,e[s(241)]=e[s(241)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(285)](e);n[s(396)](e);const c=this[s(481)][s(521)](a);if(0!==c){const t=this[s(481)][s(429)](c-1);if(t[s(424)]!==i){const r=this[s(274)][s(388)](i,t[s(525)]),o={id:t.id,diffData:r[s(470)],authorsIds:r[s(494)],authors:r[s(494)][s(392)](t=>this[s(222)][s(519)][s(219)](s(431))[s(464)](t)),fromVersion:i};t===this[s(430)]&&(o[s(501)]=new Date(e[s(501)][s(500)]()+10)),t[s(508)](o,!0),delete o[s(417)],n[s(396)](o)}}if(this[s(272)]){for(const t of n)this[s(437)](t.id,t,!0);this[s(353)]()}return a}[ft(285)](t){const e=ft,i=this[e(481)][e(439)](t);return this[e(272)]&&i.on(e(508),(t,i,s)=>{const n=e;s||(this[n(437)](i.id,i,!0),this[n(353)]())}),this[e(481)][e(357)](i,this[e(257)](i)),i}async[ft(377)](t){const e=ft;return await this[e(444)][e(370)](t,this[e(272)]),this[e(444)][e(377)](t)}async[ft(374)](t){const e=ft;return await this[e(444)][e(370)](t,this[e(272)]),this[e(444)][e(374)](t)}[ft(353)](){const t=ft;if(0===this[t(309)][t(248)])return;if(this[t(482)])return;let e=Array[t(322)](this[t(309)][t(292)]());this[t(309)][t(262)]();for(let i=0;i<e[t(517)];i++){const s=e[i];let n=!1;for(const e of Object[t(459)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(231)](t=>null!==t),!e[t(517)])return;for(let i=0;i<e[t(517)];i++){const s=e[i];void 0!==s[t(424)]&&void 0===s[t(525)]&&(s[t(525)]=this[t(481)][t(429)](s.id)[t(525)]),void 0!==s[t(525)]&&void 0===s[t(424)]&&(s[t(424)]=this[t(481)][t(429)](s.id)[t(424)])}const i=this[t(222)][t(269)][t(219)](t(462));this[t(482)]=!0,this[t(397)](),this[t(272)][t(328)](e,i)[t(333)](()=>{this[t(482)]=!1})[t(293)](e=>{const i=t;if(e)for(const t of e)this[i(465)]({id:t.id,createdAt:t[i(501)]});this[i(220)](),this[i(353)]()})}[ft(498)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(424)],i=null!==i?i:t[s(525)];const n=this[s(274)][s(388)](e,i),r={diffData:n[s(470)],authorsIds:n[s(494)],fromVersion:e,toVersion:i};if(!t||i!==t[s(525)]){const t=i-1,e=this[s(474)][s(228)][s(315)](t);r[s(501)]=e&&e[s(501)]||new Date}if(this[s(384)]&&e===this[s(384)][s(424)])for(const t of this[s(384)][s(417)])r[s(494)][s(506)](t.id)||r[s(494)][s(396)](t.id);return r}[ft(437)](t,e,i){const s=ft;if(this[s(309)][s(252)](t)){const n=this[s(309)][s(219)](t);e=i?{...n,...e}:{...e,...n}}this[s(309)][s(348)](t,e)}[ft(465)](t){const e=ft,i=this[e(481)][e(429)](t.id);if(t[e(501)]&&(t[e(501)]=new Date(t[e(501)])),t[e(494)]){const i=this[e(222)][e(519)][e(219)](e(431));t[e(417)]=t[e(494)][e(392)](t=>i[e(464)](t))}i[e(508)](t,!0)}[ft(375)](t){const e=ft,i=this[e(481)][e(429)](this[e(481)][e(517)]-1);if(i)this[e(355)]=i.id;else{const i=!this[e(222)][e(518)][e(271)][e(327)][e(294)](t=>this[e(222)][e(518)][e(531)](t)),s=this[e(222)][e(519)][e(219)](e(431)).me.id,n=at(this[e(222)][e(537)],e(i?266:350));this[e(336)]({from:t,to:t,id:this[e(355)],name:n,creatorId:s})}}[ft(354)](t){const e=ft,i=this[e(474)][e(311)]();this[e(430)]=this[e(481)][e(429)](i),this[e(430)]||(this[e(430)]=this[e(336)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(489)](){const t=ft;this[t(495)]&&!this[t(384)]&&(await this[t(444)][t(370)](this[t(430)],this[t(272)]),this[t(274)][t(298)](this[t(430)]),this[t(384)]={fromVersion:this[t(430)][t(424)],authors:this[t(430)][t(417)][t(254)]()})}[ft(485)](e,i){const s=ft;let n=this[s(222)][s(269)][s(219)](s(287)),r=this[s(222)][s(269)][s(219)](s(472));if(void 0===n){n={};for(const t of this[s(222)][s(518)][s(271)][s(295)]())n[t]=""}if(s(277)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(222)][s(518)][s(271)][s(295)]())r[t]={}}let o=!1;const a=Object[s(459)](n),c=Object[s(459)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(337)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(459)](r[t])[s(517)]>0){o=!0;break}}o||(o=c[s(244)](t=>!this[s(222)][s(518)][s(271)][s(305)](t))),o&&(0,t.logWarning)(s(497),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(222)][s(269)][s(348)](s(287),e),this[s(222)][s(269)][s(348)](s(472),i)}[ft(397)](){const t=ft;if(!this[t(256)]){const e=this[t(222)][t(519)][t(219)](t(237));this[t(256)]=e[t(214)](at(this[t(222)][t(537)],t(511)))}}[ft(220)](){const t=ft;this[t(256)]&&(this[t(222)][t(519)][t(219)](t(237))[t(410)](this[t(256)]),this[t(256)]=null)}[ft(257)](t){const e=ft,i=this[e(481)][e(246)]();i[e(344)]();let s=0;for(;s<i[e(517)];){const n=i[s];if(n===this[e(430)]){s++;continue}if(n.id===this[e(355)])break;const r=t[e(525)]-n[e(525)]||t[e(424)]-n[e(424)];if(r>0)break;if(r<0)s++;else{if(!t[e(435)]&&n[e(435)])break;if(n[e(435)]||!t[e(435)]){if(t[e(501)]>n[e(501)])break;s++}else s++}}return s}[ft(342)](t){const e=ft,i=this[e(481)][e(246)]();i[e(344)](),i[e(324)]();const s=i[e(294)](i=>i[e(525)]<=t)[e(525)];return s<this[e(502)]?this[e(502)]:s}[ft(336)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(498)]({from:e,to:i});o[r(241)]=t,o[r(229)]=s,o.id=n;const a=this[r(285)](o);return this[r(272)]&&this[r(437)](o.id,o,!0),a}[ft(381)](){const t=ft;this[t(222)][t(416)][t(245)](t(520))[t(414)]({model:t(243)})}}class gt{[ft(222)];[ft(306)];[ft(216)];[ft(478)];[ft(432)];[ft(330)];[ft(468)];[ft(493)];[ft(443)];[ft(284)];[ft(364)];[ft(402)];[ft(487)];[ft(529)];[ft(452)];[ft(234)];[ft(538)];constructor(t){const e=ft;this[e(222)]=t,this[e(216)]=new Map,this[e(478)]=-1,this[e(432)]=-1,this[e(330)]=new Map,this[e(468)]=new Map,this[e(493)]=new Map,this[e(443)]=new Map,this[e(284)]=new Map,this[e(364)]=new Map,this[e(402)]=new Map,this[e(487)]=new Map,this[e(529)]=new Map,this[e(452)]=new Map,this[e(234)]=1}[ft(263)](t){const e=ft;this[e(306)]=t;const i=new Map,s=new Map,n=this[e(222)][e(518)][e(271)][e(327)][e(392)](t=>t[e(279)]);for(const t of n){const n=this[e(222)][e(518)][e(271)][e(305)](t),r=yt(n);i[e(348)](t,r),s[e(348)](t,Object[e(400)](n[e(403)]()))}const r=Array[e(322)](this[e(222)][e(518)][e(351)])[e(392)](t=>[t[e(241)],t[e(341)]()]),o=this[e(306)][e(512)];this[e(299)](o,i,r,s),this[e(538)]=this[e(234)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(348)](t,i),c[e(348)](t,{})}this[e(299)](Number[e(438)],a,[],c)}[ft(388)](t,e){const i=ft;if(this[i(478)]===t&&this[i(432)]<=e)this[i(216)][i(248)]>1&&this[i(433)](this[i(432)]),this[i(446)](this[i(432)],e,!0);else{if(!this[i(216)][i(252)](t)){const e=this[i(484)](t);this[i(259)](e,t,!1)}this[i(259)](t,e,!0)}return this[i(478)]=t,this[i(432)]=e,this[i(509)]()}[ft(298)](t){const e=ft;if(!this[e(216)][e(252)](t[e(424)])){const i=this[e(484)](t[e(424)]);this[e(259)](i,t[e(424)],!1)}this[e(259)](t[e(424)],t[e(525)],!1);const i=this[e(222)][e(519)][e(219)](e(415));this[e(307)](),this[e(478)]=t[e(424)],this[e(432)]=t[e(525)];for(const s in t[e(470)]){const n=t[e(470)][s][e(310)],r=R(t[e(470)][s][e(382)])||{},o=i[e(250)](t[e(470)][s][e(260)]);o[e(279)]=s,o[e(318)]=!n||!n[e(522)],o[e(522)]=()=>o[e(318)],this[e(443)][e(348)](s,o),this[e(284)][e(348)](s,r),n&&this[e(452)][e(348)](s,n);const a=this[e(290)](o);this[e(402)][e(348)](s,a);for(const[t,i]of o[e(351)]){if(!t[e(278)](e(314)))continue;const s=t[e(281)](":")[2];for(const t of i[e(359)]({singleCharacters:!0})){const i=this[e(423)](t),n=e(458)==t[e(239)]?t[e(235)][e(313)][e(254)](0,-1):t[e(235)][e(313)],r=a[e(419)](n)[e(447)](i);this[e(487)][e(348)](r,{userId:s})}o[e(351)][e(428)](t)}}this[e(538)]=this[e(234)];const s=[...Array(this[e(234)])[e(459)]()][e(254)](1)[e(231)](t=>!this[e(487)][e(252)](t));let n=0;const r=new Map;for(const o in t[e(470)]){const a=t[e(470)][o][e(310)],c=R(t[e(470)][o][e(321)])||{},u=i[e(250)](t[e(470)][o][e(368)]);u[e(279)]=o,u[e(318)]=!a||a[e(522)],u[e(522)]=()=>u[e(318)],this[e(468)][e(348)](o,u),this[e(493)][e(348)](o,c);const l=this[e(290)](u,Number[e(438)]);this[e(364)][e(348)](o,l),r[e(348)](o,u[e(522)]()?c:{});for(const[t,i]of u[e(351)]){if(!t[e(278)](e(314)))continue;const s=t[e(281)](":")[2];for(const t of i[e(359)]({singleCharacters:!0})){const i=this[e(423)](t),n=this[e(234)]++,r=e(458)==t[e(239)]?t[e(235)][e(313)][e(254)](0,-1):t[e(235)][e(313)];l[e(419)](r)[e(325)](i,n),this[e(487)][e(348)](n,{userId:s})}u[e(351)][e(428)](t)}for(const t of this[e(222)][e(518)][e(320)](u)[e(359)]({singleCharacters:!0})){const i=this[e(423)](t),r=e(458)==t[e(239)]?t[e(235)][e(313)][e(254)](0,-1):t[e(235)][e(313)],o=l[e(419)](r);o[e(447)](i)>0||o[e(325)](i,s[n++])}for(const[t,i]of u[e(351)])t[e(278)](e(314))||this[e(330)][e(348)](t,i)}const{roots:o}=this[e(216)][e(219)](t[e(424)]),{roots:a}=this[e(216)][e(219)](t[e(525)]),c=yt(o[e(219)](e(412)));this[e(443)][e(348)](e(412),c),this[e(402)][e(348)](e(412),this[e(290)](c,Number[e(438)]));const u=yt(a[e(219)](e(412)));this[e(468)][e(348)](e(412),u),this[e(364)][e(348)](e(412),this[e(290)](u));const l=Array[e(322)](this[e(468)])[e(392)](([t,e])=>[t,yt(e)]);this[e(299)](this[e(432)],l,this[e(330)],r)}[ft(363)](){const t=ft;this[t(307)](),this[t(478)]=-1,this[t(432)]=-1,this[t(216)][t(262)](),this[t(263)](this[t(306)])}[ft(299)](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(348)](t,{start:e[n(280)][n(486)](),end:e[n(445)][n(486)](),rootName:e[n(456)][n(279)]});this[n(216)][n(348)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(433)](t){const e=ft;this[e(216)][e(428)](t)}[ft(307)](){const t=ft;this[t(487)][t(262)](),this[t(529)][t(262)](),this[t(452)][t(262)](),this[t(468)][t(262)](),this[t(493)][t(262)](),this[t(443)][t(262)](),this[t(284)][t(262)](),this[t(364)][t(262)](),this[t(402)][t(262)](),this[t(330)][t(262)](),this[t(234)]=1,this[t(538)]=this[t(234)]}[ft(290)](t,e=null){const i=ft;let s=null;t.is(i(533))||(s=new Q.ModelElement(t[i(241)],{vid_start:null===e?this[i(234)]++:e++}));const n=[];for(const s of t[i(404)]())if(s.is(i(455))){n[i(396)](this[i(290)](s,e));const t=n[n[i(517)]-1];null!==e&&(e=t.is(i(455),i(393))?t[i(447)](i(319))+1:t[i(447)](i(504))+1)}else for(let t=0;t<s[i(356)];t++)n[i(396)](new Q.ModelElement(i(393),{vid:null===e?this[i(234)]++:e++}));if(t.is(i(533))){const e=kt(t[i(279)]);return e[i(510)](0,n),e}return s[i(325)](i(504),null===e?this[i(234)]++:e++),s[i(510)](0,n),s}[ft(259)](t,e,i){const s=ft;this[s(307)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(216)][s(219)](t);this[s(443)]=new Map(n),this[s(284)]=new Map(R(o));for(const[t,e]of this[s(443)])if(s(412)!==t&&(this[s(468)][s(348)](t,yt(e)),this[s(493)]=new Map(R(o)),i)){const i=this[s(234)];this[s(364)][s(348)](t,this[s(290)](e)),this[s(402)][s(348)](t,this[s(290)](e,i))}this[s(538)]=this[s(234)],this[s(468)][s(348)](s(412),yt(this[s(443)][s(219)](s(412)))),i&&this[s(364)][s(348)](s(412),this[s(290)](this[s(443)][s(219)](s(412))));for(const[t,e]of r){const i=this[s(443)][s(219)](e[s(279)]),n=this[s(468)][s(219)](e[s(279)]),r=new Q.ModelRange(this[s(218)](e[s(280)],i),this[s(218)](e[s(445)],i)),o=this[s(475)](r,n);i[s(351)][s(348)](t,r),this[s(330)][s(348)](t,o)}this[s(446)](t,e,i)}[ft(446)](t,e,i){const s=ft;for(const n of this[s(306)][s(227)](t,e))this[s(331)](n,i);for(const t of this[s(468)][s(292)]())t[s(351)][s(262)]();for(const[t,e]of this[s(330)])this[s(468)][s(219)](e[s(456)][s(279)])[s(351)][s(348)](t,e[s(486)]());const n=new Map,r=new Map;for(const[t,e]of this[s(468)])n[s(348)](t,yt(e)),r[s(348)](t,this[s(493)][s(219)](t));this[s(299)](e,n,this[s(330)],r)}[ft(484)](t){const e=ft,i=Array[e(322)](this[e(216)][e(459)]());i[e(304)]((t,e)=>t-e),i[e(344)]();for(const e of i)if(e<t)return e;return Number[e(438)]}[ft(352)](t,e){const i=ft,s=Array[i(322)](e[i(351)])[i(392)](([e,s])=>[e,this[i(475)](s,t)]);t[i(351)]=new Map(s)}[ft(480)](t){const e=ft;for(const i of this[e(330)][e(292)]()){const s=i[e(247)](t),n=Q.ModelRange[e(371)](s);i[e(280)]=n[e(280)],i[e(445)]=n[e(445)]}}[ft(331)](t,e){const i=ft;if(i(534)!=t[i(239)]&&i(535)!=t[i(239)]){if(i(316)==t[i(239)]){const s=t[i(300)][i(456)][i(279)];this[i(468)][i(252)](s)||(this[i(468)][i(348)](s,kt(s,!0)),this[i(493)][i(348)](s,{}),e&&this[i(364)][i(348)](s,kt(s,!0)))}else{if(i(238)==t[i(239)]||i(420)==t[i(239)]||i(264)==t[i(239)])return void this[i(407)](t);i(385)==t[i(239)]&&this[i(270)](t)}if(i(385)!==t[i(239)]){const e=this[i(507)](t,this[i(468)]);e[i(527)](),this[i(480)](e)}if(e)switch(t[i(239)]){case i(316):this[i(467)](t);break;case i(477):case i(410):case i(451):this[i(373)](t);break;case i(469):this[i(236)](t);break;case i(281):this[i(349)](t)}}else this[i(434)](t,e)}[ft(507)](t,e){const i=ft,s=t[i(486)]();return s[i(440)]=t[i(440)],this[i(383)](s,e),s}[ft(441)](t){const e=ft;return t[e(392)](t=>{const i=e,s=this[i(423)](t);return Number(t[i(339)][i(447)](s))})}[ft(258)](t,e){const i=ft;if(t.is(i(455),i(393)))e[i(396)]({item:t,type:i(372)});else{t.is(i(455))&&e[i(396)]({item:t,type:i(379)});for(const s of t[i(404)]())this[i(258)](s,e);t.is(i(455))&&e[i(396)]({item:t,type:i(458)})}return e}[ft(509)](){const t=ft,e=new Map(this[t(487)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(443)][t(459)](),...this[t(468)][t(459)]()]);a[t(428)](t(412));for(const e of a){const i=this[t(468)][t(219)](e)||kt(e,!1),s=this[t(443)][t(219)](e)||kt(e,!1);i[t(522)]()||s[t(522)]()?(n[t(368)][e]=yt(i),n[t(260)][e]=yt(s),this[t(352)](n[t(260)][e],s),this[t(352)](n[t(368)][e],i),r[t(368)][e]=this[t(258)](this[t(364)][t(219)](e),[]),r[t(260)][e]=this[t(258)](this[t(402)][t(219)](e)||kt(e,!1),[])):a[t(428)](e)}for(const n of a){const o=r[t(368)][n];for(const n of o){const r=this[t(423)](n),o=n[t(339)][t(447)](r);i[t(428)](o),o>=this[t(538)]&&s[t(348)](o,e[t(219)](o))}}for(const n of a){const a=r[t(368)][n],c=this[t(441)](r[t(260)][n]);let u=0;for(const n of a){const r=this[t(423)](n),a=n[t(339)][t(447)](r);if(!s[t(252)](a)&&!o[t(252)](a))if(i[t(252)](a))u++;else{if(a!=c[u]){const s=e[t(219)](a)||e[t(219)](c[u]);for(;a!=c[u];)i[t(252)](c[u])||(o[t(348)](c[u],s),e[t(348)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(368)][e];for(const e of n){const n=this[t(423)](e),r=e[t(339)][t(447)](n);if(o[t(252)](r)){const e=o[t(219)](r);i[t(252)](r)||i[t(348)](r,{...e}),s[t(348)](r,{...e})}}}for(const e of i[t(459)]())e>=this[t(538)]&&i[t(428)](e);const c=new Map;for(const e of a){let n=r[t(368)][e];for(const e of n)if(e[t(339)].is(t(455),t(230))){const i=this[t(423)](e),n=e[t(339)][t(447)](i);if(s[t(252)](n)){const i=e[t(339)][t(347)][t(347)][t(447)](t(503)),r=c[t(219)](i)||new Set;r[t(214)](s[t(219)](n)[t(301)]),c[t(348)](i,r)}}n=r[t(260)][e];for(const e of n)if(e[t(339)].is(t(455),t(230))){const s=this[t(423)](e),n=e[t(339)][t(447)](s);if(i[t(252)](n)){const s=e[t(339)][t(347)][t(347)][t(447)](t(503)),r=c[t(219)](s)||new Set;r[t(214)](i[t(219)](n)[t(301)]),c[t(348)](s,r)}}for(const e of c[t(459)]())(s[t(252)](e)||i[t(252)](e))&&c[t(428)](e)}for(const e of a){const n=r[t(368)][e];let o=null,a=null;for(const e of n){const n=this[t(423)](e),r=e[t(339)][t(447)](n),u=c[t(219)](r);u&&t(379)==e[t(239)]&&(o=Array[t(322)](u)[0],a=e[t(339)][t(447)](t(504))),o&&(i[t(348)](r,{userId:o}),s[t(348)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(260)][e],a=n[t(368)][e];for(const{userId:e}of this[t(529)][t(292)]())null!==e&&l[t(214)](e);for(const{userId:e}of this[t(452)][t(292)]())null!==e&&l[t(214)](e);this[t(376)](a,r[t(368)][e],s,t(380),l),this[t(376)](o,r[t(260)][e],i,t(297),l),u[e]={insertions:this[t(329)](a),deletions:this[t(329)](o),attachChange:this[t(452)][t(219)](e)||null,attributesBefore:R(this[t(284)][t(219)](e))||{},attributesAfter:R(this[t(493)][t(219)](e))}}return{diffData:u,authorsIds:Array[t(322)](l)}}[ft(289)](t){const e=ft;for(const[,i]of t[e(351)]){const t=i[e(280)][e(530)]()[e(231)](t=>e(230)==t[e(241)]);for(const i of t)1==i[e(340)]&&i[e(360)](0).is(e(455),e(395))&&i[e(360)](0)[e(325)](e(514),!0)}}[ft(329)](t){const e=ft;this[e(289)](t);const i=this[e(222)][e(398)][e(273)](t,{}),s=Array[e(322)](i[e(404)]())[e(392)](t=>this[e(389)](t));return JSON[e(466)](s)}[ft(389)](t){const e=ft;if(t.is(e(393)))return t[e(398)];{const i=this[e(222)][e(519)][e(219)](e(415)),s=t,n=this[e(222)][e(398)][e(505)][e(405)],r={type:i[e(490)](s),name:s[e(241)],attributes:Array[e(322)](s[e(403)]()),children:Array[e(322)](s[e(404)]())[e(392)](t=>this[e(389)](t))};if(t.is(e(242))&&e(288)!=t[e(241)]){const i=t[e(524)](n[e(436)],n);r[e(366)][e(396)](i[e(291)])}else if(t.is(e(457))){const i=n[e(436)][e(390)](s[e(241)]);t[e(524)](i,n),r[e(366)][e(396)](i[e(460)])}const o=Array[e(322)](s[e(346)]());o[e(517)]>0&&(r[e(249)]=o);const a=s[e(536)]();return null!==a&&(r[e(391)]=a),r}}[ft(376)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(222)][r(518)];for(let s=0;s<e[r(517)];s++){const n=this[r(423)](e[s]),c=e[s][r(339)][r(447)](n),h=i[r(219)](c),d=s==e[r(517)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(301)]!=o[r(301)])&&(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(301)],d=l(314)+s+":"+h+":"+c++,f=u[l(286)](i,a);t[l(351)][l(348)](d,f),null!==h&&n[l(214)](h)}}[ft(423)](t){const e=ft;switch(t[e(239)]){case e(379):return e(503);case e(458):return e(504);default:return e(319)}}[ft(383)](t,e){const i=ft;t[i(361)]=null;for(const s in t){const n=t[s];if(n instanceof Q.ModelPosition){const r=e[i(219)](n[i(456)][i(279)]);t[s]=this[i(218)](n,r)}if(n instanceof Q.ModelRange){const r=e[i(219)](n[i(456)][i(279)]);t[s]=this[i(475)](n,r)}i(456)===s&&(t[i(456)]=e[i(219)](t[i(456)][i(279)]))}}[ft(475)](t,e){const i=ft;return this[i(222)][i(518)][i(286)](this[i(218)](t[i(280)],e),this[i(218)](t[i(445)],e))}[ft(218)](t,e){const i=ft;return this[i(222)][i(518)][i(425)](e,t[i(313)],t[i(513)])}[ft(467)](t){const e=ft,i=this[e(364)][e(219)](t[e(300)][e(456)][e(279)]),s=this[e(218)](t[e(300)],i),n=null===t[e(440)]?null:t[e(440)]||this[e(222)][e(519)][e(219)](e(431)).me.id,r=s[e(347)],o=this[e(234)],a=[];for(const i of t[e(532)])if(i.is(e(455)))a[e(396)](this[e(290)](i));else for(let t=0;t<i[e(356)];t++)a[e(396)](new Q.ModelElement(e(393),{vid:this[e(234)]++}));const c=this[e(234)];for(let t=o;t<c;t++)this[e(487)][e(348)](t,{userId:n});r[e(510)](s[e(326)],a)}[ft(373)](t){const e=ft;(t=this[e(507)](t,this[e(364)]))[e(527)]();const i=null===t[e(440)]?null:t[e(440)]||this[e(222)][e(519)][e(219)](e(431)).me.id,s=t[e(296)](),n=s[e(347)],r=s[e(326)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(360)](e);r.is(a(455),a(393))?s[a(348)](r[a(447)](a(319)),{userId:i}):(s[a(348)](r[a(447)](a(503)),{userId:i}),t(s,r,0,r[a(340)]),s[a(348)](r[a(447)](a(504)),{userId:i}))}}(this[e(487)],n,r,r+t[e(317)])}[ft(236)](t){const e=ft,i=null===(t=this[e(507)](t,this[e(364)]))[e(440)]?null:t[e(440)]||this[e(222)][e(519)][e(219)](e(431)).me.id,s=t[e(345)][e(347)],n=t[e(421)][e(347)],r=s[e(447)](e(504)),o=n[e(447)](e(503));s[e(325)](e(504),n[e(447)](e(504))),n[e(325)](e(504),r),this[e(487)][e(348)](o,{userId:i}),this[e(487)][e(348)](r,{userId:i}),t[e(527)]()}[ft(349)](t){const e=ft,i=null===(t=this[e(507)](t,this[e(364)]))[e(440)]?null:t[e(440)]||this[e(222)][e(519)][e(219)](e(431)).me.id,s=t[e(526)],n=t[e(265)][e(347)];t[e(527)]();const r=n[e(447)](e(504)),o=t[e(369)][e(255)];if(s){const t=o[e(447)](e(504)),s=n[e(447)](e(504));n[e(325)](e(504),t),o[e(325)](e(504),s),this[e(487)][e(348)](n[e(447)](e(504)),{userId:i}),this[e(487)][e(348)](o[e(447)](e(503)),{userId:i})}else{const t=this[e(234)]++,s=this[e(234)]++;n[e(325)](e(504),t),o[e(325)](e(503),s),o[e(325)](e(504),r),this[e(487)][e(348)](t,{userId:i}),this[e(487)][e(348)](s,{userId:i})}}[ft(270)](t){const e=ft;if(!t[e(523)])return;const i=(t=this[e(507)](t,this[e(468)]))[e(283)]?t[e(283)][e(456)]:null,s=t[e(215)]?t[e(215)][e(456)]:null;i&&this[e(330)][e(428)](t[e(241)]),s&&this[e(330)][e(348)](t[e(241)],t[e(215)][e(486)]());const n=null===t[e(440)]?null:t[e(440)]||this[e(222)][e(519)][e(219)](e(431)).me.id,r=t[e(241)];if(!this[e(529)][e(252)](r))return void this[e(529)][e(348)](r,{range:t[e(283)],userId:n});const o=this[e(529)][e(219)](r),a=o[e(308)],c=t[e(215)];null==a&&null==c||a&&c&&a[e(408)](c)?this[e(529)][e(428)](t[e(241)]):o[e(301)]=n}[ft(434)](t,e){const i=ft;this[i(468)][i(252)](t[i(279)])?this[i(468)][i(219)](t[i(279)])[i(318)]=t[i(491)]:(this[i(468)][i(348)](t[i(279)],kt(t[i(279)],!0)),this[i(493)][i(348)](t[i(279)],{}),e&&this[i(364)][i(348)](t[i(279)],kt(t[i(279)],!0)));const s=null===t[i(440)]?null:t[i(440)]||this[i(222)][i(519)][i(219)](i(431)).me.id,n=this[i(452)][i(219)](t[i(279)]);n&&n[i(301)]===s?this[i(452)][i(428)](t[i(279)]):this[i(452)][i(348)](t[i(279)],{userId:s,isAttached:t[i(491)]})}[ft(407)](t){const e=ft,i=this[e(493)][e(219)](t[e(456)][e(279)]);null===t[e(406)]?delete i[t[e(449)]]:i[t[e(449)]]=t[e(406)]}}function yt(t){const e=ft,i=kt(t[e(279)],t[e(522)]());for(const s of t[e(404)]()){const t=s[e(387)](!0);i[e(226)](t)}return i}function kt(t,e=!0){const i=ft,s=new Q.ModelDocumentFragment;return s[i(279)]=t,s[i(318)]=e,s[i(522)]=()=>s[i(318)],s}function bt(t,e,i){const s=ft,n=s(458)==t[s(239)]?i[s(471)](t[s(339)],s(445)):i[s(358)](t[s(339)]);return i[s(425)](e,n[s(313)],n[s(513)])}function wt(t,e,i){const s=ft,n=s(379)==t[s(239)]?i[s(471)](t[s(339)],0):i[s(343)](t[s(339)]);return i[s(425)](e,n[s(313)],n[s(513)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),Tt=i(297),xt=i.n(Tt),Nt=i(102),At=i.n(Nt),Rt=i(123),Mt=i.n(Rt),Et=i(741),Vt=i.n(Et),Dt=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),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(98),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Mt(),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=zt;function Pt(){const t=["locale","trim","element","stopPropagation","4879405yHAYOU","reset","label","ck-revision-history-save-revision-form","arrowright","5959856PHIeqT","2gihNDP","revisionNameInputView","1709409zHFHBJ","2295337QVJbOZ","_createRevisionNameInput","value","revisionNameInputValue","1598608FlpylE","arrowleft","focus","keystrokes","add","arrowdown","Name of the revision","set","revisionName","form","render","ck-responsive-form","input","focusTracker","setTemplate","errorText","9896DzQuhT","220","extendTemplate","optional","listenTo","6cDkxFr","arrowup","549521BXmPLw","10YjfUeV","fieldView","initializeCssTransitionDisablerMixin","1215TcfTRe"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=253]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(970861===parseInt(e(278))/1+-parseInt(e(293))/2*(-parseInt(e(295))/3)+-parseInt(e(255))/4+parseInt(e(287))/5*(-parseInt(e(276))/6)+parseInt(e(292))/7+-parseInt(e(271))/8*(-parseInt(e(282))/9)+parseInt(e(279))/10*(parseInt(e(296))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Ut extends((0,It.CssTransitionDisablerMixin)(It.View)){[jt(268)];[jt(258)];[jt(294)];constructor(e,i){const s=jt;super(e),this[s(268)]=new t.FocusTracker,this[s(258)]=new t.KeystrokeHandler,this[s(262)](s(254),""),this[s(294)]=this[s(297)](i),this[s(269)]({tag:s(264),attributes:{class:["ck",s(290),s(266)],tabindex:"-1"},children:[this[s(294)]]}),this[s(281)]()}[jt(265)](){const t=jt;super[t(265)](),(0,It.submitHandler)({view:this}),this[t(268)][t(259)](this[t(294)][t(285)]),this[t(258)][t(275)](this[t(285)]);const e=e=>e[t(286)]();this[t(258)][t(262)](t(291),e),this[t(258)][t(262)](t(256),e),this[t(258)][t(262)](t(277),e),this[t(258)][t(262)](t(260),e)}[jt(257)](){const t=jt;this[t(294)][t(257)]()}get[jt(263)](){const t=jt;return this[t(294)][t(280)][t(285)][t(253)][t(284)]()}set[jt(263)](t){const e=jt;this[e(294)][e(280)][e(285)][e(253)]=t[e(284)]()}[jt(288)](){const t=jt;this[t(294)][t(280)][t(285)][t(253)]="",this[t(294)][t(270)]=null}[jt(297)](t){const e=jt,i=new It.LabeledFieldView(this[e(283)],It.createLabeledInputText),s=i[e(280)];s[e(273)]({attributes:{maxlength:e(272)}});let n=at(this[e(283)],e(261));return!t&&(n+=" ("+at(this[e(283)],e(274))+")"),i[e(289)]=n,s.on(e(267),()=>{const t=e;this[t(254)]=s[t(285)][t(253)][t(284)]()}),i}}const Wt=Zt;function Zt(t,e){const i=qt();return(Zt=function(t,e){return i[t-=138]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(564925===-parseInt(e(170))/1+-parseInt(e(198))/2*(parseInt(e(174))/3)+parseInt(e(165))/4+parseInt(e(177))/5*(parseInt(e(202))/6)+-parseInt(e(151))/7+-parseInt(e(196))/8*(-parseInt(e(148))/9)+parseInt(e(155))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Ht extends G.Plugin{static get[Wt(150)](){return Wt(175)}static get[Wt(183)](){return!0}static get[Wt(201)](){return!0}static get[Wt(186)](){return[vt]}[Wt(193)];[Wt(189)](){const t=Wt,e=this[t(182)],i=e[t(203)][t(207)](t(143));e.ui[t(187)][t(160)](t(206),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(199)][n(197)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(140)](It.ButtonView),l=new It.ListItemView(s),h=this[n(141)](It.ButtonView);return r[n(209)](n(200)).to(i,n(190),i,n(200),e,n(144),(t,e,i)=>t&&e&&!i),r[n(158)][n(178)]({icon:_t.IconHistory,label:at(s,n(154)),tooltip:!0}),u[n(178)]({withText:!0,role:n(180)}),h[n(178)]({withText:!0,role:n(180)}),this[n(195)](h,n(139),()=>{const t=n;r[t(191)]=!1,e[t(166)][t(168)][t(142)]()},{priority:n(138)}),c[n(197)][n(160)](u),l[n(197)][n(160)](h),a[n(184)]=n(156),a[n(181)][n(157)]([c,l]),o[n(160)](a),r}),e.ui[t(187)][t(160)](t(153),()=>this[t(161)]())}[Wt(161)](){const t=Wt,e=this[t(182)],i=e[t(159)],s=e[t(203)][t(207)](t(143)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(209)](t(200)).to(s,t(190),s,t(200),e,t(144),(t,e,i)=>t&&e&&!i),n[t(158)][t(178)]({icon:_t.IconHistory,label:at(i,t(154))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(140)](It.MenuBarMenuListItemButtonView);a[t(152)](t(139)).to(n),o[t(197)][t(160)](a),r[t(181)][t(160)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(141)](It.MenuBarMenuListItemButtonView);return u[t(152)](t(139)).to(n),c[t(197)][t(160)](u),r[t(181)][t(160)](c),n[t(199)][t(197)][t(160)](r),n}[Wt(140)](t){const e=Wt,i=this[e(182)],s=i[e(203)][e(207)](e(143)),n=new t(i[e(159)]);return n[e(178)]({label:at(i[e(159)],e(194))}),n[e(209)](e(200)).to(s,e(190),s,e(200),i,e(144),(t,e,i)=>t&&e&&!i),this[e(195)](n,e(139),()=>{this[e(146)]()}),n}[Wt(141)](t){const e=Wt,i=this[e(182)],s=i[e(203)][e(207)](e(143)),n=new t(i[e(159)]);return n[e(178)]({label:at(i[e(159)],e(185))}),n[e(209)](e(200)).to(s,e(190),i,e(144),(t,e)=>t&&!e),this[e(195)](n,e(139),()=>{const t=e;i[t(208)][t(207)](t(206))[t(147)]()}),n}[Wt(146)](){const t=Wt,e=this[t(182)],i=e[t(159)],s=e[t(203)][t(207)](t(163)),n=e[t(203)][t(207)](t(143));function r(n){const r=t;e[r(208)][r(207)](r(172))&&""===n[r(192)]?n[r(171)][r(167)]=at(i,r(176)):(e[r(203)][r(207)](vt)[r(169)]({name:n[r(192)]}),s[r(173)]())}this[t(193)]||(this[t(205)](),this[t(193)].on(t(145),()=>r(this[t(193)]))),this[t(193)][t(188)](),s[t(162)]({id:t(164),title:at(i,t(194)),isModal:!0,content:this[t(193)],actionButtons:[{label:at(e[t(159)],t(204)),withText:!0,onExecute:()=>s[t(173)]()},{label:at(e[t(159)],t(210)),class:t(179),withText:!0,onCreate(i){const s=t;i[s(209)](s(200)).to(n,s(190),n,s(200),e,s(144),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(193)])}]})}[Wt(205)](){const t=Wt,e=this[t(182)],i=e[t(159)];this[t(193)]=new Ut(i,e[t(208)][t(207)](t(172))),this[t(193)][t(149)]()}}function qt(){const t=["isOfficialPlugin","role","Open revision history","requires","componentFactory","reset","init","isReady","isOpen","revisionName","_saveRevisionFormView","Save current revision","listenTo","16NfWXuz","children","1006KIaLbM","panelView","isEnabled","isPremiumPlugin","6OynqeV","plugins","Cancel","_createSaveRevisionFormView","revisionHistory","get","config","bind","Accept","low","execute","_createSaveRevisionButton","_createOpenRevisionButton","focus","RevisionTracker","isReadOnly","submit","_showDialog","showRevisionViewerCallback","4574034ZigNSC","render","pluginName","1198694eAHMbg","delegate","menuBar:revisionHistory","Revision history","2641650JpKrGw","menu","addMany","buttonView","locale","add","_registerMenuComponent","show","Dialog","revisionSave","1570120seLBwg","editing","errorText","view","saveRevision","305556WJiWuQ","revisionNameInputView","revisionHistory.requireRevisionName","hide","5955SlqzlH","RevisionHistoryUI","The revision name cannot be empty.","1835155KUdpRw","set","ck-button-action","menuitem","items","editor"];return(qt=function(){return t})()}function $t(){const t=["1340915YqlZht","1948pfggKS","div","set","_model","element","ck-revision-change","bindTemplate","name","ck-annotation","Added by","span","add","2426230sEAqlZ","data","229502fhJtdG","810476ozMFhz","12ivROSD","focus","changeId","ck-revision-change__label","1263bMQEyD","type","Suggested by","isSuggestion","ck-revision-change__","536cIbiQx","5189715SexTbx","4291EJvklz","Removed by","author","setTemplate"];return($t=function(){return t})()}const Bt=Yt;function Yt(t,e){const i=$t();return(Yt=function(t,e){return i[t-=227]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(301896===-parseInt(e(242))/1+parseInt(e(228))/2*(parseInt(e(248))/3)+-parseInt(e(243))/4+-parseInt(e(227))/5*(parseInt(e(244))/6)+-parseInt(e(255))/7*(-parseInt(e(253))/8)+parseInt(e(254))/9+parseInt(e(240))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Jt extends It.View{[Bt(246)];[Bt(231)];constructor(t,e){const i=Bt;super(t),this[i(231)]=e,this[i(246)]=e.id;const s=this[i(234)],n=at(t,e[i(241)][i(251)]?i(250):i(239)==e[i(249)]?i(237):i(256));this[i(230)](i(249),e[i(249)]),this[i(258)]({tag:i(229),attributes:{class:[i(236),i(233),s.to(i(249),t=>i(252)+t)],tabindex:-1},children:[{tag:i(238),children:[{tag:i(238),attributes:{class:[i(247)]},children:[{text:n}]},{text:" "+e[i(257)][i(235)]}]}]})}[Bt(245)](){const t=Bt;this[t(232)][t(245)]()}}var Gt=Kt;function Kt(t,e){var i=Xt();return(Kt=function(t,e){return i[t-=171]})(t,e)}!function(t){for(var e=Kt,i=t();;)try{if(210859===parseInt(e(179))/1+parseInt(e(174))/2+parseInt(e(182))/3*(-parseInt(e(184))/4)+parseInt(e(177))/5*(-parseInt(e(175))/6)+parseInt(e(172))/7+parseInt(e(173))/8+parseInt(e(183))/9*(parseInt(e(171))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Gt(176)];[Gt(181)];[Gt(185)];[Gt(187)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(176)]=e[i(176)],this[i(181)]=e[i(181)],this[i(185)]=e[i(185)]||{},this[i(187)]=e[i(187)],this[i(180)](i(178),e[i(178)])}[Gt(186)](){var t=Gt;return{id:this.id,authorId:this[t(176)].id,type:this[t(181)],data:this[t(185)],createdAt:this[t(178)]}}}function Xt(){var t=["author","5FqqMtk","createdAt","51741ZIPRiu","set","type","241023oCYRsZ","417816BwuUuB","20eemhbZ","data","toJSON","rootName","50PfoYEx","2073638fzdzhW","539280rdlmfG","59012dmEDBh","386682gOAdKp"];return(Xt=function(){return t})()}function te(t,e){const i=ie();return(te=function(t,e){return i[t-=292]})(t,e)}const ee=te;function ie(){const t=["oldRevisionId","newRevisionId","7535PmlWtO","changes","add","1123jWjPpR","3370601JijKKN","281547eliSDq","8QlQGnf","250ELnorx","_setChanges","2730196qUZqhL","686196cIHZbU","72710qYiRIG","6llwuUy","42beIecC","12OjqTNY","1314ZEEJpi"];return(ie=function(){return t})()}!function(t){const e=te,i=t();for(;;)try{if(196776===parseInt(e(308))/1*(-parseInt(e(300))/2)+-parseInt(e(299))/3*(-parseInt(e(297))/4)+parseInt(e(305))/5*(parseInt(e(302))/6)+-parseInt(e(296))/7+-parseInt(e(293))/8*(-parseInt(e(292))/9)+-parseInt(e(294))/10*(-parseInt(e(298))/11)+parseInt(e(301))/12*(-parseInt(e(309))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class se{[ee(304)];[ee(303)];[ee(306)];constructor(e,i){const s=ee;this[s(304)]=e,this[s(303)]=i,this[s(306)]=new t.Collection}[ee(295)](t){const e=ee;for(const i of t)this[e(306)][e(307)](i)}}var ne=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),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=ue;!function(t){const e=ue,i=t();for(;;)try{if(970893===-parseInt(e(452))/1*(-parseInt(e(208))/2)+parseInt(e(427))/3*(-parseInt(e(338))/4)+parseInt(e(344))/5*(parseInt(e(463))/6)+parseInt(e(481))/7+-parseInt(e(237))/8+-parseInt(e(404))/9+-parseInt(e(229))/10*(parseInt(e(179))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ae extends G.Plugin{[oe(339)];[oe(436)]=null;[oe(391)];[oe(356)];[oe(392)];[oe(328)];[oe(292)];static get[oe(260)](){return oe(194)}static get[oe(367)](){return!0}static get[oe(302)](){return!0}static get[oe(482)](){return[K.Users,It.ContextualBalloon,et,ot]}constructor(t){const e=oe;super(t),this[e(339)]=this[e(466)][e(415)][e(284)](e(297)),this[e(391)]=this[e(466)][e(415)][e(284)](e(195)),this[e(433)](e(447),null),this[e(433)](e(247),null),this[e(356)]=null,this[e(433)](e(412),null),this[e(433)](e(364),!1),this[e(433)](e(410),!0),this.on(e(405),(t,i,s)=>{const n=e;this[n(447)]=null,this[n(247)]=null,this[n(466)][n(374)][n(311)][n(245)](t=>{const e=n;for(const i of this[e(466)][e(374)][e(311)][e(305)][e(421)])s?t[e(212)](e(454),i):t[e(251)](e(454),i)})}),this[e(380)](e(307)).to(this,e(447),t=>null!==t),this[e(380)](e(198)).to(this,e(364),this,e(412),this,e(447),(t,i,s)=>t&&s?i[e(477)][e(423)](s):0),this[e(380)](e(503)).to(this,e(364),this,e(412),(t,i)=>t?i[e(477)][e(397)]:0),this[e(392)]=null,this[e(328)]=new Map,this[e(292)]=this[e(466)][e(415)][e(284)](It.ContextualBalloon)}[oe(488)](){const t=oe,e=this[t(466)],i=new de(e,{direction:t(317)}),s=new de(e,{direction:t(451)});e[t(429)][t(321)](t(502),i),e[t(429)][t(321)](t(318),s),e[t(429)][t(321)](t(283),new he(e)),this.on(t(270),()=>{const e=t;i[e(312)](),s[e(312)]()}),this[t(393)](),this[t(320)](),e[t(394)](t(218)),e[t(415)][t(209)](t(496))&&e[t(415)][t(284)](t(496))[t(396)](t(218))}async[oe(406)](t){const e=oe;return await this[e(391)][e(350)](t,this[e(436)]),this[e(391)][e(406)](t)}async[oe(343)](t){const e=oe;return await this[e(391)][e(350)](t,this[e(436)]),this[e(391)][e(343)](t)}async[oe(189)](t,e,i=!1){const s=oe;if(!this[s(410)])return;const n=this[s(412)],r=this[s(339)],o=s(402)==typeof t?r[s(483)](t):t,a=s(402)==typeof e?r[s(483)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(412)]&&this[s(412)][s(352)]===c&&this[s(412)][s(366)]===u)return Promise[s(313)]();this[s(364)]=!1,this[s(247)]=null,this[s(447)]=null,this[s(412)]=new se(c,u);const l=this[s(213)](o,a,!0)[s(437)](t=>this[s(391)][s(350)](t,this[s(436)]));return l[s(279)](new Promise(t=>{setTimeout(t,20)})),Promise[s(205)](l)[s(351)](()=>{const t=s;if(!this[t(410)])return;this[t(453)]();const e=this[t(376)](c,u);for(const i of e[t(477)])this[t(328)][t(433)](i.id,i);this[t(466)][t(278)][t(180)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(466)][s(278)][s(305)][s(493)]())i[s(319)](t);for(const t of Object[s(322)](e[s(278)])){const n=i[s(214)](t);for(const r of Object[s(322)](e[s(418)][t]))i[s(232)](r,e[s(418)][t][r],n);i[s(440)](e[s(278)][t],n,0)}}),this[t(412)][t(256)](this[t(363)](e[t(477)])),this[t(364)]=!0})[s(498)](t=>{const e=s;console[e(439)](t),this[e(453)](),n&&(this[e(412)]=n),this[e(364)]=!0})}[oe(314)](t,e){const i=oe,s=this[i(339)][i(497)](t);return s.on(i(467),(t,i,n)=>e(i,n,s)),this[i(339)][i(266)](s),s}[oe(453)](){const t=oe;this[t(447)]=null,this[t(455)](),this[t(392)]&&this[t(392)][t(306)](),this[t(392)]=null,this[t(328)][t(476)](),this[t(466)][t(278)][t(180)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(466)][i(278)][i(305)][i(493)]())e[i(319)](t)})}[oe(363)](t){const e=oe,i=[],s=new Map;for(const t of this[e(466)][e(278)][e(305)][e(493)]()){const n=this[e(466)][e(374)][e(311)][e(288)](t);if(!n)continue;const r=n[e(478)]()[e(267)](0);r&&(i[e(279)](t),s[e(433)](t,r))}return i[e(422)]((t,i)=>{const n=e,r=s[n(284)](t),o=s[n(284)](i);return r.y-o.y||r.x-o.x}),(t=t[e(353)](t=>i[e(383)](t[e(438)])))[e(422)]((t,s)=>i[e(347)](t[e(438)])-i[e(347)](s[e(438)])),t}[oe(464)](t){const e=oe,i=Array[e(473)](t[e(222)])[e(353)](([t,i])=>t[e(368)](e(378))&&!i[e(430)]),s=Array[e(473)](this[e(466)][e(278)][e(372)](t)[e(285)]({singleCharacters:!0}));if(0!=i[e(397)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(315)](":");if(n[e(330)][e(187)](t[e(341)])&&i[e(281)](),(t[e(325)][e(187)](n[e(291)])||t[e(325)][e(334)](n[e(291)]))&&(e(193)==r?t[e(435)]={userId:o}:e(456)==r&&(t[e(244)]={userId:o})),0==i[e(397)])break}return s}[oe(253)](t){const e=oe,i=new Map;for(let s=0;s<t[e(397)];s++)e(183)===t[s][e(327)]?(t[s][e(267)][e(238)]=s,t[s][e(267)][e(268)]=s):(e(235)===t[s][e(327)]?t[s][e(267)][e(238)]=s:e(190)===t[s][e(327)]&&(t[s][e(267)][e(268)]=s),i[e(433)](t[s].id,s));for(const s of i[e(250)]())e(235)===t[s][e(327)]?t[s][e(267)][e(268)]=i[e(284)](t[s][e(340)]):e(190)===t[s][e(327)]&&(t[s][e(267)][e(238)]=i[e(284)](t[s][e(340)]))}[oe(441)](t){const e=oe;for(let i=0;i<t[e(397)];i++){if(e(235)===t[i][e(327)])t[i][e(267)][e(238)]=i;else if(e(190)===t[i][e(327)]){t[i][e(267)][e(268)]=i;const s=t[i][e(267)][e(238)];t[s][e(340)]=t[i].id,t[i][e(340)]=t[s].id}else t[i][e(267)][e(238)]=i,t[i][e(267)][e(268)]=i,t[i][e(340)]=null;t[i][e(450)]||(t[i][e(450)]=[],t[i][e(233)]=[])}}[oe(444)](t,e){const i=oe,s=t[i(353)](t=>!t[i(435)]);for(let t=0;t<e[i(397)];t++)e[t][i(435)]&&(s[t][i(435)]=e[t][i(435)])}[oe(376)](t,e=null){const i=oe,s=this[i(339)][i(483)](t),n=e?this[i(339)][i(483)](e):null,r=this[i(213)](s,n),o=r[r[i(397)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(397)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(322)](e[i(499)]))if(e[i(499)][t][i(262)]){const s=e[i(499)][t][i(262)];s[i(201)]?(u[i(321)](t),l[i(209)](t)&&l[i(284)](t)[i(282)]==s[i(282)]?l[i(375)](t):l[i(433)](t,s)):l[i(209)](t)?(u[i(375)](t),l[i(375)](t)):(u[i(321)](t),l[i(433)](t,s))}else u[i(321)](t)}for(const t of u){const e=l[i(209)](t)&&!l[i(284)](t)[i(201)];let s=e?r[i(397)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(499)][t]){const s=e?o[i(499)][t][i(358)]:o[i(499)][t][i(192)];c[i(418)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(278)]={};for(const e of t[i(274)])a[i(433)](e.id,e);for(const e of u){const s=t[i(499)][e]?t[i(499)][e][i(234)]:"[]",n=t[i(499)][e]?t[i(499)][e][i(287)]:"[]";t[i(278)][e]={insertions:this[i(391)][i(249)](s),deletions:this[i(391)][i(249)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(473)](s[i(278)][t][i(234)][i(222)])[i(353)](([t])=>!t[i(368)](i(378))));let h=0;for(const o of r){const r=this[i(464)](o[i(278)][t][i(234)]);o==s?(e=r,n=e[i(397)],e[i(265)](t=>{t.id=h++}),this[i(441)](e)):this[i(444)](e,r);const a=e[i(353)](t=>!t[i(435)])[i(437)](t=>t.id);let c=0;const l=this[i(464)](o[i(278)][t][i(287)]);l[i(265)](t=>{t[i(244)]?t.id=n++:t.id=a[c++]}),this[i(441)](l),this[i(293)](e,i(435)),this[i(293)](l,i(244)),o==s&&this[i(388)](e,u),e=this[i(400)](e,l),this[i(253)](e),this[i(293)](e,i(244))}e=e[i(353)](t=>!(t[i(435)]&&t[i(244)]));const d=new Map(o[i(278)][t][i(287)][i(222)]),f=new Set(u[i(322)]());for(const t of d[i(322)]())f[i(375)](t);this[i(259)](e,f),this[i(223)](e),e=this[i(188)](e),e=this[i(484)](e),e=this[i(336)](e);const{root:m,changes:p}=this[i(361)](e,a,t);c[i(278)][t]=m;const v=l[i(284)](t);if(v){const e=a[i(284)](v[i(282)]),s=new Qt({author:e,type:v[i(201)]?i(321):i(408),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(428)](s),c[i(418)][t][i(485)]=s.id}c[i(477)]=c[i(477)][i(217)](p)}return c}[oe(388)](t,e){const i=oe;for(let s=0;s<t[i(397)];s++)for(const[n,r]of e)!r[i(430)]&&r[i(291)][i(187)](t[s][i(325)])&&t[s][i(450)][i(279)](n),r[i(330)][i(187)](t[s][i(341)])&&t[s][i(233)][i(279)](n)}[oe(400)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(397)]||r<e[i(397)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(279)](o);else if(a[i(244)]&&o[i(435)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(349)](t,n,e,r);s=s[i(217)](o),n=a,r=c}else a[i(244)]?(r++,s[i(279)](a)):(n++,s[i(279)](o))}return s}[oe(259)](t,e){const i=oe,s=[];for(let o=0;o<t[i(397)];o++){for(let r=0;r<t[o][i(450)][i(397)];r++){const a=t[o][i(450)][r];if(!e[i(209)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(360)!=c||i(193)!=u&&i(456)!=u||(s[i(428)]({type:u,name:a,userId:l}),t[o][i(450)][i(432)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(233)][i(397)];r++){const a=t[o][i(233)][r];if(!e[i(209)](a))continue;const{group:c,type:u}=n(a);if(i(360)!=c||i(193)!=u&&i(456)!=u)continue;t[o][i(233)][i(432)](r,1),r--;const l=s[i(443)](t=>t[i(381)]==a);l>-1&&s[i(432)](l,1)}}function n(t){const e=i,s=t[e(315)](":");return{group:s[0],type:s[1],subType:s[e(397)]>=5?s[2]:null,id:s[e(397)]<5?s[2]:s[3],authorId:s[e(397)]<5?s[3]:s[4],markerCount:6==s[e(397)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(397)];i++){if(t[e(435)]&&e(193)==s[i][e(327)]&&t[e(435)][e(282)]==s[i][e(282)])return t[e(324)]=s[i],void delete t[e(435)];if(!t[e(435)]&&!t[e(244)]&&e(456)==s[i][e(327)])return void(t[e(492)]=s[i])}}}[oe(293)](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(433)](o.id,s);for(let s=0;s<t[i(397)];s++){if(i(244)==e&&t[s][i(435)]||i(435)==e&&t[s][i(244)])continue;if(i(183)==t[s][i(327)]){t[s][i(252)]=0;continue}const n=r[i(284)](t[s][i(340)]),o=r[i(284)](t[s].id);t[s][i(252)]=n-o}}[oe(213)](t,e,i=!1){const s=oe,n=[];let r=this[s(339)][s(423)](t),o=this[s(339)][s(423)](e);for(-1==o&&(o=this[s(339)][s(501)][s(397)],i=!1);r<o;)n[s(279)](this[s(339)][s(483)](r)),r++;return i&&n[s(279)](this[s(339)][s(483)](r)),n}[oe(349)](t,e,i,s){const n=oe,r=this[n(466)][n(278)][n(246)];let o=e;for(;t[o]&&t[o][n(435)];)o++;let a=s;for(;i[a]&&i[a][n(244)];)a++;u(t,e,o),u(i,s,a);const c=i[n(345)](s,a)[n(217)](t[n(345)](e,o));return c[n(422)]((t,e)=>t[n(290)]!=e[n(290)]?t[n(290)]-e[n(290)]:t[n(373)]!=e[n(373)]?t[n(373)]-e[n(373)]:t[n(252)]!=e[n(252)]?e[n(252)]-t[n(252)]:!!t[n(435)]!=!!e[n(435)]?-1==t[n(290)]||0==t[n(290)]?t[n(435)]?-1:1:t[n(435)]?1:-1:t[n(504)]-e[n(504)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(203)],c=!0;for(let n=e;n<i;n++)if(r[s(494)](t[n][s(267)])||(c=!1),t[n][s(267)][s(238)]<e&&(o=n),t[n][s(267)][s(268)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(290)]=n<=o?-1:n<a?0:1,t[n][s(504)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(252)]?t[i][s(373)]=u:(u++,t[i][s(373)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(290)]&&(t[n][s(373)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(252)]?t[e][s(373)]=u:(u--,t[e][s(373)]=u,u--)}}[oe(223)](t){const e=oe,i=new Map,s=this[e(466)][e(278)][e(246)];for(let n=1;n<t[e(397)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(183)==c[e(327)])continue;if(c[e(327)]!=u[e(327)])continue;if(!s[e(273)](u[e(267)])||s[e(377)](u[e(267)]))continue;if(!s[e(273)](c[e(267)])||s[e(377)](c[e(267)]))continue;if((t[n][e(435)]||t[n][e(324)])&&t[n-1][e(244)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(244)]||!t[n-1][e(435)]&&!t[n-1][e(324)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(373)]==o[e(373)],h=Math[e(332)](r[e(373)])<Math[e(332)](o[e(373)])&&0==o[e(252)];(l||h)&&(i[e(433)](o.id,r.id),t[e(432)](a,1),n--,r[e(435)]=!1)}for(let s=0;s<t[e(397)];s++)i[e(209)](t[s][e(340)])&&(t[s][e(340)]=i[e(284)](t[s][e(340)]))}[oe(188)](t){const e=oe,i=new Set(t[e(437)](t=>t.id));for(let s=0;s<t[e(397)];s++)i[e(209)](t[s][e(340)])||0==t[s][e(252)]||(t[s][e(230)]=!0);return t[e(353)](t=>!t[e(230)])}[oe(484)](t){const e=oe,i=new Set;for(let s=0;s<t[e(397)];s++){if(i[e(209)](t[s].id)&&t[s][e(244)]&&(t[s][e(230)]=!0),t[s][e(230)])continue;if(0==t[s][e(252)])continue;if(e(235)!=t[s][e(327)])continue;if(null==t[s][e(340)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(340)];)e(235)==t[n][e(327)]?r++:e(190)==t[n][e(327)]&&r--,n++;if(0!=r)if(t[s][e(244)])t[s][e(230)]=!0;else for(;n!=s;)t[n][e(244)]&&0!=t[n][e(252)]&&(t[n][e(230)]=!0,i[e(321)](t[n][e(340)])),n--}return t[e(353)](t=>!t[e(230)])}[oe(336)](t){const e=oe,i=this[e(466)][e(278)][e(246)];for(let s=0;s<t[e(397)];s++){if(!(t[s][e(435)]||t[s][e(324)]||t[s][e(244)]||t[s][e(492)]))continue;if(0==t[s][e(252)])continue;const n=t[s][e(267)];i[e(273)](n)||i[e(377)](n)||(t[s][e(435)]&&delete t[s][e(435)],t[s][e(324)]&&delete t[s][e(324)],t[s][e(492)]&&delete t[s][e(492)],t[s][e(244)]&&(t[s][e(230)]=!0))}return t[e(353)](t=>!t[e(230)])}[oe(361)](t,e,i){const s=oe,n=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[s(466)][s(278)],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(397)];e++)if(s(235)===t[e][s(327)]){t[e][s(325)]=a[s(220)](n,f);const i=new Q.ModelElement(t[e][s(267)][s(381)],t[e][s(267)][s(228)]());u[0][s(204)](i),f[s(279)](0),u[s(428)](i),t[e][s(341)]=a[s(220)](n,f)}else s(190)===t[e][s(327)]?(u[s(281)](),t[e][s(325)]=a[s(220)](n,f),f[s(382)](),f[f[s(397)]-1]++,t[e][s(341)]=a[s(220)](n,f)):(t[e][s(325)]=a[s(220)](n,f),d?d[s(475)]+=t[e][s(267)][s(461)]:d=new Q.ModelText(t[e][s(267)][s(461)],t[e][s(267)][s(228)]()),t[e+1]&&s(183)===t[e+1][s(327)]&&v(d,t[e+1][s(267)])||(u[0][s(204)](d),d=null),f[f[s(397)]-1]+=t[e][s(267)][s(277)],t[e][s(341)]=a[s(220)](n,f));for(let e=0;e<t[s(397)];e++){const i=t[e][s(325)],n=t[e][s(341)];for(const n of t[e][s(450)])o[s(433)](n,{start:i,end:null});m(s(492),e,i,n),m(s(324),e,i,n),m(s(244),e,i,n),m(s(435),e,i,n);for(const i of t[e][s(233)]){const t=o[s(284)](i);t?t[s(330)]=n:o[s(433)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(466)][s(278)][s(487)](e[s(291)],e[s(330)]);n[s(222)][s(433)](t,i)}return r[s(422)]((t,e)=>{const i=s,r=n[i(222)][i(284)](i(378)+t.id),o=n[i(222)][i(284)](i(378)+e.id);return r[i(291)][i(221)](o[i(291)])?-1:r[i(291)][i(334)](o[i(291)])?1:r[i(330)][i(221)](o[i(330)])?-1:r[i(330)][i(334)](o[i(330)])?1:i(321)===t[i(327)]?-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(282)]:null,d=i===t[o(397)]-1,f=h[e][0],m=c[o(409)](t[i][o(267)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(330)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(282)]!==u&&(l[e][o(330)]=n,f&&f[o(282)]===l[e][o(282)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(235)!==t[i][o(327)]||f&&f[o(282)]===u||h[e][o(428)]({userId:u,object:t[i][o(267)],change:l[e]}),o(190)===t[i][o(327)]&&f&&f[o(457)]===t[i][o(267)]&&(h[e][o(281)](),l[e]=f[o(245)])),l[e]&&d&&(l[e][o(330)]=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(267)],f=a[h(246)][h(273)](d)&&!a[h(246)][h(377)](d),m=t[h(243)]==o[h(301)]&&o[h(474)];if(f&&m)return;const p=a[h(487)](t,o),v=e[h(284)](u),g=new Qt({author:v,type:h(435)==l||h(324)==l?h(321):h(408),data:{isSuggestion:h(324)==l||h(492)==l},createdAt:new Date,rootName:i});r[h(279)](g),n[h(222)][h(433)](h(378)+g.id,p)}function v(t,e){const i=s,n=t[i(228)](),r=e[i(228)]();for(const t of n){if(t[1]!==e[i(242)](t[0]))return!1;r[i(337)]()}return r[i(337)]()[i(413)]}}[oe(393)](){const t=oe;this[t(466)][t(255)][t(417)](t(346))[t(386)]({view:t(333)}),this[t(466)][t(255)][t(417)](t(489))[t(425)]({model:t(333),view:e=>{const i=t,s=e[i(348)][i(315)](":")[1],n=this[i(442)](s);if(!n)return null;const r=i(321)==n[i(327)]?i(193):i(456),o=[i(236),i(479)+r];return n[i(461)][i(371)]&&o[i(279)](i(479)+r+i(407)),this[i(447)]==n&&o[i(279)](i(426)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(466)][t(255)][t(417)](t(346))[t(321)](e=>{const i=t;e.on(i(414),(t,e,s)=>{const n=i,r=e[n(271)][n(420)](0);if(!r||!r.is(n(207),n(303)))return;if(!s[n(269)][n(219)](r,{attributes:[n(399),n(470)]}))return;const o=e[n(460)][n(291)][n(243)];s[n(359)][n(232)](n(399),r[n(242)](n(399)),o),s[n(359)][n(232)](n(470),r[n(242)](n(470)),o)},{priority:i(275)})}),this[t(466)][t(255)][t(417)](t(346))[t(321)](e=>{const i=t;e.on(i(207),(t,e,s)=>{const n=i;if(!s[n(269)][n(219)](e[n(271)],{attributes:[n(399),n(470)]}))return;if(e[n(460)][n(430)])return;const r=e[n(460)][n(291)][n(243)];r[n(384)](n(399))||r[n(384)](n(491))||(s[n(359)][n(232)](n(399),e[n(271)][n(242)](n(399)),r),s[n(359)][n(232)](n(470),e[n(271)][n(242)](n(470)),r))},{priority:i(275)})}),this[t(466)][t(255)][t(417)](t(346))[t(263)]({view:{name:t(369),attributes:{vid:!0}},model:{key:t(491),value:e=>e[t(242)](t(491))}}),this[t(466)][t(278)][t(246)].on(t(261),(e,[,i])=>{const s=t;[s(399),s(470),s(491)][s(383)](i)&&(e[s(206)]=!0,e[s(326)]())},{priority:t(186)}),this[t(466)][t(255)][t(417)](t(401))[t(321)](e=>{const i=t;e.on(i(264),(t,e,s)=>{const n=i;if(" "!=e[n(267)][n(461)]||e[n(267)][n(301)][n(241)]>1)return;if(!s[n(269)][n(219)](e[n(267)],t[n(381)]))return;const r=s[n(359)],o=s[n(468)][n(490)](e[n(295)]);r[n(335)](o,r[n(472)](n(369)))})}),this[t(466)][t(255)][t(417)](t(401))[t(424)]({model:t(333)}),this[t(466)][t(374)][t(227)].on(t(411),function(e){const i=t,s=e[i(415)][i(284)](i(194));return(t,n,r)=>{const o=i,a=n[o(348)][o(315)](":")[1],c=s[o(442)](a);if(!c)return null;const u=o(321)==c[o(327)]?o(315):o(403);if(!r[o(269)][o(385)](n[o(309)],t[o(381)]))return;const l=n[o(309)][o(285)](),h=n[o(309)][o(291)],d=e[o(278)][o(246)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(267)];p=p||d[o(296)](e);const i=r[o(468)][o(257)](e);if(i&&i[o(458)](o(390)))return;o(190)==t[o(327)]&&d[o(273)](e)&&!d[o(377)](e)&&(e[o(416)]||h[o(449)]?f&&f[o(301)]==e||(f=e,g(t[o(325)]),v=!0):m=m||t[o(325)])}function g(t){const e=o,i=r[e(359)][e(196)](e(369),{class:e(479)+u}),a=r[e(468)][e(459)](t);c[e(461)][e(371)]&&r[e(359)][e(251)](e(479)+u+e(407),i),s[e(447)]==c&&r[e(359)][e(251)](e(426),i),r[e(359)][e(440)](a,i),r[e(468)][e(197)](i,n[e(348)])}p||v||!m||g(m)}}(this[t(466)]),{priority:t(199)}),this[t(466)][t(374)][t(227)].on(t(308),(e,i,s)=>{const n=t,r=s[n(468)][n(231)](i[n(348)]);if(r)for(const t of r)(t[n(276)](n(216))||t[n(276)](n(280)))&&(s[n(468)][n(323)](t,i[n(348)]),s[n(359)][n(408)](t))},{priority:t(199)}),this[t(466)][t(374)][t(227)].on(t(411),(e,i,s)=>{const n=t,r=i[n(348)][n(315)](":")[1],o=this[n(442)](r);if(!o)return null;const a=n(321)==o[n(327)]?n(315):n(403);if(s[n(269)][n(385)](i[n(309)],e[n(381)]))for(const t of i[n(309)][n(248)]()){if(!t.is(n(207),n(178)))continue;const e=s[n(359)][n(196)](n(369),{class:n(479)+a}),r=s[n(468)][n(459)](this[n(466)][n(278)][n(434)](t));o[n(461)][n(371)]&&s[n(359)][n(251)](n(479)+a+n(407),e),this[n(447)]==o&&s[n(359)][n(251)](n(426),e),s[n(359)][n(440)](r,e),s[n(468)][n(197)](e,i[n(348)])}},{priority:t(199)}),this[t(466)][t(278)][t(305)].on(t(245),()=>{const e=t;this[e(466)][e(374)][e(311)][e(245)](t=>{const i=e;for(const e of this[i(466)][i(278)][i(305)][i(493)]()){const s=this[i(466)][i(278)][i(305)][i(398)](e),n=this[i(466)][i(374)][i(311)][i(305)][i(398)](e);if(n){const e=s[i(242)](i(485));if(t[i(215)](i(210),n),t[i(212)](i(445),n),t[i(212)](i(419),n),t[i(212)](i(185),n),e){const s=this[i(442)](e);if(!s)return null;t[i(232)](i(210),e,n),t[i(251)](i(469)+s[i(327)],n),this[i(447)]==s&&t[i(251)](i(185),n)}}}})}),this[t(466)][t(255)][t(417)](t(346))[t(386)]({view:t(387),model:e=>t(310)+e,converterPriority:t(186)}),this[t(466)][t(255)][t(417)](t(346))[t(386)]({view:t(272),model:e=>t(225)+e,converterPriority:t(186)}),this[t(466)][t(255)][t(417)](t(401))[t(424)]({model:t(360),view:e=>({name:t(289)+e,group:t(360)}),converterPriority:t(186)}),this[t(466)][t(255)][t(417)](t(489))[t(425)]({model:t(360),view:e=>{const i=t,s=e[i(348)][i(315)](":")[1];return i(193)!=s&&i(456)!=s?null:{classes:[i(446),i(300)+s]}}}),this[t(466)][t(374)][t(227)].on(t(286),le(this[t(466)],t(403)),{priority:t(199)}),this[t(466)][t(374)][t(227)].on(t(240),le(this[t(466)],t(315)),{priority:t(199)}),this[t(466)][t(374)][t(227)].on(t(480),(e,i,s)=>{const n=t,r=s[n(468)][n(231)](i[n(348)]);if(r)for(const t of r)t.is(n(316))&&(s[n(468)][n(323)](t,i[n(348)]),s[n(359)][n(408)](t))},{priority:t(199)})}[oe(442)](t){const e=oe;return this[e(328)][e(284)](t)}[oe(486)](t){const e=oe;return this[e(392)]&&this[e(392)][e(306)](),this[e(392)]=new Jt(this[e(466)][e(258)],t),this[e(392)]}[oe(320)](){const t=oe;this[t(466)][t(278)][t(305)][t(298)][t(471)](t(333)),this.on(t(462),(e,i,s,n)=>{const r=t;n&&this[r(292)][r(408)](n),s&&(this[r(292)][r(321)]({view:s,stackId:r(500),position:{target:()=>{const t=r,e=this[t(466)][t(374)],i=this[t(442)](s[t(329)]);let n;if(i[t(461)][t(299)]){const s=e[t(311)][t(288)](i[t(438)]);n=Array[t(473)](s[t(478)]())}else{const i=this[t(466)][t(278)][t(222)][t(284)](t(378)+s[t(329)]);n=Array[t(473)](e[t(468)][t(231)](i[t(381)]))[t(437)](i=>e[t(311)][t(365)][t(226)](i))[t(437)](e=>Array[t(473)](e[t(478)]()))[t(395)]()}return this[t(356)]&&n[t(211)](e=>e[t(304)]-3<=this[t(356)].y&&e[t(342)]+3>=this[t(356)].y&&e[t(357)]-3<=this[t(356)].x&&e[t(370)]+3>=this[t(356)].x)||n[0]}}}),this[r(292)][r(465)](r(500)))}),this.on(t(431),(e,i,s,n)=>{const r=t;this[r(247)]=s?this[r(486)](s):null,this[r(466)][r(278)][r(245)](()=>{const t=r,e=this[t(466)][t(374)];n&&(n[t(461)][t(299)]?e[t(311)][t(245)](i=>{const s=t;i[s(212)](s(185),e[s(311)][s(305)][s(398)](n[s(438)]))}):e[t(379)](t(378)+n.id)),s&&(s[t(461)][t(299)]?e[t(311)][t(245)](i=>{const n=t;i[n(251)](n(185),e[n(311)][n(305)][n(398)](s[n(438)]))}):e[t(379)](t(378)+s.id))})}),this[t(202)](this[t(466)][t(374)][t(311)][t(305)],t(495),(e,i)=>{const s=t;if(this[s(447)])return;const n=this[s(191)](i[s(224)]),r=this[s(328)][s(284)](n);r?(this[s(356)]={x:i[s(362)].x,y:i[s(362)].y},this[s(247)]=this[s(486)](r)):(this[s(356)]=null,this[s(247)]=null)}),this[t(202)](this[t(466)][t(374)][t(311)][t(305)],t(354),(e,i)=>{const s=t,n=this[s(191)](i[s(224)]),r=this[s(328)][s(284)](n);r?(this[s(356)]={x:i[s(362)].x,y:i[s(362)].y},r===this[s(447)]?this[s(292)][s(200)]():this[s(447)]=r):(this[s(356)]=null,this[s(447)]=null)})}[oe(191)](t){const e=oe;do{const i=t[e(242)](e(210));if(i)return i;t=t[e(301)]}while(t);return null}[oe(455)](){const t=oe;this[t(466)][t(278)][t(245)](e=>{const i=t;for(const t of this[i(466)][i(278)][i(222)])e[i(239)](t)})}}function ce(){const t=["editor","_update","mapper","ck-revision-history-root-","vid_end","observeMarkers","createAttributeElement","from","isAtStart","_data","clear","changes","getClientRects","ck-suggestion-marker-","removeMarker:revision-suggestion","4797310bfYEml","requires","getRevision","_markMismatchedRemovedTags","revisionHistoryAttachChange","_getViewForChange","createRange","init","editingDowncast","toViewRange","vid","isRemoveSuggestion","getRootNames","isInline","mouseover","WidgetToolbarRepository","createRevision","catch","diffData","revisionHistoryLabel","_revisions","showPreviousChange","numberOfChanges","index","softBreak","11oFFoUT","enqueueChange","revisionHistory","config","text","first","ck-revision-history-root--active","highest","isEqual","_removeMissingPairs","compare","elementEnd","_findChangeIdFromDomTarget","attributesAfter","insertion","RevisionViewer","RevisionHistoryUtils","createUIElement","bindElementToMarker","currentChangeNumber","high","updatePosition","isAttached","listenTo","POSITIVE_INFINITY","_appendChild","all","return","element","2oEFVWq","has","data-change-id","find","removeClass","_getRevisionsRange","addRoot","removeAttribute","ck-suggestion-marker-split","concat","revision-viewer","consume","createPositionFromPath","isBefore","markers","_fixObsoleteTags","target","revision-suggestion:","mapViewToDom","downcastDispatcher","getAttributes","6241070pJwTYN","isIncorrect","markerNameToElements","setAttribute","markersEnd","insertions","elementStart","ck-suggestion-marker","1503056PerujQ","startIndex","removeMarker","addMarker:revision-suggestion:insertion","maxOffset","getAttribute","nodeAfter","isRemoved","change","schema","activeView","getItems","_makeModelFromViewString","values","addClass","distance","_refreshStartEndIndex","_step","conversion","_setChanges","toViewElement","locale","_markSuggestions","pluginName","checkAttribute","attachChange","elementToAttribute","attribute:vid","forEach","addRevision","item","endIndex","consumable","change:numberOfChanges","viewItem","suggestion","isBlock","authors","low","hasClass","offsetSize","model","push","ck-suggestion-marker-merge","shift","userId","restoreRevision","get","getWalker","addMarker:revision-suggestion:deletion","deletions","getDomRoot","suggestion:","side","start","_balloon","_setDistance","restoreRevisionCallback","range","isContent","RevisionsRepository","selection","isOnRoot","ck-suggestion-preview-marker-","parent","isPremiumPlugin","code","top","document","destroy","isNavigationMode","removeMarker:revision","markerRange","revision-comment:","view","refresh","resolve","addRevisionData","split","uiElement","backward","showNextChange","detachRoot","_initInteractions","add","keys","unbindElementFromMarkerName","isAddSuggestion","previousPosition","stop","type","_changeIdToChange","changeId","end","getLaterVisibleRevision","abs","revision","isAfter","wrap","_removeUnsupportedChanges","next","12cEbnKD","repository","pairId","nextPosition","bottom","getRevisionRootsAttributes","378415mwQVJu","slice","upcast","indexOf","markerName","_threeWayMerge","loadRevisionData","then","newRevisionId","filter","mousedown","change:isReady","_activeViewTarget","left","attributesBefore","writer","revision-suggestion","_makeModelFromTape","domEvent","_sortAndFilterDiffChanges","isReady","domConverter","oldRevisionId","isOfficialPlugin","startsWith","span","right","isSuggestion","createRangeIn","level","editing","delete","_getDiff","isLimit","revision:","reconvertMarker","bind","name","pop","includes","hasAttribute","test","dataToMarker","comment","_markMarkers","affectsData","addHighlight","_utils","_changeView","_setConversion","enableReadOnlyMode","flat","forceDisabled","length","getRoot","vid_start","_joinTapes","dataDowncast","string","merge","332100gyKxIV","change:isEnabled","getRevisionDocumentData","-new","remove","isObject","isEnabled","addMarker:revision","diff","done","element:pre","plugins","nextSibling","for","attributes","ck-revision-history-root-remove","getChild","roots","sort","getIndex","markerToData","markerToHighlight","ck-suggestion-marker--active","1261047dgUIuk","unshift","commands","isCollapsed","change:activeChange","splice","set","createPositionBefore","isAdded","adapter","map","rootName","error","insert","_processTape","_getChangeFromId","findIndex","_markInsertions","ck-revision-history-root-add","ck-suggestion-preview-marker","activeChange","execute","isAtEnd","markersStart","forward","1411620Pkwqzc","_cleanUp","ck-editor__editable__overlay","_cleanMarkers","deletion","object","getCustomProperty","toViewPosition","modelRange","data","change:activeView","78eEuVyF","_makeTape","showStack"];return(ce=function(){return t})()}function ue(t,e){const i=ce();return(ue=function(t,e){return i[t-=178]})(t,e)}function le(t,e){return(i,s,n)=>{const r=ue;if(!n[r(269)][r(385)](s[r(309)],i[r(381)]))return;const o=s[r(309)][r(285)](),a=s[r(309)][r(291)],c=t[r(278)][r(246)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(267)];h=h||c[r(296)](e);const i=n[r(468)][r(257)](e);if(i&&i[r(458)](r(390)))return;r(190)==t[r(327)]&&c[r(273)](e)&&!c[r(377)](e)&&(e[r(416)]||a[r(449)]?u&&u[r(301)]==e||(u=e,f(t[r(325)]),d=!0):l=l||t[r(325)])}function f(t){const i=r,o=n[i(468)][i(459)](t),a=n[i(359)][i(196)](i(369),{class:i(300)+e});n[i(359)][i(440)](o,a),n[i(468)][i(197)](a,s[i(348)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(415)][e(284)](ae);this[e(389)]=!1,this[e(202)](i,e(355),()=>this[e(312)]()),this[e(202)](i,e(405),()=>this[e(312)]())}[oe(448)](){const t=oe,e=this[t(466)],i=e[t(415)][t(284)](ae),s=i[t(364)]?i[t(412)][t(352)]:null;e[t(182)][t(284)](t(181))[t(294)](s)}[oe(312)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(466)][t(415)][t(284)](ae),r=n&&s[t(331)](n[t(352)]);this[t(410)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(254)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(415)][i(284)](ae);this[i(389)]=!1,this[i(254)]=i(451)===e?1:-1,this[i(202)](s,i(355),()=>this[i(312)]()),this[i(202)](s,i(405),()=>this[i(312)]()),this[i(202)](s,i(431),()=>this[i(312)]())}[oe(448)](){const e=oe,i=this[e(466)],s=i[e(415)][e(284)](ae),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(447)]=n?s[e(412)][e(477)][e(284)](r+this[e(254)]):s[e(412)][e(477)][e(184)],s[e(447)][e(461)][e(299)])o=i[e(374)][e(311)][e(288)](s[e(447)][e(438)]);else{const t=i[e(278)][e(222)][e(284)](e(378)+s[e(447)].id);o=(0,K.getMarkerDomElement)(i[e(374)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(312)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(466)][t(415)][t(284)](ae);this[t(410)]=!!(r&&n&&s)&&(!e||(1===this[t(254)]?i<s-1:i>0))}}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),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(){const t=["fire","backward","ck-revision-history-ui","div","ck-revision-history-ui__changes-navigation__wrapper","set","NUMBER_OF_CHANGES","execute","ck-revision-history-ui__changes-navigation__label","2188698caWQJI","setTemplate","isForwardNavigationEnabled","forward","bind","isEnabled","ck-hidden","isNavigationMode","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation","Total","_isStatusLabelVisible","9505053nrNpnd","ck-revision-history-ui__changes-navigation__navigation","2040260HzJWYi","831052kzTqjS","_statusText","isReady","X_OF_Y_CHANGES","EDIT_X_OF_Y_REVISIONS","Show previous change","span","No changes","515569yfrVNp","Loading...","8sTAaec","currentChangeNumber","212422kGQQGM","bindTemplate","114lkszkB","numberOfChanges","Show next change","270405wlpCbj"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=311]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(414166===parseInt(e(333))/1+-parseInt(e(325))/2+-parseInt(e(352))/3+parseInt(e(324))/4+parseInt(e(342))/5+parseInt(e(339))/6*(-parseInt(e(337))/7)+parseInt(e(335))/8*(parseInt(e(322))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(338)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(348)](e(317),!1),this[e(348)](e(327),!1),this[e(348)](e(336),0),this[e(348)](e(340),0),this[e(348)](e(312),!1),this[e(348)](e(318),!1),this[e(314)](e(321)).to(this,e(327),this,e(340),(t,e)=>t&&e>0),this[e(314)](e(326)).to(this,e(327),this,e(336),this,e(340),this,e(317),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(334));if(!n)return at(t,o(332));const a=at(t,o(349),n);return r?at(t,o(328),[s+1,n]):a}),s[e(348)]({label:at(t,e(330)),tooltip:!0,icon:_t.IconChevronUp}),n[e(348)]({label:at(t,e(341)),tooltip:!0,icon:_t.IconChevronDown}),s[e(314)](e(315)).to(this,e(318)),n[e(314)](e(315)).to(this,e(312)),s.on(e(350),()=>this[e(343)](e(350),e(344))),n.on(e(350),()=>this[e(343)](e(350),e(313))),this[e(311)]({tag:e(346),attributes:{class:["ck",e(345),e(319)]},children:[{tag:e(331),attributes:{class:[e(347)]},children:[{tag:e(331),attributes:{class:[e(351),i.if(e(321),e(316),t=>!t)]},children:[{text:i.to(e(317),i=>i?at(t,e(329))+": ":at(t,e(320))+": ")}]},{text:i.to(e(326))}]},new It.ToolbarSeparatorView,{tag:e(346),attributes:{class:[e(323)]},children:[s,n]}]})}}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Vt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=Ie();return(we=function(t,e){return i[t-=126]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(964028===parseInt(e(140))/1+-parseInt(e(131))/2*(-parseInt(e(145))/3)+-parseInt(e(142))/4+-parseInt(e(135))/5+parseInt(e(147))/6+parseInt(e(129))/7+parseInt(e(132))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(148);function Ie(){const t=["366324MSCvDY","document","4546868EQFsud","change","view","490302DYlhIy","isOfficialPlugin","2270220rhVDmA","ck-editor__editable__loading-overlay","editor","RevisionViewerLoadingOverlay","removeClass","841316KIuhow","editing","6EFpOJI","10214912XDNbmm","hide","roots","2656515HvpehI","isPremiumPlugin","show","pluginName","addClass"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(138)](){return be(127)}static get[be(146)](){return!0}static get[be(136)](){return!0}[be(137)](){const t=be,e=this[t(126)][t(130)][t(144)];e[t(143)](i=>{const s=t;for(const t of e[s(141)][s(134)])i[s(139)](_e,t)})}[be(133)](){const t=be,e=this[t(126)][t(130)][t(144)];e[t(143)](i=>{const s=t;for(const t of e[s(141)][s(134)])i[s(128)](_e,t)})}}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=229]})(t,e)}function xe(){const t=["showPreviousChange","1729440SwhwgA","showNextChange","show","forward","Back to editing","listenTo","isPremiumPlugin","change:isReady","6plbniu","isReady","init","exitToEditing","config","713188JVlBZC","9064170oSLkVg","componentFactory","bind","editor","restoreRevision","189jWpwyU","ck-revision-history-ui__back-to-editing","isBackwardNavigationEnabled","currentChangeNumber","commands","2087844bpUwZc","requires","isNavigationMode","get","revisionHistory","529715AFZxAx","changesNavigation","RevisionViewerUI","pluginName","hide","isEnabled","isOfficialPlugin","numberOfChanges","isForwardNavigationEnabled","set","4196nmuobF","Restore this revision","execute","add","plugins","closeRevisionViewerCallback","841458eKSRru"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(708702===parseInt(e(238))/1+-parseInt(e(232))/2*(-parseInt(e(259))/3)+parseInt(e(264))/4+parseInt(e(269))/5+-parseInt(e(248))/6*(parseInt(e(253))/7)+parseInt(e(240))/8+-parseInt(e(254))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(272)](){return Oe(271)}static get[Oe(275)](){return!0}static get[Oe(246)](){return!0}static get[Oe(265)](){return[ae,Se]}[Oe(250)](){const t=Oe,e=this[t(257)],i=e[t(236)][t(267)](ae),s=e[t(236)][t(267)](Se);e.ui[t(255)][t(235)](t(251),i=>{const s=t,n=new It.ButtonView(i);return n[s(231)]({label:at(i,s(244)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(260)}),this[s(245)](n,s(234),()=>{const t=s;e[t(252)][t(267)](t(268))[t(237)]()}),n}),e.ui[t(255)][t(235)](t(258),i=>{const s=t,n=new It.ButtonView(i);return n[s(231)]({label:at(i,s(233)),withText:!0,tooltip:!0}),n[s(256)](s(274)).to(e[s(263)][s(267)](s(258))),this[s(245)](n,s(234),()=>e[s(234)](s(258))),n}),e.ui[t(255)][t(235)](t(270),s=>{const n=t,r=new ge(s),o=e[n(263)][n(267)](n(239)),a=e[n(263)][n(267)](n(241));return r[n(256)](n(261)).to(o,n(274)),r[n(256)](n(230)).to(a,n(274)),r[n(256)](n(249),n(262),n(229),n(266)).to(i),this[n(245)](r,n(234),(t,i)=>{const s=n;e[s(234)](s(243)===i?s(241):s(239))}),r}),s[t(242)](),i.on(t(247),(e,i,n)=>{const r=t;n?s[r(273)]():s[r(242)]()})}}var Ae=i(815),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Vt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ee;function Ee(t,e){const i=De();return(Ee=function(t,e){return i[t-=339]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(533447===-parseInt(e(352))/1*(parseInt(e(358))/2)+parseInt(e(343))/3+parseInt(e(339))/4+parseInt(e(355))/5+-parseInt(e(340))/6+-parseInt(e(361))/7*(-parseInt(e(362))/8)+-parseInt(e(349))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ve extends It.LabeledFieldView{[Me(363)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(348)];this[i(342)]({label:at(t,i(351)),_tooltipString:""}),this[i(364)][i(357)]=at(t,i(341)),this[i(360)]({tag:i(345),attributes:{class:[i(359)],"data-cke-tooltip-text":s.to(i(354)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(366)}})}[Me(367)](){const e=Me;super[e(367)](),this[e(363)]=new t.ResizeObserver(this[e(364)][e(347)],()=>this[e(353)]()),this[e(344)](this[e(364)],e(356),()=>this[e(353)]())}[Me(346)](){const t=Me;super[t(346)](),this[t(363)]&&this[t(363)][t(346)]()}[Me(353)](){const t=Me,e=this[t(364)][t(347)];this[t(354)]=e[t(365)]>e[t(350)]&&e[t(368)]||""}}function De(){const t=["_tooltipString","1484515jgXIcR","input","placeholder","3608yGzRvm","ck-revision-history-sidebar__revision-name","extendTemplate","105pebfmr","468808CYgbyI","_resizeObserver","fieldView","scrollWidth","ck-tooltip_multi-line","render","value","2959972pkEqlW","6307908UfzHMx","Enter the revision name","set","1635498gAlUhB","listenTo","span","destroy","element","bindTemplate","2837412TOwWwI","clientWidth","Revision name","311LeUVTv","_updateTooltipText"];return(De=function(){return t})()}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),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=["2004hwHeQK","691930AEziMD","1592412EzAbvy","3242cyruQa","Revision creator","name","ck-revision-history-sidebar__revision-author","span","15uywUes","9044Ccgwqt","set","770855oQdTia","1226401drrDEf","ck-revision-history-sidebar__revision-author_creator","Revision author","774LRUhHL","setTemplate","1926wiEYCD","push","0 0 11 10","137896muZDLD","ck-revision-history-sidebar__revision-author__name"];return(Le=function(){return t})()}function je(t,e){const i=Le();return(je=function(t,e){return i[t-=262]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(808744===-parseInt(e(269))/1+-parseInt(e(283))/2*(-parseInt(e(275))/3)+-parseInt(e(282))/4*(parseInt(e(266))/5)+-parseInt(e(280))/6*(-parseInt(e(267))/7)+parseInt(e(278))/8*(parseInt(e(273))/9)+-parseInt(e(281))/10+-parseInt(e(270))/11)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(268)]({content:_t.IconUser,viewBox:s(277)});const r=["ck",s(264)];i&&r[s(276)](s(271));const o=[{tag:s(265),attributes:{class:["ck",s(279)],title:at(t,s(i?262:272))},children:[n,e[s(263)]]}];this[s(274)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=Ue();return(ze=function(t,e){return i[t-=214]})(t,e)}function Ue(){var t=["toLocaleTimeString","576172tTtrAJ","long","7tMwERS","1766090ihnCCp","2970184xQnRUs","45IvTxPa","toLocaleDateString","2386520mhRkHg","15ccabOS","numeric","29436UhvVCr","678911HSMRce","193752ibvpBK"];return(Ue=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(575102===parseInt(e(216))/1+-parseInt(e(215))/2+parseInt(e(227))/3*(parseInt(e(219))/4)+parseInt(e(226))/5+-parseInt(e(217))/6+-parseInt(e(221))/7*(parseInt(e(223))/8)+-parseInt(e(224))/9*(parseInt(e(222))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);var We=i(505),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=At().bind(null,"head"),Ze.domAPI=xt(),Ze.insertStyleElement=Vt();Ot()(We.A,Ze);We.A&&We.A.locals&&We.A.locals;function He(t,e){const i=qe();return(He=function(t,e){return i[t-=258]})(t,e)}function qe(){const t=["panelPosition","execute","listView","14FMNSoR","find","bind","map","1030TBBKci","add","locale","13941wjatzu","class","isVisible","ck-on","ck-revision-history-sidebar__revision__actions","name","4tVvgnY","change:isActionsDropdownOpen","items","isEnabled","listenTo","buttonView","21697335FPwcAu","isOpen","stopPropagation","children","273998ZEykeX","8315VXOaUO","isActionsDropdownOpen","extendTemplate","1779249DOcSdb","Name this revision","Compare against selected","Show more items","action","_action","function","menu","first","18WtwqcZ","Restore this revision","isReady","874355BsUNUO","set","bindTemplate","source","model","menuitem","button","2218208lgsKnf"];return(qe=function(){return t})()}!function(t){const e=He,i=t();for(;;)try{if(314470===-parseInt(e(285))/1+-parseInt(e(284))/2+-parseInt(e(288))/3*(parseInt(e(274))/4)+-parseInt(e(300))/5*(parseInt(e(297))/6)+parseInt(e(261))/7*(-parseInt(e(307))/8)+-parseInt(e(268))/9*(-parseInt(e(265))/10)+parseInt(e(280))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(898),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),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=Je;function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=257]})(t,e)}function Ge(){const t=["ck-revision-history-sidebar__revision-authors","set","extendTemplate","closest","ck-disabled","creator","isConfirm","bindTemplate","isActionsDropdownOpen","length","ck-revision-history-sidebar__revision__controls-wrapper","revisionActionsView","2rBAoUt","highlight","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__actions_dropdown_open","unhighlight","ck-revision-history-sidebar__revision_highlighted","4473948tVGlez","ck-revision-history-sidebar__revision","change","bind","796226LnVHVw","createdAt","2257770thWbav","fieldView","deselect","ck-revision-history-sidebar__revision-wrapper","4212xiYBBM","uiLanguage","render","2414564VcYTki","srcElement","11600qlwyWT","unshift","value","isEnabled","name","setName","ck-revision-history-sidebar__revision_selected","20978570UgviaJ","filter","_revision","_createdAtFormatted","authors","_requireRevisionName","from","setTemplate","span","isHighlighted","map","listenTo","element","220","div","isSelected","7ZbbCSo","select","revisionNameView","ck-reset","fire","ck-revision-history-sidebar__revision-wrapper_confirmation_visible",".ck-confirm-view","isReady","2552115gDbxBZ"];return(Ge=function(){return t})()}!function(t){const e=Je,i=t();for(;;)try{if(436075===-parseInt(e(310))/1+parseInt(e(300))/2*(parseInt(e(287))/3)+parseInt(e(319))/4+parseInt(e(312))/5+parseInt(e(306))/6*(parseInt(e(279))/7)+-parseInt(e(321))/8*(-parseInt(e(316))/9)+-parseInt(e(263))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(281)];[Ye(299)];[Ye(265)];[Ye(268)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(295)],a=function(t,e){const i=r,s=Array[i(269)](e[i(267)])[i(264)](t=>t!=e[i(293)]);return e[i(293)]&&s[i(257)](e[i(293)]),s[i(273)](s=>new Pe(t,s,s==e[i(293)]))}(e,i);this.id=i.id,this[r(265)]=i,this[r(268)]=n,this[r(309)](r(260),r(311)).to(i),this[r(309)](r(266)).to(this,r(311),t=>{return i=e[r(317)],(s=t)[(n=ze)(225)](i,{month:n(220),day:n(214)})+", "+s[n(218)](i,{hour:n(214),minute:n(214)});var i,s,n}),this[r(289)](r(278),!1),this[r(289)](r(272),!1),this[r(289)](r(296),!1),this[r(289)](r(286),!1),this[r(289)](r(259),!1),this[r(281)]=new Ve(e,It.createLabeledInputText),this[r(281)][r(313)][r(290)]({attributes:{maxlength:r(276)}}),this[r(281)][r(313)][r(309)](r(258)).to(this,r(260),t=>t||this[r(266)]),this[r(281)][r(309)](r(259)).to(this,r(278),this,r(259),(t,e)=>t&&e),this[r(299)]=s&&s[r(297)]?function(e,i){const s=He,n=e[s(302)],r=e[s(267)],o=(0,It.createDropdown)(r);o[s(258)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=He,s=t[i(267)],n={"Compare against selected":at(s,i(290)),"Name this revision":at(s,i(289)),"Restore this revision":at(s,i(298))};return e[i(264)](t=>{const e=i,s=n[t[e(273)]];return s&&s!==t[e(273)]&&(t[e(273)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(306),model:new It.UIModel({label:t[n(273)],class:t[n(269)],withText:!0,role:n(305),_action:t[n(292)]})};i[n(304)][n(263)](n(277)).to(e,n(286),i=>n(294)!=typeof t[n(277)]||!i||t[n(277)](e)),o[n(266)](i)}return o}(e,i);return e[s(263)](s(286)).to(o,s(281)),o[s(279)][s(301)]({label:at(r,s(291)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(287)]({attributes:{class:[s(272),n.if(s(286),s(271))]},on:{click:n.to(t=>t[s(282)]())}}),o.on(s(259),t=>{const i=s;e[i(299)]&&i(294)==typeof t[i(303)][i(293)]&&t[i(303)][i(293)](e)}),(0,It.addListToDropdown)(o,a,{role:s(295)}),o[s(278)](e,s(275),(t,n,r)=>{const a=s;if(r)for(const t of o[a(260)][a(276)]){const s=t[a(283)][a(296)],n=i[a(262)](t=>t[a(292)]===s[a(293)])[a(270)];t[a(270)]=void 0===n||n(e)}}),o}(this,s):"",this[r(299)]&&this[r(299)][r(309)](r(259)).to(this),this[r(270)]({tag:r(277),attributes:{class:["ck",r(282),r(315),o.if(r(294),r(284))]},children:[{tag:r(277),attributes:{class:["ck",r(282),r(307),o.if(r(259),r(292),t=>!t),o.if(r(278),r(262)),o.if(r(272),r(305)),o.if(r(296),r(303))]},children:[this[r(281)],{tag:r(271),attributes:{class:["ck",r(302)]},children:[{text:o.to(r(266))}]},{tag:r(277),attributes:{class:["ck",r(298)]},children:[{tag:"ul",attributes:{class:["ck",r(288)]},children:a}]},this[r(299)]],on:{click:o.to(t=>{const e=r;t[e(320)][e(291)](e(285))||this[e(286)]&&this[e(259)]&&this[e(283)](e(280),{id:this.id})})}}]})}[Ye(318)](){const t=Ye;super[t(318)]();const e=this[t(281)][t(313)][t(275)];this[t(274)](e,t(308),()=>{const i=t;this[i(268)]&&!e[i(258)]||this[i(283)](i(261),{id:this.id,name:e[i(258)]}),e[i(258)]||(e[i(258)]=this[i(260)]?this[i(260)]:this[i(266)])})}[Ye(280)](){this[Ye(278)]=!0}[Ye(314)](){this[Ye(278)]=!1}[Ye(301)](){this[Ye(272)]=!0}[Ye(304)](){this[Ye(272)]=!1}}class Qe extends Error{}class Xe extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Qe{}class 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},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 Ei=null;class Vi extends Mi{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 Xs(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 Mi{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 Xs(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 Wi=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=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=Wi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.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 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":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ps(s)||vs.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Zi=null,Pi.clear(),Ui.clear(),Wi.clear(),Hi.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={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Xi=null;class ts extends Mi{static get utcInstance(){return null===Xi&&(Xi=new ts(0)),Xi}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(Es(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?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=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 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 Rs(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 Ms(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 Ws(t){return Es(t)||null===t||""===t?void 0:parseInt(t,10)}function Zs(t){return Es(t)||null===t||""===t?void 0:parseFloat(t)}function Hs(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 Ks(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 Xs(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: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 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]]=Ws(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})\\])?)?`}`),Rn=RegExp(`(?:T${An.source})?`),Mn=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:Ws(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 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(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 Wn={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?Qs(Ws(e)):Ws(e),month:an.indexOf(i)+1,day:Ws(s),hour:Ws(n),minute:Ws(r)};return o&&(a.second=Ws(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?Wn[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[Zn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(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),Qn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Xn=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,Ln,jn),ir=Sn(Mn,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 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 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 Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,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 Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(n);case"u":return Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return 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=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(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 Wr(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(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 Kr(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 Xr(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(Wr(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=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=!!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:Wr(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(Wr(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(Wr(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,Ks(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):Rs(n),b=k||Ms(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,[Kn,er],[Qn,ir],[Xn,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),[Hn,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 Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(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?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?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?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(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=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+=Xr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Xr(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?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")),Kr(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 Ri}}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-=375]})(t,e)}function vo(){const t=["hasSame","weekdayLong","91940bAAuKj","monthLong","2283736xnOhae","startOf","3368695vYtCWj","42eCgeRW","fromJSDate","minus","local","171fotMsH","3OBoZdK","6011232BMNgip","year","month","week","setLocale","338792geiWmf","140945cXwWCB","toJSDate","7qvQYSs","425178FUlzCj","toRelativeCalendar","day"];return(vo=function(){return t})()}function go(t,e){const i=po,s=fo[i(379)](t)[i(388)](e),n=fo[i(381)](),r=n[i(380)]({days:1})[i(376)](i(395));let o,a;return s[i(396)](n,i(395))?(o=s[i(376)](i(395))[i(391)](),a=s[i(394)]()):s[i(396)](r,i(395))?(o=r[i(391)](),a=s[i(394)]()):s[i(396)](n,i(387))?(o=s[i(376)](i(387))[i(391)](),a=s[i(397)]||""):s[i(396)](n,i(385))?(o=s[i(376)](i(386))[i(391)](),a=s[i(399)]||""):(o=s[i(376)](i(385))[i(391)](),a=String(s[i(385)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(403680===parseInt(e(383))/1*(parseInt(e(389))/2)+parseInt(e(393))/3+parseInt(e(375))/4+-parseInt(e(390))/5*(parseInt(e(378))/6)+parseInt(e(392))/7*(-parseInt(e(384))/8)+-parseInt(e(382))/9*(parseInt(e(398))/10)+parseInt(e(377))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(52),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),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=Io();return(wo=function(t,e){return i[t-=258]})(t,e)}!function(t){const e=wo,i=t();for(;;)try{if(842064===parseInt(e(289))/1*(parseInt(e(278))/2)+-parseInt(e(264))/3+-parseInt(e(265))/4*(-parseInt(e(262))/5)+-parseInt(e(268))/6*(-parseInt(e(267))/7)+-parseInt(e(280))/8*(-parseInt(e(260))/9)+-parseInt(e(270))/10*(-parseInt(e(272))/11)+-parseInt(e(258))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class _o extends It.View{[bo(271)];[bo(273)];[bo(269)];[bo(277)];constructor(t,e,i,s){const n=bo;super(t);const r=go(e,this[n(284)][n(266)])[n(263)];this[n(271)]=e,this[n(273)]=this[n(285)](),this[n(269)]=i,this[n(277)]=s,this[n(273)][n(288)](n(275)).to(this),this[n(273)][n(288)](n(287)).to(this),this[n(282)]({tag:n(279),attributes:{class:["ck",n(291)]},children:[{tag:n(261),attributes:{class:["ck",n(286)]},children:[{text:r}]},{tag:n(279),attributes:{class:["ck",n(281)]},children:this[n(273)]}]})}[bo(274)](t){const e=bo,i=new Ke(this[e(284)],t,this[e(269)],this[e(277)]);this[e(273)][e(290)](i)}[bo(276)](t){const e=bo,i=this[e(273)][e(259)](e=>e.id===t.id);this[e(273)][e(283)](i)}}function Io(){const t=["255879ysZGih","4bDDCpm","uiLanguage","749zhixAC","16062ijYglE","_revisionActions","70tPvRPP","startDate","736703kmMBbU","revisionViews","addRevision","select","removeRevision","_requireRevisionName","2394906mduceo","div","1409712vyFoio","ck-revision-history-sidebar__time-period__revisions","setTemplate","remove","locale","createCollection","ck-revision-history-sidebar__time-period__label","setName","delegate","1epxcLF","add","ck-revision-history-sidebar__time-period","33184884mnxaCO","find","63xpehAK","span","2532815LoKJEm","localizedPeriodName"];return(Io=function(){return t})()}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),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(t,e){const i=xo();return(To=function(t,e){return i[t-=355]})(t,e)}function xo(){const t=["920936sovRKK","67038aoKKqD","ck-revision-history-sidebar__header","Revision history","799708eDSCpT","content","1397040AsTbgq","div","350ZezOYh","5216175yHoXTY","ck-reset_all","span","setTemplate","7QPiVUD","ck-revision-history-sidebar__header__label","6GaKPql","46002BGLmqd","5uegnmP","254454iiVDqe"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(359103===parseInt(e(369))/1+parseInt(e(372))/2+-parseInt(e(364))/3*(parseInt(e(355))/4)+-parseInt(e(366))/5*(-parseInt(e(367))/6)+parseInt(e(362))/7*(parseInt(e(368))/8)+parseInt(e(358))/9+-parseInt(e(357))/10*(parseInt(e(365))/11))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(373)]=_t.IconHistory,this[e(361)]({tag:e(356),attributes:{class:["ck",e(359),e(370)]},children:[i,{tag:e(360),attributes:{class:["ck",e(363)]},children:[at(t,e(371))]}]})}}var Ao=i(692),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Vt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;function Mo(t,e){const i=Eo();return(Mo=function(t,e){return i[t-=184]})(t,e)}function Eo(){const t=["removeRevision","select","some","unhighlight","1344444gxqeId","2554616ronJrt","fire","get","setName","selectRevision","set","ck-revision-history-sidebar__timeline","_getTimePeriodViewByStartDate","highlight","createCollection","render","addRevision","delegate","remove","bindTemplate","deselect","ck-rounded-corners","setTemplate","div","add","12368216VYfoXS","find","_addRevision","ck-revision-history-sidebar","highlightRevisions","_revisions","_requireRevisionName","locale","flat","_revisionActions","10wNacqS","revisionSelected","ck-disabled","2469032MlcYBo","984867HUwAOu","startDate","isEnabled","1362102blJxKK","createdAt","_removeRevision","timePeriodViews","ck-reset","revisionViews","getTime","map","4576831EAhyPt","revisionSetName","uiLanguage"];return(Eo=function(){return t})()}const Vo=Mo;!function(t){const e=Mo,i=t();for(;;)try{if(951070===-parseInt(e(206))/1+-parseInt(e(225))/2+-parseInt(e(224))/3+-parseInt(e(205))/4*(-parseInt(e(202))/5)+parseInt(e(209))/6+parseInt(e(217))/7+parseInt(e(192))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends It.View{[Vo(212)];[Vo(197)];[Vo(201)];[Vo(198)];constructor(t,e,i,s){const n=Vo;super(t);const r=this[n(186)];this[n(212)]=this[n(234)](),this[n(212)][n(184)](n(221)).to(this),this[n(212)][n(184)](n(228)).to(this),this[n(197)]=e,this[n(201)]=i,this[n(198)]=s,this.on(n(221),(t,e)=>{const i=n;this[i(226)](i(203),e)}),this.on(n(228),(t,e)=>{const i=n;this[i(226)](i(218),e)}),this[n(230)](n(208),!1),this[n(189)]({tag:n(190),attributes:{class:["ck",n(213),n(188),n(195)]},children:[new No(t),{tag:n(190),attributes:{class:["ck",n(231),r.if(n(208),n(204),t=>!t)]},children:this[n(212)]}]})}[Vo(235)](){const t=Vo;super[t(235)]();for(const e of this[t(197)])this[t(194)](e);this[t(197)].on(t(191),(e,i)=>{this[t(194)](i)}),this[t(197)].on(t(185),(e,i)=>{this[t(211)](i)})}get[Vo(214)](){const t=Vo;return this[t(212)][t(216)](e=>e[t(214)][t(216)](t=>t))[t(200)]()}[Vo(229)](t){const e=Vo;for(const i of this[e(214)])t&&t.id===i.id?i[e(221)]():i[e(187)]()}[Vo(196)](t){const e=Vo;for(const i of this[e(214)])t[e(222)](({id:t})=>t===i.id)?i[e(233)]():i[e(223)]()}[Vo(194)](t){const e=Vo,i=go(t[e(210)],this[e(199)][e(219)])[e(207)];let s=this[e(212)][e(227)](0);s&&s[e(207)][e(215)]()===i[e(215)]()||(s=new _o(this[e(199)],i,this[e(201)],this[e(198)]),this[e(212)][e(191)](s)),s[e(236)](t)}[Vo(211)](t){const e=Vo,i=go(t[e(210)],this[e(199)][e(219)])[e(207)];this[e(232)](i)[e(220)](t)}[Vo(232)](t){const e=Vo;return this[e(212)][e(193)](i=>i[e(207)][e(215)]()===t[e(215)]())}}const Co=Lo;function Fo(){const t=["locale","Restore this revision","name","getRevisionsInDiff","getRevision","init","element","isPremiumPlugin","isOfficialPlugin","newRevisionId","_sidebarView","RevisionsSidebar","ready","compareAgainstSelected","revisionHistory.revisionActions","revisionViews","_revisionViewer","_handleDiffChange","editor","revisionHistory","remove","highlightRevisions","fieldView","appendChild","pluginName","isVisible","render","getLaterVisibleRevision","string","get","defaultRevisionActions","6IzKlqQ","selectRevision","revisionHistory.requireRevisionName","change:diff","_handleRevisionSetName","config","revisionSelected","_revisions","listenTo","2387203Rxglxt","2505237bJXfgM","getEarlierVisibleRevision","bind","focus","requires","plugins","setName","select","_handleRevisionSelected","Compare against selected","compare","repository","assign","604330WRqExA","availableRevisionActions","length","isReady","3314564jBAIQm","getIndex","27dSHZjC","revisionHistory.viewerSidebarContainer","restoreRevisionCallback","Name this revision","2837608aovJUI","_createRevisionActions","nameRevision","timePeriodViews","_handleEditorDataReady","map","action","1114134hKcyvw","_revisionsRepository","add","data","restoreRevision","revisionSetName","isEnabled","isSelected","671980HjuzSc","diff","destroy"];return(Fo=function(){return t})()}function Lo(t,e){const i=Fo();return(Lo=function(t,e){return i[t-=420]})(t,e)}!function(t){const e=Lo,i=t();for(;;)try{if(534977===-parseInt(e(471))/1+parseInt(e(488))/2+-parseInt(e(458))/3+parseInt(e(475))/4+-parseInt(e(496))/5*(parseInt(e(448))/6)+-parseInt(e(457))/7+-parseInt(e(481))/8*(-parseInt(e(477))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class jo extends G.Plugin{[Co(433)];[Co(489)];[Co(427)];static[Co(447)]=[Co(430),Co(492),Co(483)];static[Co(472)]=function(){const t=Co;return{compareAgainstSelected:{name:t(467),action:({plugins:e},i)=>{const s=t,n=e[s(446)](ae),r=n[s(469)];let o=n[s(497)][s(426)],a=i.id;r[s(476)](o)>r[s(476)](a)&&([o,a]=[a,o]),n[s(468)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(446)](ae);return!(n[s(469)][s(420)](n[s(497)])[s(473)]>2||i[s(495)])}},restoreRevision:{name:t(500),action:(e,{id:i})=>{const s=t;e[s(453)][s(446)](s(436))[s(479)](i)},isVisible:({plugins:e},i)=>!!e[t(446)](ae)[t(469)][t(444)](i.id)},nameRevision:{name:t(480),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(446)](ae),o=r[n(469)][n(459)](i);r[n(468)](i,o),s[n(461)](),s[n(439)][n(465)]()}}}}();static get[Co(441)](){return Co(428)}static get[Co(425)](){return!0}static get[Co(424)](){return!0}static get[Co(462)](){return[ae]}constructor(t){const e=Co;super(t),this[e(433)]=t[e(463)][e(446)](ae),this[e(489)]=this[e(433)][e(469)],this[e(427)]=null}[Co(422)](){const t=Co,e=this[t(489)][t(455)],i=this[t(482)](),s=this[t(435)][t(453)][t(446)](t(478));this[t(427)]=new Do(this[t(435)][t(499)],e,i,this[t(435)][t(453)][t(446)](t(450))),this[t(427)].on(t(454),this[t(466)][t(460)](this)),this[t(427)].on(t(493),this[t(452)][t(460)](this)),this[t(427)][t(460)](t(494)).to(this[t(433)]),this[t(427)][t(484)].on(t(490),(e,i)=>{const s=t;i[s(432)].on(s(490),(t,e)=>{const i=s;e[i(460)](i(494),i(474)).to(this[i(433)])})}),this[t(427)][t(443)](),this[t(456)](this[t(435)][t(491)],t(429),this[t(485)][t(460)](this)),this[t(456)](this[t(433)],t(451),this[t(434)][t(460)](this)),s[t(440)](this[t(427)][t(423)])}[Co(498)](){const t=Co;this[t(427)][t(423)][t(437)](),this[t(427)][t(498)]()}[Co(485)](){const t=Co,e=this[t(489)][t(421)](0);if(e){const i=this[t(489)][t(459)](e.id);this[t(433)][t(468)](e,i)}}[Co(466)](t,e){const i=Co,s=this[i(489)][i(421)](e.id),n=this[i(489)][i(459)](s.id);this[i(433)][i(468)](s,n)}[Co(452)](t,e){const i=Co;this[i(489)][i(421)](e.id)[i(464)](e[i(501)])}[Co(434)](t,e,i){const s=Co,n=this[s(489)][s(420)](i);n[s(473)]>2?(this[s(427)][s(438)](n),this[s(427)][s(449)](null)):(this[s(427)][s(438)]([]),this[s(427)][s(449)](n[0]))}[Co(482)](){const t=Co,e=this[t(435)],i=jo[t(472)],s=e[t(453)][t(446)](t(431))||jo[t(447)];if(s[t(473)])return s[t(486)](s=>{const n=t,r=n(445)==typeof s?Object[n(470)]({},i[s]):s;return r[n(487)]=r[n(487)][n(460)](this,e),r[n(442)]&&(r[n(442)]=r[n(442)][n(460)](this,e)),r})}}function Po(){const t=["4qptlih","viewportOffset","toolbar","isActive","fillFromConfig","2042jahbXG","editor","_view","1210tQdrLD","addToolbar","49hrGbhb","333654GzGPyN","restore","get","replace","stickyPanel","isFocused","render","fire","rootName","8535zzLVeE","element","limiterElement","destroy","document","componentFactory","20nUVsDZ","config","init","ready","_elementReplacer","_initToolbar","3868209kcnCRs","1686231xZrwFF","detachDomRoot","editable","editing","getRoot","setEditableElement","name","focusTracker","viewportTopOffset","192408vuYxFw","2472952gPSeUI","_toolbarConfig","bind","attachDomRoot","view","852aLGTJp"];return(Po=function(){return t})()}const zo=Uo;function Uo(t,e){const i=Po();return(Uo=function(t,e){return i[t-=484]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(494698===-parseInt(e(532))/1*(parseInt(e(526))/2)+parseInt(e(511))/3*(-parseInt(e(527))/4)+parseInt(e(498))/5+parseInt(e(489))/6*(-parseInt(e(488))/7)+-parseInt(e(521))/8+parseInt(e(510))/9*(parseInt(e(504))/10)+parseInt(e(486))/11*(parseInt(e(520))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Wo extends It.EditorUI{[zo(485)];[zo(522)];[zo(508)];get[zo(525)](){return this[zo(485)]}constructor(e,i){const s=zo;super(e),this[s(485)]=i,this[s(522)]=(0,It.normalizeToolbarConfig)(e[s(505)][s(491)](s(529))),this[s(508)]=new t.ElementReplacer}get[zo(499)](){const t=zo;return this[t(525)][t(499)]}[zo(506)](t){const e=zo,i=this[e(484)],s=this[e(525)],n=i[e(514)][e(525)],r=s[e(513)],o=n[e(502)][e(515)]();r[e(517)]=o[e(497)],s[e(495)]();const a=r[e(499)];this[e(516)](r[e(517)],a),s[e(513)][e(523)](e(494)).to(this[e(518)]),n[e(524)](a),this[e(508)][e(492)](t,this[e(499)]),this[e(509)](),this[e(496)](e(507))}[zo(501)](){const t=zo;super[t(501)]();const e=this[t(525)],i=this[t(484)][t(514)][t(525)];this[t(508)][t(490)](),i[t(512)](e[t(513)][t(517)]),e[t(501)]()}[zo(509)](){const t=zo,e=this[t(525)];e[t(493)][t(523)](t(530)).to(this[t(518)],t(494)),e[t(493)][t(500)]=e[t(499)],e[t(493)][t(523)](t(519)).to(this,t(528),({top:t})=>t),e[t(529)][t(531)](this[t(522)],this[t(503)]),this[t(487)](e[t(529)])}}var Zo=i(324),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=At().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Vt();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-=198]})(t,e)}function Bo(){var t=["16102716Umpvju","105bjdabW","_editable","10062060ddluGd","2DvdiuC","13008645DtMMiE","add","871144yeWOyX","main","editable","content","shouldToolbarGroupWhenFull","1071585GhDUuM","823633cbNWPn","16ohEHTd","render","935958VesjSP","55olDoZp","toolbar","stickyPanel","33odnTor","top"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(886393===parseInt(e(212))/1*(parseInt(e(203))/2)+-parseInt(e(211))/3*(parseInt(e(213))/4)+-parseInt(e(216))/5*(parseInt(e(215))/6)+parseInt(e(200))/7*(parseInt(e(206))/8)+-parseInt(e(204))/9+-parseInt(e(202))/10+parseInt(e(219))/11*(parseInt(e(199))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[qo(201)];[qo(218)];[qo(217)];get[qo(208)](){return this[qo(201)]}constructor(t,e,i={}){var s=qo;super(t),this[s(218)]=new It.StickyPanelView(t),this[s(217)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(210)]}),this[s(201)]=new It.InlineEditableUIView(t,e)}[qo(214)](){var t=qo;super[t(214)](),this[t(218)][t(209)][t(205)](this[t(217)]),this[t(198)][t(205)](this[t(218)]),this[t(207)][t(205)](this[t(208)])}}const Jo=Ko;function Go(){const t=["9666rwhjJv","41016mPrKep","2695cUJfRW","5284880rjLgcN","data","initialData","_ui","view","updateSourceElement","242PqMPdq","4402ECPEBY","locale","sourceElement","get","2285WxtqpE","67240XJsUaW","config","init","579PramEw","fire","180puuduM","editing","createRoot","document","destroy","238503iTvmGs","ready","1652xeAETC","initPlugins","create","model"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=427]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(337494===parseInt(e(430))/1+parseInt(e(446))/2*(-parseInt(e(454))/3)+parseInt(e(432))/4*(parseInt(e(450))/5)+-parseInt(e(436))/6*(-parseInt(e(438))/7)+parseInt(e(451))/8*(parseInt(e(456))/9)+-parseInt(e(439))/10+parseInt(e(445))/11*(parseInt(e(437))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Qo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(442)];get ui(){return this[Jo(442)]}constructor(t,e){const i=Jo;super(e),this[i(448)]=t,this[i(435)][i(428)][i(427)]();const s=new Yo(this[i(447)],this[i(457)][i(443)],{shouldToolbarGroupWhenFull:!0});this[i(442)]=new Wo(this,s)}[Jo(429)](){const t=Jo;return this[t(444)](),this.ui[t(429)](),super[t(429)]()}static async[Jo(434)](t,e){const i=Jo,s=new this(t,e);return await s[i(433)](),await s.ui[i(453)](t),await s[i(440)][i(453)](s[i(452)][i(449)](i(441))||""),s[i(455)](i(431)),s}}const Xo=ea;function ta(){const t=["toVersion","locale","refreshVisibility","revision-history-viewer-opened","enqueueChange","2912085mldiGa","rootName","removeAttribute","view","25xMybdq","create","_showRevisionViewer","querySelector","markers","_recalculatePageBreaks","saveRevision","revisionHistory.viewerContainer","RevisionTracker","replace","getRevision","pluginName","_enhanceShowRevisionViewerCallback","Users","getMarkersGroup","loadRevisionData","revisionHistory.restoreRevisionCallback","Autosave","isOpen","indexOf","4104Gxqmsb","addUser","isAnonymous","repository","7354580GzTZLG","_restoreRevision","destroy","revisionHistory.viewerEditorElement","15112rLmWCL","numeric","$graveyard","element","selection","isAttached","init","keys","_cleanUp","end","addRevisionData","toLocaleTimeString","model","update","RevisionViewerIntegration","RevisionViewer","showRevisionViewerCallback","then","Annotations","translations","revisionHistory.editorContainer","bind","map","tabindex","400688BArZOY","removeMarker","includes","Dialog","document","block","editor","addRoot","RevisionHistoryUtils","_closeRevisionViewer","toolbar","setAttribute","roots","revisionHistory.showRevisionViewerCallback","detachRoot","DocumentOutline",".ck-ai-chat-history .ck-input","getRevisionDocumentData","isRevisionViewerOpen","4693227RnBnqS","commands","long","insert","uiLanguage","fromVersion","name","isReady","_viewerEditor","setSelection","RevisionsRepository","AIQuickActions","restoreRevision","AIChat","change","style","none","DocumentOutlineUI","parse","changesNavigation","getRevisionRootsAttributes","lazyRoots","134005KLNMmo","join","panelViews","has","RestrictedEditingMode","define","_getRevisionViewerEditorConfig","data","restrictedEditingException","class","toJSON","result","getRoot","getRevisions","config","RevisionHistoryUI","catch",".ck-ai-chat__prompt-input .ck-textarea","adapter","789090vmYGJB","error","AIActions","revisionHistory.closeRevisionViewerCallback","toLocaleDateString","fromCharCode","getUser","push","revision-history-missing-configuration","isEnabled","closeRevisionViewerCallback","AIChatHistory","save","removeSelectionAttribute","disableReadOnlyMode","RevisionHistory","getAttributeKeys","Restored","refreshPositioning","isPremiumPlugin","exitToEditing","ck-tab-panel_disabled","_enhanceCloseRevisionViewerCallback"," ck-tab-panel_disabled","revisionHistory.requireRevisionName","plugins","users","revisionHistory","AIBalloon","requires","set","isOfficialPlugin","AIReviewMode","createdAt","PaginationLookup","2FTSKbh","_update","AITabs","hide","isReadOnly","display","remove","creator","enableReadOnlyMode","createRangeIn","get","from"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=454]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(530228===parseInt(e(620))/1*(-parseInt(e(506))/2)+-parseInt(e(523))/3+-parseInt(e(579))/4*(parseInt(e(527))/5)+-parseInt(e(471))/6+parseInt(e(598))/7+-parseInt(e(555))/8*(-parseInt(e(547))/9)+parseInt(e(551))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Xo(467),Xo(456),Xo(611),Xo(503),Xo(499),Xo(609),Xo(473)];class sa extends G.Plugin{[Xo(463)];static get[Xo(538)](){return Xo(569)}static get[Xo(502)](){return!0}static get[Xo(490)](){return!0}constructor(t){const e=Xo;function i(t){const e=ea;return t[e(577)](t=>String[e(476)](t))[e(621)]("")}super(t),this[e(463)]=e(564),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{[Xo(606)];static get[Xo(538)](){return Xo(486)}static get[Xo(502)](){return!0}static get[Xo(490)](){return!0}static get[Xo(500)](){return[vt,Ht]}constructor(e){const i=Xo;if(super(e),!this[i(585)][i(466)][i(516)](i(498)))throw new t.CKEditorError(i(479),this);this[i(606)]=null,this[i(501)](i(597),!1),this[i(585)][i(466)][i(457)](i(592),t=>this[i(529)]({...t,translations:this[i(585)][i(519)][i(574)]})),this[i(585)][i(466)][i(457)](i(474),t=>this[i(588)](t)),this[i(585)][i(466)][i(457)](i(543),t=>this[i(552)](t)),this[i(585)][i(466)][i(457)](i(495),!1),this[i(539)](),this[i(493)]()}set[Xo(470)](t){const e=Xo;this[e(585)][e(496)][e(516)](e(535))[e(470)]=t}get[Xo(470)](){const t=Xo;return this[t(585)][t(496)][t(516)](t(535))[t(470)]}[Xo(565)](t){const e=Xo;return this[e(585)][e(496)][e(516)](e(535))[e(565)](t)}[Xo(537)](t){const e=Xo;return this[e(585)][e(496)][e(516)](e(608))[e(537)](t)}[Xo(465)](t){const e=Xo;return this[e(585)][e(496)][e(516)](e(608))[e(465)](t||{toJSON:!1})}[Xo(458)](){const e=Xo,i=this[e(585)],s=(0,K.sanitizeEditorConfig)(i,ia),n=i[e(496)][e(516)](e(535)),r=i[e(496)][e(516)](e(540))[e(497)];return s[e(589)]=[e(491),e(610),e(617)],delete s[e(619)],s[e(496)][e(478)](sa,ae,Ne,class extends G.Plugin{static get[e(500)](){return[ae,e(540)]}[e(561)](){const s=e,o=this[s(585)][s(496)][s(516)](s(540));for(const t of r)t[s(549)]||o[s(477)](t.id)||o[s(548)](t);const a=n[s(550)][s(465)]();let c=null;const u=this[s(585)][s(496)][s(516)](s(570));u[s(470)]=n[s(470)],u[s(576)](s(480)).to(n),this[s(585)][s(599)][s(516)](s(610))[s(576)](s(480)).to(i,s(510),t=>!t);for(const e of a){const i=null===e[s(513)];if(i&&e[s(518)]===e[s(603)])continue;const r=e[s(462)]();u[s(565)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(507)](r,o);else if(!o){const e=a[u(462)]();e.id=(0,t.uid)(),n[u(533)](e,a[u(518)])[u(572)](t=>{c=t})}}else e[u(507)](r,o)})}}},jo),s}[Xo(539)](){const t=Xo,e=this[t(585)][t(466)][t(516)](t(498))[t(571)];this[t(585)][t(466)][t(501)](t(592),async()=>{const i=t;this[i(585)][i(514)](i(521));const s=this[i(585)][i(496)][i(516)](i(535));if(this[i(585)][i(496)][i(455)](i(544))){const t=this[i(585)][i(496)][i(516)](i(544));await t[i(483)]()}else await s[i(568)]();if(this[i(585)][i(496)][i(455)](i(505))&&this[i(585)][i(496)][i(516)](i(505))[i(532)](),this[i(585)][i(496)][i(455)](i(582))){const t=this[i(585)][i(496)][i(516)](i(582));t[i(545)]&&t[i(509)]()}if(this[i(585)][i(496)][i(455)](i(508))){const t=this[i(585)][i(496)][i(516)](i(508))[i(526)][i(454)];for(const e of t)e[i(461)]=e[i(461)]?e[i(461)]+i(494):i(492);if(this[i(585)][i(496)][i(455)](i(611))){const t=document[i(530)](i(469));t&&t[i(590)](i(578),"-1")}if(this[i(585)][i(496)][i(455)](i(482))){const t=document[i(530)](i(595));t&&t[i(590)](i(578),"-1")}}const n=this[i(458)]();return e(n)[i(572)](t=>{const e=i;return this[e(606)]=t,this[e(585)][e(496)][e(455)](e(573))&&this[e(585)][e(496)][e(516)](e(573))[e(520)](),this[e(585)][e(496)][e(455)](e(594))&&(this[e(585)][e(496)][e(516)](e(615))[e(526)][e(558)][e(613)][e(511)]=e(614)),t})[i(468)](t=>(console[i(472)](t),this[i(585)][i(485)](i(521)),null))})}[Xo(493)](){const t=Xo,e=this[t(585)][t(466)][t(516)](t(498))[t(481)];this[t(585)][t(466)][t(501)](t(474),()=>{const i=t;if(this[i(585)][i(496)][i(455)](i(505))&&this[i(585)][i(496)][i(516)](i(505))[i(532)](),this[i(585)][i(496)][i(455)](i(594))&&(this[i(585)][i(496)][i(516)](i(615))[i(526)][i(558)][i(613)][i(511)]=""),this[i(585)][i(496)][i(455)](i(508))){const t=this[i(585)][i(496)][i(516)](i(508))[i(526)][i(454)];for(const e of t)e[i(461)]=i(492)===e[i(461)]?"":e[i(461)][i(536)](i(494),"");if(this[i(585)][i(496)][i(455)](i(611))){const t=document[i(530)](i(469));t&&t[i(525)](i(578))}if(this[i(585)][i(496)][i(455)](i(482))){const t=document[i(530)](i(595));t&&t[i(525)](i(578))}}return this[i(606)][i(496)][i(516)](i(570))[i(563)](),e(this[i(606)])[i(572)](()=>{const t=i;if(this[t(585)][t(485)](t(521)),this[t(606)]=null,this[t(585)][t(496)][t(455)](t(573))){const e=this[t(585)][t(496)][t(516)](t(573));e[t(520)](),e[t(489)]()}})})}[Xo(529)](t){const e=Xo,i=this[e(585)][e(466)][e(516)](e(575)),s=this[e(585)][e(466)][e(516)](e(534)),n=this[e(585)][e(466)][e(516)](e(554));return Qo[e(528)](n,t)[e(572)](t=>(s[e(613)][e(511)]=e(584),i[e(613)][e(511)]=e(614),this[e(597)]=!0,t))}[Xo(588)](t){const e=Xo,i=this[e(585)][e(466)][e(516)](e(575));return this[e(585)][e(466)][e(516)](e(534))[e(613)][e(511)]=e(614),i[e(613)][e(511)]="",this[e(597)]=!1,t[e(553)]()}async[Xo(552)](t){const e=Xo,i=this[e(585)],s=this[e(606)][e(496)][e(516)](e(570)),n=i[e(496)][e(516)](e(535)),r=i[e(496)][e(516)](e(587)),o=s[e(550)][e(537)](t);let a,c,u;try{await r[e(542)](o,this[e(470)]),a=r[e(596)](o),c=r[e(618)](o)}catch(t){return void console[e(472)](t)}i[e(567)][e(612)](t=>{const s=e;for(const e of Array[s(517)](i[s(567)][s(531)][s(541)](s(460))))t[s(580)](e)}),s[e(605)]=!1,i[e(567)][e(522)](t=>{const s=e;t[s(607)](null),t[s(484)](i[s(567)][s(583)][s(559)][s(487)]());const n=Object[s(562)](a);for(const e of i[s(567)][s(583)][s(591)])s(557)!=e[s(524)]&&e[s(560)]()&&!n[s(581)](e[s(524)])&&t[s(593)](e);for(const e of n){let n=i[s(567)][s(583)][s(464)](e);n&&n[s(560)]()||(n=t[s(586)](e));const r=c[e],o=Object[s(562)](r),u=a[e];for(const e of n[s(487)]())o[s(581)](e)||t[s(525)](e,n);for(const i of o)t[s(590)](i,c[e][i],n);t[s(512)](t[s(515)](n)),t[s(601)](i[s(459)][s(616)](u,n),n,0)}});const l=at(i[e(519)],e(488));return u=o[e(604)]?-1==o[e(604)][e(546)](l)?l+": "+o[e(604)]:o[e(604)]:l+": "+o[e(504)][e(475)](i[e(519)][e(602)],{month:e(600),day:e(556)})+", "+o[e(504)][e(566)](i[e(519)][e(602)],{hour:e(556),minute:e(556)}),await n[e(533)]({name:u}),s[e(605)]=!0,i[e(466)][e(516)](e(498))[e(481)]()}}function ra(){var t=["279936uYbbQP","3201UEBZpf","17465rxvkCn","294033EEDMtY","7deFXBW","13868ztYfVT","709974ryGTEO","14410bpSZaN","813816AAAKGu","236poeOIg","7yUYKPO"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=273]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(132524===parseInt(e(277))/1*(parseInt(e(283))/2)+parseInt(e(281))/3+-parseInt(e(276))/4*(parseInt(e(280))/5)+-parseInt(e(278))/6+parseInt(e(282))/7*(-parseInt(e(275))/8)+-parseInt(e(273))/9+-parseInt(e(274))/10*(-parseInt(e(279))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={10:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},52:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},98:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},102: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)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},243:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},251:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},282:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},297: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)}}}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},324:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},448:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},505:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},586:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},692:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779: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}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},815:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},898:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},929: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}}}},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:()=>$t,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Ko,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,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;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]=x(t[n],n,i,s,R);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,R));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,R));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,R);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,R),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,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),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,R),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,R),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 R(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 A(t){return R(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 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 W(t,e,i){return function(t,e,i,s){if(null==t&&!z(t))return t;const n=L(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(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:z(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,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(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 $(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 q=B;function B(t,e){const i=Y();return(B=function(t,e){return i[t-=397]})(t,e)}function Y(){const t=["setAttribute","removeAttribute","attributes","creator","fire","creatorId","toVersion","createdAt","4763272tEpOCS","3gyUWLV","1235216pWnHVU","setName","3566646CIUSiT","_update","1889312yifYdV","toJSON","map","name","2250840ElcVxl","model","2267265UXyQRs","authorsIds","1503017wNqfoc","set","diffData","fromVersion","authors"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(789959===-parseInt(e(401))/1+parseInt(e(416))/2+parseInt(e(415))/3*(parseInt(e(414))/4)+parseInt(e(397))/5+parseInt(e(418))/6+-parseInt(e(399))/7+-parseInt(e(420))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[q(409)];[q(405)];[q(403)];[q(412)];[q(404)];[q(398)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(409)]=e[i(409)]||null,this[i(405)]=e[i(405)]||[],this[i(403)]=e[i(403)]||null,this[i(412)]=e[i(412)]||0,this[i(404)]=e[i(404)]||0,this[i(402)](i(423),e[i(423)]||""),this[i(402)](i(413),e[i(413)]||new Date),this[i(402)](i(408),e[i(408)]||{})}[q(417)](t){this[q(419)]({name:t})}[q(406)](t,e){const i=q,s=A(this[i(408)]);W(s,t,e),this[i(419)]({attributes:s})}[q(407)](t){const e=q,i=A(this[e(408)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return $(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&Z(e))return $(t,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(419)]({attributes:i})}[q(419)](t,e=!1){const i=q;let s=!1;const n={id:this.id},r=[i(423),i(413),i(403),i(405),i(408),i(412),i(404),i(411)];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(405)]&&(n[i(400)]=n[i(405)][i(422)](t=>t.id),delete n[i(405)]),this[i(410)](i(419),n,e))}[q(421)](){const t=q;return{id:this.id,name:this[t(423)],creatorId:this[t(409)]?this[t(409)].id:null,authorsIds:this[t(405)][t(422)](t=>t.id),diffData:this[t(403)],createdAt:this[t(413)],attributes:this[t(408)],fromVersion:this[t(404)],toVersion:this[t(412)]}}}var G=i(782),K=i(211),X=i(783);function Q(){const t=["833627ayjUsE","requires","65DnTeCJ","name","2432868nQyBpF","127132yJfFBd","toJSON","push","getUser","Users","plugins","getEarlierVisibleRevision","8IPmgHx","get","diffData","data","newRevisionId","length","isOfficialPlugin","getRevisionsInDiff","addRevision","map","earlier","4291028jXTWsJ","getRevision","isNaN","getIndex","fromCharCode","4LbwKkl","href","attributes","from","afterInit","add","authorsIds","6uhhXDl","6031890tDspSP","reverse","toVersion","join","createdAt","getRevisions","pluginName","1825287vSxFzS","getLaterVisibleRevision","RevisionsRepository","getRevisionsIterator","creatorId","oldRevisionId","542570JKzsvq","fromVersion","77nPXVZY","editor","later","isPremiumPlugin","createRevision","_revisions"];return(Q=function(){return t})()}function tt(t,e){const i=Q();return(tt=function(t,e){return i[t-=481]})(t,e)}const et=tt;!function(t){const e=tt,i=t();for(;;)try{if(663864===parseInt(e(486))/1+-parseInt(e(514))/2*(parseInt(e(529))/3)+parseInt(e(491))/4*(-parseInt(e(488))/5)+-parseInt(e(521))/6*(-parseInt(e(509))/7)+parseInt(e(498))/8*(parseInt(e(522))/9)+-parseInt(e(535))/10*(-parseInt(e(537))/11)+-parseInt(e(490))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Q);class it extends G.Plugin{[et(485)];static get[et(487)](){return[K.Users]}static get[et(528)](){return et(531)}static get[et(504)](){return!0}static get[et(483)](){return!0}get[et(503)](){const t=et;return this[t(485)][t(503)]}constructor(e){const i=et;super(e),this[i(485)]=new t.Collection}[et(518)](){!async function(e){const i=k([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),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=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(511)](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([118]);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=tt;return t[e(507)](t=>String[e(513)](t))[e(525)]("")}!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:1764288e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=tt,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(515)]);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)}[et(484)](t){const e=et,i=this[e(481)][e(496)][e(499)](e(495));return new J({id:t.id,name:t[e(489)],creator:t[e(533)]?i[e(494)](t[e(533)]):null,diffData:t[e(500)]||t[e(501)],authors:t[e(520)][e(507)](t=>i[e(494)](t)),createdAt:new Date(t[e(526)]),attributes:t[e(516)],fromVersion:t[e(536)],toVersion:t[e(524)]})}[et(506)](t,e=0){const i=et;this[i(485)][i(519)](t,e)}[et(510)](t){const e=et;return this[e(485)][e(499)](t)}[et(527)](t={toJSON:!1}){const e=et,i=Array[e(517)](this[e(485)]);return i[e(523)](),t[e(492)]?i[e(507)](t=>t[e(492)]()):i}[et(512)](t){const e=et;return this[e(485)][e(512)](t)}[et(497)](t){const e=et,[,i]=this[e(532)](t,{direction:e(508)});return i}[et(530)](t){const e=et,[,i]=this[e(532)](t,{direction:e(482)});return i}[et(505)](t){const e=et,i=[];for(const s of this[e(532)](t[e(502)]))if(i[e(493)](s),s.id===t[e(534)])break;return i}*[et(532)](t,{direction:e=et(508),filter:i=()=>!0}={}){const s=et,n=s(508)===e?1:-1;let r=this[s(485)][s(499)](t),o=this[s(512)](r);for(yield r;r;){if(o+=n,r=this[s(510)](o),!r)return;i(r)&&(yield r)}}}const st=rt;function nt(){const t=["div","75UiwEyK","parse","htmlProcessor","data-revision-","1jEnzuL","string","20stGbtD","editor","length","getRevision","isOfficialPlugin","getRevisionRootsAttributes","data","attachChange","revision-start","3660CjALlD","attributes","domChildrenToView","loadRevisionData","from","attributesAfter","22MVuSIV","viewChildrenToDom","RevisionHistoryUtils","useFillerType","5412152vRnlbP","startsWith","_typeCharToViewClass","222279HiYHsR","get","processor","constructor","forEach","collaboration.channelId","1818711yoyTGF","map","_removeRevisionMarkers","35648SGkJsG","children","diffData","name","view","pluginName","marked","domConverter","insertions","342492NlWcGq","render","innerHTML","document","isPremiumPlugin","toModel","default","getFillerOffset","append","fillerOffset","_getViewFromDiffObj","_makeModelFromViewString","_viewClassToTypeChar","_getTypeCharForViewElement","isAttached","config","filter","type","toData","getRevisionDocumentData","customProperties","3059UaoaZA","_setCustomProperty","_appendChild","childNodes","createElement","297526IOLdVt","editing","domDocument","revision-end"];return(nt=function(){return t})()}function rt(t,e){const i=nt();return(rt=function(t,e){return i[t-=237]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(422839===parseInt(e(298))/1*(parseInt(e(289))/2)+-parseInt(e(245))/3+-parseInt(e(254))/4*(parseInt(e(294))/5)+-parseInt(e(309))/6*(-parseInt(e(284))/7)+parseInt(e(242))/8+-parseInt(e(251))/9*(parseInt(e(300))/10)+parseInt(e(238))/11*(-parseInt(e(263))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class ot extends G.Plugin{static get[st(259)](){return st(240)}static get[st(304)](){return!0}static get[st(267)](){return!0}[st(275)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(244)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(312)](t,e){const i=st;if(t[i(256)]||!e)return;const s=this[i(301)][i(278)][i(246)](i(250)),n=await e[i(303)]({channelId:s,revisionId:t.id});t[i(256)]=n[i(256)]}[st(282)](t){const e=st,i={};for(const s in t[e(256)]){if(t[e(256)][s][e(307)]&&!t[e(256)][s][e(307)][e(277)])continue;const n=this[e(253)](JSON[e(295)](t[e(256)][s][e(262)])),r=this[e(301)][e(290)][e(258)][e(266)],o=new X.ViewDocumentFragment(r,n[e(252)](t=>this[e(273)](t,!1)));this[e(301)][e(306)][e(247)][e(241)](e(260)),i[s]=this[e(301)][e(306)][e(247)][e(281)](o),this[e(301)][e(306)][e(247)][e(241)](e(269))}return i}[st(305)](t){const e=st,i={};for(const s in t[e(256)])t[e(256)][s][e(307)]&&!t[e(256)][s][e(307)][e(277)]||(i[s]=t[e(256)][s][e(237)]||{});return i}[st(276)](t){const e=st;return this[e(275)][e(246)](t[e(248)])}[st(273)](t,e){const i=st,s=this[i(301)][i(290)][i(258)][i(266)];if(i(299)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(280)]||"r"==t[i(280)]?[]:t[i(255)][i(252)](t=>this[i(273)](t,e));const o=this[i(244)][i(246)](t[i(280)])||X.ViewElement,a=this[i(301)][i(306)][i(296)][i(261)];if(n=new o(s,t[i(257)],t[i(310)],r),"u"==t[i(280)]&&t[i(255)][0]){const r=t[i(255)][0];if(n[i(264)]=function(t){const e=i,s=t[e(288)](e(293));return s[e(265)]=r,s[e(287)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(286)](n);const e=Array[i(313)](a[i(239)](t,{bind:!1})),r=a[i(291)][i(288)](i(293));r[i(271)](...e),n=Array[i(313)](a[i(311)](r))[0]}}else if("r"==t[i(280)]&&t[i(255)][0]){const r=t[i(255)][0];if(n[i(264)]=function(t){t[i(265)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(286)](n);const e=Array[i(313)](a[i(239)](t,{bind:!1})),r=a[i(291)][i(288)](i(293));r[i(271)](...e);const o=Array[i(313)](a[i(311)](r));o[i(302)]>1?n[i(286)](o):n=o[0]}}if(t[i(283)])for(const[e,s]of t[i(283)])n[i(285)](e,s);const c=void 0===t[i(272)]?null:t[i(272)];return null!==c&&(n[i(270)]=()=>c),n}}[st(274)](t){const e=st,i=JSON[e(295)](t),s=this[e(301)][e(290)][e(258)][e(266)],n=new X.ViewDocumentFragment(s,i[e(252)](t=>this[e(273)](t,!0)));return this[e(301)][e(306)][e(268)](n)}[st(253)](t){const e=st;return(t=t[e(279)](t=>!t[e(257)]||e(308)!==t[e(257)]&&e(292)!==t[e(257)]))[e(249)](t=>{const i=e;i(299)!=typeof t&&(t[i(255)]=this[i(253)](t[i(255)]),t[i(310)]=t[i(310)][i(279)](t=>!t[0][i(243)](i(297))))}),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),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)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 A=(s=s??new Map).get(t),M=s.get(i);if(null!=A&&null!=M)return A===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,x));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,x)||ct(t)&&ct(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=pt();return(mt=function(t,e){return i[t-=230]})(t,e)}function pt(){const t=["_generateTape","_transformMarkers","RevisionHistory","getIndex","RevisionsRepository","addRootAttribute","previousPosition","fillerOffset","domDocument","_baseRoots","_replaceEditorDataWithRevisionData","revision:","afterInit","isEqual","toView","$comment","clear","baseVersion","changeRootAttribute","getCurrentRevisionId","attributesBefore","setSource","_operations","_createCurrentRevision","children","getData","revisionHistory.resumeUnsavedRevision","licenseKey","_appendChild","_idsRoots","createRangeIn","createElement","has","insertions","Empty document","createPositionFromPath","detachRoot","_isAttached","split","_insertChild","_markChanges","authorsIds","item","history","merge","move","getRevisions","currentRevision","delete","getAncestors","type","startsWith","evaluationLimit","getFillerOffset","getCustomProperties","getUser","toVersion","paragraph","insertion","uiElement","stringify","getRevision","getOperations","_lastTo","affectsData","loadState","attachChange","nodes","createPositionAt","userId","_licenseKeyCheckInterval","createPositionBefore","roots","_bufferedUpdates","_startingVersion","_copyMarkers","RealTimeCollaborationClient","isEnabled","_setConversion","_touched","getTime","_savedMetaData","innerHTML","outerHTML","push","config","howMany","createdAt","root","_execute","42oDMLLM","trim","map","_getFromVersion","domainLimit","RevisionTracker","revisionHistoryLicenseKeyNotAllowed","targetPosition","vid","documentFragment","upcast","remove","NEGATIVE_INFINITY","fromVersion","870160hynGvj","_isPendingUpdate","11ATaAdS","_bufferUpdate","createRange","creator","_getPreviousFrom","attributesAfter","set","reinsert","255562RoQlVn","isAttached","_source","end","getWalker","getRevisionDocumentData","offsetSize","editor","trialLimit","add","keepParagraph","define","collaboration.channelId","offset","initial","elementStart","_startingRevisionId","name","$graveyard","isAdd","_handleSplitOperation","getAttribute","_handleMarkerOperation","plugins","_handleRootOperation","editor-initial-data-replaced-with-revision-data","_reset","resolve","childCount","_handleRootAttributeOperation","graveyardPosition","3920462xTfOds","update","_revisionDataBuilder","_diffRoots","61179PSOmVt","_getTypeCharForViewElement","vid_end","hasContent","_markers","source","_getBaseVids","_continueCurrentRevision","insertionPosition","revisionHistoryLicenseKeyValid","42893820xTRylc","domConverter","_revisionId","180MpAMHA","some","getRootNames","getTransformedByOperation","_showLicenseError","newRange","stickiness","PendingActions","getMovedRangeStart","destroy","find","_baseIdsRoots","size","keys","getChildren","nodeAfter","_processRootBeforeSave","_makeModelFromViewString","updateRevisions","sourcePosition","63UQpKKT","dataToMarker","finally","locale","_createInitialRevision","expired","tableCell","initialData","includes","Users","getRoot","repository","setRevisionData","usageLimit","getNodeByPath","_makeRevision","shift","rawElement","pluginName","length","getChild","dataDowncast","then","1257832ZOEFxm","fromEntries","init","_getViewJson","_pendingAction","revisionHistoryLicenseKeyExpired","_fixRange","_removePendingAction","invalid","adapter","loadRevisionData","createRevision","_touchedMarkers","deletion","_lastFrom","version","_isInit","creatorId","deletions","createPositionAfter","getAttributes","_handleInsertOperation","_loadState","_diffRootsAttributes","insert","splitPosition","PENDING_ACTION_REVISION_HISTORY","values","_addPendingAction","newValue","for","_fixPosition","start","bind","markers","_saveMetaData","_findInsertionIndex","max","getRange","revision","saveRevision","_handleMoveOperation","getOperation","addRevision","render","featureNotAllowed","$text","_getVidAttributeName","marker","_handleOperation","parent","_touchedRoots","string","path","_clone","text","getLatestVersion","buildRevisionData","reInit","_applyOperations","_handleMergeOperation","RevisionHistoryUtils","Initial revision","range","_removeMetaData","isPremiumPlugin","revisionHistoryLicenseKeyDomainLimit","revisionHistoryLicenseKeyInvalid","addRoot","12180420KyzLYv","requires","getRevisionRootsAttributes","document","isReady","3IetTcE","isOfficialPlugin","sort","rootName","sendBufferedUpdates","_createFromRanges","clone","authors","removeRootAttribute","from","model","_initialRevisionId","diffData","slice","_setAttribute","position","element","elementEnd","markerToData","_fixOperation","_makeIdsRoot","data","addRevisionData","revisionHistoryLicenseKeyEvaluationLimit","revisionHistoryLicenseKeyTrialLimit","_loadedStateData","rootsAttributes","_calculateMetaData","filter","_baseRootsAttributes","customProperties","_prepareViewToSave","vid_start","oldRange","_cloneOperation","get","key","reverse","ready","conversion","_authorId","_getState","htmlProcessor","revisionHistoryLicenseKeyUsageLimit","_utils","_update"];return(pt=function(){return t})()}!function(t){const e=mt,i=t();for(;;)try{if(612970===parseInt(e(377))/1*(-parseInt(e(537))/2)+parseInt(e(247))/3*(-parseInt(e(260))/4)+-parseInt(e(527))/5*(-parseInt(e(513))/6)+-parseInt(e(243))/7+-parseInt(e(303))/8*(parseInt(e(280))/9)+-parseInt(e(372))/10+-parseInt(e(529))/11*(-parseInt(e(257))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends G.Plugin{[ft(450)];[ft(493)];[ft(470)]=null;[ft(291)];[ft(312)]=null;[ft(245)];[ft(539)];[ft(388)];[ft(496)];[ft(421)];[ft(307)];[ft(254)];[ft(497)];[ft(402)];static get[ft(298)](){return ft(518)}static get[ft(378)](){return!0}static get[ft(368)](){return!0}static get[ft(373)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(291)]=this[i(544)][i(235)][i(412)](i(427)),this[i(421)]=this[i(544)][i(235)][i(412)](i(364)),this[i(245)]=new gt(this[i(544)]),this[i(388)]=this[i(544)][i(508)][i(412)](i(549))||i(551),this[i(496)]=new Map,this[i(402)]=null;const s=(0,t.uid)();this[i(539)]={history:this[i(544)][i(387)][i(375)][i(466)],getLatestVersion:()=>Promise[i(239)](this[i(544)][i(387)][i(375)][i(318)]),getCurrentRevisionId:()=>s},this[i(535)](i(376),!1),this[i(535)](i(500),!0),this[i(535)](i(528),!1),this[i(544)][i(508)][i(548)](i(449),!0),this[i(544)][i(416)][i(333)](i(523))[i(281)]({view:i(342)})}[ft(305)](){const t=ft;this[t(501)](),this[t(544)][t(398)].on(t(415),()=>{const e=t,i=this[e(291)][e(484)](0),s=i&&null===i[e(532)]?i:null;if(this[e(254)]=!!s&&this[e(544)][e(508)][e(412)](e(449)),this[e(544)][e(235)][e(455)](e(499))){const t=this[e(539)][e(442)](),n=this[e(291)][e(484)](t);if(n)this[e(497)]=n[e(526)],this[e(254)]=!1;else{const t=this[e(539)][e(466)][e(445)][e(270)](t=>!t[e(319)]),n=t?t[e(440)]:this[e(539)][e(466)][e(318)];i?(i[e(479)]<n&&i[e(422)]({toVersion:n}),this[e(254)]?(this[e(539)][e(442)]=()=>s.id,this[e(497)]=s[e(526)]):(this[e(497)]=i[e(479)],this[e(254)]=!1)):(this[e(497)]=n,this[e(254)]=!1)}}else s&&(this[e(544)][e(387)][e(375)][e(466)][e(318)]=Math[e(340)](s[e(479)],this[e(544)][e(387)][e(375)][e(466)][e(318)]),s[e(526)]===s[e(479)]?(0!==s[e(526)]&&(this[e(539)][e(442)]=()=>s.id),this[e(254)]=!1):this[e(254)]&&(this[e(539)][e(442)]=()=>s.id,this[e(497)]=s[e(526)])),this[e(254)]||(this[e(497)]=this[e(544)][e(387)][e(375)][e(318)]);this[e(245)][e(305)](this[e(539)][e(466)]),this[e(284)](this[e(497)]),this[e(446)](this[e(497)]),this[e(312)]&&this[e(381)]()}),this[t(336)](t(376)).to(this,t(528),t=>!t),this[t(450)]=this[t(544)][t(508)][t(412)](t(450));const e=this[t(544)];this[t(493)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(256)==r||i(370)==r||i(308)==r||i(369)==r||i(519)==r||i(400)==r||i(401)==r||i(420)==r){delete e[n],s=r,clearInterval(this[i(493)]),this[i(493)]=void 0;break}}i(370)==s&&e[i(264)](i(311)),i(308)==s&&e[i(264)](i(285)),i(369)==s&&e[i(264)](i(517)),i(519)==s&&e[i(264)](i(348),i(425)),i(400)==s&&e[i(264)](i(475)),i(401)==s&&e[i(264)](i(545)),i(420)==s&&e[i(264)](i(293))},1e3)}async[ft(435)](){const t=ft;if(this[t(291)][t(299)]>0){const e=this[t(291)][t(484)](0),i=await this[t(542)](e),s=await this[t(374)](e);this[t(433)](i,s)}}[ft(269)](){const t=ft;super[t(269)](),this[t(493)]&&clearInterval(this[t(493)])}[ft(444)](t){this[ft(539)]=t}async[ft(244)](){const t=ft,e=await this[t(539)][t(359)]();if(e>this[t(470)][t(479)]){await this[t(325)]();const i=this[t(360)]({revision:this[t(470)],to:e});i[t(384)]=i[t(464)][t(515)](e=>this[t(544)][t(235)][t(412)](t(289))[t(478)](e)),this[t(470)][t(422)](i)}}async[ft(343)](e={},i=null){const s=ft,n=[];await this[s(325)](),this[s(254)]=!1,i>this[s(470)][s(479)]&&(i=null),null===i&&(i=await this[s(539)][s(359)]());const r=this[s(516)](i),o=this[s(360)]({from:r,to:i});if(this[s(470)][s(479)]<i){const t=this[s(360)]({revision:this[s(470)],from:i,to:i});t[s(384)]=[],t[s(464)]=[],t.id=this[s(470)].id,this[s(470)][s(422)](t,!0),delete t[s(384)],n[s(507)](t)}e[s(320)]=this[s(544)][s(235)][s(412)](s(289)).me.id,e[s(554)]=e[s(554)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(399)](e);n[s(507)](e);const c=this[s(291)][s(426)](a);if(0!==c){const t=this[s(291)][s(484)](c-1);if(t[s(526)]!==i){const r=this[s(245)][s(448)](i,t[s(479)]),o={id:t.id,diffData:r[s(389)],authorsIds:r[s(464)],authors:r[s(464)][s(515)](t=>this[s(544)][s(235)][s(412)](s(289))[s(478)](t)),fromVersion:i};t===this[s(470)]&&(o[s(510)]=new Date(e[s(510)][s(503)]()+10)),t[s(422)](o,!0),delete o[s(384)],n[s(507)](o)}}if(this[s(312)]){for(const t of n)this[s(530)](t.id,t,!0);this[s(381)]()}return a}[ft(399)](t){const e=ft,i=this[e(291)][e(314)](t);return this[e(312)]&&i.on(e(422),(t,i,s)=>{const n=e;s||(this[n(530)](i.id,i,!0),this[n(381)]())}),this[e(291)][e(346)](i,this[e(339)](i)),i}async[ft(542)](t){const e=ft;return await this[e(421)][e(313)](t,this[e(312)]),this[e(421)][e(542)](t)}async[ft(374)](t){const e=ft;return await this[e(421)][e(313)](t,this[e(312)]),this[e(421)][e(374)](t)}[ft(381)](){const t=ft;if(0===this[t(496)][t(272)])return;if(this[t(528)])return;let e=Array[t(386)](this[t(496)][t(330)]());this[t(496)][t(439)]();for(let i=0;i<e[t(299)];i++){const s=e[i];let n=!1;for(const e of Object[t(273)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(405)](t=>null!==t),!e[t(299)])return;for(let i=0;i<e[t(299)];i++){const s=e[i];void 0!==s[t(526)]&&void 0===s[t(479)]&&(s[t(479)]=this[t(291)][t(484)](s.id)[t(479)]),void 0!==s[t(479)]&&void 0===s[t(526)]&&(s[t(526)]=this[t(291)][t(484)](s.id)[t(526)])}const i=this[t(544)][t(508)][t(412)](t(549));this[t(528)]=!0,this[t(331)](),this[t(312)][t(278)](e,i)[t(282)](()=>{this[t(528)]=!1})[t(302)](e=>{const i=t;if(e)for(const t of e)this[i(292)]({id:t.id,createdAt:t[i(510)]});this[i(310)](),this[i(381)]()})}[ft(360)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(526)],i=null!==i?i:t[s(479)];const n=this[s(245)][s(448)](e,i),r={diffData:n[s(389)],authorsIds:n[s(464)],fromVersion:e,toVersion:i};if(!t||i!==t[s(479)]){const t=i-1,e=this[s(539)][s(466)][s(345)](t);r[s(510)]=e&&e[s(510)]||new Date}if(this[s(402)]&&e===this[s(402)][s(526)])for(const t of this[s(402)][s(384)])r[s(464)][s(288)](t.id)||r[s(464)][s(507)](t.id);return r}[ft(530)](t,e,i){const s=ft;if(this[s(496)][s(455)](t)){const n=this[s(496)][s(412)](t);e=i?{...n,...e}:{...e,...n}}this[s(496)][s(535)](t,e)}[ft(292)](t){const e=ft,i=this[e(291)][e(484)](t.id);if(t[e(510)]&&(t[e(510)]=new Date(t[e(510)])),t[e(464)]){const i=this[e(544)][e(235)][e(412)](e(289));t[e(384)]=t[e(464)][e(515)](t=>i[e(478)](t))}i[e(422)](t,!0)}[ft(284)](t){const e=ft,i=this[e(291)][e(484)](this[e(291)][e(299)]-1);if(i)this[e(388)]=i.id;else{const i=!this[e(544)][e(387)][e(375)][e(495)][e(270)](t=>this[e(544)][e(387)][e(250)](t)),s=this[e(544)][e(235)][e(412)](e(289)).me.id,n=at(this[e(544)][e(283)],e(i?457:365));this[e(295)]({from:t,to:t,id:this[e(388)],name:n,creatorId:s})}}[ft(446)](t){const e=ft,i=this[e(539)][e(442)]();this[e(470)]=this[e(291)][e(484)](i),this[e(470)]||(this[e(470)]=this[e(295)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(325)](){const t=ft;this[t(254)]&&!this[t(402)]&&(await this[t(421)][t(313)](this[t(470)],this[t(312)]),this[t(245)][t(488)](this[t(470)]),this[t(402)]={fromVersion:this[t(470)][t(526)],authors:this[t(470)][t(384)][t(390)]()})}[ft(433)](e,i){const s=ft;let n=this[s(544)][s(508)][s(412)](s(287)),r=this[s(544)][s(508)][s(412)](s(403));if(void 0===n){n={};for(const t of this[s(544)][s(387)][s(375)][s(262)]())n[t]=""}if(s(355)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(544)][s(387)][s(375)][s(262)]())r[t]={}}let o=!1;const a=Object[s(273)](n),c=Object[s(273)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(514)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(273)](r[t])[s(299)]>0){o=!0;break}}o||(o=c[s(261)](t=>!this[s(544)][s(387)][s(375)][s(290)](t))),o&&(0,t.logWarning)(s(237),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(544)][s(508)][s(535)](s(287),e),this[s(544)][s(508)][s(535)](s(403),i)}[ft(331)](){const t=ft;if(!this[t(307)]){const e=this[t(544)][t(235)][t(412)](t(267));this[t(307)]=e[t(546)](at(this[t(544)][t(283)],t(329)))}}[ft(310)](){const t=ft;this[t(307)]&&(this[t(544)][t(235)][t(412)](t(267))[t(524)](this[t(307)]),this[t(307)]=null)}[ft(339)](t){const e=ft,i=this[e(291)][e(469)]();i[e(414)]();let s=0;for(;s<i[e(299)];){const n=i[s];if(n===this[e(470)]){s++;continue}if(n.id===this[e(388)])break;const r=t[e(479)]-n[e(479)]||t[e(526)]-n[e(526)];if(r>0)break;if(r<0)s++;else{if(!t[e(532)]&&n[e(532)])break;if(n[e(532)]||!t[e(532)]){if(t[e(510)]>n[e(510)])break;s++}else s++}}return s}[ft(516)](t){const e=ft,i=this[e(291)][e(469)]();i[e(414)](),i[e(296)]();const s=i[e(270)](i=>i[e(479)]<=t)[e(479)];return s<this[e(497)]?this[e(497)]:s}[ft(295)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(360)]({from:e,to:i});o[r(554)]=t,o[r(320)]=s,o.id=n;const a=this[r(399)](o);return this[r(312)]&&this[r(530)](o.id,o,!0),a}[ft(501)](){const t=ft;this[t(544)][t(416)][t(333)](t(301))[t(395)]({model:t(342)})}}class gt{[ft(544)];[ft(252)];[ft(504)];[ft(317)];[ft(486)];[ft(251)];[ft(246)];[ft(326)];[ft(432)];[ft(406)];[ft(452)];[ft(271)];[ft(502)];[ft(315)];[ft(354)];[ft(259)];[ft(553)];constructor(t){const e=ft;this[e(544)]=t,this[e(504)]=new Map,this[e(317)]=-1,this[e(486)]=-1,this[e(251)]=new Map,this[e(246)]=new Map,this[e(326)]=new Map,this[e(432)]=new Map,this[e(406)]=new Map,this[e(452)]=new Map,this[e(271)]=new Map,this[e(502)]=new Map,this[e(315)]=new Map,this[e(354)]=new Map,this[e(259)]=1}[ft(305)](t){const e=ft;this[e(252)]=t;const i=new Map,s=new Map,n=this[e(544)][e(387)][e(375)][e(495)][e(515)](t=>t[e(380)]);for(const t of n){const n=this[e(544)][e(387)][e(375)][e(290)](t),r=yt(n);i[e(535)](t,r),s[e(535)](t,Object[e(304)](n[e(323)]()))}const r=Array[e(386)](this[e(544)][e(387)][e(337)])[e(515)](t=>[t[e(554)],t[e(341)]()]),o=this[e(252)][e(318)];this[e(338)](o,i,r,s),this[e(553)]=this[e(259)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(535)](t,i),c[e(535)](t,{})}this[e(338)](Number[e(525)],a,[],c)}[ft(448)](t,e){const i=ft;if(this[i(317)]===t&&this[i(486)]<=e)this[i(504)][i(272)]>1&&this[i(367)](this[i(486)]),this[i(362)](this[i(486)],e,!0);else{if(!this[i(504)][i(455)](t)){const e=this[i(533)](t);this[i(404)](e,t,!1)}this[i(404)](t,e,!0)}return this[i(317)]=t,this[i(486)]=e,this[i(418)]()}[ft(488)](t){const e=ft;if(!this[e(504)][e(455)](t[e(526)])){const i=this[e(533)](t[e(526)]);this[e(404)](i,t[e(526)],!1)}this[e(404)](t[e(526)],t[e(479)],!1);const i=this[e(544)][e(235)][e(412)](e(364));this[e(238)](),this[e(317)]=t[e(526)],this[e(486)]=t[e(479)];for(const s in t[e(389)]){const n=t[e(389)][s][e(489)],r=A(t[e(389)][s][e(443)])||{},o=i[e(277)](t[e(389)][s][e(321)]);o[e(380)]=s,o[e(460)]=!n||!n[e(538)],o[e(538)]=()=>o[e(460)],this[e(432)][e(535)](s,o),this[e(406)][e(535)](s,r),n&&this[e(354)][e(535)](s,n);const a=this[e(397)](o);this[e(271)][e(535)](s,a);for(const[t,i]of o[e(337)]){if(!t[e(474)](e(434)))continue;const s=t[e(461)](":")[2];for(const t of i[e(541)]({singleCharacters:!0})){const i=this[e(350)](t),n=e(394)==t[e(473)]?t[e(429)][e(356)][e(390)](0,-1):t[e(429)][e(356)],r=a[e(294)](n)[e(233)](i);this[e(502)][e(535)](r,{userId:s})}o[e(337)][e(471)](t)}}this[e(553)]=this[e(259)];const s=[...Array(this[e(259)])[e(273)]()][e(390)](1)[e(405)](t=>!this[e(502)][e(455)](t));let n=0;const r=new Map;for(const o in t[e(389)]){const a=t[e(389)][o][e(489)],c=A(t[e(389)][o][e(534)])||{},u=i[e(277)](t[e(389)][o][e(456)]);u[e(380)]=o,u[e(460)]=!a||a[e(538)],u[e(538)]=()=>u[e(460)],this[e(246)][e(535)](o,u),this[e(326)][e(535)](o,c);const l=this[e(397)](u,Number[e(525)]);this[e(452)][e(535)](o,l),r[e(535)](o,u[e(538)]()?c:{});for(const[t,i]of u[e(337)]){if(!t[e(474)](e(434)))continue;const s=t[e(461)](":")[2];for(const t of i[e(541)]({singleCharacters:!0})){const i=this[e(350)](t),n=this[e(259)]++,r=e(394)==t[e(473)]?t[e(429)][e(356)][e(390)](0,-1):t[e(429)][e(356)];l[e(294)](r)[e(391)](i,n),this[e(502)][e(535)](n,{userId:s})}u[e(337)][e(471)](t)}for(const t of this[e(544)][e(387)][e(453)](u)[e(541)]({singleCharacters:!0})){const i=this[e(350)](t),r=e(394)==t[e(473)]?t[e(429)][e(356)][e(390)](0,-1):t[e(429)][e(356)],o=l[e(294)](r);o[e(233)](i)>0||o[e(391)](i,s[n++])}for(const[t,i]of u[e(337)])t[e(474)](e(434))||this[e(251)][e(535)](t,i)}const{roots:o}=this[e(504)][e(412)](t[e(526)]),{roots:a}=this[e(504)][e(412)](t[e(479)]),c=yt(o[e(412)](e(230)));this[e(432)][e(535)](e(230),c),this[e(271)][e(535)](e(230),this[e(397)](c,Number[e(525)]));const u=yt(a[e(412)](e(230)));this[e(246)][e(535)](e(230),u),this[e(452)][e(535)](e(230),this[e(397)](u));const l=Array[e(386)](this[e(246)])[e(515)](([t,e])=>[t,yt(e)]);this[e(338)](this[e(486)],l,this[e(251)],r)}[ft(361)](){const t=ft;this[t(238)](),this[t(317)]=-1,this[t(486)]=-1,this[t(504)][t(439)](),this[t(305)](this[t(252)])}[ft(338)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(535)](t,{start:e[n(335)][n(383)](),end:e[n(540)][n(383)](),rootName:e[n(511)][n(380)]});this[n(504)][n(535)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(367)](t){const e=ft;this[e(504)][e(471)](t)}[ft(238)](){const t=ft;this[t(502)][t(439)](),this[t(315)][t(439)](),this[t(354)][t(439)](),this[t(246)][t(439)](),this[t(326)][t(439)](),this[t(432)][t(439)](),this[t(406)][t(439)](),this[t(452)][t(439)](),this[t(271)][t(439)](),this[t(251)][t(439)](),this[t(259)]=1,this[t(553)]=this[t(259)]}[ft(397)](t,e=null){const i=ft;let s=null;t.is(i(522))||(s=new X.ModelElement(t[i(554)],{vid_start:null===e?this[i(259)]++:e++}));const n=[];for(const s of t[i(274)]())if(s.is(i(393))){n[i(507)](this[i(397)](s,e));const t=n[n[i(299)]-1];null!==e&&(e=t.is(i(393),i(349))?t[i(233)](i(521))+1:t[i(233)](i(249))+1)}else for(let t=0;t<s[i(543)];t++)n[i(507)](new X.ModelElement(i(349),{vid:null===e?this[i(259)]++:e++}));if(t.is(i(522))){const e=kt(t[i(380)]);return e[i(462)](0,n),e}return s[i(391)](i(249),null===e?this[i(259)]++:e++),s[i(462)](0,n),s}[ft(404)](t,e,i){const s=ft;this[s(238)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(504)][s(412)](t);this[s(432)]=new Map(n),this[s(406)]=new Map(A(o));for(const[t,e]of this[s(432)])if(s(230)!==t&&(this[s(246)][s(535)](t,yt(e)),this[s(326)]=new Map(A(o)),i)){const i=this[s(259)];this[s(452)][s(535)](t,this[s(397)](e)),this[s(271)][s(535)](t,this[s(397)](e,i))}this[s(553)]=this[s(259)],this[s(246)][s(535)](s(230),yt(this[s(432)][s(412)](s(230)))),i&&this[s(452)][s(535)](s(230),this[s(397)](this[s(432)][s(412)](s(230))));for(const[t,e]of r){const i=this[s(432)][s(412)](e[s(380)]),n=this[s(246)][s(412)](e[s(380)]),r=new X.ModelRange(this[s(334)](e[s(335)],i),this[s(334)](e[s(540)],i)),o=this[s(309)](r,n);i[s(337)][s(535)](t,r),this[s(251)][s(535)](t,o)}this[s(362)](t,e,i)}[ft(362)](t,e,i){const s=ft;for(const n of this[s(252)][s(485)](t,e))this[s(352)](n,i);for(const t of this[s(246)][s(330)]())t[s(337)][s(439)]();for(const[t,e]of this[s(251)])this[s(246)][s(412)](e[s(511)][s(380)])[s(337)][s(535)](t,e[s(383)]());const n=new Map,r=new Map;for(const[t,e]of this[s(246)])n[s(535)](t,yt(e)),r[s(535)](t,this[s(326)][s(412)](t));this[s(338)](e,n,this[s(251)],r)}[ft(533)](t){const e=ft,i=Array[e(386)](this[e(504)][e(273)]());i[e(379)]((t,e)=>t-e),i[e(414)]();for(const e of i)if(e<t)return e;return Number[e(525)]}[ft(498)](t,e){const i=ft,s=Array[i(386)](e[i(337)])[i(515)](([e,s])=>[e,this[i(309)](s,t)]);t[i(337)]=new Map(s)}[ft(424)](t){const e=ft;for(const i of this[e(251)][e(330)]()){const s=i[e(263)](t),n=X.ModelRange[e(382)](s);i[e(335)]=n[e(335)],i[e(540)]=n[e(540)]}}[ft(352)](t,e){const i=ft;if(i(371)!=t[i(473)]&&i(459)!=t[i(473)]){if(i(327)==t[i(473)]){const s=t[i(392)][i(511)][i(380)];this[i(246)][i(455)](s)||(this[i(246)][i(535)](s,kt(s,!0)),this[i(326)][i(535)](s,{}),e&&this[i(452)][i(535)](s,kt(s,!0)))}else{if(i(428)==t[i(473)]||i(385)==t[i(473)]||i(441)==t[i(473)])return void this[i(241)](t);i(351)==t[i(473)]&&this[i(234)](t)}if(i(351)!==t[i(473)]){const e=this[i(411)](t,this[i(246)]);e[i(512)](),this[i(424)](e)}if(e)switch(t[i(473)]){case i(327):this[i(324)](t);break;case i(468):case i(524):case i(536):this[i(344)](t);break;case i(467):this[i(363)](t);break;case i(461):this[i(232)](t)}}else this[i(236)](t,e)}[ft(411)](t,e){const i=ft,s=t[i(383)]();return s[i(417)]=t[i(417)],this[i(396)](s,e),s}[ft(253)](t){const e=ft;return t[e(515)](t=>{const i=e,s=this[i(350)](t);return Number(t[i(465)][i(233)](s))})}[ft(423)](t,e){const i=ft;if(t.is(i(393),i(349)))e[i(507)]({item:t,type:i(358)});else{t.is(i(393))&&e[i(507)]({item:t,type:i(552)});for(const s of t[i(274)]())this[i(423)](s,e);t.is(i(393))&&e[i(507)]({item:t,type:i(394)})}return e}[ft(418)](){const t=ft,e=new Map(this[t(502)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(432)][t(273)](),...this[t(246)][t(273)]()]);a[t(471)](t(230));for(const e of a){const i=this[t(246)][t(412)](e)||kt(e,!1),s=this[t(432)][t(412)](e)||kt(e,!1);i[t(538)]()||s[t(538)]()?(n[t(456)][e]=yt(i),n[t(321)][e]=yt(s),this[t(498)](n[t(321)][e],s),this[t(498)](n[t(456)][e],i),r[t(456)][e]=this[t(423)](this[t(452)][t(412)](e),[]),r[t(321)][e]=this[t(423)](this[t(271)][t(412)](e)||kt(e,!1),[])):a[t(471)](e)}for(const n of a){const o=r[t(456)][n];for(const n of o){const r=this[t(350)](n),o=n[t(465)][t(233)](r);i[t(471)](o),o>=this[t(553)]&&s[t(535)](o,e[t(412)](o))}}for(const n of a){const a=r[t(456)][n],c=this[t(253)](r[t(321)][n]);let u=0;for(const n of a){const r=this[t(350)](n),a=n[t(465)][t(233)](r);if(!s[t(455)](a)&&!o[t(455)](a))if(i[t(455)](a))u++;else{if(a!=c[u]){const s=e[t(412)](a)||e[t(412)](c[u]);for(;a!=c[u];)i[t(455)](c[u])||(o[t(535)](c[u],s),e[t(535)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(456)][e];for(const e of n){const n=this[t(350)](e),r=e[t(465)][t(233)](n);if(o[t(455)](r)){const e=o[t(412)](r);i[t(455)](r)||i[t(535)](r,{...e}),s[t(535)](r,{...e})}}}for(const e of i[t(273)]())e>=this[t(553)]&&i[t(471)](e);const c=new Map;for(const e of a){let n=r[t(456)][e];for(const e of n)if(e[t(465)].is(t(393),t(286))){const i=this[t(350)](e),n=e[t(465)][t(233)](i);if(s[t(455)](n)){const i=e[t(465)][t(353)][t(353)][t(233)](t(409)),r=c[t(412)](i)||new Set;r[t(546)](s[t(412)](n)[t(492)]),c[t(535)](i,r)}}n=r[t(321)][e];for(const e of n)if(e[t(465)].is(t(393),t(286))){const s=this[t(350)](e),n=e[t(465)][t(233)](s);if(i[t(455)](n)){const s=e[t(465)][t(353)][t(353)][t(233)](t(409)),r=c[t(412)](s)||new Set;r[t(546)](i[t(412)](n)[t(492)]),c[t(535)](s,r)}}for(const e of c[t(273)]())(s[t(455)](e)||i[t(455)](e))&&c[t(471)](e)}for(const e of a){const n=r[t(456)][e];let o=null,a=null;for(const e of n){const n=this[t(350)](e),r=e[t(465)][t(233)](n),u=c[t(412)](r);u&&t(552)==e[t(473)]&&(o=Array[t(386)](u)[0],a=e[t(465)][t(233)](t(249))),o&&(i[t(535)](r,{userId:o}),s[t(535)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(321)][e],a=n[t(456)][e];for(const{userId:e}of this[t(315)][t(330)]())null!==e&&l[t(546)](e);for(const{userId:e}of this[t(354)][t(330)]())null!==e&&l[t(546)](e);this[t(463)](a,r[t(456)][e],s,t(481),l),this[t(463)](o,r[t(321)][e],i,t(316),l),u[e]={insertions:this[t(408)](a),deletions:this[t(408)](o),attachChange:this[t(354)][t(412)](e)||null,attributesBefore:A(this[t(406)][t(412)](e))||{},attributesAfter:A(this[t(326)][t(412)](e))}}return{diffData:u,authorsIds:Array[t(386)](l)}}[ft(276)](t){const e=ft;for(const[,i]of t[e(337)]){const t=i[e(335)][e(472)]()[e(405)](t=>e(286)==t[e(554)]);for(const i of t)1==i[e(240)]&&i[e(300)](0).is(e(393),e(480))&&i[e(300)](0)[e(391)](e(547),!0)}}[ft(408)](t){const e=ft;this[e(276)](t);const i=this[e(544)][e(398)][e(437)](t,{}),s=Array[e(386)](i[e(274)]())[e(515)](t=>this[e(306)](t));return JSON[e(483)](s)}[ft(306)](t){const e=ft;if(t.is(e(349)))return t[e(398)];{const i=this[e(544)][e(235)][e(412)](e(364)),s=t,n=this[e(544)][e(398)][e(419)][e(258)],r={type:i[e(248)](s),name:s[e(554)],attributes:Array[e(386)](s[e(323)]()),children:Array[e(386)](s[e(274)]())[e(515)](t=>this[e(306)](t))};if(t.is(e(482))&&e(438)!=t[e(554)]){const i=t[e(347)](n[e(431)],n);r[e(447)][e(507)](i[e(506)])}else if(t.is(e(297))){const i=n[e(431)][e(454)](s[e(554)]);t[e(347)](i,n),r[e(447)][e(507)](i[e(505)])}const o=Array[e(386)](s[e(477)]());o[e(299)]>0&&(r[e(407)]=o);const a=s[e(476)]();return null!==a&&(r[e(430)]=a),r}}[ft(463)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(544)][r(387)];for(let s=0;s<e[r(299)];s++){const n=this[r(350)](e[s]),c=e[s][r(465)][r(233)](n),h=i[r(412)](c),d=s==e[r(299)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(492)]!=o[r(492)])&&(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(492)],d=l(434)+s+":"+h+":"+c++,f=u[l(531)](i,a);t[l(337)][l(535)](d,f),null!==h&&n[l(546)](h)}}[ft(350)](t){const e=ft;switch(t[e(473)]){case e(552):return e(409);case e(394):return e(249);default:return e(521)}}[ft(396)](t,e){const i=ft;t[i(440)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(412)](n[i(511)][i(380)]);t[s]=this[i(334)](n,r)}if(n instanceof X.ModelRange){const r=e[i(412)](n[i(511)][i(380)]);t[s]=this[i(309)](n,r)}i(511)===s&&(t[i(511)]=e[i(412)](t[i(511)][i(380)]))}}[ft(309)](t,e){const i=ft;return this[i(544)][i(387)][i(531)](this[i(334)](t[i(335)],e),this[i(334)](t[i(540)],e))}[ft(334)](t,e){const i=ft;return this[i(544)][i(387)][i(458)](e,t[i(356)],t[i(266)])}[ft(324)](t){const e=ft,i=this[e(452)][e(412)](t[e(392)][e(511)][e(380)]),s=this[e(334)](t[e(392)],i),n=null===t[e(417)]?null:t[e(417)]||this[e(544)][e(235)][e(412)](e(289)).me.id,r=s[e(353)],o=this[e(259)],a=[];for(const i of t[e(490)])if(i.is(e(393)))a[e(507)](this[e(397)](i));else for(let t=0;t<i[e(543)];t++)a[e(507)](new X.ModelElement(e(349),{vid:this[e(259)]++}));const c=this[e(259)];for(let t=o;t<c;t++)this[e(502)][e(535)](t,{userId:n});r[e(462)](s[e(550)],a)}[ft(344)](t){const e=ft;(t=this[e(411)](t,this[e(452)]))[e(512)]();const i=null===t[e(417)]?null:t[e(417)]||this[e(544)][e(235)][e(412)](e(289)).me.id,s=t[e(268)](),n=s[e(353)],r=s[e(550)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(300)](e);r.is(a(393),a(349))?s[a(535)](r[a(233)](a(521)),{userId:i}):(s[a(535)](r[a(233)](a(409)),{userId:i}),t(s,r,0,r[a(240)]),s[a(535)](r[a(233)](a(249)),{userId:i}))}}(this[e(502)],n,r,r+t[e(509)])}[ft(363)](t){const e=ft,i=null===(t=this[e(411)](t,this[e(452)]))[e(417)]?null:t[e(417)]||this[e(544)][e(235)][e(412)](e(289)).me.id,s=t[e(520)][e(353)],n=t[e(279)][e(353)],r=s[e(233)](e(249)),o=n[e(233)](e(409));s[e(391)](e(249),n[e(233)](e(249))),n[e(391)](e(249),r),this[e(502)][e(535)](o,{userId:i}),this[e(502)][e(535)](r,{userId:i}),t[e(512)]()}[ft(232)](t){const e=ft,i=null===(t=this[e(411)](t,this[e(452)]))[e(417)]?null:t[e(417)]||this[e(544)][e(235)][e(412)](e(289)).me.id,s=t[e(242)],n=t[e(328)][e(353)];t[e(512)]();const r=n[e(233)](e(249)),o=t[e(255)][e(275)];if(s){const t=o[e(233)](e(249)),s=n[e(233)](e(249));n[e(391)](e(249),t),o[e(391)](e(249),s),this[e(502)][e(535)](n[e(233)](e(249)),{userId:i}),this[e(502)][e(535)](o[e(233)](e(409)),{userId:i})}else{const t=this[e(259)]++,s=this[e(259)]++;n[e(391)](e(249),t),o[e(391)](e(409),s),o[e(391)](e(249),r),this[e(502)][e(535)](t,{userId:i}),this[e(502)][e(535)](s,{userId:i})}}[ft(234)](t){const e=ft;if(!t[e(487)])return;const i=(t=this[e(411)](t,this[e(246)]))[e(410)]?t[e(410)][e(511)]:null,s=t[e(265)]?t[e(265)][e(511)]:null;i&&this[e(251)][e(471)](t[e(554)]),s&&this[e(251)][e(535)](t[e(554)],t[e(265)][e(383)]());const n=null===t[e(417)]?null:t[e(417)]||this[e(544)][e(235)][e(412)](e(289)).me.id,r=t[e(554)];if(!this[e(315)][e(455)](r))return void this[e(315)][e(535)](r,{range:t[e(410)],userId:n});const o=this[e(315)][e(412)](r),a=o[e(366)],c=t[e(265)];null==a&&null==c||a&&c&&a[e(436)](c)?this[e(315)][e(471)](t[e(554)]):o[e(492)]=n}[ft(236)](t,e){const i=ft;this[i(246)][i(455)](t[i(380)])?this[i(246)][i(412)](t[i(380)])[i(460)]=t[i(231)]:(this[i(246)][i(535)](t[i(380)],kt(t[i(380)],!0)),this[i(326)][i(535)](t[i(380)],{}),e&&this[i(452)][i(535)](t[i(380)],kt(t[i(380)],!0)));const s=null===t[i(417)]?null:t[i(417)]||this[i(544)][i(235)][i(412)](i(289)).me.id,n=this[i(354)][i(412)](t[i(380)]);n&&n[i(492)]===s?this[i(354)][i(471)](t[i(380)]):this[i(354)][i(535)](t[i(380)],{userId:s,isAttached:t[i(231)]})}[ft(241)](t){const e=ft,i=this[e(326)][e(412)](t[e(511)][e(380)]);null===t[e(332)]?delete i[t[e(413)]]:i[t[e(413)]]=t[e(332)]}}function yt(t){const e=ft,i=kt(t[e(380)],t[e(538)]());for(const s of t[e(274)]()){const t=s[e(357)](!0);i[e(451)](t)}return i}function kt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(380)]=t,s[i(460)]=e,s[i(538)]=()=>s[i(460)],s}function bt(t,e,i){const s=ft,n=s(394)==t[s(473)]?i[s(491)](t[s(465)],s(540)):i[s(494)](t[s(465)]);return i[s(458)](e,n[s(356)],n[s(266)])}function wt(t,e,i){const s=ft,n=s(552)==t[s(473)]?i[s(491)](t[s(465)],0):i[s(322)](t[s(465)]);return i[s(458)](e,n[s(356)],n[s(266)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),Tt=i(297),xt=i.n(Tt),Nt=i(102),Rt=i.n(Nt),At=i(123),Mt=i.n(At),Vt=i(741),Dt=i.n(Vt),Et=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Dt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(98),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Rt().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Dt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=180]})(t,e)}function zt(){const t=["focus","revisionNameInputView","arrowup","listenTo","728557bpPcrw","220","input","5488036KkwWZJ","setTemplate","20KQgTAg","fieldView","render","keystrokes","add","label","revisionNameInputValue","arrowdown","arrowleft","150NIMbDW","extendTemplate","errorText","focusTracker","revisionName","23334QCggYe","optional","Name of the revision","form","reset","ck-responsive-form","6221220odJdWT","418355aGDweN","1709760HmaQjW","_createRevisionNameInput","trim","value","arrowright","4UJJRoY","7487253skInjF","initializeCssTransitionDisablerMixin","locale","element","ck-revision-history-save-revision-form","set","stopPropagation"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(884777===parseInt(e(202))/1+-parseInt(e(190))/2*(parseInt(e(221))/3)+parseInt(e(205))/4+-parseInt(e(183))/5+parseInt(e(216))/6*(parseInt(e(184))/7)+parseInt(e(185))/8+-parseInt(e(191))/9*(parseInt(e(207))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ut extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(219)];[Lt(210)];[Lt(199)];constructor(e,i){const s=Lt;super(e),this[s(219)]=new t.FocusTracker,this[s(210)]=new t.KeystrokeHandler,this[s(196)](s(213),""),this[s(199)]=this[s(186)](i),this[s(206)]({tag:s(180),attributes:{class:["ck",s(195),s(182)],tabindex:"-1"},children:[this[s(199)]]}),this[s(192)]()}[Lt(209)](){const t=Lt;super[t(209)](),(0,It.submitHandler)({view:this}),this[t(219)][t(211)](this[t(199)][t(194)]),this[t(210)][t(201)](this[t(194)]);const e=e=>e[t(197)]();this[t(210)][t(196)](t(189),e),this[t(210)][t(196)](t(215),e),this[t(210)][t(196)](t(200),e),this[t(210)][t(196)](t(214),e)}[Lt(198)](){const t=Lt;this[t(199)][t(198)]()}get[Lt(220)](){const t=Lt;return this[t(199)][t(208)][t(194)][t(188)][t(187)]()}set[Lt(220)](t){const e=Lt;this[e(199)][e(208)][e(194)][e(188)]=t[e(187)]()}[Lt(181)](){const t=Lt;this[t(199)][t(208)][t(194)][t(188)]="",this[t(199)][t(218)]=null}[Lt(186)](t){const e=Lt,i=new It.LabeledFieldView(this[e(193)],It.createLabeledInputText),s=i[e(208)];s[e(217)]({attributes:{maxlength:e(203)}});let n=at(this[e(193)],e(223));return!t&&(n+=" ("+at(this[e(193)],e(222))+")"),i[e(212)]=n,s.on(e(204),()=>{const t=e;this[t(213)]=s[t(194)][t(188)][t(187)]()}),i}}function Wt(t,e){const i=Ht();return(Wt=function(t,e){return i[t-=101]})(t,e)}const Zt=Wt;function Ht(){const t=["focus","_showDialog","ck-button-action","menu","Accept","set","add","Save current revision","execute","isReady","134888MofNNz","Open revision history","children","errorText","init","saveRevision","requires","buttonView","isEnabled","_saveRevisionFormView","Revision history","_registerMenuComponent","569352bNrhxz","config","1933125VrwGxh","pluginName","36EVBNog","showRevisionViewerCallback","11672eiKydS","render","_createOpenRevisionButton","reset","view","revisionName","locale","revisionHistory.requireRevisionName","isOfficialPlugin","bind","plugins","Cancel","RevisionHistoryUI","items","listenTo","RevisionTracker","Dialog","isOpen","editing","menuBar:revisionHistory","submit","1828580LMYuQK","show","The revision name cannot be empty.","hide","revisionNameInputView","get","isReadOnly","_createSaveRevisionFormView","delegate","low","revisionSave","addMany","_createSaveRevisionButton","12282sDZHzq","menuitem","revisionHistory","panelView","isPremiumPlugin","componentFactory","role","editor","276108pRTGeM","750eyyhay"];return(Ht=function(){return t})()}!function(t){const e=Wt,i=t();for(;;)try{if(460222===-parseInt(e(124))/1+parseInt(e(163))/2+-parseInt(e(138))/3+-parseInt(e(112))/4+-parseInt(e(113))/5*(-parseInt(e(104))/6)+parseInt(e(136))/7+-parseInt(e(142))/8*(-parseInt(e(140))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class $t extends G.Plugin{static get[Zt(139)](){return Zt(154)}static get[Zt(150)](){return!0}static get[Zt(108)](){return!0}static get[Zt(130)](){return[vt]}[Zt(133)];[Zt(128)](){const t=Zt,e=this[t(111)],i=e[t(152)][t(168)](t(157));e.ui[t(109)][t(120)](t(106),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(107)][n(126)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(103)](It.ButtonView),l=new It.ListItemView(s),h=this[n(144)](It.ButtonView);return r[n(151)](n(132)).to(i,n(123),i,n(132),e,n(169),(t,e,i)=>t&&e&&!i),r[n(131)][n(119)]({icon:_t.IconHistory,label:at(s,n(134)),tooltip:!0}),u[n(119)]({withText:!0,role:n(105)}),h[n(119)]({withText:!0,role:n(105)}),this[n(156)](h,n(122),()=>{const t=n;r[t(159)]=!1,e[t(160)][t(146)][t(114)]()},{priority:n(172)}),c[n(126)][n(120)](u),l[n(126)][n(120)](h),a[n(110)]=n(117),a[n(155)][n(102)]([c,l]),o[n(120)](a),r}),e.ui[t(109)][t(120)](t(161),()=>this[t(135)]())}[Zt(135)](){const t=Zt,e=this[t(111)],i=e[t(148)],s=e[t(152)][t(168)](t(157)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(151)](t(132)).to(s,t(123),s,t(132),e,t(169),(t,e,i)=>t&&e&&!i),n[t(131)][t(119)]({icon:_t.IconHistory,label:at(i,t(134))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(103)](It.MenuBarMenuListItemButtonView);a[t(171)](t(122)).to(n),o[t(126)][t(120)](a),r[t(155)][t(120)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(144)](It.MenuBarMenuListItemButtonView);return u[t(171)](t(122)).to(n),c[t(126)][t(120)](u),r[t(155)][t(120)](c),n[t(107)][t(126)][t(120)](r),n}[Zt(103)](t){const e=Zt,i=this[e(111)],s=i[e(152)][e(168)](e(157)),n=new t(i[e(148)]);return n[e(119)]({label:at(i[e(148)],e(121))}),n[e(151)](e(132)).to(s,e(123),s,e(132),i,e(169),(t,e,i)=>t&&e&&!i),this[e(156)](n,e(122),()=>{this[e(115)]()}),n}[Zt(144)](t){const e=Zt,i=this[e(111)],s=i[e(152)][e(168)](e(157)),n=new t(i[e(148)]);return n[e(119)]({label:at(i[e(148)],e(125))}),n[e(151)](e(132)).to(s,e(123),i,e(169),(t,e)=>t&&!e),this[e(156)](n,e(122),()=>{const t=e;i[t(137)][t(168)](t(106))[t(141)]()}),n}[Zt(115)](){const t=Zt,e=this[t(111)],i=e[t(148)],s=e[t(152)][t(168)](t(158)),n=e[t(152)][t(168)](t(157));function r(n){const r=t;e[r(137)][r(168)](r(149))&&""===n[r(147)]?n[r(167)][r(127)]=at(i,r(165)):(e[r(152)][r(168)](vt)[r(129)]({name:n[r(147)]}),s[r(166)]())}this[t(133)]||(this[t(170)](),this[t(133)].on(t(162),()=>r(this[t(133)]))),this[t(133)][t(145)](),s[t(164)]({id:t(101),title:at(i,t(121)),isModal:!0,content:this[t(133)],actionButtons:[{label:at(e[t(148)],t(153)),withText:!0,onExecute:()=>s[t(166)]()},{label:at(e[t(148)],t(118)),class:t(116),withText:!0,onCreate(i){const s=t;i[s(151)](s(132)).to(n,s(123),n,s(132),e,s(169),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(133)])}]})}[Zt(170)](){const t=Zt,e=this[t(111)],i=e[t(148)];this[t(133)]=new Ut(i,e[t(137)][t(168)](t(149))),this[t(133)][t(143)]()}}const qt=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=412]})(t,e)}function Yt(){const t=["Added by","ck-revision-change","930414XagJlo","name","26383956vblXEB","add","1276192EZlkxI","changeId","type","element","Removed by","bindTemplate","_model","1379LhXjDW","data","ck-revision-change__","author","setTemplate","6inNECe","focus","4562596DCngbX","18jRXpBS","1684640RaNrFc","div","11ZtmtVj","span","isSuggestion","ck-annotation","set","ck-revision-change__label","Suggested by","33256cfflLG","10xCbnDw","744567PJzDlj"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(743920===parseInt(e(421))/1+parseInt(e(433))/2*(-parseInt(e(414))/3)+-parseInt(e(435))/4+-parseInt(e(413))/5*(-parseInt(e(417))/6)+parseInt(e(428))/7*(-parseInt(e(412))/8)+parseInt(e(436))/9*(-parseInt(e(437))/10)+parseInt(e(439))/11*(parseInt(e(419))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt extends It.View{[qt(422)];[qt(427)];constructor(t,e){const i=qt;super(t),this[i(427)]=e,this[i(422)]=e.id;const s=this[i(426)],n=at(t,e[i(429)][i(441)]?i(445):i(420)==e[i(423)]?i(415):i(425));this[i(443)](i(423),e[i(423)]),this[i(432)]({tag:i(438),attributes:{class:[i(442),i(416),s.to(i(423),t=>i(430)+t)],tabindex:-1},children:[{tag:i(440),children:[{tag:i(440),attributes:{class:[i(444)]},children:[{text:n}]},{text:" "+e[i(431)][i(418)]}]}]})}[qt(434)](){const t=qt;this[t(424)][t(434)]()}}var Gt=Kt;function Kt(t,e){var i=Xt();return(Kt=function(t,e){return i[t-=243]})(t,e)}function Xt(){var t=["9418651MUbCMl","2952nVwJXe","1808XnDgQe","2406SUskWo","data","2702RFPHrk","set","author","911833jgnWsU","rootName","10BwydPj","9415788uUQRMT","toJSON","26pbDTXb","80979iqLkdb","12LoGTFZ","createdAt","6104cDkdYp","type","980eFkxkm"];return(Xt=function(){return t})()}!function(t){for(var e=Kt,i=t();;)try{if(456824===-parseInt(e(257))/1+parseInt(e(244))/2*(parseInt(e(243))/3)+parseInt(e(251))/4*(parseInt(e(248))/5)+parseInt(e(252))/6*(parseInt(e(254))/7)+-parseInt(e(246))/8*(-parseInt(e(250))/9)+parseInt(e(259))/10*(-parseInt(e(249))/11)+parseInt(e(260))/12*(parseInt(e(262))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Gt(256)];[Gt(247)];[Gt(253)];[Gt(258)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(256)]=e[i(256)],this[i(247)]=e[i(247)],this[i(253)]=e[i(253)]||{},this[i(258)]=e[i(258)],this[i(255)](i(245),e[i(245)])}[Gt(261)](){var t=Gt;return{id:this.id,authorId:this[t(256)].id,type:this[t(247)],data:this[t(253)],createdAt:this[t(245)]}}}function te(t,e){const i=ie();return(te=function(t,e){return i[t-=425]})(t,e)}const ee=te;function ie(){const t=["5132gxXnOX","1751436RRIMnT","57804kwFaQp","8iZjpet","254744fdbKpk","3281930vFrIkT","oldRevisionId","newRevisionId","4782YXLSGW","add","210411xARQcb","_setChanges","1547Cyesgb","changes","1195NUxRit"];return(ie=function(){return t})()}!function(t){const e=te,i=t();for(;;)try{if(156263===-parseInt(e(426))/1*(parseInt(e(427))/2)+parseInt(e(434))/3+parseInt(e(439))/4*(parseInt(e(438))/5)+-parseInt(e(432))/6*(-parseInt(e(436))/7)+-parseInt(e(428))/8+parseInt(e(425))/9+-parseInt(e(429))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class se{[ee(431)];[ee(430)];[ee(437)];constructor(e,i){const s=ee;this[s(431)]=e,this[s(430)]=i,this[s(437)]=new t.Collection}[ee(435)](t){const e=ee;for(const i of t)this[e(437)][e(433)](i)}}var ne=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),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-=416]})(t,e)}function ce(){const t=["forceDisabled","_makeModelFromViewString","rootName","then","backward","isNavigationMode","repository","_threeWayMerge","RevisionsRepository","includes","revisionHistoryLabel","viewItem","addMarker:revision-suggestion:insertion","createRange","span","_initInteractions","values","first","parent","elementToAttribute","length","selection","attribute:vid","isObject","_activeViewTarget","modelRange","for","isAttached","add","createPositionBefore","createRevision","hasClass","downcastDispatcher","catch","_makeModelFromTape","isReady","removeMarker:revision-suggestion","_removeMissingPairs","_removeUnsupportedChanges","all","_makeTape","suggestion:","_setDistance","ck-revision-history-root--active","top","right","conversion","maxOffset","next","getRevisionDocumentData","delete","_markSuggestions","end","diff","625534EIJTvF","push","bottom","removeClass","activeChange","addRoot","ck-suggestion-marker--active","stop","attributesAfter","authors","RevisionViewer","getIndex","concat","getItems","currentChangeNumber","ck-suggestion-preview-marker","addMarker:revision-suggestion:deletion","8526PfdZzU","getAttribute","start","addRevision","2502689KmbtaH","level","markersEnd","getDomRoot","isAfter","ck-editor__editable__overlay","writer","toViewPosition","done","merge","isEnabled","markers","pop","addMarker:revision","enableReadOnlyMode","833214VnyqwO","consume","WidgetToolbarRepository","getAttributes","627510mHMZbm","_revisions","name","revisionHistoryAttachChange","reconvertMarker","getRootNames","updatePosition","revision-viewer","isEqual","_setChanges","slice","insert","document","vid","findIndex","RevisionHistoryUtils","change","suggestion","mouseover","compare","getCustomProperty","_cleanMarkers","observeMarkers","showPreviousChange","editingDowncast","isAddSuggestion","destroy","enqueueChange","execute","setAttribute","ck-revision-history-root-","ck-revision-history-root-remove","range","adapter","toViewRange","_getRevisionsRange","shift","POSITIVE_INFINITY","revision-suggestion:","oldRevisionId","highest","restoreRevisionCallback","_fixObsoleteTags","hasAttribute","isPremiumPlugin","markerToData","model","isContent","previousPosition","addHighlight","-new","init","uiElement","isOnRoot","data-change-id","isOfficialPlugin","distance","get","markerName","restoreRevision","endIndex","addRevisionData","keys","ck-suggestion-marker","_joinTapes","revision-suggestion","getLaterVisibleRevision","getClientRects","target","createPositionFromPath","remove","_changeView","sort","listenTo","comment","_utils","error","ck-suggestion-marker-merge","index","resolve","getWalker","userId","_refreshStartEndIndex","ck-suggestion-marker-split","locale","side","offsetSize","element","return","_appendChild","plugins","item","upcast","clear","indexOf","refresh","change:isReady","isBefore","isRemoveSuggestion","isSuggestion","getChild","736776YtKZFJ","consumable","type","dataDowncast","elementStart","checkAttribute","createRangeIn","isAdded","forEach","from","editor","isCollapsed","markerRange","has","unshift","markersStart","_getViewForChange","code","isIncorrect","insertion","nextPosition","startsWith","schema","domEvent","high","change:numberOfChanges","change:isEnabled","1395fEkWiu","abs","attributesBefore","getRoot","_findChangeIdFromDomTarget","isInline","isAtStart","vid_end","_processTape","low","view","loadRevisionData","activeView","ck-suggestion-preview-marker-","attributes","text","changeId","_markMismatchedRemovedTags","markerNameToElements","wrap","dataToMarker","insertions","numberOfChanges","isAtEnd","removeMarker:revision","config","removeMarker","deletions","showNextChange","mapViewToDom","test","isBlock","createAttributeElement","left","pairId","set","_balloon","getRevisionRootsAttributes","revision","mousedown","_getChangeFromId","change:activeChange","markerToHighlight","isLimit","revision-comment:","detachRoot","nextSibling","attachChange","mapper","softBreak","removeAttribute","commands","flat","_sortAndFilterDiffChanges","showStack","split","filter","elementEnd","_data","domConverter","nodeAfter","startIndex","roots","1355052PonjeI","revision:","_step","forward","find","object","isRemoved","change:activeView","string","_update","revisionHistory","diffData","element:pre","getRevision","affectsData","_changeIdToChange","deletion","map","_markInsertions","_markMarkers","pluginName","ck-revision-history-root-add","createUIElement","ck-suggestion-marker-","splice","bind","changes","unbindElementFromMarkerName","data","addClass","_setConversion","bindElementToMarker","_getDiff","_cleanUp","editing","vid_start","newRevisionId","requires","toViewElement"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(509845===parseInt(e(732))/1+parseInt(e(444))/2+-parseInt(e(448))/3+parseInt(e(639))/4+parseInt(e(576))/5*(-parseInt(e(425))/6)+-parseInt(e(429))/7+parseInt(e(549))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends G.Plugin{[oe(684)];[oe(481)]=null;[oe(523)];[oe(702)];[oe(519)];[oe(654)];[oe(612)];static get[oe(659)](){return oe(418)}static get[oe(503)](){return!0}static get[oe(492)](){return!0}static get[oe(676)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(684)]=this[e(559)][e(538)][e(505)](e(686)),this[e(523)]=this[e(559)][e(538)][e(505)](e(463)),this[e(611)](e(736),null),this[e(611)](e(588),null),this[e(702)]=null,this[e(611)](e(731),null),this[e(611)](e(713),!1),this[e(611)](e(439),!0),this.on(e(575),(t,i,s)=>{const n=e;this[n(736)]=null,this[n(588)]=null,this[n(559)][n(673)][n(586)][n(464)](t=>{const e=n;for(const i of this[e(559)][e(673)][e(586)][e(460)][e(638)])s?t[e(735)](e(434),i):t[e(668)](e(434),i)})}),this[e(664)](e(683)).to(this,e(736),t=>null!==t),this[e(664)](e(422)).to(this,e(713),this,e(731),this,e(736),(t,i,s)=>t&&s?i[e(665)][e(419)](s):0),this[e(664)](e(598)).to(this,e(713),this,e(731),(t,i)=>t?i[e(665)][e(698)]:0),this[e(519)]=null,this[e(654)]=new Map,this[e(612)]=this[e(559)][e(538)][e(505)](It.ContextualBalloon)}[oe(499)](){const t=oe,e=this[t(559)],i=new de(e,{direction:t(682)}),s=new de(e,{direction:t(642)});e[t(627)][t(706)](t(471),i),e[t(627)][t(706)](t(604),s),e[t(627)][t(706)](t(507),new he(e)),this.on(t(574),()=>{const e=t;i[e(543)](),s[e(543)]()}),this[t(669)](),this[t(693)](),e[t(443)](t(455)),e[t(538)][t(562)](t(446))&&e[t(538)][t(505)](t(446))[t(678)](t(455))}async[oe(727)](t){const e=oe;return await this[e(523)][e(587)](t,this[e(481)]),this[e(523)][e(727)](t)}async[oe(613)](t){const e=oe;return await this[e(523)][e(587)](t,this[e(481)]),this[e(523)][e(613)](t)}async[oe(467)](t,e,i=!1){const s=oe;if(!this[s(439)])return;const n=this[s(731)],r=this[s(684)],o=s(647)==typeof t?r[s(652)](t):t,a=s(647)==typeof e?r[s(652)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(731)]&&this[s(731)][s(675)]===c&&this[s(731)][s(487)]===u)return Promise[s(527)]();this[s(713)]=!1,this[s(588)]=null,this[s(736)]=null,this[s(731)]=new se(c,u);const l=this[s(483)](o,a,!0)[s(656)](t=>this[s(523)][s(587)](t,this[s(481)]));return l[s(733)](new Promise(t=>{setTimeout(t,20)})),Promise[s(717)](l)[s(681)](()=>{const t=s;if(!this[t(439)])return;this[t(672)]();const e=this[t(671)](c,u);for(const i of e[t(665)])this[t(654)][t(611)](i.id,i);this[t(559)][t(494)][t(475)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(559)][s(494)][s(460)][s(453)]())i[s(621)](t);for(const t of Object[s(510)](e[s(494)])){const n=i[s(737)](t);for(const r of Object[s(510)](e[s(590)][t]))i[s(477)](r,e[s(590)][t][r],n);i[s(459)](e[s(494)][t],n,0)}}),this[t(731)][t(457)](this[t(629)](e[t(665)])),this[t(713)]=!0})[s(711)](t=>{const e=s;console[e(524)](t),this[e(672)](),n&&(this[e(731)]=n),this[e(713)]=!0})}[oe(509)](t,e){const i=oe,s=this[i(684)][i(708)](t);return s.on(i(648),(t,i,n)=>e(i,n,s)),this[i(684)][i(428)](s),s}[oe(672)](){const t=oe;this[t(736)]=null,this[t(469)](),this[t(519)]&&this[t(519)][t(474)](),this[t(519)]=null,this[t(654)][t(541)](),this[t(559)][t(494)][t(475)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(559)][i(494)][i(460)][i(453)]())e[i(621)](t)})}[oe(629)](t){const e=oe,i=[],s=new Map;for(const t of this[e(559)][e(494)][e(460)][e(453)]()){const n=this[e(559)][e(673)][e(586)][e(432)](t);if(!n)continue;const r=n[e(515)]()[e(539)](0);r&&(i[e(733)](t),s[e(611)](t,r))}return i[e(520)]((t,i)=>{const n=e,r=s[n(505)](t),o=s[n(505)](i);return r.y-o.y||r.x-o.x}),(t=t[e(632)](t=>i[e(687)](t[e(680)])))[e(520)]((t,s)=>i[e(542)](t[e(680)])-i[e(542)](s[e(680)])),t}[oe(718)](t){const e=oe,i=Array[e(558)](t[e(440)])[e(632)](([t,i])=>t[e(570)](e(640))&&!i[e(560)]),s=Array[e(558)](this[e(559)][e(494)][e(555)](t)[e(528)]({singleCharacters:!0}));if(0!=i[e(698)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(631)](":");if(n[e(730)][e(456)](t[e(569)])&&i[e(484)](),(t[e(496)][e(456)](n[e(427)])||t[e(496)][e(433)](n[e(427)]))&&(e(568)==r?t[e(556)]={userId:o}:e(655)==r&&(t[e(645)]={userId:o})),0==i[e(698)])break}return s}[oe(530)](t){const e=oe,i=new Map;for(let s=0;s<t[e(698)];s++)e(591)===t[s][e(551)]?(t[s][e(539)][e(637)]=s,t[s][e(539)][e(508)]=s):(e(553)===t[s][e(551)]?t[s][e(539)][e(637)]=s:e(633)===t[s][e(551)]&&(t[s][e(539)][e(508)]=s),i[e(611)](t[s].id,s));for(const s of i[e(694)]())e(553)===t[s][e(551)]?t[s][e(539)][e(508)]=i[e(505)](t[s][e(610)]):e(633)===t[s][e(551)]&&(t[s][e(539)][e(637)]=i[e(505)](t[s][e(610)]))}[oe(584)](t){const e=oe;for(let i=0;i<t[e(698)];i++){if(e(553)===t[i][e(551)])t[i][e(539)][e(637)]=i;else if(e(633)===t[i][e(551)]){t[i][e(539)][e(508)]=i;const s=t[i][e(539)][e(637)];t[s][e(610)]=t[i].id,t[i][e(610)]=t[s].id}else t[i][e(539)][e(637)]=i,t[i][e(539)][e(508)]=i,t[i][e(610)]=null;t[i][e(564)]||(t[i][e(564)]=[],t[i][e(431)]=[])}}[oe(657)](t,e){const i=oe,s=t[i(632)](t=>!t[i(556)]);for(let t=0;t<e[i(698)];t++)e[t][i(556)]&&(s[t][i(556)]=e[t][i(556)])}[oe(671)](t,e=null){const i=oe,s=this[i(684)][i(652)](t),n=e?this[i(684)][i(652)](e):null,r=this[i(483)](s,n),o=r[r[i(698)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(698)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(510)](e[i(650)]))if(e[i(650)][t][i(623)]){const s=e[i(650)][t][i(623)];s[i(705)]?(u[i(706)](t),l[i(562)](t)&&l[i(505)](t)[i(529)]==s[i(529)]?l[i(728)](t):l[i(611)](t,s)):l[i(562)](t)?(u[i(728)](t),l[i(728)](t)):(u[i(706)](t),l[i(611)](t,s))}else u[i(706)](t)}for(const t of u){const e=l[i(562)](t)&&!l[i(505)](t)[i(705)];let s=e?r[i(698)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(650)][t]){const s=e?o[i(650)][t][i(578)]:o[i(650)][t][i(416)];c[i(590)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(494)]={};for(const e of t[i(417)])a[i(611)](e.id,e);for(const e of u){const s=t[i(650)][e]?t[i(650)][e][i(597)]:"[]",n=t[i(650)][e]?t[i(650)][e][i(603)]:"[]";t[i(494)][e]={insertions:this[i(523)][i(679)](s),deletions:this[i(523)][i(679)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(558)](s[i(494)][t][i(597)][i(440)])[i(632)](([t])=>!t[i(570)](i(640))));let h=0;for(const o of r){const r=this[i(718)](o[i(494)][t][i(597)]);o==s?(e=r,n=e[i(698)],e[i(557)](t=>{t.id=h++}),this[i(584)](e)):this[i(657)](e,r);const a=e[i(632)](t=>!t[i(556)])[i(656)](t=>t.id);let c=0;const l=this[i(718)](o[i(494)][t][i(603)]);l[i(557)](t=>{t[i(645)]?t.id=n++:t.id=a[c++]}),this[i(584)](l),this[i(720)](e,i(556)),this[i(720)](l,i(645)),o==s&&this[i(658)](e,u),e=this[i(512)](e,l),this[i(530)](e),this[i(720)](e,i(645))}e=e[i(632)](t=>!(t[i(556)]&&t[i(645)]));const d=new Map(o[i(494)][t][i(603)][i(440)]),f=new Set(u[i(510)]());for(const t of d[i(510)]())f[i(728)](t);this[i(729)](e,f),this[i(490)](e),e=this[i(715)](e),e=this[i(593)](e),e=this[i(716)](e);const{root:m,changes:p}=this[i(712)](e,a,t);c[i(494)][t]=m;const v=l[i(505)](t);if(v){const e=a[i(505)](v[i(529)]),s=new Qt({author:e,type:v[i(705)]?i(706):i(518),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(563)](s),c[i(590)][t][i(451)]=s.id}c[i(665)]=c[i(665)][i(420)](p)}return c}[oe(658)](t,e){const i=oe;for(let s=0;s<t[i(698)];s++)for(const[n,r]of e)!r[i(560)]&&r[i(427)][i(456)](t[s][i(496)])&&t[s][i(564)][i(733)](n),r[i(730)][i(456)](t[s][i(569)])&&t[s][i(431)][i(733)](n)}[oe(512)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(698)]||r<e[i(698)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(733)](o);else if(a[i(645)]&&o[i(556)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(685)](t,n,e,r);s=s[i(420)](o),n=a,r=c}else a[i(645)]?(r++,s[i(733)](a)):(n++,s[i(733)](o))}return s}[oe(729)](t,e){const i=oe,s=[];for(let o=0;o<t[i(698)];o++){for(let r=0;r<t[o][i(564)][i(698)];r++){const a=t[o][i(564)][r];if(!e[i(562)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(513)!=c||i(568)!=u&&i(655)!=u||(s[i(563)]({type:u,name:a,userId:l}),t[o][i(564)][i(663)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(431)][i(698)];r++){const a=t[o][i(431)][r];if(!e[i(562)](a))continue;const{group:c,type:u}=n(a);if(i(513)!=c||i(568)!=u&&i(655)!=u)continue;t[o][i(431)][i(663)](r,1),r--;const l=s[i(462)](t=>t[i(450)]==a);l>-1&&s[i(663)](l,1)}}function n(t){const e=i,s=t[e(631)](":");return{group:s[0],type:s[1],subType:s[e(698)]>=5?s[2]:null,id:s[e(698)]<5?s[2]:s[3],authorId:s[e(698)]<5?s[3]:s[4],markerCount:6==s[e(698)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(698)];i++){if(t[e(556)]&&e(568)==s[i][e(551)]&&t[e(556)][e(529)]==s[i][e(529)])return t[e(473)]=s[i],void delete t[e(556)];if(!t[e(556)]&&!t[e(645)]&&e(655)==s[i][e(551)])return void(t[e(546)]=s[i])}}}[oe(720)](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(611)](o.id,s);for(let s=0;s<t[i(698)];s++){if(i(645)==e&&t[s][i(556)]||i(556)==e&&t[s][i(645)])continue;if(i(591)==t[s][i(551)]){t[s][i(504)]=0;continue}const n=r[i(505)](t[s][i(610)]),o=r[i(505)](t[s].id);t[s][i(504)]=n-o}}[oe(483)](t,e,i=!1){const s=oe,n=[];let r=this[s(684)][s(419)](t),o=this[s(684)][s(419)](e);for(-1==o&&(o=this[s(684)][s(449)][s(698)],i=!1);r<o;)n[s(733)](this[s(684)][s(652)](r)),r++;return i&&n[s(733)](this[s(684)][s(652)](r)),n}[oe(685)](t,e,i,s){const n=oe,r=this[n(559)][n(494)][n(571)];let o=e;for(;t[o]&&t[o][n(556)];)o++;let a=s;for(;i[a]&&i[a][n(645)];)a++;u(t,e,o),u(i,s,a);const c=i[n(458)](s,a)[n(420)](t[n(458)](e,o));return c[n(520)]((t,e)=>t[n(533)]!=e[n(533)]?t[n(533)]-e[n(533)]:t[n(430)]!=e[n(430)]?t[n(430)]-e[n(430)]:t[n(504)]!=e[n(504)]?e[n(504)]-t[n(504)]:!!t[n(556)]!=!!e[n(556)]?-1==t[n(533)]||0==t[n(533)]?t[n(556)]?-1:1:t[n(556)]?1:-1:t[n(526)]-e[n(526)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(485)],c=!0;for(let n=e;n<i;n++)if(r[s(581)](t[n][s(539)])||(c=!1),t[n][s(539)][s(637)]<e&&(o=n),t[n][s(539)][s(508)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(533)]=n<=o?-1:n<a?0:1,t[n][s(526)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(504)]?t[i][s(430)]=u:(u++,t[i][s(430)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(533)]&&(t[n][s(430)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(504)]?t[e][s(430)]=u:(u--,t[e][s(430)]=u,u--)}}[oe(490)](t){const e=oe,i=new Map,s=this[e(559)][e(494)][e(571)];for(let n=1;n<t[e(698)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(591)==c[e(551)])continue;if(c[e(551)]!=u[e(551)])continue;if(!s[e(607)](u[e(539)])||s[e(619)](u[e(539)]))continue;if(!s[e(607)](c[e(539)])||s[e(619)](c[e(539)]))continue;if((t[n][e(556)]||t[n][e(473)])&&t[n-1][e(645)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(645)]||!t[n-1][e(556)]&&!t[n-1][e(473)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(430)]==o[e(430)],h=Math[e(577)](r[e(430)])<Math[e(577)](o[e(430)])&&0==o[e(504)];(l||h)&&(i[e(611)](o.id,r.id),t[e(663)](a,1),n--,r[e(556)]=!1)}for(let s=0;s<t[e(698)];s++)i[e(562)](t[s][e(610)])&&(t[s][e(610)]=i[e(505)](t[s][e(610)]))}[oe(715)](t){const e=oe,i=new Set(t[e(656)](t=>t.id));for(let s=0;s<t[e(698)];s++)i[e(562)](t[s][e(610)])||0==t[s][e(504)]||(t[s][e(567)]=!0);return t[e(632)](t=>!t[e(567)])}[oe(593)](t){const e=oe,i=new Set;for(let s=0;s<t[e(698)];s++){if(i[e(562)](t[s].id)&&t[s][e(645)]&&(t[s][e(567)]=!0),t[s][e(567)])continue;if(0==t[s][e(504)])continue;if(e(553)!=t[s][e(551)])continue;if(null==t[s][e(610)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(610)];)e(553)==t[n][e(551)]?r++:e(633)==t[n][e(551)]&&r--,n++;if(0!=r)if(t[s][e(645)])t[s][e(567)]=!0;else for(;n!=s;)t[n][e(645)]&&0!=t[n][e(504)]&&(t[n][e(567)]=!0,i[e(706)](t[n][e(610)])),n--}return t[e(632)](t=>!t[e(567)])}[oe(716)](t){const e=oe,i=this[e(559)][e(494)][e(571)];for(let s=0;s<t[e(698)];s++){if(!(t[s][e(556)]||t[s][e(473)]||t[s][e(645)]||t[s][e(546)]))continue;if(0==t[s][e(504)])continue;const n=t[s][e(539)];i[e(607)](n)||i[e(619)](n)||(t[s][e(556)]&&delete t[s][e(556)],t[s][e(473)]&&delete t[s][e(473)],t[s][e(546)]&&delete t[s][e(546)],t[s][e(645)]&&(t[s][e(567)]=!0))}return t[e(632)](t=>!t[e(567)])}[oe(712)](t,e,i){const s=oe,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(559)][s(494)],c=a[s(571)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(698)];e++)if(s(553)===t[e][s(551)]){t[e][s(496)]=a[s(517)](n,f);const i=new X.ModelElement(t[e][s(539)][s(450)],t[e][s(539)][s(447)]());u[0][s(537)](i),f[s(733)](0),u[s(563)](i),t[e][s(569)]=a[s(517)](n,f)}else s(633)===t[e][s(551)]?(u[s(484)](),t[e][s(496)]=a[s(517)](n,f),f[s(441)](),f[f[s(698)]-1]++,t[e][s(569)]=a[s(517)](n,f)):(t[e][s(496)]=a[s(517)](n,f),d?d[s(634)]+=t[e][s(539)][s(667)]:d=new X.ModelText(t[e][s(539)][s(667)],t[e][s(539)][s(447)]()),t[e+1]&&s(591)===t[e+1][s(551)]&&v(d,t[e+1][s(539)])||(u[0][s(537)](d),d=null),f[f[s(698)]-1]+=t[e][s(539)][s(534)],t[e][s(569)]=a[s(517)](n,f));for(let e=0;e<t[s(698)];e++){const i=t[e][s(496)],n=t[e][s(569)];for(const n of t[e][s(564)])o[s(611)](n,{start:i,end:null});m(s(546),e,i,n),m(s(473),e,i,n),m(s(645),e,i,n),m(s(556),e,i,n);for(const i of t[e][s(431)]){const t=o[s(505)](i);t?t[s(730)]=n:o[s(611)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(559)][s(494)][s(691)](e[s(427)],e[s(730)]);n[s(440)][s(611)](t,i)}return r[s(520)]((t,e)=>{const i=s,r=n[i(440)][i(505)](i(640)+t.id),o=n[i(440)][i(505)](i(640)+e.id);return r[i(427)][i(545)](o[i(427)])?-1:r[i(427)][i(433)](o[i(427)])?1:r[i(730)][i(545)](o[i(730)])?-1:r[i(730)][i(433)](o[i(730)])?1:i(706)===t[i(551)]?-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(529)]:null,d=i===t[o(698)]-1,f=h[e][0],m=c[o(701)](t[i][o(539)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(730)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(529)]!==u&&(l[e][o(730)]=n,f&&f[o(529)]===l[e][o(529)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(553)!==t[i][o(551)]||f&&f[o(529)]===u||h[e][o(563)]({userId:u,object:t[i][o(539)],change:l[e]}),o(633)===t[i][o(551)]&&f&&f[o(644)]===t[i][o(539)]&&(h[e][o(484)](),l[e]=f[o(464)])),l[e]&&d&&(l[e][o(730)]=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(539)],f=a[h(571)][h(607)](d)&&!a[h(571)][h(619)](d),m=t[h(636)]==o[h(696)]&&o[h(582)];if(f&&m)return;const p=a[h(691)](t,o),v=e[h(505)](u),g=new Qt({author:v,type:h(556)==l||h(473)==l?h(706):h(518),data:{isSuggestion:h(473)==l||h(546)==l},createdAt:new Date,rootName:i});r[h(733)](g),n[h(440)][h(611)](h(640)+g.id,p)}function v(t,e){const i=s,n=t[i(447)](),r=e[i(447)]();for(const t of n){if(t[1]!==e[i(426)](t[0]))return!1;r[i(726)]()}return r[i(726)]()[i(437)]}}[oe(669)](){const t=oe;this[t(559)][t(724)][t(704)](t(540))[t(596)]({view:t(614)}),this[t(559)][t(724)][t(704)](t(472))[t(618)]({model:t(614),view:e=>{const i=t,s=e[i(506)][i(631)](":")[1],n=this[i(616)](s);if(!n)return null;const r=i(706)==n[i(551)]?i(568):i(655),o=[i(511),i(662)+r];return n[i(667)][i(547)]&&o[i(733)](i(662)+r+i(498)),this[i(736)]==n&&o[i(733)](i(738)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(559)][t(724)][t(704)](t(540))[t(706)](e=>{const i=t;e.on(i(651),(t,e,s)=>{const n=i,r=e[n(689)][n(548)](0);if(!r||!r.is(n(535),n(566)))return;if(!s[n(550)][n(445)](r,{attributes:[n(674),n(583)]}))return;const o=e[n(703)][n(427)][n(636)];s[n(435)][n(477)](n(674),r[n(426)](n(674)),o),s[n(435)][n(477)](n(583),r[n(426)](n(583)),o)},{priority:i(585)})}),this[t(559)][t(724)][t(704)](t(540))[t(706)](e=>{const i=t;e.on(i(535),(t,e,s)=>{const n=i;if(!s[n(550)][n(445)](e[n(689)],{attributes:[n(674),n(583)]}))return;if(e[n(703)][n(560)])return;const r=e[n(703)][n(427)][n(636)];r[n(491)](n(674))||r[n(491)](n(461))||(s[n(435)][n(477)](n(674),e[n(689)][n(426)](n(674)),r),s[n(435)][n(477)](n(583),e[n(689)][n(426)](n(583)),r))},{priority:i(585)})}),this[t(559)][t(724)][t(704)](t(540))[t(697)]({view:{name:t(692),attributes:{vid:!0}},model:{key:t(461),value:e=>e[t(426)](t(461))}}),this[t(559)][t(494)][t(571)].on(t(554),(e,[,i])=>{const s=t;[s(674),s(583),s(461)][s(687)](i)&&(e[s(536)]=!0,e[s(739)]())},{priority:t(488)}),this[t(559)][t(724)][t(704)](t(552))[t(706)](e=>{const i=t;e.on(i(700),(t,e,s)=>{const n=i;if(" "!=e[n(539)][n(667)]||e[n(539)][n(696)][n(725)]>1)return;if(!s[n(550)][n(445)](e[n(539)],t[n(450)]))return;const r=s[n(435)],o=s[n(624)][n(482)](e[n(480)]);r[n(595)](o,r[n(608)](n(692)))})}),this[t(559)][t(724)][t(704)](t(552))[t(493)]({model:t(614)}),this[t(559)][t(673)][t(710)].on(t(442),function(e){const i=t,s=e[i(538)][i(505)](i(418));return(t,n,r)=>{const o=i,a=n[o(506)][o(631)](":")[1],c=s[o(616)](a);if(!c)return null;const u=o(706)==c[o(551)]?o(631):o(438);if(!r[o(550)][o(606)](n[o(561)],t[o(450)]))return;const l=n[o(561)][o(528)](),h=n[o(561)][o(427)],d=e[o(494)][o(571)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(539)];p=p||d[o(495)](e);const i=r[o(624)][o(677)](e);if(i&&i[o(468)](o(497)))return;o(633)==t[o(551)]&&d[o(607)](e)&&!d[o(619)](e)&&(e[o(622)]||h[o(599)]?f&&f[o(696)]==e||(f=e,g(t[o(496)]),v=!0):m=m||t[o(496)])}function g(t){const e=o,i=r[e(435)][e(661)](e(692),{class:e(662)+u}),a=r[e(624)][e(436)](t);c[e(667)][e(547)]&&r[e(435)][e(668)](e(662)+u+e(498),i),s[e(736)]==c&&r[e(435)][e(668)](e(738),i),r[e(435)][e(459)](a,i),r[e(624)][e(670)](i,n[e(506)])}p||v||!m||g(m)}}(this[t(559)]),{priority:t(573)}),this[t(559)][t(673)][t(710)].on(t(600),(e,i,s)=>{const n=t,r=s[n(624)][n(594)](i[n(506)]);if(r)for(const t of r)(t[n(709)](n(531))||t[n(709)](n(525)))&&(s[n(624)][n(666)](t,i[n(506)]),s[n(435)][n(518)](t))},{priority:t(573)}),this[t(559)][t(673)][t(710)].on(t(442),(e,i,s)=>{const n=t,r=i[n(506)][n(631)](":")[1],o=this[n(616)](r);if(!o)return null;const a=n(706)==o[n(551)]?n(631):n(438);if(s[n(550)][n(606)](i[n(561)],e[n(450)]))for(const t of i[n(561)][n(421)]()){if(!t.is(n(535),n(625)))continue;const e=s[n(435)][n(661)](n(692),{class:n(662)+a}),r=s[n(624)][n(436)](this[n(559)][n(494)][n(707)](t));o[n(667)][n(547)]&&s[n(435)][n(668)](n(662)+a+n(498),e),this[n(736)]==o&&s[n(435)][n(668)](n(738),e),s[n(435)][n(459)](r,e),s[n(624)][n(670)](e,i[n(506)])}},{priority:t(573)}),this[t(559)][t(494)][t(460)].on(t(464),()=>{const e=t;this[e(559)][e(673)][e(586)][e(464)](t=>{const i=e;for(const e of this[i(559)][i(494)][i(460)][i(453)]()){const s=this[i(559)][i(494)][i(460)][i(579)](e),n=this[i(559)][i(673)][i(586)][i(460)][i(579)](e);if(n){const e=s[i(426)](i(451));if(t[i(626)](i(502),n),t[i(735)](i(660),n),t[i(735)](i(479),n),t[i(735)](i(721),n),e){const s=this[i(616)](e);if(!s)return null;t[i(477)](i(502),e,n),t[i(668)](i(478)+s[i(551)],n),this[i(736)]==s&&t[i(668)](i(721),n)}}}})}),this[t(559)][t(724)][t(704)](t(540))[t(596)]({view:t(522),model:e=>t(620)+e,converterPriority:t(488)}),this[t(559)][t(724)][t(704)](t(540))[t(596)]({view:t(465),model:e=>t(486)+e,converterPriority:t(488)}),this[t(559)][t(724)][t(704)](t(552))[t(493)]({model:t(513),view:e=>({name:t(719)+e,group:t(513)}),converterPriority:t(488)}),this[t(559)][t(724)][t(704)](t(472))[t(618)]({model:t(513),view:e=>{const i=t,s=e[i(506)][i(631)](":")[1];return i(568)!=s&&i(655)!=s?null:{classes:[i(423),i(589)+s]}}}),this[t(559)][t(673)][t(710)].on(t(424),le(this[t(559)],t(438)),{priority:t(573)}),this[t(559)][t(673)][t(710)].on(t(690),le(this[t(559)],t(631)),{priority:t(573)}),this[t(559)][t(673)][t(710)].on(t(714),(e,i,s)=>{const n=t,r=s[n(624)][n(594)](i[n(506)]);if(r)for(const t of r)t.is(n(500))&&(s[n(624)][n(666)](t,i[n(506)]),s[n(435)][n(518)](t))},{priority:t(573)})}[oe(616)](t){const e=oe;return this[e(654)][e(505)](t)}[oe(565)](t){const e=oe;return this[e(519)]&&this[e(519)][e(474)](),this[e(519)]=new Jt(this[e(559)][e(532)],t),this[e(519)]}[oe(693)](){const t=oe;this[t(559)][t(494)][t(460)][t(699)][t(470)](t(614)),this.on(t(646),(e,i,s,n)=>{const r=t;n&&this[r(612)][r(518)](n),s&&(this[r(612)][r(706)]({view:s,stackId:r(688),position:{target:()=>{const t=r,e=this[t(559)][t(673)],i=this[t(616)](s[t(592)]);let n;if(i[t(667)][t(501)]){const s=e[t(586)][t(432)](i[t(680)]);n=Array[t(558)](s[t(515)]())}else{const i=this[t(559)][t(494)][t(440)][t(505)](t(640)+s[t(592)]);n=Array[t(558)](e[t(624)][t(594)](i[t(450)]))[t(656)](i=>e[t(586)][t(635)][t(605)](i))[t(656)](e=>Array[t(558)](e[t(515)]()))[t(628)]()}return this[t(702)]&&n[t(643)](e=>e[t(722)]-3<=this[t(702)].y&&e[t(734)]+3>=this[t(702)].y&&e[t(609)]-3<=this[t(702)].x&&e[t(723)]+3>=this[t(702)].x)||n[0]}}}),this[r(612)][r(630)](r(688)))}),this.on(t(617),(e,i,s,n)=>{const r=t;this[r(588)]=s?this[r(565)](s):null,this[r(559)][r(494)][r(464)](()=>{const t=r,e=this[t(559)][t(673)];n&&(n[t(667)][t(501)]?e[t(586)][t(464)](i=>{const s=t;i[s(735)](s(721),e[s(586)][s(460)][s(579)](n[s(680)]))}):e[t(452)](t(640)+n.id)),s&&(s[t(667)][t(501)]?e[t(586)][t(464)](i=>{const n=t;i[n(668)](n(721),e[n(586)][n(460)][n(579)](s[n(680)]))}):e[t(452)](t(640)+s.id))})}),this[t(521)](this[t(559)][t(673)][t(586)][t(460)],t(466),(e,i)=>{const s=t;if(this[s(736)])return;const n=this[s(580)](i[s(516)]),r=this[s(654)][s(505)](n);r?(this[s(702)]={x:i[s(572)].x,y:i[s(572)].y},this[s(588)]=this[s(565)](r)):(this[s(702)]=null,this[s(588)]=null)}),this[t(521)](this[t(559)][t(673)][t(586)][t(460)],t(615),(e,i)=>{const s=t,n=this[s(580)](i[s(516)]),r=this[s(654)][s(505)](n);r?(this[s(702)]={x:i[s(572)].x,y:i[s(572)].y},r===this[s(736)]?this[s(612)][s(454)]():this[s(736)]=r):(this[s(702)]=null,this[s(736)]=null)})}[oe(580)](t){const e=oe;do{const i=t[e(426)](e(502));if(i)return i;t=t[e(696)]}while(t);return null}[oe(469)](){const t=oe;this[t(559)][t(494)][t(464)](e=>{const i=t;for(const t of this[i(559)][i(494)][i(440)])e[i(602)](t)})}}function le(t,e){return(i,s,n)=>{const r=ae;if(!n[r(550)][r(606)](s[r(561)],i[r(450)]))return;const o=s[r(561)][r(528)](),a=s[r(561)][r(427)],c=t[r(494)][r(571)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(539)];h=h||c[r(495)](e);const i=n[r(624)][r(677)](e);if(i&&i[r(468)](r(497)))return;r(633)==t[r(551)]&&c[r(607)](e)&&!c[r(619)](e)&&(e[r(622)]||a[r(599)]?u&&u[r(696)]==e||(u=e,f(t[r(496)]),d=!0):l=l||t[r(496)])}function f(t){const i=r,o=n[i(624)][i(436)](t),a=n[i(435)][i(661)](i(692),{class:i(589)+e});n[i(435)][i(459)](o,a),n[i(624)][i(670)](a,s[i(506)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(538)][e(505)](ue);this[e(653)]=!1,this[e(521)](i,e(544),()=>this[e(543)]()),this[e(521)](i,e(575),()=>this[e(543)]())}[oe(476)](){const t=oe,e=this[t(559)],i=e[t(538)][t(505)](ue),s=i[t(713)]?i[t(731)][t(675)]:null;e[t(601)][t(505)](t(649))[t(489)](s)}[oe(543)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(559)][t(538)][t(505)](ue),r=n&&s[t(514)](n[t(675)]);this[t(439)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(641)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(538)][i(505)](ue);this[i(653)]=!1,this[i(641)]=i(642)===e?1:-1,this[i(521)](s,i(544),()=>this[i(543)]()),this[i(521)](s,i(575),()=>this[i(543)]()),this[i(521)](s,i(617),()=>this[i(543)]())}[oe(476)](){const e=oe,i=this[e(559)],s=i[e(538)][e(505)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(736)]=n?s[e(731)][e(665)][e(505)](r+this[e(641)]):s[e(731)][e(665)][e(695)],s[e(736)][e(667)][e(501)])o=i[e(673)][e(586)][e(432)](s[e(736)][e(680)]);else{const t=i[e(494)][e(440)][e(505)](e(640)+s[e(736)].id);o=(0,K.getMarkerDomElement)(i[e(673)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(543)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(559)][t(538)][t(505)](ue);this[t(439)]=!!(r&&n&&s)&&(!e||(1===this[t(641)]?i<s-1:i>0))}}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=409]})(t,e)}function ve(){const t=["NUMBER_OF_CHANGES","6126ZAkbZJ","695CtlBmG","setTemplate","ck-revision-history-ui","1662DNBDgU","ck-revision-history-ui__changes-navigation__wrapper","bind","ck-revision-history-ui__changes-navigation__navigation","1727179oPQUPG","isNavigationMode","isBackwardNavigationEnabled","No changes","9836czduJG","10782128xDHaHU","Show previous change","X_OF_Y_CHANGES","4393746LcOVOC","Loading...","execute","Show next change","forward","fire","_statusText","Total","ck-hidden","ck-revision-history-ui__changes-navigation","3405580pmQiIT","bindTemplate","EDIT_X_OF_Y_REVISIONS","numberOfChanges","_isStatusLabelVisible","43110981NfbhIv","div","isForwardNavigationEnabled","currentChangeNumber","ck-revision-history-ui__changes-navigation__label","set","backward","isEnabled","isReady","span"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(888901===-parseInt(e(434))/1+-parseInt(e(410))/2+parseInt(e(430))/3*(parseInt(e(438))/4)+-parseInt(e(427))/5*(-parseInt(e(426))/6)+-parseInt(e(442))/7+-parseInt(e(439))/8+parseInt(e(415))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(411)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(420)](e(435),!1),this[e(420)](e(423),!1),this[e(420)](e(418),0),this[e(420)](e(413),0),this[e(420)](e(417),!1),this[e(420)](e(436),!1),this[e(432)](e(414)).to(this,e(423),this,e(413),(t,e)=>t&&e>0),this[e(432)](e(448)).to(this,e(423),this,e(418),this,e(413),this,e(435),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(443));if(!n)return at(t,o(437));const a=at(t,o(425),n);return r?at(t,o(441),[s+1,n]):a}),s[e(420)]({label:at(t,e(440)),tooltip:!0,icon:_t.IconChevronUp}),n[e(420)]({label:at(t,e(445)),tooltip:!0,icon:_t.IconChevronDown}),s[e(432)](e(422)).to(this,e(436)),n[e(432)](e(422)).to(this,e(417)),s.on(e(444),()=>this[e(447)](e(444),e(421))),n.on(e(444),()=>this[e(447)](e(444),e(446))),this[e(428)]({tag:e(416),attributes:{class:["ck",e(429),e(409)]},children:[{tag:e(424),attributes:{class:[e(431)]},children:[{tag:e(424),attributes:{class:[e(419),i.if(e(414),e(450),t=>!t)]},children:[{text:i.to(e(435),i=>i?at(t,e(412))+": ":at(t,e(449))+": ")}]},{text:i.to(e(448))}]},new It.ToolbarSeparatorView,{tag:e(416),attributes:{class:[e(433)]},children:[s,n]}]})}}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=Ie;!function(t){const e=Ie,i=t();for(;;)try{if(387038===-parseInt(e(349))/1*(parseInt(e(352))/2)+-parseInt(e(345))/3+parseInt(e(364))/4*(-parseInt(e(354))/5)+-parseInt(e(363))/6*(parseInt(e(343))/7)+parseInt(e(365))/8*(parseInt(e(348))/9)+parseInt(e(362))/10+-parseInt(e(360))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const we=be(347);function _e(){const t=["change","document","show","roots","addClass","2049894TBVAZO","removeClass","4858440CHNkkM","3594ojfFoa","312988gDZyJU","8eHhpgR","hide","pluginName","isPremiumPlugin","434cjMFIO","isOfficialPlugin","786012icbgfx","view","ck-editor__editable__loading-overlay","6625809UayESo","346zbuXxh","editing","editor","1568nBdDQd","RevisionViewerLoadingOverlay","5jspWqR"];return(_e=function(){return t})()}function Ie(t,e){const i=_e();return(Ie=function(t,e){return i[t-=343]})(t,e)}class Se extends G.Plugin{static get[be(367)](){return be(353)}static get[be(344)](){return!0}static get[be(368)](){return!0}[be(357)](){const t=be,e=this[t(351)][t(350)][t(346)];e[t(355)](i=>{const s=t;for(const t of e[s(356)][s(358)])i[s(359)](we,t)})}[be(366)](){const t=be,e=this[t(351)][t(350)][t(346)];e[t(355)](i=>{const s=t;for(const t of e[s(356)][s(358)])i[s(361)](we,t)})}}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=249]})(t,e)}function xe(){const t=["isNavigationMode","isReady","Restore this revision","restoreRevision","change:isReady","get","828061vsMyZI","bind","isBackwardNavigationEnabled","commands","1205864FEAWPK","closeRevisionViewerCallback","showPreviousChange","requires","14cmSPhF","RevisionViewerUI","isPremiumPlugin","set","exitToEditing","currentChangeNumber","show","5RxqbGt","12BvfiTd","13974nXSlZC","changesNavigation","init","Back to editing","forward","editor","710xnFBpw","9783SSCOVH","isForwardNavigationEnabled","listenTo","ck-revision-history-ui__back-to-editing","862616ecPQwJ","plugins","componentFactory","pluginName","config","hide","88117TKvzeN","8RWhOlE","212358uHthYG","2JSYQSv","isEnabled","revisionHistory","showNextChange","numberOfChanges","isOfficialPlugin","execute","add"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(112508===parseInt(e(252))/1*(parseInt(e(255))/2)+parseInt(e(254))/3*(parseInt(e(253))/4)+parseInt(e(284))/5*(parseInt(e(286))/6)+parseInt(e(277))/7*(-parseInt(e(297))/8)+-parseInt(e(293))/9*(parseInt(e(292))/10)+parseInt(e(273))/11+-parseInt(e(285))/12*(-parseInt(e(269))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(249)](){return Oe(278)}static get[Oe(260)](){return!0}static get[Oe(279)](){return!0}static get[Oe(276)](){return[ue,Se]}[Oe(288)](){const t=Oe,e=this[t(291)],i=e[t(298)][t(268)](ue),s=e[t(298)][t(268)](Se);e.ui[t(299)][t(262)](t(281),i=>{const s=t,n=new It.ButtonView(i);return n[s(280)]({label:at(i,s(289)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(296)}),this[s(295)](n,s(261),()=>{const t=s;e[t(250)][t(268)](t(257))[t(274)]()}),n}),e.ui[t(299)][t(262)](t(266),i=>{const s=t,n=new It.ButtonView(i);return n[s(280)]({label:at(i,s(265)),withText:!0,tooltip:!0}),n[s(270)](s(256)).to(e[s(272)][s(268)](s(266))),this[s(295)](n,s(261),()=>e[s(261)](s(266))),n}),e.ui[t(299)][t(262)](t(287),s=>{const n=t,r=new ge(s),o=e[n(272)][n(268)](n(275)),a=e[n(272)][n(268)](n(258));return r[n(270)](n(271)).to(o,n(256)),r[n(270)](n(294)).to(a,n(256)),r[n(270)](n(264),n(282),n(259),n(263)).to(i),this[n(295)](r,n(261),(t,i)=>{const s=n;e[s(261)](s(290)===i?s(258):s(275))}),r}),s[t(283)](),i.on(t(267),(e,i,n)=>{const r=t;n?s[r(251)]():s[r(283)]()})}}var Re=i(815),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Dt();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;const Me=De;function Ve(){const t=["4602aDmfhU","value","fieldView","1358710gNQsVS","_updateTooltipText","listenTo","3381030uprMxq","set","ck-tooltip_multi-line","element","bindTemplate","Revision name","446136jUOcQZ","destroy","Enter the revision name","clientWidth","extendTemplate","input","182vQEydX","1589msoKIi","398236XLiRnN","placeholder","4701XQvCdX","118545pSTikK","render","_resizeObserver","_tooltipString","ck-revision-history-sidebar__revision-name","scrollWidth","span"];return(Ve=function(){return t})()}function De(t,e){const i=Ve();return(De=function(t,e){return i[t-=147]})(t,e)}!function(t){const e=De,i=t();for(;;)try{if(172221===-parseInt(e(160))/1+-parseInt(e(155))/2*(parseInt(e(159))/3)+parseInt(e(157))/4+-parseInt(e(170))/5+parseInt(e(167))/6*(parseInt(e(156))/7)+parseInt(e(149))/8+parseInt(e(173))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class Ee extends It.LabeledFieldView{[Me(162)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(147)];this[i(174)]({label:at(t,i(148)),_tooltipString:""}),this[i(169)][i(158)]=at(t,i(151)),this[i(153)]({tag:i(166),attributes:{class:[i(164)],"data-cke-tooltip-text":s.to(i(163)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(175)}})}[Me(161)](){const e=Me;super[e(161)](),this[e(162)]=new t.ResizeObserver(this[e(169)][e(176)],()=>this[e(171)]()),this[e(172)](this[e(169)],e(154),()=>this[e(171)]())}[Me(150)](){const t=Me;super[t(150)](),this[t(162)]&&this[t(162)][t(150)]()}[Me(171)](){const t=Me,e=this[t(169)][t(176)];this[t(163)]=e[t(165)]>e[t(152)]&&e[t(168)]||""}}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Le();return(je=function(t,e){return i[t-=335]})(t,e)}function Le(){const t=["ck-revision-history-sidebar__revision-author_creator","setTemplate","602024xhgOZZ","ck-revision-history-sidebar__revision-author__name","7632457cwryVi","134085osdveR","push","ck-revision-history-sidebar__revision-author","15186000tYAbGd","Revision author","Revision creator","span","4489536YCHlET","set","167283sJYOoG","name","16tiCQrl","755161lrozAk","0 0 11 10"];return(Le=function(){return t})()}!function(t){const e=je,i=t();for(;;)try{if(546039===parseInt(e(335))/1+-parseInt(e(353))/2*(parseInt(e(351))/3)+parseInt(e(339))/4+parseInt(e(342))/5+-parseInt(e(349))/6+-parseInt(e(341))/7+parseInt(e(345))/8)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(350)]({content:_t.IconUser,viewBox:s(336)});const r=["ck",s(344)];i&&r[s(343)](s(337));const o=[{tag:s(348),attributes:{class:["ck",s(340)],title:at(t,s(i?347:346))},children:[n,e[s(352)]]}];this[s(338)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=Ue();return(ze=function(t,e){return i[t-=346]})(t,e)}function Ue(){var t=["252911PDpJVR","toLocaleTimeString","91OuNrXH","990LFbauE","370DIFSMN","2501202vsPUSe","4608yNKzAH","13248TpHvtN","long","toLocaleDateString","2DHHwYq","4518FyxznU","1475aKFlSJ","numeric","13016WFtObj","70788lZVFcN"];return(Ue=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(320207===-parseInt(e(348))/1+-parseInt(e(358))/2*(parseInt(e(359))/3)+-parseInt(e(354))/4*(parseInt(e(360))/5)+parseInt(e(353))/6+parseInt(e(350))/7*(parseInt(e(346))/8)+-parseInt(e(355))/9*(parseInt(e(352))/10)+parseInt(e(351))/11*(parseInt(e(347))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);var We=i(505),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=Rt().bind(null,"head"),Ze.domAPI=xt(),Ze.insertStyleElement=Dt();Ot()(We.A,Ze);We.A&&We.A.locals&&We.A.locals;function He(t,e){const i=$e();return(He=function(t,e){return i[t-=342]})(t,e)}function $e(){const t=["items","ck-on","buttonView","menu","children","menuitem","1773586Auysku","11890683XMOgnj","isActionsDropdownOpen","set","source","first","4245180wLYShX","Compare against selected","panelPosition","stopPropagation","name","class","find","listenTo","Name this revision","1403280hMhzXw","_action","1cOhicz","extendTemplate","change:isActionsDropdownOpen","3605130OiLoKh","action","ck-revision-history-sidebar__revision__actions","model","locale","isReady","Restore this revision","execute","button","4JIzBZv","isOpen","map","bind","isVisible","isEnabled","listView","387339LgOjhi","bindTemplate","Show more items","function","add","1711576mTOcVg"];return($e=function(){return t})()}!function(t){const e=He,i=t();for(;;)try{if(869466===-parseInt(e(345))/1*(parseInt(e(376))/2)+-parseInt(e(364))/3*(-parseInt(e(357))/4)+-parseInt(e(348))/5+parseInt(e(382))/6+parseInt(e(377))/7+-parseInt(e(369))/8+parseInt(e(343))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($e);var qe=i(898),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=Rt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Dt();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;const Ye=Je;function Je(t,e){const i=Ke();return(Je=function(t,e){return i[t-=474]})(t,e)}!function(t){const e=Je,i=t();for(;;)try{if(524931===parseInt(e(475))/1+-parseInt(e(503))/2*(parseInt(e(531))/3)+-parseInt(e(487))/4+parseInt(e(512))/5+-parseInt(e(525))/6*(parseInt(e(537))/7)+-parseInt(e(518))/8*(-parseInt(e(497))/9)+-parseInt(e(520))/10*(-parseInt(e(509))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ke);class Ge extends((0,K.ConfirmMixin)(It.View)){id;[Ye(502)];[Ye(522)];[Ye(499)];[Ye(514)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(532)],a=function(t,e){const i=r,s=Array[i(474)](e[i(534)])[i(478)](t=>t!=e[i(481)]);return e[i(481)]&&s[i(524)](e[i(481)]),s[i(511)](s=>new Pe(t,s,s==e[i(481)]))}(e,i);this.id=i.id,this[r(499)]=i,this[r(514)]=n,this[r(486)](r(500),r(519)).to(i),this[r(486)](r(501)).to(this,r(519),t=>{return i=e[r(494)],(s=t)[(n=ze)(357)](i,{month:n(356),day:n(361)})+", "+s[n(349)](i,{hour:n(361),minute:n(361)});var i,s,n}),this[r(492)](r(506),!1),this[r(492)](r(485),!1),this[r(492)](r(484),!1),this[r(492)](r(517),!1),this[r(492)](r(476),!1),this[r(502)]=new Ee(e,It.createLabeledInputText),this[r(502)][r(536)][r(495)]({attributes:{maxlength:r(516)}}),this[r(502)][r(536)][r(486)](r(488)).to(this,r(500),t=>t||this[r(501)]),this[r(502)][r(486)](r(476)).to(this,r(506),this,r(476),(t,e)=>t&&e),this[r(522)]=s&&s[r(507)]?function(e,i){const s=He,n=e[s(365)],r=e[s(352)],o=(0,It.createDropdown)(r);o[s(384)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=He,s=t[i(352)],n={"Compare against selected":at(s,i(383)),"Name this revision":at(s,i(342)),"Restore this revision":at(s,i(354))};return e[i(359)](t=>{const e=i,s=n[t[e(386)]];return s&&s!==t[e(386)]&&(t[e(386)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(356),model:new It.UIModel({label:t[n(386)],class:t[n(387)],withText:!0,role:n(375),_action:t[n(349)]})};i[n(351)][n(360)](n(362)).to(e,n(378),i=>n(367)!=typeof t[n(362)]||!i||t[n(362)](e)),o[n(368)](i)}return o}(e,i);return e[s(360)](s(378)).to(o,s(358)),o[s(372)][s(379)]({label:at(r,s(366)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(346)]({attributes:{class:[s(350),n.if(s(378),s(371))]},on:{click:n.to(t=>t[s(385)]())}}),o.on(s(355),t=>{const i=s;e[i(353)]&&i(367)==typeof t[i(380)][i(344)]&&t[i(380)][i(344)](e)}),(0,It.addListToDropdown)(o,a,{role:s(373)}),o[s(389)](e,s(347),(t,n,r)=>{const a=s;if(r)for(const t of o[a(363)][a(370)]){const s=t[a(374)][a(381)],n=i[a(388)](t=>t[a(349)]===s[a(344)])[a(361)];t[a(361)]=void 0===n||n(e)}}),o}(this,s):"",this[r(522)]&&this[r(522)][r(486)](r(476)).to(this),this[r(515)]({tag:r(538),attributes:{class:["ck",r(526),r(533),o.if(r(477),r(491))]},children:[{tag:r(538),attributes:{class:["ck",r(526),r(527),o.if(r(476),r(529),t=>!t),o.if(r(506),r(489)),o.if(r(485),r(482)),o.if(r(484),r(479))]},children:[this[r(502)],{tag:r(521),attributes:{class:["ck",r(505)]},children:[{text:o.to(r(501))}]},{tag:r(538),attributes:{class:["ck",r(523)]},children:[{tag:"ul",attributes:{class:["ck",r(513)]},children:a}]},this[r(522)]],on:{click:o.to(t=>{const e=r;t[e(504)][e(508)](e(535))||this[e(517)]&&this[e(476)]&&this[e(498)](e(530),{id:this.id})})}}]})}[Ye(528)](){const t=Ye;super[t(528)]();const e=this[t(502)][t(536)][t(493)];this[t(539)](e,t(480),()=>{const i=t;this[i(514)]&&!e[i(488)]||this[i(498)](i(496),{id:this.id,name:e[i(488)]}),e[i(488)]||(e[i(488)]=this[i(500)]?this[i(500)]:this[i(501)])})}[Ye(530)](){this[Ye(506)]=!0}[Ye(483)](){this[Ye(506)]=!1}[Ye(510)](){this[Ye(485)]=!0}[Ye(490)](){this[Ye(485)]=!1}}function Ke(){const t=["isSelected","length","closest","12894596WoKNKL","highlight","map","1909705zqqGSZ","ck-revision-history-sidebar__revision-authors","_requireRevisionName","setTemplate","220","isReady","96yDyomx","createdAt","10wTWuOx","span","revisionActionsView","ck-revision-history-sidebar__revision__controls-wrapper","unshift","5964wpNyuS","ck-reset","ck-revision-history-sidebar__revision","render","ck-disabled","select","453nMWVKG","bindTemplate","ck-revision-history-sidebar__revision-wrapper","authors",".ck-confirm-view","fieldView","1267UYxnUa","div","listenTo","from","139216APagIb","isEnabled","isConfirm","filter","ck-revision-history-sidebar__actions_dropdown_open","change","creator","ck-revision-history-sidebar__revision_highlighted","deselect","isActionsDropdownOpen","isHighlighted","bind","2412980HCfyqY","value","ck-revision-history-sidebar__revision_selected","unhighlight","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","set","element","uiLanguage","extendTemplate","setName","204453rtIYmz","fire","_revision","name","_createdAtFormatted","revisionNameView","8714BEdsxi","srcElement","ck-revision-history-sidebar__revision__date"];return(Ke=function(){return t})()}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},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},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={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,(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 Li={};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 Wi=new Map;let Zi=null;const Hi=new Map;function $i(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const qi=new Map;function Bi(t,e,i,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):$s(t,3),this.padTo)}}class Ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&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=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=Wi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.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(),Ui.clear(),Wi.clear(),Hi.clear(),qi.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=zi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=zi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===$i(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?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 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=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()||$i(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fs()?function(t){let e=qi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),qi.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class 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+(qs(t)?ks:ys)[e-1]}function Is(t,e){const i=qs(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=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 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 Rs(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 As(t){const e=Es(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 Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function 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(!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 Es(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 Ws(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 $s(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function qs(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return qs(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?qs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(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}${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:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF:Ai};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]]=Ws(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}))?)?)?/,Rn=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),An=RegExp(`(?:T${Rn.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),Vn=Tn("year","ordinal"),Dn=RegExp(`${Nn.source} ?(?:${xn.source}|(${_n.source}))?`),En=RegExp(`(?: ${Dn.source})?`);function Cn(t,e,i){const s=t[e];return Vs(s)?i:Ws(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}$`),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(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 Wn={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(Ws(e)):Ws(e),month:an.indexOf(i)+1,day:Ws(s),hour:Ws(n),minute:Ws(r)};return o&&(a.second=Ws(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 $n(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?Wn[c]:u?0:tn(l,h),[d,new ts(f)]}const qn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Zn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(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))?)?/,An),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,An),Qn=In(/(\d{4})-?(\d{3})/,An),tr=In(Rn),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,[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 Vs(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=$s(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(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 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 Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Ar(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(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 Tr(u);case"yy":case"kk":return Tr(h,Xs);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 Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(n);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${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 zr="Invalid DateTime",Ur=864e13;function Wr(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 $r(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function qr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return qr(Js(t),e,i)}function Jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Js(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function 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+=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 Qr(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(Wr(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=As(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=$s(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Wr(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(Wr(n))}static fromMillis(t,e={}){if(Ds(t))return t<-Ur||t>Ur?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(Wr(i));const s=Xi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rs(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=xs(g)):(p=so,v=to);let y=!1;for(const t of p){Vs(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Es(t.weekYear),n=zs(t.weekNumber,1,Ks(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=Es(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):As(n),b=k||Ms(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,[Kn,er],[Xn,ir],[Qn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hn,$n])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[qn,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=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):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=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?xs(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[$r(this,{ts:a}),$r(this,{ts:c})]:[this]}get isInLeapYear(){return qs(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?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 $r(this,{ts:s,zone:t})}return fo.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return $r(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=Rs(e,this.loc),n=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=Ts({...Os(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=Ns({...xs(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return $r(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=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():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 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):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 Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}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=["monthLong","day","startOf","setLocale","week","toRelativeCalendar","toJSDate","9168480UTGOqo","12csMqZI","minus","142184JtZiYK","local","522vlutEZ","677589heMQZt","hasSame","1435cBoRak","weekdayLong","fromJSDate","30576vbMRpC","910784eCHrAr","5693840eTBFrq","64488zRYacI","4yfrOST","month","46HmEsjb","year"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=352]})(t,e)}function go(t,e){const i=vo,s=fo[i(354)](t)[i(366)](e),n=fo[i(374)](),r=n[i(372)]({days:1})[i(365)](i(364));let o,a;return s[i(377)](n,i(364))?(o=s[i(365)](i(364))[i(369)](),a=s[i(368)]()):s[i(377)](r,i(364))?(o=r[i(369)](),a=s[i(368)]()):s[i(377)](n,i(367))?(o=s[i(365)](i(367))[i(369)](),a=s[i(353)]||""):s[i(377)](n,i(362))?(o=s[i(365)](i(360))[i(369)](),a=s[i(363)]||""):(o=s[i(365)](i(362))[i(369)](),a=String(s[i(362)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(602671===-parseInt(e(356))/1+parseInt(e(361))/2*(-parseInt(e(358))/3)+parseInt(e(359))/4*(parseInt(e(357))/5)+parseInt(e(355))/6*(parseInt(e(352))/7)+parseInt(e(373))/8*(-parseInt(e(375))/9)+parseInt(e(370))/10+parseInt(e(376))/11*(-parseInt(e(371))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(52),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["1253CifWCl","43110jwuLVI","revisionViews","div","2ZcbhdZ","_revisionActions","removeRevision","uiLanguage","delegate","ck-revision-history-sidebar__time-period","add","14622krLuCa","setTemplate","136399TmFhnd","createCollection","startDate","_requireRevisionName","span","select","34575CBHfNh","21396518hVKJUI","setName","640IuooOq","ck-revision-history-sidebar__time-period__revisions","268vZGwZx","find","locale","5616310YRvXJS","911478pevYaJ","remove","addRevision","ck-revision-history-sidebar__time-period__label","localizedPeriodName"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=314]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(339446===-parseInt(e(334))/1*(-parseInt(e(325))/2)+parseInt(e(316))/3+-parseInt(e(345))/4*(-parseInt(e(340))/5)+parseInt(e(332))/6*(parseInt(e(321))/7)+parseInt(e(343))/8*(parseInt(e(322))/9)+parseInt(e(315))/10+-parseInt(e(341))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[bo(336)];[bo(323)];[bo(326)];[bo(337)];constructor(t,e,i,s){const n=bo;super(t);const r=go(e,this[n(314)][n(328)])[n(320)];this[n(336)]=e,this[n(323)]=this[n(335)](),this[n(326)]=i,this[n(337)]=s,this[n(323)][n(329)](n(339)).to(this),this[n(323)][n(329)](n(342)).to(this),this[n(333)]({tag:n(324),attributes:{class:["ck",n(330)]},children:[{tag:n(338),attributes:{class:["ck",n(319)]},children:[{text:r}]},{tag:n(324),attributes:{class:["ck",n(344)]},children:this[n(323)]}]})}[bo(318)](t){const e=bo,i=new Ge(this[e(314)],t,this[e(326)],this[e(337)]);this[e(323)][e(331)](i)}[bo(327)](t){const e=bo,i=this[e(323)][e(346)](e=>e.id===t.id);this[e(323)][e(317)](i)}}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=449]})(t,e)}function xo(){const t=["ck-revision-history-sidebar__header","412600tKfxPI","div","932205ukGdjk","Revision history","span","636955uqpmkZ","6056742Bqwkpa","8LJjtsA","3218080dZdSYh","3140oSejfy","ck-revision-history-sidebar__header__label","ck-reset_all","content","7TwFFXs","3871505YSOjOF","setTemplate","24642aYOSqC"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(836021===parseInt(e(460))/1+-parseInt(e(455))/2+parseInt(e(457))/3*(-parseInt(e(462))/4)+parseInt(e(451))/5+-parseInt(e(461))/6*(parseInt(e(450))/7)+parseInt(e(463))/8+parseInt(e(453))/9*(parseInt(e(464))/10))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(449)]=_t.IconHistory,this[e(452)]({tag:e(456),attributes:{class:["ck",e(466),e(454)]},children:[i,{tag:e(459),attributes:{class:["ck",e(465)]},children:[at(t,e(458))]}]})}}var Ro=i(692),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Dt();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;function Mo(){const t=["_revisionActions","bindTemplate","33HXHRaa","revisionViews","highlightRevisions","delegate","some","revisionSelected","set","remove","2712231LojiiB","selectRevision","revisionSetName","startDate","setName","ck-rounded-corners","81fSncUt","ck-revision-history-sidebar__timeline","_requireRevisionName","getTime","1152650xXlMwB","locale","_revisions","map","find","4rbIHLx","uiLanguage","55TJYTxP","deselect","ck-reset","189492zrnKfU","div","setTemplate","removeRevision","_getTimePeriodViewByStartDate","ck-disabled","ck-revision-history-sidebar","fire","render","_addRevision","flat","663324bfLQHy","select","createCollection","804913oYjKZv","timePeriodViews","787808qYTKEZ","createdAt","306BbFutu","175966KgVoHp","unhighlight","_removeRevision","isEnabled","add","get","highlight","addRevision"];return(Mo=function(){return t})()}const Vo=Do;function Do(t,e){const i=Mo();return(Do=function(t,e){return i[t-=110]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(828264===-parseInt(e(166))/1*(parseInt(e(147))/2)+parseInt(e(132))/3+-parseInt(e(152))/4*(parseInt(e(149))/5)+parseInt(e(113))/6*(parseInt(e(114))/7)+-parseInt(e(111))/8+parseInt(e(138))/9*(parseInt(e(142))/10)+parseInt(e(124))/11*(-parseInt(e(163))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Eo extends It.View{[Vo(110)];[Vo(144)];[Vo(122)];[Vo(140)];constructor(t,e,i,s){const n=Vo;super(t);const r=this[n(123)];this[n(110)]=this[n(165)](),this[n(110)][n(127)](n(164)).to(this),this[n(110)][n(127)](n(136)).to(this),this[n(144)]=e,this[n(122)]=i,this[n(140)]=s,this.on(n(164),(t,e)=>{const i=n;this[i(159)](i(129),e)}),this.on(n(136),(t,e)=>{const i=n;this[i(159)](i(134),e)}),this[n(130)](n(117),!1),this[n(154)]({tag:n(153),attributes:{class:["ck",n(151),n(137),n(158)]},children:[new No(t),{tag:n(153),attributes:{class:["ck",n(139),r.if(n(117),n(157),t=>!t)]},children:this[n(110)]}]})}[Vo(160)](){const t=Vo;super[t(160)]();for(const e of this[t(144)])this[t(161)](e);this[t(144)].on(t(118),(e,i)=>{this[t(161)](i)}),this[t(144)].on(t(131),(e,i)=>{this[t(116)](i)})}get[Vo(125)](){const t=Vo;return this[t(110)][t(145)](e=>e[t(125)][t(145)](t=>t))[t(162)]()}[Vo(133)](t){const e=Vo;for(const i of this[e(125)])t&&t.id===i.id?i[e(164)]():i[e(150)]()}[Vo(126)](t){const e=Vo;for(const i of this[e(125)])t[e(128)](({id:t})=>t===i.id)?i[e(120)]():i[e(115)]()}[Vo(161)](t){const e=Vo,i=go(t[e(112)],this[e(143)][e(148)])[e(135)];let s=this[e(110)][e(119)](0);s&&s[e(135)][e(141)]()===i[e(141)]()||(s=new Io(this[e(143)],i,this[e(122)],this[e(140)]),this[e(110)][e(118)](s)),s[e(121)](t)}[Vo(116)](t){const e=Vo,i=go(t[e(112)],this[e(143)][e(148)])[e(135)];this[e(156)](i)[e(155)](t)}[Vo(156)](t){const e=Vo;return this[e(110)][e(146)](i=>i[e(135)][e(141)]()===t[e(141)]())}}const Co=Fo;function Fo(t,e){const i=Lo();return(Fo=function(t,e){return i[t-=392]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(162524===parseInt(e(469))/1+-parseInt(e(421))/2+parseInt(e(470))/3*(parseInt(e(437))/4)+-parseInt(e(403))/5*(-parseInt(e(451))/6)+parseInt(e(392))/7+parseInt(e(448))/8*(-parseInt(e(393))/9)+-parseInt(e(466))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends G.Plugin{[Co(468)];[Co(461)];[Co(445)];static[Co(438)]=[Co(408),Co(419),Co(397)];static[Co(398)]=function(){const t=Co;return{compareAgainstSelected:{name:t(417),action:({plugins:e},i)=>{const s=t,n=e[s(414)](ue),r=n[s(457)];let o=n[s(413)][s(435)],a=i.id;r[s(415)](o)>r[s(415)](a)&&([o,a]=[a,o]),n[s(441)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(414)](ue);return!(n[s(457)][s(409)](n[s(413)])[s(434)]>2||i[s(424)])}},restoreRevision:{name:t(430),action:(e,{id:i})=>{const s=t;e[s(396)][s(414)](s(407))[s(444)](i)},isVisible:({plugins:e},i)=>!!e[t(414)](ue)[t(457)][t(411)](i.id)},nameRevision:{name:t(420),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(414)](ue),o=r[n(457)][n(427)](i);r[n(441)](i,o),s[n(467)](),s[n(423)][n(400)]()}}}}();static get[Co(416)](){return Co(440)}static get[Co(463)](){return!0}static get[Co(425)](){return!0}static get[Co(473)](){return[ue]}constructor(t){const e=Co;super(t),this[e(468)]=t[e(442)][e(414)](ue),this[e(461)]=this[e(468)][e(457)],this[e(445)]=null}[Co(426)](){const t=Co,e=this[t(461)][t(432)],i=this[t(436)](),s=this[t(471)][t(396)][t(414)](t(431));this[t(445)]=new Eo(this[t(471)][t(439)],e,i,this[t(471)][t(396)][t(414)](t(455))),this[t(445)].on(t(402),this[t(450)][t(429)](this)),this[t(445)].on(t(433),this[t(462)][t(429)](this)),this[t(445)][t(429)](t(406)).to(this[t(468)]),this[t(445)][t(395)].on(t(452),(e,i)=>{const s=t;i[s(456)].on(s(452),(t,e)=>{const i=s;e[i(429)](i(406),i(447)).to(this[i(468)])})}),this[t(445)][t(472)](),this[t(412)](this[t(471)][t(458)],t(404),this[t(394)][t(429)](this)),this[t(412)](this[t(468)],t(460),this[t(428)][t(429)](this)),s[t(401)](this[t(445)][t(418)])}[Co(405)](){const t=Co;this[t(445)][t(418)][t(443)](),this[t(445)][t(405)]()}[Co(394)](){const t=Co,e=this[t(461)][t(465)](0);if(e){const i=this[t(461)][t(427)](e.id);this[t(468)][t(441)](e,i)}}[Co(450)](t,e){const i=Co,s=this[i(461)][i(465)](e.id),n=this[i(461)][i(427)](s.id);this[i(468)][i(441)](s,n)}[Co(462)](t,e){const i=Co;this[i(461)][i(465)](e.id)[i(410)](e[i(446)])}[Co(428)](t,e,i){const s=Co,n=this[s(461)][s(409)](i);n[s(434)]>2?(this[s(445)][s(399)](n),this[s(445)][s(459)](null)):(this[s(445)][s(399)]([]),this[s(445)][s(459)](n[0]))}[Co(436)](){const t=Co,e=this[t(471)],i=jo[t(398)],s=e[t(396)][t(414)](t(453))||jo[t(438)];if(s[t(434)])return s[t(474)](s=>{const n=t,r=n(422)==typeof s?Object[n(464)]({},i[s]):s;return r[n(449)]=r[n(449)][n(429)](this,e),r[n(454)]&&(r[n(454)]=r[n(454)][n(429)](this,e)),r})}}function Lo(){const t=["timePeriodViews","config","nameRevision","availableRevisionActions","highlightRevisions","select","appendChild","revisionSelected","5KbrPbC","ready","destroy","isEnabled","revisionHistory","compareAgainstSelected","getRevisionsInDiff","setName","getLaterVisibleRevision","listenTo","diff","get","getIndex","pluginName","Compare against selected","element","restoreRevision","Name this revision","427514sbpqWQ","string","fieldView","isSelected","isPremiumPlugin","init","getEarlierVisibleRevision","_handleDiffChange","bind","Restore this revision","revisionHistory.viewerSidebarContainer","_revisions","revisionSetName","length","newRevisionId","_createRevisionActions","1214512pvpdSY","defaultRevisionActions","locale","RevisionsSidebar","compare","plugins","remove","restoreRevisionCallback","_sidebarView","name","isReady","536XZrUdk","action","_handleRevisionSelected","582438Ozfpey","add","revisionHistory.revisionActions","isVisible","revisionHistory.requireRevisionName","revisionViews","repository","data","selectRevision","change:diff","_revisionsRepository","_handleRevisionSetName","isOfficialPlugin","assign","getRevision","1757020rMRIYV","focus","_revisionViewer","124987cTnluc","3KOqPGs","editor","render","requires","map","809242smyNPn","11997RmOjQo","_handleEditorDataReady"];return(Lo=function(){return t})()}function Po(){const t=["_initToolbar","name","fillFromConfig","editable","render","view","620796lujnSq","_view","init","restore","_elementReplacer","isFocused","componentFactory","7179024CCIKoL","replace","2211rzjwgK","document","2115546mMFlWG","detachDomRoot","config","25767WImxeq","destroy","7NLvHVG","ready","viewportOffset","bind","isActive","limiterElement","2210ZlcQMH","attachDomRoot","649WurtRX","449642TLMKdH","stickyPanel","setEditableElement","get","editing","addToolbar","rootName","viewportTopOffset","3270424EceQvt","334HMZqSJ","element","focusTracker","editor","fire","5hcqzxT","toolbar","getRoot","_toolbarConfig"];return(Po=function(){return t})()}function zo(t,e){const i=Po();return(zo=function(t,e){return i[t-=124]})(t,e)}const Uo=zo;!function(t){const e=zo,i=t();for(;;)try{if(484410===-parseInt(e(148))/1+-parseInt(e(157))/2*(parseInt(e(132))/3)+-parseInt(e(156))/4+-parseInt(e(162))/5*(-parseInt(e(134))/6)+parseInt(e(139))/7*(-parseInt(e(130))/8)+parseInt(e(137))/9*(-parseInt(e(145))/10)+-parseInt(e(147))/11*(-parseInt(e(172))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Wo extends It.EditorUI{[Uo(124)];[Uo(165)];[Uo(127)];get[Uo(171)](){return this[Uo(124)]}constructor(e,i){const s=Uo;super(e),this[s(124)]=i,this[s(165)]=(0,It.normalizeToolbarConfig)(e[s(136)][s(151)](s(163))),this[s(127)]=new t.ElementReplacer}get[Uo(158)](){const t=Uo;return this[t(171)][t(158)]}[Uo(125)](t){const e=Uo,i=this[e(160)],s=this[e(171)],n=i[e(152)][e(171)],r=s[e(169)],o=n[e(133)][e(164)]();r[e(167)]=o[e(154)],s[e(170)]();const a=r[e(158)];this[e(150)](r[e(167)],a),s[e(169)][e(142)](e(128)).to(this[e(159)]),n[e(146)](a),this[e(127)][e(131)](t,this[e(158)]),this[e(166)](),this[e(161)](e(140))}[Uo(138)](){const t=Uo;super[t(138)]();const e=this[t(171)],i=this[t(160)][t(152)][t(171)];this[t(127)][t(126)](),i[t(135)](e[t(169)][t(167)]),e[t(138)]()}[Uo(166)](){const t=Uo,e=this[t(171)];e[t(149)][t(142)](t(143)).to(this[t(159)],t(128)),e[t(149)][t(144)]=e[t(158)],e[t(149)][t(142)](t(155)).to(this,t(141),({top:t})=>t),e[t(163)][t(168)](this[t(165)],this[t(129)]),this[t(153)](e[t(163)])}}var Zo=i(324),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=Rt().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Dt();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;var $o=Bo;function qo(){var t=["1090228OaFoQc","_editable","add","render","35820nmGZkF","editable","top","533CcOWpL","2976QUDyMi","34738SbrLHN","shouldToolbarGroupWhenFull","main","661696JjtjXn","toolbar","1305rZxilO","25644Pvgcie","stickyPanel","9628032iKngnn","content","2439hyccBr","319768AWdquQ","9OXBgls","7qcJhLi","4SNeyqZ"];return(qo=function(){return t})()}function Bo(t,e){var i=qo();return(Bo=function(t,e){return i[t-=352]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(677893===parseInt(e(362))/1*(-parseInt(e(365))/2)+-parseInt(e(363))/3*(parseInt(e(366))/4)+parseInt(e(356))/5*(parseInt(e(357))/6)+parseInt(e(364))/7*(parseInt(e(359))/8)+parseInt(e(361))/9*(parseInt(e(370))/10)+-parseInt(e(375))/11*(-parseInt(e(374))/12)+parseInt(e(373))/13*(-parseInt(e(354))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Yo extends It.BoxedEditorUIView{[$o(367)];[$o(358)];[$o(355)];get[$o(371)](){return this[$o(367)]}constructor(t,e,i={}){var s=$o;super(t),this[s(358)]=new It.StickyPanelView(t),this[s(355)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(352)]}),this[s(367)]=new It.InlineEditableUIView(t,e)}[$o(369)](){var t=$o;super[t(369)](),this[t(358)][t(360)][t(368)](this[t(355)]),this[t(372)][t(368)](this[t(358)]),this[t(353)][t(368)](this[t(371)])}}const Jo=Go;function Go(t,e){const i=Xo();return(Go=function(t,e){return i[t-=468]})(t,e)}!function(t){const e=Go,i=t();for(;;)try{if(566862===-parseInt(e(481))/1*(parseInt(e(498))/2)+parseInt(e(472))/3+-parseInt(e(489))/4*(parseInt(e(486))/5)+-parseInt(e(487))/6+-parseInt(e(479))/7*(parseInt(e(494))/8)+parseInt(e(491))/9*(-parseInt(e(469))/10)+parseInt(e(477))/11*(parseInt(e(493))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xo);class Ko extends((0,G.ElementApiMixin)(G.Editor)){[Jo(497)];get ui(){return this[Jo(497)]}constructor(t,e){const i=Jo;super(e),this[i(483)]=t,this[i(471)][i(490)][i(478)]();const s=new Yo(this[i(476)],this[i(470)][i(475)],{shouldToolbarGroupWhenFull:!0});this[i(497)]=new Wo(this,s)}[Jo(488)](){const t=Jo;return this[t(468)](),this.ui[t(488)](),super[t(488)]()}static async[Jo(473)](t,e){const i=Jo,s=new this(t,e);return await s[i(495)](),await s.ui[i(474)](t),await s[i(485)][i(474)](s[i(480)][i(482)](i(484))||""),s[i(492)](i(496)),s}}function Xo(){const t=["88cYSzoz","initPlugins","ready","_ui","102730NrKODW","updateSourceElement","10yljRBE","editing","model","41430dVsxlB","create","init","view","locale","1573286kMErde","createRoot","226667sHCKgh","config","20aFTnML","get","sourceElement","initialData","data","174310DBMCTB","1464480hGtIEx","destroy","16bzeVVO","document","1002339sdvSca","fire","204xUhNKB"];return(Xo=function(){return t})()}const Qo=ea;function ta(){const t=["toLocaleDateString","_closeRevisionViewer","createdAt","getMarkersGroup","_showRevisionViewer","requires","Users","createRangeIn","panelViews","revisionHistory.restoreRevisionCallback","getRevision","revisionHistory","PaginationLookup","config","style","toLocaleTimeString","isOfficialPlugin","_enhanceCloseRevisionViewerCallback","352922LdRyXj","change","lazyRoots","display","RevisionHistory","_cleanUp","getRevisionDocumentData","getAttributeKeys","translations","set","Autosave","AIBalloon","RevisionViewer","indexOf","closeRevisionViewerCallback","refreshVisibility","revisionHistory.closeRevisionViewerCallback","DocumentOutline","$graveyard","tabindex","_enhanceShowRevisionViewerCallback","AIChatHistory","toVersion","parse","keys","editor","fromVersion","revisionHistory.showRevisionViewerCallback","addRoot","data","isRevisionViewerOpen","block","AIChat","push","init","Annotations","ck-tab-panel_disabled","AIReviewMode","restrictedEditingException","RevisionHistoryUtils","setAttribute","RevisionTracker","17764SpKkkC"," ck-tab-panel_disabled","isOpen","changesNavigation","RevisionViewerIntegration","has","insert","element","create","isPremiumPlugin","selection","revisionHistory.editorContainer","revisionHistory.viewerContainer","178655ygtCfB","roots","detachRoot","restoreRevision","118824eKoAee","removeAttribute","Dialog","fromCharCode","long","numeric","end","catch","addRevisionData","disableReadOnlyMode","isAnonymous","replace","RestrictedEditingMode","define",".ck-ai-chat-history .ck-input","2068915jjXzHr","pluginName","adapter","getRoot","destroy","class","revisionHistory.requireRevisionName","2924453CosURl","uiLanguage","users","isAttached","isReady","_restoreRevision","AIQuickActions","map","RevisionsRepository","querySelector","commands","getRevisionRootsAttributes","creator",".ck-ai-chat__prompt-input .ck-textarea","getUser","removeMarker","isEnabled","enableReadOnlyMode","name","exitToEditing","addUser","enqueueChange","bind","toJSON","hide","refreshPositioning","RevisionHistoryUI","AITabs","get","locale","showRevisionViewerCallback","141nbvDEn","model","error","join","isReadOnly","5892424lsxsZi","setSelection","remove","markers","saveRevision","removeSelectionAttribute","DocumentOutlineUI","_viewerEditor","_update","revision-history-missing-configuration","loadRevisionData","AIActions","_getRevisionViewerEditorConfig","result","update","rootName","save","toolbar","getRevisions","repository","view","_recalculatePageBreaks","none","plugins","document","revisionHistory.viewerEditorElement","then","includes","Restored","from","revision-history-viewer-opened"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=350]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(221594===parseInt(e(486))/1+parseInt(e(431))/2+parseInt(e(377))/3*(-parseInt(e(473))/4)+parseInt(e(505))/5+-parseInt(e(490))/6+parseInt(e(512))/7+-parseInt(e(382))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Qo(372),Qo(502),Qo(463),Qo(468),Qo(442),Qo(352),Qo(393)];class sa extends G.Plugin{[Qo(395)];static get[Qo(506)](){return Qo(477)}static get[Qo(429)](){return!0}static get[Qo(482)](){return!0}constructor(t){const e=Qo;function i(t){const e=ea;return t[e(353)](t=>String[e(493)](t))[e(380)]("")}super(t),this[e(395)]=e(496),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class na extends G.Plugin{[Qo(389)];static get[Qo(506)](){return Qo(435)}static get[Qo(429)](){return!0}static get[Qo(482)](){return!0}static get[Qo(418)](){return[vt,$t]}constructor(e){const i=Qo;if(super(e),!this[i(456)][i(426)][i(374)](i(424)))throw new t.CKEditorError(i(391),this);this[i(389)]=null,this[i(440)](i(461),!1),this[i(456)][i(426)][i(503)](i(458),t=>this[i(417)]({...t,translations:this[i(456)][i(375)][i(439)]})),this[i(456)][i(426)][i(503)](i(447),t=>this[i(414)](t)),this[i(456)][i(426)][i(503)](i(422),t=>this[i(351)](t)),this[i(456)][i(426)][i(503)](i(511),!1),this[i(451)](),this[i(430)]()}set[Qo(507)](t){const e=Qo;this[e(456)][e(405)][e(374)](e(472))[e(507)]=t}get[Qo(507)](){const t=Qo;return this[t(456)][t(405)][t(374)](t(472))[t(507)]}[Qo(498)](t){const e=Qo;return this[e(456)][e(405)][e(374)](e(472))[e(498)](t)}[Qo(423)](t){const e=Qo;return this[e(456)][e(405)][e(374)](e(354))[e(423)](t)}[Qo(400)](t){const e=Qo;return this[e(456)][e(405)][e(374)](e(354))[e(400)](t||{toJSON:!1})}[Qo(394)](){const e=Qo,i=this[e(456)],s=(0,K.sanitizeEditorConfig)(i,ia),n=i[e(405)][e(374)](e(472)),r=i[e(405)][e(374)](e(419))[e(514)];return s[e(399)]=[e(365),e(489),e(476)],delete s[e(433)],s[e(405)][e(464)](sa,ue,Ne,class extends G.Plugin{static get[e(418)](){return[ue,e(419)]}[e(465)](){const s=e,o=this[s(456)][s(405)][s(374)](s(419));for(const t of r)t[s(500)]||o[s(360)](t.id)||o[s(366)](t);const a=n[s(401)][s(400)]();let c=null;const u=this[s(456)][s(405)][s(374)](s(443));u[s(507)]=n[s(507)],u[s(368)](s(362)).to(n),this[s(456)][s(356)][s(374)](s(489))[s(368)](s(362)).to(i,s(381),t=>!t);for(const e of a){const i=null===e[s(358)];if(i&&e[s(453)]===e[s(457)])continue;const r=e[s(369)]();u[s(498)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(390)](r,o);else if(!o){const e=a[u(369)]();e.id=(0,t.uid)(),n[u(386)](e,a[u(453)])[u(408)](t=>{c=t})}}else e[u(390)](r,o)})}}},jo),s}[Qo(451)](){const t=Qo,e=this[t(456)][t(426)][t(374)](t(424))[t(376)];this[t(456)][t(426)][t(440)](t(458),async()=>{const i=t;this[i(456)][i(363)](i(412));const s=this[i(456)][i(405)][i(374)](i(472));if(this[i(456)][i(405)][i(478)](i(441))){const t=this[i(456)][i(405)][i(374)](i(441));await t[i(398)]()}else await s[i(396)]();if(this[i(456)][i(405)][i(478)](i(425))&&this[i(456)][i(405)][i(374)](i(425))[i(403)](),this[i(456)][i(405)][i(478)](i(492))){const t=this[i(456)][i(405)][i(374)](i(492));t[i(475)]&&t[i(370)]()}if(this[i(456)][i(405)][i(478)](i(373))){const t=this[i(456)][i(405)][i(374)](i(373))[i(402)][i(421)];for(const e of t)e[i(510)]=e[i(510)]?e[i(510)]+i(474):i(467);if(this[i(456)][i(405)][i(478)](i(463))){const t=document[i(355)](i(359));t&&t[i(471)](i(450),"-1")}if(this[i(456)][i(405)][i(478)](i(452))){const t=document[i(355)](i(504));t&&t[i(471)](i(450),"-1")}}const n=this[i(394)]();return e(n)[i(408)](t=>{const e=i;return this[e(389)]=t,this[e(456)][e(405)][e(478)](e(466))&&this[e(456)][e(405)][e(374)](e(466))[e(446)](),this[e(456)][e(405)][e(478)](e(448))&&(this[e(456)][e(405)][e(374)](e(388))[e(402)][e(480)][e(427)][e(434)]=e(404)),t})[i(497)](t=>(console[i(379)](t),this[i(456)][i(499)](i(412)),null))})}[Qo(430)](){const t=Qo,e=this[t(456)][t(426)][t(374)](t(424))[t(445)];this[t(456)][t(426)][t(440)](t(447),()=>{const i=t;if(this[i(456)][i(405)][i(478)](i(425))&&this[i(456)][i(405)][i(374)](i(425))[i(403)](),this[i(456)][i(405)][i(478)](i(448))&&(this[i(456)][i(405)][i(374)](i(388))[i(402)][i(480)][i(427)][i(434)]=""),this[i(456)][i(405)][i(478)](i(373))){const t=this[i(456)][i(405)][i(374)](i(373))[i(402)][i(421)];for(const e of t)e[i(510)]=i(467)===e[i(510)]?"":e[i(510)][i(501)](i(474),"");if(this[i(456)][i(405)][i(478)](i(463))){const t=document[i(355)](i(359));t&&t[i(491)](i(450))}if(this[i(456)][i(405)][i(478)](i(452))){const t=document[i(355)](i(504));t&&t[i(491)](i(450))}}return this[i(389)][i(405)][i(374)](i(443))[i(436)](),e(this[i(389)])[i(408)](()=>{const t=i;if(this[t(456)][t(499)](t(412)),this[t(389)]=null,this[t(456)][t(405)][t(478)](t(466))){const e=this[t(456)][t(405)][t(374)](t(466));e[t(446)](),e[t(371)]()}})})}[Qo(417)](t){const e=Qo,i=this[e(456)][e(426)][e(374)](e(484)),s=this[e(456)][e(426)][e(374)](e(485)),n=this[e(456)][e(426)][e(374)](e(407));return Ko[e(481)](n,t)[e(408)](t=>(s[e(427)][e(434)]=e(462),i[e(427)][e(434)]=e(404),this[e(461)]=!0,t))}[Qo(414)](t){const e=Qo,i=this[e(456)][e(426)][e(374)](e(484));return this[e(456)][e(426)][e(374)](e(485))[e(427)][e(434)]=e(404),i[e(427)][e(434)]="",this[e(461)]=!1,t[e(509)]()}async[Qo(351)](t){const e=Qo,i=this[e(456)],s=this[e(389)][e(405)][e(374)](e(443)),n=i[e(405)][e(374)](e(472)),r=i[e(405)][e(374)](e(470)),o=s[e(401)][e(423)](t);let a,c,u;try{await r[e(392)](o,this[e(507)]),a=r[e(437)](o),c=r[e(357)](o)}catch(t){return void console[e(379)](t)}i[e(378)][e(432)](t=>{const s=e;for(const e of Array[s(411)](i[s(378)][s(385)][s(416)](s(469))))t[s(361)](e)}),s[e(350)]=!1,i[e(378)][e(367)](t=>{const s=e;t[s(383)](null),t[s(387)](i[s(378)][s(406)][s(483)][s(438)]());const n=Object[s(455)](a);for(const e of i[s(378)][s(406)][s(487)])s(449)!=e[s(397)]&&e[s(515)]()&&!n[s(409)](e[s(397)])&&t[s(488)](e);for(const e of n){let n=i[s(378)][s(406)][s(508)](e);n&&n[s(515)]()||(n=t[s(459)](e));const r=c[e],o=Object[s(455)](r),u=a[e];for(const e of n[s(438)]())o[s(409)](e)||t[s(491)](e,n);for(const i of o)t[s(471)](i,c[e][i],n);t[s(384)](t[s(420)](n)),t[s(479)](i[s(460)][s(454)](u,n),n,0)}});const l=at(i[e(375)],e(410));return u=o[e(364)]?-1==o[e(364)][e(444)](l)?l+": "+o[e(364)]:o[e(364)]:l+": "+o[e(415)][e(413)](i[e(375)][e(513)],{month:e(494),day:e(495)})+", "+o[e(415)][e(428)](i[e(375)][e(513)],{hour:e(495),minute:e(495)}),await n[e(386)]({name:u}),s[e(350)]=!0,i[e(426)][e(374)](e(424))[e(445)]()}}function ra(){var t=["7953386PAjKfQ","1260JKiDsL","1283324HmKUOL","7195152mlmojk","795978DIsdPt","2285736iVZxFs","5781056QatLvl","8750RWGuUK"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=370]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(603292===parseInt(e(370))/1+-parseInt(e(376))/2+-parseInt(e(371))/3+-parseInt(e(375))/4*(-parseInt(e(373))/5)+-parseInt(e(377))/6+parseInt(e(374))/7+parseInt(e(372))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();