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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +7 -7
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +12 -12
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={6:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},16:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},60:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},171:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},188:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},242:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},290:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},302:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},323:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},423:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},557:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},578:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},585:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},602:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},618:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},626:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},718:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},890:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},933:t=>{"use strict";t.exports=function(t){return t[1]}},980:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>G,RevisionHistory:()=>sa,RevisionHistoryUI:()=>$t,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,R=void 0){const A=R?.(t,e,i,n);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,R));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,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);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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 n.set(t,e),N(e,t,i,n,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,R),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,R),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,n,s,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function 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 E=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&V(n,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function U(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?H(e)?Z(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function $(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const q=Y;function B(){const t=["authorsIds","189324cpsFPV","attributes","model","300tiljEU","toJSON","27zpPDFx","_update","toVersion","authors","creatorId","14785nQbxCl","diffData","removeAttribute","927290dZhvEy","16IHPnxB","fire","name","createdAt","creator","1823874sVgbOi","fromVersion","setAttribute","3970LIbEmQ","664VhqdPH","208901uyIYbm","set","map","1001184lGvucY","setName"];return(B=function(){return t})()}function Y(t,e){const i=B();return(Y=function(t,e){return i[t-=370]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(346618===parseInt(e(387))/1*(parseInt(e(374))/2)+-parseInt(e(379))/3+parseInt(e(375))/4*(-parseInt(e(392))/5)+parseInt(e(371))/6+-parseInt(e(395))/7*(-parseInt(e(396))/8)+-parseInt(e(382))/9+parseInt(e(385))/10*(parseInt(e(376))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class G extends((0,t.ObservableMixin)()){id;[q(370)];[q(390)];[q(393)];[q(389)];[q(372)];[q(384)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(370)]=e[i(370)]||null,this[i(390)]=e[i(390)]||[],this[i(393)]=e[i(393)]||null,this[i(389)]=e[i(389)]||0,this[i(372)]=e[i(372)]||0,this[i(377)](i(398),e[i(398)]||""),this[i(377)](i(399),e[i(399)]||new Date),this[i(377)](i(383),e[i(383)]||{})}[q(380)](t){this[q(388)]({name:t})}[q(373)](t,e){const i=q,n=A(this[i(383)]);U(n,t,e),this[i(388)]({attributes:n})}[q(394)](t){const e=q,i=A(this[e(383)]);(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]&&H(e))return $(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(388)]({attributes:i})}[q(388)](t,e=!1){const i=q;let n=!1;const s={id:this.id},r=[i(398),i(399),i(393),i(390),i(383),i(389),i(372),i(391)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(390)]&&(s[i(381)]=s[i(390)][i(378)](t=>t.id),delete s[i(390)]),this[i(397)](i(388),s,e))}[q(386)](){const t=q;return{id:this.id,name:this[t(398)],creatorId:this[t(370)]?this[t(370)].id:null,authorsIds:this[t(390)][t(378)](t=>t.id),diffData:this[t(393)],createdAt:this[t(399)],attributes:this[t(383)],fromVersion:this[t(372)],toVersion:this[t(389)]}}}var J=i(782),K=i(211),Q=i(783);function X(){const t=["attributes","fromCharCode","2WtpNec","map","getIndex","reverse","9ExWFmC","add","afterInit","from","pluginName","diffData","href","editor","oldRevisionId","88675TPolIS","newRevisionId","isNaN","push","join","creatorId","toVersion","addRevision","createRevision","getRevisionsIterator","getLaterVisibleRevision","isOfficialPlugin","_revisions","getRevision","getUser","RevisionsRepository","getEarlierVisibleRevision","get","396blKZCd","1025885NaHoSF","getRevisionsInDiff","getRevisions","length","toJSON","name","createdAt","isPremiumPlugin","fromVersion","authorsIds","data","plugins","1718961bjEvfA","Users","10238390MMbQuX","later","requires","851404CPcQvg","2993104vhilHV","936561YvLOwG","earlier"];return(X=function(){return t})()}const tt=et;function et(t,e){const i=X();return(et=function(t,e){return i[t-=245]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(629333===parseInt(e(260))/1+parseInt(e(264))/2*(parseInt(e(253))/3)+-parseInt(e(258))/4+parseInt(e(277))/5*(-parseInt(e(295))/6)+-parseInt(e(296))/7+-parseInt(e(259))/8+parseInt(e(268))/9*(parseInt(e(255))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(X);class it extends J.Plugin{[tt(289)];static get[tt(257)](){return[K.Users]}static get[tt(272)](){return tt(292)}static get[tt(288)](){return!0}static get[tt(248)](){return!0}get[tt(299)](){const t=tt;return this[t(289)][t(299)]}constructor(e){const i=tt;super(e),this[i(289)]=new t.Collection}[tt(270)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=et;for(const e in window)if(window[k([78,117,109,98,101,114])][i(279)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=et;return t[e(265)](t=>String[e(263)](t))[e(281)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const n=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1757635200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=et,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(274)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[tt(285)](t){const e=tt,i=this[e(275)][e(252)][e(294)](e(254));return new G({id:t.id,name:t[e(246)],creator:t[e(282)]?i[e(291)](t[e(282)]):null,diffData:t[e(273)]||t[e(251)],authors:t[e(250)][e(265)](t=>i[e(291)](t)),createdAt:new Date(t[e(247)]),attributes:t[e(262)],fromVersion:t[e(249)],toVersion:t[e(283)]})}[tt(284)](t,e=0){const i=tt;this[i(289)][i(269)](t,e)}[tt(290)](t){const e=tt;return this[e(289)][e(294)](t)}[tt(298)](t={toJSON:!1}){const e=tt,i=Array[e(271)](this[e(289)]);return i[e(267)](),t[e(245)]?i[e(265)](t=>t[e(245)]()):i}[tt(266)](t){const e=tt;return this[e(289)][e(266)](t)}[tt(293)](t){const e=tt,[,i]=this[e(286)](t,{direction:e(261)});return i}[tt(287)](t){const e=tt,[,i]=this[e(286)](t,{direction:e(256)});return i}[tt(297)](t){const e=tt,i=[];for(const n of this[e(286)](t[e(278)]))if(i[e(280)](n),n.id===t[e(276)])break;return i}*[tt(286)](t,{direction:e=tt(261),filter:i=()=>!0}={}){const n=tt,s=n(261)===e?1:-1;let r=this[n(289)][n(294)](t),o=this[n(266)](r);for(yield r;r;){if(o+=s,r=this[n(290)](o),!r)return;i(r)&&(yield r)}}}const nt=rt;function st(){const t=["document","1091466OzpgGi","_makeModelFromViewString","viewChildrenToDom","diffData","data","div","useFillerType","292723xLoKMC","editor","processor","_getTypeCharForViewElement","338724aRoHLW","attachChange","RevisionHistoryUtils","string","_removeRevisionMarkers","type","_viewClassToTypeChar","4fEbJpN","pluginName","loadRevisionData","1375830yUNEum","getRevision","data-revision-","createElement","htmlProcessor","isPremiumPlugin","toModel","map","1295345PBkpBy","domDocument","attributes","1451528droWss","getRevisionDocumentData","revision-end","append","name","config","insertions","customProperties","revision-start","marked","from","editing","getRevisionRootsAttributes","forEach","isOfficialPlugin","_appendChild","parse","filter","childNodes","391983AHUKrl","default","view","innerHTML","21bvKpTD","_getViewFromDiffObj","2Qqsedb","domConverter","domChildrenToView","fillerOffset","_setCustomProperty","constructor","startsWith","length","collaboration.channelId","getFillerOffset","toData","render","isAttached","children","attributesAfter","get","_typeCharToViewClass"];return(st=function(){return t})()}function rt(t,e){const i=st();return(rt=function(t,e){return i[t-=127]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(170179===parseInt(e(174))/1*(-parseInt(e(149))/2)+-parseInt(e(143))/3+parseInt(e(185))/4*(parseInt(e(196))/5)+parseInt(e(178))/6*(parseInt(e(147))/7)+parseInt(e(199))/8+parseInt(e(167))/9+-parseInt(e(188))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends J.Plugin{static get[nt(186)](){return nt(180)}static get[nt(138)](){return!0}static get[nt(193)](){return!0}[nt(184)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[nt(165)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[nt(187)](t,e){const i=nt;if(t[i(170)]||!e)return;const n=this[i(175)][i(129)][i(164)](i(157)),s=await e[i(189)]({channelId:n,revisionId:t.id});t[i(170)]=s[i(170)]}[nt(200)](t){const e=nt,i={};for(const n in t[e(170)]){if(t[e(170)][n][e(179)]&&!t[e(170)][n][e(179)][e(161)])continue;const s=this[e(182)](JSON[e(140)](t[e(170)][n][e(130)])),r=this[e(175)][e(135)][e(145)][e(166)],o=new Q.ViewDocumentFragment(r,s[e(195)](t=>this[e(148)](t,!1)));this[e(175)][e(171)][e(176)][e(173)](e(133)),i[n]=this[e(175)][e(171)][e(176)][e(159)](o),this[e(175)][e(171)][e(176)][e(173)](e(144))}return i}[nt(136)](t){const e=nt,i={};for(const n in t[e(170)])t[e(170)][n][e(179)]&&!t[e(170)][n][e(179)][e(161)]||(i[n]=t[e(170)][n][e(163)]||{});return i}[nt(177)](t){const e=nt;return this[e(184)][e(164)](t[e(154)])}[nt(148)](t,e){const i=nt,n=this[i(175)][i(135)][i(145)][i(166)];if(i(181)==typeof t)return new Q.ViewText(n,t);{let s,r;r="u"==t[i(183)]||"r"==t[i(183)]?[]:t[i(162)][i(195)](t=>this[i(148)](t,e));const o=this[i(165)][i(164)](t[i(183)])||Q.ViewElement,a=this[i(175)][i(171)][i(192)][i(150)];if(s=new o(n,t[i(128)],t[i(198)],r),"u"==t[i(183)]&&t[i(162)][0]){const r=t[i(162)][0];if(s[i(160)]=function(t){const e=i,n=t[e(191)](e(172));return n[e(146)]=r,n[e(142)][0]},e){const t=new Q.ViewDocumentFragment(n);t[i(139)](s);const e=Array[i(134)](a[i(169)](t,{bind:!1})),r=a[i(197)][i(191)](i(172));r[i(127)](...e),s=Array[i(134)](a[i(151)](r))[0]}}else if("r"==t[i(183)]&&t[i(162)][0]){const r=t[i(162)][0];if(s[i(160)]=function(t){t[i(146)]=r},e){const t=new Q.ViewDocumentFragment(n);t[i(139)](s);const e=Array[i(134)](a[i(169)](t,{bind:!1})),r=a[i(197)][i(191)](i(172));r[i(127)](...e);const o=Array[i(134)](a[i(151)](r));o[i(156)]>1?s[i(139)](o):s=o[0]}}if(t[i(131)])for(const[e,n]of t[i(131)])s[i(153)](e,n);const c=void 0===t[i(152)]?null:t[i(152)];return null!==c&&(s[i(158)]=()=>c),s}}[nt(168)](t){const e=nt,i=JSON[e(140)](t),n=this[e(175)][e(135)][e(145)][e(166)],s=new Q.ViewDocumentFragment(n,i[e(195)](t=>this[e(148)](t,!0)));return this[e(175)][e(171)][e(194)](s)}[nt(182)](t){const e=nt;return(t=t[e(141)](t=>!t[e(128)]||e(132)!==t[e(128)]&&e(201)!==t[e(128)]))[e(137)](t=>{const i=e;i(181)!=typeof t&&(t[i(162)]=this[i(182)](t[i(162)]),t[i(198)]=t[i(198)][i(141)](t=>!t[0][i(155)](i(190))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),R=s(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=(n=n??new Map).get(t),M=n.get(i);if(null!=A&&null!=M)return A===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=gt();return(mt=function(t,e){return i[t-=107]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(484474===parseInt(e(342))/1+parseInt(e(427))/2*(parseInt(e(399))/3)+-parseInt(e(301))/4*(parseInt(e(423))/5)+parseInt(e(203))/6*(-parseInt(e(137))/7)+-parseInt(e(350))/8*(-parseInt(e(328))/9)+parseInt(e(274))/10+-parseInt(e(222))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(gt);class pt extends J.Plugin{[ft(205)];[ft(241)];[ft(375)]=null;[ft(170)];[ft(332)]=null;[ft(306)];[ft(218)];[ft(340)];[ft(364)];[ft(147)];[ft(123)];[ft(407)];[ft(327)];[ft(133)];static get[ft(154)](){return ft(305)}static get[ft(354)](){return!0}static get[ft(204)](){return!0}static get[ft(232)](){return[K.Users,it,ot,J.PendingActions]}constructor(e){const i=ft;super(e),this[i(170)]=this[i(194)][i(198)][i(409)](i(290)),this[i(147)]=this[i(194)][i(198)][i(409)](i(402)),this[i(306)]=new vt(this[i(194)]),this[i(340)]=this[i(194)][i(186)][i(409)](i(406))||i(129),this[i(364)]=new Map,this[i(133)]=null;const n=(0,t.uid)();this[i(218)]={history:this[i(194)][i(173)][i(299)][i(314)],getLatestVersion:()=>Promise[i(405)](this[i(194)][i(173)][i(299)][i(118)]),getCurrentRevisionId:()=>n},this[i(200)](i(225),!1),this[i(200)](i(172),!0),this[i(200)](i(165),!1),this[i(194)][i(186)][i(414)](i(324),!0),this[i(194)][i(367)][i(210)](i(209))[i(276)]({view:i(229)})}[ft(264)](){const t=ft;this[t(353)](),this[t(194)][t(295)].on(t(319),()=>{const e=t,i=this[e(170)][e(176)](0),n=i&&null===i[e(425)]?i:null;if(this[e(407)]=!!n&&this[e(194)][e(186)][e(409)](e(324)),this[e(194)][e(198)][e(380)](e(345))){const t=this[e(218)][e(395)](),s=this[e(170)][e(176)](t);if(s)this[e(327)]=s[e(283)],this[e(407)]=!1;else{const t=this[e(218)][e(314)][e(373)][e(411)](t=>!t[e(391)]),s=t?t[e(418)]:this[e(218)][e(314)][e(118)];i?(i[e(193)]<s&&i[e(188)]({toVersion:s}),this[e(407)]?(this[e(218)][e(395)]=()=>n.id,this[e(327)]=n[e(283)]):(this[e(327)]=i[e(193)],this[e(407)]=!1)):(this[e(327)]=s,this[e(407)]=!1)}}else n&&(this[e(194)][e(173)][e(299)][e(314)][e(118)]=Math[e(145)](n[e(193)],this[e(194)][e(173)][e(299)][e(314)][e(118)]),n[e(283)]===n[e(193)]?(0!==n[e(283)]&&(this[e(218)][e(395)]=()=>n.id),this[e(407)]=!1):this[e(407)]&&(this[e(218)][e(395)]=()=>n.id,this[e(327)]=n[e(283)])),this[e(407)]||(this[e(327)]=this[e(194)][e(173)][e(299)][e(118)]);this[e(306)][e(264)](this[e(218)][e(314)]),this[e(135)](this[e(327)]),this[e(357)](this[e(327)]),this[e(332)]&&this[e(120)]()}),this[t(362)](t(225)).to(this,t(165),t=>!t),this[t(205)]=this[t(194)][t(186)][t(409)](t(205));const e=this[t(194)];this[t(241)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(398)==r||i(125)==r||i(240)==r||i(397)==r||i(298)==r||i(184)==r||i(392)==r||i(335)==r){delete e[s],n=r,clearInterval(this[i(241)]),this[i(241)]=void 0;break}}i(125)==n&&e[i(219)](i(157)),i(240)==n&&e[i(219)](i(245)),i(397)==n&&e[i(219)](i(265)),i(298)==n&&e[i(219)](i(326),i(115)),i(184)==n&&e[i(219)](i(257)),i(392)==n&&e[i(219)](i(346)),i(335)==n&&e[i(219)](i(256))},1e3)}async[ft(307)](){const t=ft;if(this[t(170)][t(112)]>0){const e=this[t(170)][t(176)](0),i=await this[t(303)](e),n=await this[t(243)](e);this[t(197)](i,n)}}[ft(202)](){const t=ft;super[t(202)](),this[t(241)]&&clearInterval(this[t(241)])}[ft(417)](t){this[ft(218)]=t}async[ft(377)](){const t=ft,e=await this[t(218)][t(168)]();if(e>this[t(375)][t(193)]){await this[t(315)]();const i=this[t(146)]({revision:this[t(375)],to:e});i[t(152)]=i[t(321)][t(344)](e=>this[t(194)][t(198)][t(409)](t(297))[t(235)](e)),this[t(375)][t(188)](i)}}async[ft(247)](e={},i=null){const n=ft,s=[];await this[n(315)](),this[n(407)]=!1,i>this[n(375)][n(193)]&&(i=null),null===i&&(i=await this[n(218)][n(168)]());const r=this[n(266)](i),o=this[n(146)]({from:r,to:i});if(this[n(375)][n(193)]<i){const t=this[n(146)]({revision:this[n(375)],from:i,to:i});t[n(152)]=[],t[n(321)]=[],t.id=this[n(375)].id,this[n(375)][n(188)](t,!0),delete t[n(152)],s[n(253)](t)}e[n(221)]=this[n(194)][n(198)][n(409)](n(297)).me.id,e[n(339)]=e[n(339)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(413)](e);s[n(253)](e);const c=this[n(170)][n(263)](a);if(0!==c){const t=this[n(170)][n(176)](c-1);if(t[n(283)]!==i){const r=this[n(306)][n(108)](i,t[n(193)]),o={id:t.id,diffData:r[n(248)],authorsIds:r[n(321)],authors:r[n(321)][n(344)](t=>this[n(194)][n(198)][n(409)](n(297))[n(235)](t)),fromVersion:i};t===this[n(375)]&&(o[n(260)]=new Date(e[n(260)][n(292)]()+10)),t[n(188)](o,!0),delete o[n(152)],s[n(253)](o)}}if(this[n(332)]){for(const t of s)this[n(251)](t.id,t,!0);this[n(120)]()}return a}[ft(413)](t){const e=ft,i=this[e(170)][e(310)](t);return this[e(332)]&&i.on(e(188),(t,i,n)=>{const s=e;n||(this[s(251)](i.id,i,!0),this[s(120)]())}),this[e(170)][e(239)](i,this[e(279)](i)),i}async[ft(303)](t){const e=ft;return await this[e(147)][e(359)](t,this[e(332)]),this[e(147)][e(303)](t)}async[ft(243)](t){const e=ft;return await this[e(147)][e(359)](t,this[e(332)]),this[e(147)][e(243)](t)}[ft(120)](){const t=ft;if(0===this[t(364)][t(286)])return;if(this[t(165)])return;let e=Array[t(182)](this[t(364)][t(337)]());this[t(364)][t(352)]();for(let i=0;i<e[t(112)];i++){const n=e[i];let s=!1;for(const e of Object[t(348)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(207)](t=>null!==t),!e[t(112)])return;for(let i=0;i<e[t(112)];i++){const n=e[i];void 0!==n[t(283)]&&void 0===n[t(193)]&&(n[t(193)]=this[t(170)][t(176)](n.id)[t(193)]),void 0!==n[t(193)]&&void 0===n[t(283)]&&(n[t(283)]=this[t(170)][t(176)](n.id)[t(283)])}const i=this[t(194)][t(186)][t(409)](t(406));this[t(165)]=!0,this[t(119)](),this[t(332)][t(273)](e,i)[t(238)](()=>{this[t(165)]=!1})[t(376)](e=>{const i=t;if(e)for(const t of e)this[i(311)]({id:t.id,createdAt:t[i(260)]});this[i(122)](),this[i(120)]()})}[ft(146)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(283)],i=null!==i?i:t[n(193)];const s=this[n(306)][n(108)](e,i),r={diffData:s[n(248)],authorsIds:s[n(321)],fromVersion:e,toVersion:i};if(!t||i!==t[n(193)]){const t=i-1,e=this[n(218)][n(314)][n(114)](t);r[n(260)]=e&&e[n(260)]||new Date}if(this[n(133)]&&e===this[n(133)][n(283)])for(const t of this[n(133)][n(152)])r[n(321)][n(401)](t.id)||r[n(321)][n(253)](t.id);return r}[ft(251)](t,e,i){const n=ft;if(this[n(364)][n(380)](t)){const s=this[n(364)][n(409)](t);e=i?{...s,...e}:{...e,...s}}this[n(364)][n(200)](t,e)}[ft(311)](t){const e=ft,i=this[e(170)][e(176)](t.id);if(t[e(260)]&&(t[e(260)]=new Date(t[e(260)])),t[e(321)]){const i=this[e(194)][e(198)][e(409)](e(297));t[e(152)]=t[e(321)][e(344)](t=>i[e(235)](t))}i[e(188)](t,!0)}[ft(135)](t){const e=ft,i=this[e(170)][e(176)](this[e(170)][e(112)]-1);if(i)this[e(340)]=i.id;else{const i=!this[e(194)][e(173)][e(299)][e(223)][e(411)](t=>this[e(194)][e(173)][e(293)](t)),n=this[e(194)][e(198)][e(409)](e(297)).me.id,s=at(this[e(194)][e(313)],e(i?312:384));this[e(192)]({from:t,to:t,id:this[e(340)],name:s,creatorId:n})}}[ft(357)](t){const e=ft,i=this[e(218)][e(395)]();this[e(375)]=this[e(170)][e(176)](i),this[e(375)]||(this[e(375)]=this[e(192)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(315)](){const t=ft;this[t(407)]&&!this[t(133)]&&(await this[t(147)][t(359)](this[t(375)],this[t(332)]),this[t(306)][t(424)](this[t(375)]),this[t(133)]={fromVersion:this[t(375)][t(283)],authors:this[t(375)][t(152)][t(127)]()})}[ft(197)](e,i){const n=ft;let s=this[n(194)][n(186)][n(409)](n(404)),r=this[n(194)][n(186)][n(409)](n(378));if(void 0===s){s={};for(const t of this[n(194)][n(173)][n(299)][n(160)]())s[t]=""}if(n(275)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(194)][n(173)][n(299)][n(160)]())r[t]={}}let o=!1;const a=Object[n(348)](s),c=Object[n(348)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(320)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(348)](r[t])[n(112)]>0){o=!0;break}}o||(o=c[n(185)](t=>!this[n(194)][n(173)][n(299)][n(400)](t))),o&&(0,t.logWarning)(n(429),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(194)][n(186)][n(200)](n(404),e),this[n(194)][n(186)][n(200)](n(378),i)}[ft(119)](){const t=ft;if(!this[t(123)]){const e=this[t(194)][t(198)][t(409)](t(430));this[t(123)]=e[t(408)](at(this[t(194)][t(313)],t(272)))}}[ft(122)](){const t=ft;this[t(123)]&&(this[t(194)][t(198)][t(409)](t(430))[t(336)](this[t(123)]),this[t(123)]=null)}[ft(279)](t){const e=ft,i=this[e(170)][e(158)]();i[e(341)]();let n=0;for(;n<i[e(112)];){const s=i[n];if(s===this[e(375)]){n++;continue}if(s.id===this[e(340)])break;const r=t[e(193)]-s[e(193)]||t[e(283)]-s[e(283)];if(r>0)break;if(r<0)n++;else{if(!t[e(425)]&&s[e(425)])break;if(s[e(425)]||!t[e(425)]){if(t[e(260)]>s[e(260)])break;n++}else n++}}return n}[ft(266)](t){const e=ft,i=this[e(170)][e(158)]();i[e(341)](),i[e(175)]();const n=i[e(411)](i=>i[e(193)]<=t)[e(193)];return n<this[e(327)]?this[e(327)]:n}[ft(192)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(146)]({from:e,to:i});o[r(339)]=t,o[r(221)]=n,o.id=s;const a=this[r(413)](o);return this[r(332)]&&this[r(251)](o.id,o,!0),a}[ft(353)](){const t=ft;this[t(194)][t(367)][t(210)](t(183))[t(282)]({model:t(229)})}}class vt{[ft(194)];[ft(113)];[ft(254)];[ft(371)];[ft(231)];[ft(148)];[ft(368)];[ft(139)];[ft(316)];[ft(287)];[ft(426)];[ft(317)];[ft(181)];[ft(169)];[ft(356)];[ft(379)];[ft(322)];constructor(t){const e=ft;this[e(194)]=t,this[e(254)]=new Map,this[e(371)]=-1,this[e(231)]=-1,this[e(148)]=new Map,this[e(368)]=new Map,this[e(139)]=new Map,this[e(316)]=new Map,this[e(287)]=new Map,this[e(426)]=new Map,this[e(317)]=new Map,this[e(181)]=new Map,this[e(169)]=new Map,this[e(356)]=new Map,this[e(379)]=1}[ft(264)](t){const e=ft;this[e(113)]=t;const i=new Map,n=new Map,s=this[e(194)][e(173)][e(299)][e(223)][e(344)](t=>t[e(151)]);for(const t of s){const s=this[e(194)][e(173)][e(299)][e(400)](t),r=yt(s);i[e(200)](t,r),n[e(200)](t,Object[e(281)](s[e(142)]()))}const r=Array[e(182)](this[e(194)][e(173)][e(167)])[e(344)](t=>[t[e(339)],t[e(421)]()]),o=this[e(113)][e(118)];this[e(403)](o,i,r,n),this[e(322)]=this[e(379)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(200)](t,i),c[e(200)](t,{})}this[e(403)](Number[e(195)],a,[],c)}[ft(108)](t,e){const i=ft;if(this[i(371)]===t&&this[i(231)]<=e)this[i(254)][i(286)]>1&&this[i(230)](this[i(231)]),this[i(143)](this[i(231)],e,!0);else{if(!this[i(254)][i(380)](t)){const e=this[i(278)](t);this[i(190)](e,t,!1)}this[i(190)](t,e,!0)}return this[i(371)]=t,this[i(231)]=e,this[i(149)]()}[ft(424)](t){const e=ft,i=this[e(194)][e(198)][e(409)](e(402));this[e(416)](),this[e(371)]=t[e(283)],this[e(231)]=t[e(193)];for(const n in t[e(248)]){const s=t[e(248)][n][e(178)],r=A(t[e(248)][n][e(285)])||{},o=i[e(164)](t[e(248)][n][e(214)]);o[e(151)]=n,o[e(126)]=!s||!s[e(308)],o[e(308)]=()=>o[e(126)],this[e(316)][e(200)](n,o),this[e(287)][e(200)](n,r),s&&this[e(356)][e(200)](n,s);const a=this[e(171)](o);this[e(317)][e(200)](n,a);for(const[t,i]of o[e(167)]){if(!t[e(161)](e(396)))continue;const n=t[e(363)](":")[2];for(const t of i[e(156)]({singleCharacters:!0})){const i=this[e(300)](t),s=e(246)==t[e(201)]?t[e(199)][e(428)][e(127)](0,-1):t[e(199)][e(428)],r=a[e(365)](s)[e(372)](i);this[e(181)][e(200)](r,{userId:n})}}}this[e(322)]=this[e(379)];const n=[...Array(this[e(379)])[e(348)]()][e(127)](1)[e(207)](t=>!this[e(181)][e(380)](t));let s=0;const r=new Map;for(const o in t[e(248)]){const a=t[e(248)][o][e(178)],c=A(t[e(248)][o][e(369)])||{},u=i[e(164)](t[e(248)][o][e(216)]);u[e(151)]=o,u[e(126)]=!a||a[e(308)],u[e(308)]=()=>u[e(126)],this[e(368)][e(200)](o,u),this[e(139)][e(200)](o,c);const l=this[e(171)](u,Number[e(195)]);this[e(426)][e(200)](o,l),r[e(200)](o,u[e(308)]()?c:{});for(const[t,i]of u[e(167)]){if(!t[e(161)](e(396)))continue;const n=t[e(363)](":")[2];for(const t of i[e(156)]({singleCharacters:!0})){const i=this[e(300)](t),s=this[e(379)]++,r=e(246)==t[e(201)]?t[e(199)][e(428)][e(127)](0,-1):t[e(199)][e(428)];l[e(365)](r)[e(288)](i,s),this[e(181)][e(200)](s,{userId:n})}}for(const t of this[e(194)][e(173)][e(191)](u)[e(156)]({singleCharacters:!0})){const i=this[e(300)](t),r=e(246)==t[e(201)]?t[e(199)][e(428)][e(127)](0,-1):t[e(199)][e(428)],o=l[e(365)](r);o[e(372)](i)>0||o[e(288)](i,n[s++])}for(const[t,i]of u[e(167)])t[e(161)](e(396))||this[e(148)][e(200)](t,i)}const o=kt(e(144));this[e(316)][e(200)](e(144),o),this[e(317)][e(200)](e(144),this[e(171)](o,1));const a=kt(e(144));this[e(368)][e(200)](e(144),a),this[e(426)][e(200)](e(144),this[e(171)](a,1));const c=Array[e(182)](this[e(368)])[e(344)](([t,e])=>[t,yt(e)]);this[e(403)](this[e(231)],c,this[e(148)],r)}[ft(389)](){const t=ft;this[t(416)](),this[t(371)]=-1,this[t(231)]=-1,this[t(254)][t(352)](),this[t(264)](this[t(113)])}[ft(403)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(A(n)),a=new Map;for(const[t,e]of i)a[s(200)](t,{start:e[s(242)][s(289)](),end:e[s(390)][s(289)](),rootName:e[s(280)][s(151)]});this[s(254)][s(200)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(230)](t){const e=ft;this[e(254)][e(385)](t)}[ft(416)](){const t=ft;this[t(181)][t(352)](),this[t(169)][t(352)](),this[t(356)][t(352)](),this[t(368)][t(352)](),this[t(139)][t(352)](),this[t(316)][t(352)](),this[t(287)][t(352)](),this[t(426)][t(352)](),this[t(317)][t(352)](),this[t(148)][t(352)](),this[t(379)]=1,this[t(322)]=this[t(379)]}[ft(171)](t,e=null){const i=ft;let n=null;t.is(i(132))||(n=new Q.ModelElement(t[i(339)],{vid_start:null===e?this[i(379)]++:e++}));const s=[];for(const n of t[i(277)]())if(n.is(i(412))){s[i(253)](this[i(171)](n,e));const t=s[s[i(112)]-1];null!==e&&(e=t.is(i(412),i(333))?t[i(372)](i(361))+1:t[i(372)](i(334))+1)}else for(let t=0;t<n[i(249)];t++)s[i(253)](new Q.ModelElement(i(333),{vid:null===e?this[i(379)]++:e++}));if(t.is(i(132))){const e=kt(t[i(151)]);return e[i(304)](0,s),e}return n[i(288)](i(334),null===e?this[i(379)]++:e++),n[i(304)](0,s),n}[ft(190)](t,e,i){const n=ft;this[n(416)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(254)][n(409)](t);this[n(316)]=new Map(s),this[n(287)]=new Map(A(o));for(const[t,e]of this[n(316)])if(n(144)!==t&&(this[n(368)][n(200)](t,yt(e)),this[n(139)]=new Map(A(o)),i)){const i=this[n(379)];this[n(426)][n(200)](t,this[n(171)](e)),this[n(317)][n(200)](t,this[n(171)](e,i))}this[n(322)]=this[n(379)],this[n(368)][n(200)](n(144),yt(this[n(316)][n(409)](n(144)))),i&&this[n(426)][n(200)](n(144),this[n(171)](this[n(316)][n(409)](n(144))));for(const[t,e]of r){const i=this[n(316)][n(409)](e[n(151)]),s=this[n(368)][n(409)](e[n(151)]),r=new Q.ModelRange(this[n(111)](e[n(242)],i),this[n(111)](e[n(390)],i)),o=this[n(261)](r,s);i[n(167)][n(200)](t,r),this[n(148)][n(200)](t,o)}this[n(143)](t,e,i)}[ft(143)](t,e,i){const n=ft;for(const s of this[n(113)][n(358)](t,e))this[n(227)](s,i);for(const t of this[n(368)][n(337)]())t[n(167)][n(352)]();for(const[t,e]of this[n(148)])this[n(368)][n(409)](e[n(280)][n(151)])[n(167)][n(200)](t,e[n(289)]());const s=new Map,r=new Map;for(const[t,e]of this[n(368)])s[n(200)](t,yt(e)),r[n(200)](t,this[n(139)][n(409)](t));this[n(403)](e,s,this[n(148)],r)}[ft(278)](t){const e=ft,i=Array[e(182)](this[e(254)][e(348)]());i[e(130)]((t,e)=>t-e),i[e(341)]();for(const e of i)if(e<t)return e;return Number[e(195)]}[ft(323)](t,e){const i=ft,n=Array[i(182)](e[i(167)])[i(344)](([e,n])=>[e,this[i(261)](n,t)]);t[i(167)]=new Map(n)}[ft(217)](t){const e=ft;for(const i of this[e(148)][e(337)]()){const n=i[e(159)](t),s=Q.ModelRange[e(250)](n);i[e(242)]=s[e(242)],i[e(390)]=s[e(390)]}}[ft(227)](t,e){const i=ft;if(i(410)!=t[i(201)]&&i(163)!=t[i(201)]){if(i(302)==t[i(201)]){const n=t[i(268)][i(280)][i(151)];this[i(368)][i(380)](n)||(this[i(368)][i(200)](n,kt(n,!0)),this[i(139)][i(200)](n,{}),e&&this[i(426)][i(200)](n,kt(n,!0)))}else{if(i(153)==t[i(201)]||i(162)==t[i(201)]||i(271)==t[i(201)])return void this[i(141)](t);i(309)==t[i(201)]&&this[i(270)](t)}if(i(309)!==t[i(201)]){const e=this[i(318)](t,this[i(368)]);e[i(109)](),this[i(217)](e)}if(e)switch(t[i(201)]){case i(302):this[i(189)](t);break;case i(381):case i(336):case i(355):this[i(224)](t);break;case i(329):this[i(155)](t);break;case i(363):this[i(393)](t)}}else this[i(387)](t,e)}[ft(318)](t,e){const i=ft,n=t[i(289)]();return n[i(284)]=t[i(284)],this[i(226)](n,e),n}[ft(228)](t){const e=ft;return t[e(344)](t=>{const i=e,n=this[i(300)](t);return Number(t[i(386)][i(372)](n))})}[ft(211)](t,e){const i=ft;if(t.is(i(412),i(333)))e[i(253)]({item:t,type:i(206)});else{t.is(i(412))&&e[i(253)]({item:t,type:i(131)});for(const n of t[i(277)]())this[i(211)](n,e);t.is(i(412))&&e[i(253)]({item:t,type:i(246)})}return e}[ft(149)](){const t=ft,e=new Map(this[t(181)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(316)][t(348)](),...this[t(368)][t(348)]()]);a[t(385)](t(144));for(const e of a){const i=this[t(368)][t(409)](e)||kt(e,!1),n=this[t(316)][t(409)](e)||kt(e,!1);i[t(308)]()||n[t(308)]()?(s[t(216)][e]=yt(i),s[t(214)][e]=yt(n),this[t(323)](s[t(214)][e],n),this[t(323)](s[t(216)][e],i),r[t(216)][e]=this[t(211)](this[t(426)][t(409)](e),[]),r[t(214)][e]=this[t(211)](this[t(317)][t(409)](e)||kt(e,!1),[])):a[t(385)](e)}for(const s of a){const o=r[t(216)][s];for(const s of o){const r=this[t(300)](s),o=s[t(386)][t(372)](r);i[t(385)](o),o>=this[t(322)]&&n[t(200)](o,e[t(409)](o))}}for(const s of a){const a=r[t(216)][s],c=this[t(228)](r[t(214)][s]);let u=0;for(const s of a){const r=this[t(300)](s),a=s[t(386)][t(372)](r);if(!n[t(380)](a)&&!o[t(380)](a))if(i[t(380)](a))u++;else{if(a!=c[u]){const n=e[t(409)](a)||e[t(409)](c[u]);for(;a!=c[u];)i[t(380)](c[u])||(o[t(200)](c[u],n),e[t(200)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(216)][e];for(const e of s){const s=this[t(300)](e),r=e[t(386)][t(372)](s);if(o[t(380)](r)){const e=o[t(409)](r);i[t(380)](r)||i[t(200)](r,{...e}),n[t(200)](r,{...e})}}}for(const e of i[t(348)]())e>=this[t(322)]&&i[t(385)](e);const c=new Map;for(const e of a){let s=r[t(216)][e];for(const e of s)if(e[t(386)].is(t(412),t(196))){const i=this[t(300)](e),s=e[t(386)][t(372)](i);if(n[t(380)](s)){const i=e[t(386)][t(338)][t(338)][t(372)](t(343)),r=c[t(409)](i)||new Set;r[t(408)](n[t(409)](s)[t(121)]),c[t(200)](i,r)}}s=r[t(214)][e];for(const e of s)if(e[t(386)].is(t(412),t(196))){const n=this[t(300)](e),s=e[t(386)][t(372)](n);if(i[t(380)](s)){const n=e[t(386)][t(338)][t(338)][t(372)](t(343)),r=c[t(409)](n)||new Set;r[t(408)](i[t(409)](s)[t(121)]),c[t(200)](n,r)}}for(const e of c[t(348)]())(n[t(380)](e)||i[t(380)](e))&&c[t(385)](e)}for(const e of a){const s=r[t(216)][e];let o=null,a=null;for(const e of s){const s=this[t(300)](e),r=e[t(386)][t(372)](s),u=c[t(409)](r);u&&t(131)==e[t(201)]&&(o=Array[t(182)](u)[0],a=e[t(386)][t(372)](t(334))),o&&(i[t(200)](r,{userId:o}),n[t(200)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(214)][e],a=s[t(216)][e];for(const{userId:e}of this[t(169)][t(337)]())null!==e&&l[t(408)](e);for(const{userId:e}of this[t(356)][t(337)]())null!==e&&l[t(408)](e);this[t(331)](a,r[t(216)][e],n,t(419),l),this[t(331)](o,r[t(214)][e],i,t(325),l),u[e]={insertions:this[t(117)](a),deletions:this[t(117)](o),attachChange:this[t(356)][t(409)](e)||null,attributesBefore:A(this[t(287)][t(409)](e))||{},attributesAfter:A(this[t(139)][t(409)](e))}}return{diffData:u,authorsIds:Array[t(182)](l)}}[ft(124)](t){const e=ft;for(const[,i]of t[e(167)]){const t=i[e(242)][e(383)]()[e(207)](t=>e(196)==t[e(339)]);for(const i of t)1==i[e(296)]&&i[e(347)](0).is(e(412),e(291))&&i[e(347)](0)[e(288)](e(177),!0)}}[ft(117)](t){const e=ft;this[e(124)](t);const i=this[e(194)][e(295)][e(258)](t,{}),n=Array[e(182)](i[e(277)]())[e(344)](t=>this[e(166)](t));return JSON[e(269)](n)}[ft(166)](t){const e=ft;if(t.is(e(333)))return t[e(295)];{const i=this[e(194)][e(198)][e(409)](e(402)),n=t,s=this[e(194)][e(295)][e(422)][e(140)],r={type:i[e(136)](n),name:n[e(339)],attributes:Array[e(182)](n[e(142)]()),children:Array[e(182)](n[e(277)]())[e(344)](t=>this[e(166)](t))};if(t.is(e(208))&&e(150)!=t[e(339)]){const i=t[e(213)](s[e(366)],s);r[e(215)][e(253)](i[e(351)])}else if(t.is(e(382))){const i=s[e(366)][e(237)](n[e(339)]);t[e(213)](i,s),r[e(215)][e(253)](i[e(294)])}const o=Array[e(182)](n[e(236)]());o[e(112)]>0&&(r[e(116)]=o);const a=n[e(134)]();return null!==a&&(r[e(110)]=a),r}}[ft(331)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(194)][r(173)];for(let n=0;n<e[r(112)];n++){const s=this[r(300)](e[n]),c=e[n][r(386)][r(372)](s),h=i[r(409)](c),d=n==e[r(112)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(121)]!=o[r(121)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(121)],d=l(396)+n+":"+h+":"+c++,f=u[l(128)](i,a);t[l(167)][l(200)](d,f),null!==h&&s[l(408)](h)}}[ft(300)](t){const e=ft;switch(t[e(201)]){case e(131):return e(343);case e(246):return e(334);default:return e(361)}}[ft(226)](t,e){const i=ft;t[i(418)]=null;for(const n in t){const s=t[n];if(s instanceof Q.ModelPosition){const r=e[i(409)](s[i(280)][i(151)]);t[n]=this[i(111)](s,r)}if(s instanceof Q.ModelRange){const r=e[i(409)](s[i(280)][i(151)]);t[n]=this[i(261)](s,r)}i(280)===n&&(t[i(280)]=e[i(409)](t[i(280)][i(151)]))}}[ft(261)](t,e){const i=ft;return this[i(194)][i(173)][i(128)](this[i(111)](t[i(242)],e),this[i(111)](t[i(390)],e))}[ft(111)](t,e){const i=ft;return this[i(194)][i(173)][i(267)](e,t[i(428)],t[i(349)])}[ft(189)](t){const e=ft,i=this[e(426)][e(409)](t[e(268)][e(280)][e(151)]),n=this[e(111)](t[e(268)],i),s=null===t[e(284)]?null:t[e(284)]||this[e(194)][e(198)][e(409)](e(297)).me.id,r=n[e(338)],o=this[e(379)],a=[];for(const i of t[e(259)])if(i.is(e(412)))a[e(253)](this[e(171)](i));else for(let t=0;t<i[e(249)];t++)a[e(253)](new Q.ModelElement(e(333),{vid:this[e(379)]++}));const c=this[e(379)];for(let t=o;t<c;t++)this[e(181)][e(200)](t,{userId:s});r[e(304)](n[e(179)],a)}[ft(224)](t){const e=ft;(t=this[e(318)](t,this[e(426)]))[e(109)]();const i=null===t[e(284)]?null:t[e(284)]||this[e(194)][e(198)][e(409)](e(297)).me.id,n=t[e(107)](),s=n[e(338)],r=n[e(179)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(347)](e);r.is(a(412),a(333))?n[a(200)](r[a(372)](a(361)),{userId:i}):(n[a(200)](r[a(372)](a(343)),{userId:i}),t(n,r,0,r[a(296)]),n[a(200)](r[a(372)](a(334)),{userId:i}))}}(this[e(181)],s,r,r+t[e(360)])}[ft(155)](t){const e=ft,i=null===(t=this[e(318)](t,this[e(426)]))[e(284)]?null:t[e(284)]||this[e(194)][e(198)][e(409)](e(297)).me.id,n=t[e(212)][e(338)],s=t[e(138)][e(338)],r=n[e(372)](e(334)),o=s[e(372)](e(343));n[e(288)](e(334),s[e(372)](e(334))),s[e(288)](e(334),r),this[e(181)][e(200)](o,{userId:i}),this[e(181)][e(200)](r,{userId:i}),t[e(109)]()}[ft(393)](t){const e=ft,i=null===(t=this[e(318)](t,this[e(426)]))[e(284)]?null:t[e(284)]||this[e(194)][e(198)][e(409)](e(297)).me.id,n=t[e(394)],s=t[e(388)][e(338)];t[e(109)]();const r=s[e(372)](e(334)),o=t[e(330)][e(244)];if(n){const t=o[e(372)](e(334)),n=s[e(372)](e(334));s[e(288)](e(334),t),o[e(288)](e(334),n),this[e(181)][e(200)](s[e(372)](e(334)),{userId:i}),this[e(181)][e(200)](o[e(372)](e(343)),{userId:i})}else{const t=this[e(379)]++,n=this[e(379)]++;s[e(288)](e(334),t),o[e(288)](e(343),n),o[e(288)](e(334),r),this[e(181)][e(200)](t,{userId:i}),this[e(181)][e(200)](n,{userId:i})}}[ft(270)](t){const e=ft;if(!t[e(262)])return;const i=(t=this[e(318)](t,this[e(368)]))[e(233)]?t[e(233)][e(280)]:null,n=t[e(187)]?t[e(187)][e(280)]:null;i&&this[e(148)][e(385)](t[e(339)]),n&&this[e(148)][e(200)](t[e(339)],t[e(187)][e(289)]());const s=null===t[e(284)]?null:t[e(284)]||this[e(194)][e(198)][e(409)](e(297)).me.id,r=t[e(339)];if(!this[e(169)][e(380)](r))return void this[e(169)][e(200)](r,{range:t[e(233)],userId:s});const o=this[e(169)][e(409)](r),a=o[e(234)],c=t[e(187)];null==a&&null==c||a&&c&&a[e(174)](c)?this[e(169)][e(385)](t[e(339)]):o[e(121)]=s}[ft(387)](t,e){const i=ft;this[i(368)][i(380)](t[i(151)])?this[i(368)][i(409)](t[i(151)])[i(126)]=t[i(252)]:(this[i(368)][i(200)](t[i(151)],kt(t[i(151)],!0)),this[i(139)][i(200)](t[i(151)],{}),e&&this[i(426)][i(200)](t[i(151)],kt(t[i(151)],!0)));const n=null===t[i(284)]?null:t[i(284)]||this[i(194)][i(198)][i(409)](i(297)).me.id,s=this[i(356)][i(409)](t[i(151)]);s&&s[i(121)]===n?this[i(356)][i(385)](t[i(151)]):this[i(356)][i(200)](t[i(151)],{userId:n,isAttached:t[i(252)]})}[ft(141)](t){const e=ft,i=this[e(139)][e(409)](t[e(280)][e(151)]);null===t[e(220)]?delete i[t[e(374)]]:i[t[e(374)]]=t[e(220)]}}function gt(){const t=["5751fQooqB","merge","insertionPosition","_markChanges","adapter","$text","vid_end","revisionHistoryLicenseKeyUsageLimit","remove","values","parent","name","_initialRevisionId","reverse","184969AMjUlW","vid_start","map","RealTimeCollaborationClient","trialLimit","getChild","keys","stickiness","8792QUWbOa","outerHTML","clear","_setConversion","isOfficialPlugin","reinsert","_touchedRoots","_createCurrentRevision","getOperations","loadRevisionData","howMany","vid","bind","split","_bufferedUpdates","getNodeByPath","domDocument","conversion","_diffRoots","attributesAfter","createPositionBefore","_lastFrom","getAttribute","_operations","key","currentRevision","then","update","rootsAttributes","_revisionId","has","move","rawElement","getAncestors","Initial revision","delete","item","_handleRootOperation","splitPosition","reInit","end","_isInit","revisionHistoryLicenseKeyTrialLimit","_handleSplitOperation","graveyardPosition","getCurrentRevisionId","revision:","revisionHistoryLicenseKeyDomainLimit","revisionHistoryLicenseKeyValid","9qXbIjI","getRoot","includes","RevisionHistoryUtils","_saveMetaData","initialData","resolve","collaboration.channelId","_continueCurrentRevision","add","get","addRoot","find","element","addRevisionData","define","_appendChild","_reset","setSource","baseVersion","insertion","createPositionAfter","getRange","htmlProcessor","55115LggyjN","loadState","creator","_idsRoots","317830thRwNv","path","editor-initial-data-replaced-with-revision-data","PendingActions","getMovedRangeStart","getData","_execute","fillerOffset","_fixPosition","length","source","getOperation","RevisionHistory","customProperties","_prepareViewToSave","version","_addPendingAction","sendBufferedUpdates","userId","_removePendingAction","_pendingAction","_processRootBeforeSave","revisionHistoryLicenseKeyInvalid","_isAttached","slice","createRange","initial","sort","elementStart","documentFragment","_loadedStateData","getFillerOffset","_createInitialRevision","_getTypeCharForViewElement","7LGWBnF","sourcePosition","_diffRootsAttributes","domConverter","_handleRootAttributeOperation","getAttributes","_applyOperations","$graveyard","max","buildRevisionData","_utils","_markers","_getState","$comment","rootName","authors","addRootAttribute","pluginName","_handleMergeOperation","getWalker","invalid","getRevisions","getTransformedByOperation","getRootNames","startsWith","removeRootAttribute","detachRoot","_makeModelFromViewString","_isPendingUpdate","_getViewJson","markers","getLatestVersion","_touchedMarkers","repository","_makeIdsRoot","isEnabled","model","isEqual","shift","getRevision","keepParagraph","attachChange","offset","_clone","_touched","from","dataDowncast","revisionHistoryLicenseKeyEvaluationLimit","some","config","newRange","_update","_handleInsertOperation","_calculateMetaData","createRangeIn","_makeRevision","toVersion","editor","NEGATIVE_INFINITY","tableCell","_replaceEditorDataWithRevisionData","plugins","previousPosition","set","type","destroy","5759442nYlTBK","isPremiumPlugin","licenseKey","text","filter","uiElement","upcast","for","_generateTape","targetPosition","render","deletions","children","insertions","_transformMarkers","_source","_showLicenseError","newValue","creatorId","5281815rldKMM","roots","_handleMoveOperation","isReady","_fixOperation","_handleOperation","_getBaseVids","revision","_removeMetaData","_lastTo","requires","oldRange","range","getUser","getCustomProperties","createElement","finally","addRevision","revisionHistoryLicenseKeyExpired","_licenseKeyCheckInterval","start","getRevisionRootsAttributes","nodeAfter","expired","elementEnd","saveRevision","diffData","offsetSize","_createFromRanges","_bufferUpdate","isAdd","push","_savedMetaData","createPositionAt","usageLimit","evaluationLimit","toView","nodes","createdAt","_fixRange","affectsData","getIndex","init","domainLimit","_getFromVersion","createPositionFromPath","position","stringify","_handleMarkerOperation","changeRootAttribute","PENDING_ACTION_REVISION_HISTORY","updateRevisions","6377320mrWPje","string","dataToMarker","getChildren","_getPreviousFrom","_findInsertionIndex","root","fromEntries","markerToData","fromVersion","_authorId","attributesBefore","size","_baseRootsAttributes","_setAttribute","clone","RevisionsRepository","paragraph","getTime","hasContent","innerHTML","data","childCount","Users","revisionHistoryLicenseKeyNotAllowed","document","_getVidAttributeName","28CgxLHl","insert","getRevisionDocumentData","_insertChild","RevisionTracker","_revisionDataBuilder","afterInit","isAttached","marker","createRevision","setRevisionData","Empty document","locale","history","_loadState","_baseRoots","_baseIdsRoots","_cloneOperation","ready","trim","authorsIds","_startingRevisionId","_copyMarkers","revisionHistory.resumeUnsavedRevision","deletion","featureNotAllowed","_startingVersion"];return(gt=function(){return t})()}function yt(t){const e=ft,i=kt(t[e(151)],t[e(308)]());for(const n of t[e(277)]()){const t=n[e(180)](!0);i[e(415)](t)}return i}function kt(t,e=!0){const i=ft,n=new Q.ModelDocumentFragment;return n[i(151)]=t,n[i(126)]=e,n[i(308)]=()=>n[i(126)],n}function bt(t,e,i){const n=ft,s=n(246)==t[n(201)]?i[n(255)](t[n(386)],n(390)):i[n(370)](t[n(386)]);return i[n(267)](e,s[n(428)],s[n(349)])}function wt(t,e,i){const n=ft,s=n(131)==t[n(201)]?i[n(255)](t[n(386)],0):i[n(420)](t[n(386)]);return i[n(267)](e,s[n(428)],s[n(349)])}var _t=i(355),It=i(311),St=i(6),Ot=i.n(St),Tt=i(602),xt=i.n(Tt),Nt=i(557),Rt=i.n(Nt),At=i(302),Mt=i.n(At),Vt=i(290),Et=i.n(Vt),Dt=i(16),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(618),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Rt().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Et();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-=473]})(t,e)}function zt(){const t=["label","220","ck-revision-history-save-revision-form","focus","254561bryhtK","listenTo","2878792svPeDU","setTemplate","value","441wzvTnd","arrowdown","arrowleft","locale","keystrokes","form","reset","Name of the revision","7190140TWBdXU","stopPropagation","fieldView","element","14JmvunZ","trim","optional","revisionName","ck-responsive-form","469360tMHpeK","input","focusTracker","3477024TYsUdm","render","set","revisionNameInputValue","403605BZJbWx","initializeCssTransitionDisablerMixin","revisionNameInputView","arrowright","extendTemplate","222760tZxCKc","add","12gaqVbg","arrowup","_createRevisionNameInput","errorText"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(808151===-parseInt(e(492))/1+parseInt(e(514))/2*(parseInt(e(484))/3)+-parseInt(e(494))/4+-parseInt(e(477))/5+parseInt(e(473))/6*(-parseInt(e(509))/7)+parseInt(e(482))/8*(parseInt(e(497))/9)+parseInt(e(505))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(516)];[Lt(501)];[Lt(479)];constructor(e,i){const n=Lt;super(e),this[n(516)]=new t.FocusTracker,this[n(501)]=new t.KeystrokeHandler,this[n(475)](n(476),""),this[n(479)]=this[n(486)](i),this[n(495)]({tag:n(502),attributes:{class:["ck",n(490),n(513)],tabindex:"-1"},children:[this[n(479)]]}),this[n(478)]()}[Lt(474)](){const t=Lt;super[t(474)](),(0,It.submitHandler)({view:this}),this[t(516)][t(483)](this[t(479)][t(508)]),this[t(501)][t(493)](this[t(508)]);const e=e=>e[t(506)]();this[t(501)][t(475)](t(480),e),this[t(501)][t(475)](t(499),e),this[t(501)][t(475)](t(485),e),this[t(501)][t(475)](t(498),e)}[Lt(491)](){const t=Lt;this[t(479)][t(491)]()}get[Lt(512)](){const t=Lt;return this[t(479)][t(507)][t(508)][t(496)][t(510)]()}set[Lt(512)](t){const e=Lt;this[e(479)][e(507)][e(508)][e(496)]=t[e(510)]()}[Lt(503)](){const t=Lt;this[t(479)][t(507)][t(508)][t(496)]="",this[t(479)][t(487)]=null}[Lt(486)](t){const e=Lt,i=new It.LabeledFieldView(this[e(500)],It.createLabeledInputText),n=i[e(507)];n[e(481)]({attributes:{maxlength:e(489)}});let s=at(this[e(500)],e(504));return!t&&(s+=" ("+at(this[e(500)],e(511))+")"),i[e(488)]=s,n.on(e(515),()=>{const t=e;this[t(476)]=n[t(508)][t(496)][t(510)]()}),i}}function Ut(){const t=["plugins","isEnabled","componentFactory","The revision name cannot be empty.","show","editing","isPremiumPlugin","16196mKTHxo","_saveRevisionFormView","bind","isReady","Accept","saveRevision","2254917wxwLFD","2056VNKHJR","Dialog","_createSaveRevisionFormView","menuitem","3727150uiUWBA","submit","RevisionHistoryUI","_showDialog","4263972UTYKGk","revisionName","1577208BxncBy","addMany","isOfficialPlugin","init","config","view","role","editor","set","revisionNameInputView","_registerMenuComponent","panelView","revisionHistory","menuBar:revisionHistory","reset","children","revisionHistory.requireRevisionName","120757kaXDQp","Cancel","isOpen","buttonView","Revision history","ck-button-action","items","focus","render","get","Save current revision","requires","2499270mofiLm","isReadOnly","showRevisionViewerCallback","Open revision history","revisionSave","pluginName","errorText","menu","hide","locale","RevisionTracker","add","delegate","execute"];return(Ut=function(){return t})()}const Ht=Zt;function Zt(t,e){const i=Ut();return(Zt=function(t,e){return i[t-=130]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(867482===-parseInt(e(170))/1+-parseInt(e(149))/2+-parseInt(e(176))/3+-parseInt(e(185))/4+-parseInt(e(181))/5+parseInt(e(187))/6+parseInt(e(137))/7*(parseInt(e(177))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class $t extends J.Plugin{static get[Ht(154)](){return Ht(183)}static get[Ht(189)](){return!0}static get[Ht(169)](){return!0}static get[Ht(148)](){return[pt]}[Ht(171)];[Ht(190)](){const t=Ht,e=this[t(194)],i=e[t(163)][t(146)](t(159));e.ui[t(165)][t(160)](t(132),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(131)][s(135)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(172)](s(164)).to(i,s(173),i,s(164),e,s(150),(t,e,i)=>t&&e&&!i),r[s(140)][s(195)]({icon:_t.IconHistory,label:at(n,s(141)),tooltip:!0}),u[s(195)]({label:at(n,s(147)),withText:!0,role:s(180)}),u[s(172)](s(164)).to(i,s(173),i,s(164),e,s(150),(t,e,i)=>t&&e&&!i),u.on(s(162),()=>this[s(184)]()),h[s(195)]({label:at(n,s(152)),withText:!0,role:s(180)}),h[s(172)](s(164)).to(i,s(173),e,s(150),(t,e)=>t&&!e),h.on(s(162),()=>{const t=s;e[t(191)][t(146)](t(132))[t(151)](),r[t(139)]=!1,e[t(168)][t(192)][t(144)]()}),c[s(135)][s(160)](u),l[s(135)][s(160)](h),a[s(193)]=s(156),a[s(143)][s(188)]([c,l]),o[s(160)](a),r}),e.ui[t(165)][t(160)](t(133),()=>this[t(130)]())}[Ht(130)](){const t=Ht,e=this[t(194)],i=e[t(158)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(140)][t(195)]({icon:_t.IconHistory,label:at(i,t(141))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(195)]({label:at(i,t(147))}),o[t(161)](t(162)).to(n),o.on(t(162),()=>{this[t(184)]()}),r[t(135)][t(160)](o),s[t(143)][t(160)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(195)]({label:at(i,t(152))}),c[t(161)](t(162)).to(n),c.on(t(162),()=>{const i=t;e[i(191)][i(146)](i(132))[i(151)]()}),a[t(135)][t(160)](c),s[t(143)][t(160)](a),n[t(131)][t(135)][t(160)](s),n}[Ht(184)](){const t=Ht,e=this[t(194)],i=e[t(158)],n=e[t(163)][t(146)](t(178)),s=e[t(163)][t(146)](t(159));function r(s){const r=t;e[r(191)][r(146)](r(136))&&""===s[r(186)]?s[r(196)][r(155)]=at(i,r(166)):(e[r(163)][r(146)](pt)[r(175)]({name:s[r(186)]}),n[r(157)]())}this[t(171)]||(this[t(179)](),this[t(171)].on(t(182),()=>r(this[t(171)]))),this[t(171)][t(134)](),n[t(167)]({id:t(153),title:at(i,t(147)),isModal:!0,content:this[t(171)],actionButtons:[{label:at(e[t(158)],t(138)),withText:!0,onExecute:()=>n[t(157)]()},{label:at(e[t(158)],t(174)),class:t(142),withText:!0,onCreate(i){const n=t;i[n(172)](n(164)).to(s,n(173),s,n(164),e,n(150),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(171)])}]})}[Ht(179)](){const t=Ht,e=this[t(194)],i=e[t(158)];this[t(171)]=new Wt(i,e[t(191)][t(146)](t(136))),this[t(171)][t(145)]()}}const qt=Yt;function Bt(){const t=["ck-revision-change__label","data","setTemplate","2802240ewKGxs","2ymcKtZ","element","ck-revision-change__","112GGIxCZ","_model","54131gNnrZK","182107EpEVxV","Added by","1910352QBFpqq","type","focus","author","68gLiHuQ","9478480YAQupA","Suggested by","changeId","name","Removed by","bindTemplate","5ZuYgeq","isSuggestion","div","1000240xRWVpE","set","add","2505qaUHjz","ck-revision-change","span","ck-annotation"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=103]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(172660===-parseInt(e(121))/1*(-parseInt(e(115))/2)+parseInt(e(107))/3*(parseInt(e(127))/4)+-parseInt(e(134))/5*(-parseInt(e(123))/6)+-parseInt(e(120))/7*(-parseInt(e(118))/8)+parseInt(e(114))/9+parseInt(e(104))/10+-parseInt(e(128))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Gt extends It.View{[qt(130)];[qt(119)];constructor(t,e){const i=qt;super(t),this[i(119)]=e,this[i(130)]=e.id;const n=this[i(133)],s=at(t,e[i(112)][i(135)]?i(129):i(106)==e[i(124)]?i(122):i(132));this[i(105)](i(124),e[i(124)]),this[i(113)]({tag:i(103),attributes:{class:[i(110),i(108),n.to(i(124),t=>i(117)+t)],tabindex:-1},children:[{tag:i(109),children:[{tag:i(109),attributes:{class:[i(111)]},children:[{text:s}]},{text:" "+e[i(126)][i(131)]}]}]})}[qt(125)](){const t=qt;this[t(116)][t(125)]()}}var Jt=Qt;function Kt(){var t=["2519328iqkdaz","createdAt","type","128VxRvTU","75878DMjIfz","data","author","4116zBcCtu","toJSON","5251212prXlpU","870fUbVAQ","1276iIOFqj","12vYWwbN","2759188uOmeNy","20DrmHwW","rootName","set","1588525SaJdEG"];return(Kt=function(){return t})()}function Qt(t,e){var i=Kt();return(Qt=function(t,e){return i[t-=355]})(t,e)}!function(t){for(var e=Qt,i=t();;)try{if(480227===parseInt(e(367))/1*(parseInt(e(366))/2)+-parseInt(e(356))/3+parseInt(e(369))/4+parseInt(e(355))/5*(parseInt(e(368))/6)+parseInt(e(363))/7*(parseInt(e(359))/8)+-parseInt(e(365))/9+parseInt(e(370))/10*(parseInt(e(360))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Xt extends((0,t.ObservableMixin)()){id;[Jt(362)];[Jt(358)];[Jt(361)];[Jt(371)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(362)]=e[i(362)],this[i(358)]=e[i(358)],this[i(361)]=e[i(361)]||{},this[i(371)]=e[i(371)],this[i(372)](i(357),e[i(357)])}[Jt(364)](){var t=Jt;return{id:this.id,authorId:this[t(362)].id,type:this[t(358)],data:this[t(361)],createdAt:this[t(357)]}}}function te(){const t=["changes","newRevisionId","1767zAekxt","add","231MJQCtW","3638704NZQObp","9668pOXwAr","1156446GHflyH","18iZuebK","4247390AEKlDZ","5QJOotw","oldRevisionId","1188670utdYZR","1905162HjuXOr","_setChanges","2061558HjCTcC"];return(te=function(){return t})()}const ee=ie;function ie(t,e){const i=te();return(ie=function(t,e){return i[t-=233]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(719342===-parseInt(e(247))/1+-parseInt(e(239))/2+-parseInt(e(242))/3*(parseInt(e(246))/4)+-parseInt(e(234))/5*(-parseInt(e(237))/6)+parseInt(e(233))/7+-parseInt(e(245))/8*(-parseInt(e(248))/9)+-parseInt(e(236))/10*(-parseInt(e(244))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ne{[ee(241)];[ee(235)];[ee(240)];constructor(e,i){const n=ee;this[n(241)]=e,this[n(235)]=i,this[n(240)]=new t.Collection}[ee(238)](t){const e=ee;for(const i of t)this[e(240)][e(243)](i)}}var se=i(890),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ae;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=311]})(t,e)}function ce(){const t=["nodeAfter","markersEnd","toViewRange","deletion","changes","roots","isBlock","isSuggestion","mousedown","removeClass","3267790lIybXF","isBefore","dataToMarker","POSITIVE_INFINITY","addMarker:revision-suggestion:insertion","maxOffset","backward","showNextChange","right","data-change-id","low","change:isReady","domEvent","enqueueChange","isEqual","adapter","abs","_balloon","get","splice","isAfter","done","mapper","pluginName","merge","startIndex","isRemoveSuggestion","indexOf","createRevision","change:numberOfChanges","values","revisionHistoryLabel","ck-revision-history-root-remove","catch","comment","updatePosition","concat","compare","init","372EiCYAV","flat","execute","text","object","affectsData","_markInsertions","isAttached","endIndex","revisionHistoryAttachChange","isAtEnd","hasAttribute","suggestion:","removeMarker:revision-suggestion","_threeWayMerge","observeMarkers","push","locale","high","_getRevisionsRange","_joinTapes","_setConversion","loadRevisionData","stop","6QXWgQp","addMarker:revision-suggestion:deletion","element:pre","getRootNames","isEnabled","ck-revision-history-root-add","mouseover","markersStart","change:activeView","isNavigationMode","getRevision","enableReadOnlyMode","top","11QHySfx","createPositionBefore","_processTape","model","_data","code","consumable","writer","diffData","getChild","markerName","addHighlight","change","_activeViewTarget","commands","addClass","parent","isRemoved","authors","reconvertMarker","forceDisabled","restoreRevisionCallback","nextSibling","revision:","createPositionFromPath","revision","_setChanges","ck-editor__editable__overlay","test","length","all","_step","pop","highest","showPreviousChange","insert","forEach","newRevisionId","from","ck-revision-history-root--active","return","createUIElement","_markMarkers","end","isOnRoot","elementStart","_revisions","editor","listenTo","getCustomProperty","activeView","_changeView","set","editingDowncast","removeMarker","_findChangeIdFromDomTarget","5052582OesGok","isObject","toViewPosition","plugins","ck-suggestion-preview-marker","mapViewToDom","nextPosition","bindElementToMarker","ck-revision-history-root-","showStack","pairId","6jMPPLX","currentChangeNumber","insertion","target","findIndex","getIndex","type","vid","item","_getDiff","_setDistance","editing","document","1547956iqqKtX","_removeUnsupportedChanges","_initInteractions","numberOfChanges","getRevisionDocumentData","markerToHighlight","activeChange","setAttribute","for","bottom","repository","removeAttribute","requires","_removeMissingPairs","createRange","RevisionsRepository","deletions","softBreak","WidgetToolbarRepository","change:activeChange","detachRoot","getItems","find","createAttributeElement","has","attachChange","bind","suggestion","revision-suggestion","element","_getViewForChange","ck-suggestion-marker-","config","16RIZyGq","range","destroy","shift","addMarker:revision","left","distance","unshift","elementEnd","oldRevisionId","consume","isPremiumPlugin","userId","RevisionHistoryUtils","_changeIdToChange","sort","_update","start","getClientRects","attributes","remove","next","_fixObsoleteTags","_refreshStartEndIndex","getAttribute","_getChangeFromId","ck-suggestion-marker-split","attribute:vid","insertions","data","change:isEnabled","includes","keys","selection","_makeModelFromTape","attributesAfter","downcastDispatcher","toViewElement","forward","markerToData","checkAttribute","RevisionViewer","diff","level","ck-suggestion-preview-marker-","getWalker","isOfficialPlugin","hasClass","removeMarker:revision","getRevisionRootsAttributes","_cleanUp","delete","refresh","revisionHistory","getAttributes","markerRange","offsetSize","map","addRevision","isContent","uiElement","string","isAdded","_appendChild","conversion","2212640eKnSFa","domConverter","rootName","first","revision-comment:","split","modelRange","error","vid_start","ck-suggestion-marker-merge","unbindElementFromMarkerName","ck-suggestion-marker","isReady","view","index","revision-suggestion:","span","markers","changeId","542537sRVQyO","isCollapsed","viewItem","then","attributesBefore","575380dJrJns","addRoot","ck-suggestion-marker--active","_markSuggestions","_cleanMarkers","name","restoreRevision","getRoot","revision-viewer","vid_end","isIncorrect","resolve","_makeModelFromViewString","schema","wrap","elementToAttribute","_utils","getDomRoot","-new","upcast","isInline","_sortAndFilterDiffChanges","_makeTape","add","side","_markMismatchedRemovedTags","markerNameToElements","startsWith","getLaterVisibleRevision","isLimit","isAddSuggestion","9650998HiMVbI","previousPosition","dataDowncast","isAtStart","filter","addRevisionData","clear","createRangeIn","2aBjQpU","slice"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(969680===parseInt(e(621))/1*(parseInt(e(336))/2)+parseInt(e(411))/3*(parseInt(e(504))/4)+parseInt(e(602))/5+-parseInt(e(491))/6*(-parseInt(e(328))/7)+parseInt(e(537))/8*(-parseInt(e(480))/9)+-parseInt(e(348))/10*(-parseInt(e(424))/11)+parseInt(e(387))/12*(-parseInt(e(626))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends J.Plugin{[oe(514)];[oe(363)]=null;[oe(313)];[oe(437)];[oe(475)];[oe(551)];[oe(365)];static get[oe(371)](){return oe(578)}static get[oe(583)](){return!0}static get[oe(548)](){return!0}static get[oe(516)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(514)]=this[e(471)][e(483)][e(366)](e(519)),this[e(313)]=this[e(471)][e(483)][e(366)](e(550)),this[e(476)](e(510),null),this[e(476)](e(474),null),this[e(437)]=null,this[e(476)](e(579),null),this[e(476)](e(614),!1),this[e(476)](e(415),!0),this.on(e(567),(t,i,n)=>{const s=e;this[s(510)]=null,this[s(474)]=null,this[s(471)][s(502)][s(615)][s(436)](t=>{const e=s;for(const i of this[e(471)][e(502)][e(615)][e(503)][e(343)])n?t[e(347)](e(451),i):t[e(439)](e(451),i)})}),this[e(530)](e(420)).to(this,e(510),t=>null!==t),this[e(530)](e(492)).to(this,e(614),this,e(579),this,e(510),(t,i,n)=>t&&n?i[e(342)][e(496)](n):0),this[e(530)](e(507)).to(this,e(614),this,e(579),(t,i)=>t?i[e(342)][e(453)]:0),this[e(475)]=null,this[e(551)]=new Map,this[e(365)]=this[e(471)][e(483)][e(366)](It.ContextualBalloon)}[oe(386)](){const t=oe,e=this[t(471)],i=new de(e,{direction:t(354)}),n=new de(e,{direction:t(575)});e[t(438)][t(320)](t(458),i),e[t(438)][t(320)](t(355),n),e[t(438)][t(320)](t(632),new he(e)),this.on(t(377),()=>{const e=t;i[e(589)](),n[e(589)]()}),this[t(408)](),this[t(506)](),e[t(422)](t(634)),e[t(483)][t(528)](t(522))&&e[t(483)][t(366)](t(522))[t(444)](t(634))}async[oe(508)](t){const e=oe;return await this[e(313)][e(409)](t,this[e(363)]),this[e(313)][e(508)](t)}async[oe(586)](t){const e=oe;return await this[e(313)][e(409)](t,this[e(363)]),this[e(313)][e(586)](t)}async[oe(385)](t,e,i=!1){const n=oe;if(!this[n(415)])return;const s=this[n(579)],r=this[n(514)],o=n(598)==typeof t?r[n(421)](t):t,a=n(598)==typeof e?r[n(421)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(579)]&&this[n(579)][n(461)]===c&&this[n(579)][n(546)]===u)return Promise[n(637)]();this[n(614)]=!1,this[n(474)]=null,this[n(510)]=null,this[n(579)]=new ne(c,u);const l=this[n(406)](o,a,!0)[n(594)](t=>this[n(313)][n(409)](t,this[n(363)]));return l[n(403)](new Promise(t=>{setTimeout(t,20)})),Promise[n(454)](l)[n(624)](()=>{const t=n;if(!this[t(415)])return;this[t(587)]();const e=this[t(500)](c,u);for(const i of e[t(342)])this[t(551)][t(476)](i.id,i);this[t(471)][t(427)][t(361)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(471)][n(427)][n(503)][n(414)]())i[n(524)](t);for(const t of Object[n(569)](e[n(427)])){const s=i[n(627)](t);for(const r of Object[n(569)](e[n(556)][t]))i[n(511)](r,e[n(556)][t][r],s);i[n(459)](e[n(427)][t],s,0)}}),this[t(579)][t(450)](this[t(318)](e[t(342)])),this[t(614)]=!0})[n(381)](t=>{const e=n;console[e(609)](t),this[e(587)](),s&&(this[e(579)]=s),this[e(614)]=!0})}[oe(333)](t,e){const i=oe,n=this[i(514)][i(376)](t);return n.on(i(553),(t,i,s)=>e(i,s,n)),this[i(514)][i(595)](n),n}[oe(587)](){const t=oe;this[t(510)]=null,this[t(630)](),this[t(475)]&&this[t(475)][t(539)](),this[t(475)]=null,this[t(551)][t(334)](),this[t(471)][t(427)][t(361)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(471)][i(427)][i(503)][i(414)]())e[i(524)](t)})}[oe(318)](t){const e=oe,i=[],n=new Map;for(const t of this[e(471)][e(427)][e(503)][e(414)]()){const s=this[e(471)][e(502)][e(615)][e(314)](t);if(!s)continue;const r=s[e(555)]()[e(499)](0);r&&(i[e(403)](t),n[e(476)](t,r))}return i[e(552)]((t,i)=>{const s=e,r=n[s(366)](t),o=n[s(366)](i);return r.y-o.y||r.x-o.x}),(t=t[e(332)](t=>i[e(568)](t[e(604)])))[e(552)]((t,n)=>i[e(375)](t[e(604)])-i[e(375)](n[e(604)])),t}[oe(319)](t){const e=oe,i=Array[e(462)](t[e(619)])[e(332)](([t,i])=>t[e(324)](e(447))&&!i[e(622)]),n=Array[e(462)](this[e(471)][e(427)][e(335)](t)[e(582)]({singleCharacters:!0}));if(0!=i[e(453)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(607)](":");if(s[e(467)][e(362)](t[e(486)])&&i[e(540)](),(t[e(329)][e(362)](s[e(554)])||t[e(329)][e(368)](s[e(554)]))&&(e(493)==r?t[e(599)]={userId:o}:e(341)==r&&(t[e(441)]={userId:o})),0==i[e(453)])break}return n}[oe(560)](t){const e=oe,i=new Map;for(let n=0;n<t[e(453)];n++)e(390)===t[n][e(497)]?(t[n][e(499)][e(373)]=n,t[n][e(499)][e(395)]=n):(e(469)===t[n][e(497)]?t[n][e(499)][e(373)]=n:e(545)===t[n][e(497)]&&(t[n][e(499)][e(395)]=n),i[e(476)](t[n].id,n));for(const n of i[e(378)]())e(469)===t[n][e(497)]?t[n][e(499)][e(395)]=i[e(366)](t[n][e(490)]):e(545)===t[n][e(497)]&&(t[n][e(499)][e(373)]=i[e(366)](t[n][e(490)]))}[oe(426)](t){const e=oe;for(let i=0;i<t[e(453)];i++){if(e(469)===t[i][e(497)])t[i][e(499)][e(373)]=i;else if(e(545)===t[i][e(497)]){t[i][e(499)][e(395)]=i;const n=t[i][e(499)][e(373)];t[n][e(490)]=t[i].id,t[i][e(490)]=t[n].id}else t[i][e(499)][e(373)]=i,t[i][e(499)][e(395)]=i,t[i][e(490)]=null;t[i][e(418)]||(t[i][e(418)]=[],t[i][e(339)]=[])}}[oe(393)](t,e){const i=oe,n=t[i(332)](t=>!t[i(599)]);for(let t=0;t<e[i(453)];t++)e[t][i(599)]&&(n[t][i(599)]=e[t][i(599)])}[oe(500)](t,e=null){const i=oe,n=this[i(514)][i(421)](t),s=e?this[i(514)][i(421)](e):null,r=this[i(406)](n,s),o=r[r[i(453)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(453)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(569)](e[i(432)]))if(e[i(432)][t][i(529)]){const n=e[i(432)][t][i(529)];n[i(394)]?(u[i(320)](t),l[i(528)](t)&&l[i(366)](t)[i(549)]==n[i(549)]?l[i(588)](t):l[i(476)](t,n)):l[i(528)](t)?(u[i(588)](t),l[i(588)](t)):(u[i(320)](t),l[i(476)](t,n))}else u[i(320)](t)}for(const t of u){const e=l[i(528)](t)&&!l[i(366)](t)[i(394)];let n=e?r[i(453)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(432)][t]){const n=e?o[i(432)][t][i(625)]:o[i(432)][t][i(572)];c[i(556)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(427)]={};for(const e of t[i(442)])a[i(476)](e.id,e);for(const e of u){const n=t[i(432)][e]?t[i(432)][e][i(565)]:"[]",s=t[i(432)][e]?t[i(432)][e][i(520)]:"[]";t[i(427)][e]={insertions:this[i(313)][i(638)](n),deletions:this[i(313)][i(638)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(462)](n[i(427)][t][i(565)][i(619)])[i(332)](([t])=>!t[i(324)](i(447))));let h=0;for(const o of r){const r=this[i(319)](o[i(427)][t][i(565)]);o==n?(e=r,s=e[i(453)],e[i(460)](t=>{t.id=h++}),this[i(426)](e)):this[i(393)](e,r);const a=e[i(332)](t=>!t[i(599)])[i(594)](t=>t.id);let c=0;const l=this[i(319)](o[i(427)][t][i(520)]);l[i(460)](t=>{t[i(441)]?t.id=s++:t.id=a[c++]}),this[i(426)](l),this[i(501)](e,i(599)),this[i(501)](l,i(441)),o==n&&this[i(466)](e,u),e=this[i(407)](e,l),this[i(560)](e),this[i(501)](e,i(441))}e=e[i(332)](t=>!(t[i(599)]&&t[i(441)]));const d=new Map(o[i(427)][t][i(520)][i(619)]),f=new Set(u[i(569)]());for(const t of d[i(569)]())f[i(588)](t);this[i(629)](e,f),this[i(559)](e),e=this[i(517)](e),e=this[i(322)](e),e=this[i(505)](e);const{root:m,changes:p}=this[i(571)](e,a,t);c[i(427)][t]=m;const v=l[i(366)](t);if(v){const e=a[i(366)](v[i(549)]),n=new Xt({author:e,type:v[i(394)]?i(320):i(557),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(544)](n),c[i(556)][t][i(396)]=n.id}c[i(342)]=c[i(342)][i(384)](p)}return c}[oe(466)](t,e){const i=oe;for(let n=0;n<t[i(453)];n++)for(const[s,r]of e)!r[i(622)]&&r[i(554)][i(362)](t[n][i(329)])&&t[n][i(418)][i(403)](s),r[i(467)][i(362)](t[n][i(486)])&&t[n][i(339)][i(403)](s)}[oe(407)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(453)]||r<e[i(453)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(403)](o);else if(a[i(441)]&&o[i(599)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(401)](t,s,e,r);n=n[i(384)](o),s=a,r=c}else a[i(441)]?(r++,n[i(403)](a)):(s++,n[i(403)](o))}return n}[oe(629)](t,e){const i=oe,n=[];for(let o=0;o<t[i(453)];o++){for(let r=0;r<t[o][i(418)][i(453)];r++){const a=t[o][i(418)][r];if(!e[i(528)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(532)!=c||i(493)!=u&&i(341)!=u||(n[i(544)]({type:u,name:a,userId:l}),t[o][i(418)][i(367)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(339)][i(453)];r++){const a=t[o][i(339)][r];if(!e[i(528)](a))continue;const{group:c,type:u}=s(a);if(i(532)!=c||i(493)!=u&&i(341)!=u)continue;t[o][i(339)][i(367)](r,1),r--;const l=n[i(495)](t=>t[i(631)]==a);l>-1&&n[i(367)](l,1)}}function s(t){const e=i,n=t[e(607)](":");return{group:n[0],type:n[1],subType:n[e(453)]>=5?n[2]:null,id:n[e(453)]<5?n[2]:n[3],authorId:n[e(453)]<5?n[3]:n[4],markerCount:6==n[e(453)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(453)];i++){if(t[e(599)]&&e(493)==n[i][e(497)]&&t[e(599)][e(549)]==n[i][e(549)])return t[e(327)]=n[i],void delete t[e(599)];if(!t[e(599)]&&!t[e(441)]&&e(341)==n[i][e(497)])return void(t[e(374)]=n[i])}}}[oe(501)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(476)](o.id,n);for(let n=0;n<t[i(453)];n++){if(i(441)==e&&t[n][i(599)]||i(599)==e&&t[n][i(441)])continue;if(i(390)==t[n][i(497)]){t[n][i(543)]=0;continue}const s=r[i(366)](t[n][i(490)]),o=r[i(366)](t[n].id);t[n][i(543)]=s-o}}[oe(406)](t,e,i=!1){const n=oe,s=[];let r=this[n(514)][n(496)](t),o=this[n(514)][n(496)](e);for(-1==o&&(o=this[n(514)][n(470)][n(453)],i=!1);r<o;)s[n(403)](this[n(514)][n(421)](r)),r++;return i&&s[n(403)](this[n(514)][n(421)](r)),s}[oe(401)](t,e,i,n){const s=oe,r=this[s(471)][s(427)][s(639)];let o=e;for(;t[o]&&t[o][s(599)];)o++;let a=n;for(;i[a]&&i[a][s(441)];)a++;u(t,e,o),u(i,n,a);const c=i[s(337)](n,a)[s(384)](t[s(337)](e,o));return c[s(552)]((t,e)=>t[s(321)]!=e[s(321)]?t[s(321)]-e[s(321)]:t[s(580)]!=e[s(580)]?t[s(580)]-e[s(580)]:t[s(543)]!=e[s(543)]?e[s(543)]-t[s(543)]:!!t[s(599)]!=!!e[s(599)]?-1==t[s(321)]||0==t[s(321)]?t[s(599)]?-1:1:t[s(599)]?1:-1:t[s(616)]-e[s(616)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(351)],c=!0;for(let s=e;s<i;s++)if(r[n(317)](t[s][n(499)])||(c=!1),t[s][n(499)][n(373)]<e&&(o=s),t[s][n(499)][n(395)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(321)]=s<=o?-1:s<a?0:1,t[s][n(616)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(543)]?t[i][n(580)]=u:(u++,t[i][n(580)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(321)]&&(t[s][n(580)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(543)]?t[e][n(580)]=u:(u--,t[e][n(580)]=u,u--)}}[oe(559)](t){const e=oe,i=new Map,n=this[e(471)][e(427)][e(639)];for(let s=1;s<t[e(453)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(390)==c[e(497)])continue;if(c[e(497)]!=u[e(497)])continue;if(!n[e(344)](u[e(499)])||n[e(326)](u[e(499)]))continue;if(!n[e(344)](c[e(499)])||n[e(326)](c[e(499)]))continue;if((t[s][e(599)]||t[s][e(327)])&&t[s-1][e(441)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(441)]||!t[s-1][e(599)]&&!t[s-1][e(327)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(580)]==o[e(580)],h=Math[e(364)](r[e(580)])<Math[e(364)](o[e(580)])&&0==o[e(543)];(l||h)&&(i[e(476)](o.id,r.id),t[e(367)](a,1),s--,r[e(599)]=!1)}for(let n=0;n<t[e(453)];n++)i[e(528)](t[n][e(490)])&&(t[n][e(490)]=i[e(366)](t[n][e(490)]))}[oe(517)](t){const e=oe,i=new Set(t[e(594)](t=>t.id));for(let n=0;n<t[e(453)];n++)i[e(528)](t[n][e(490)])||0==t[n][e(543)]||(t[n][e(636)]=!0);return t[e(332)](t=>!t[e(636)])}[oe(322)](t){const e=oe,i=new Set;for(let n=0;n<t[e(453)];n++){if(i[e(528)](t[n].id)&&t[n][e(441)]&&(t[n][e(636)]=!0),t[n][e(636)])continue;if(0==t[n][e(543)])continue;if(e(469)!=t[n][e(497)])continue;if(null==t[n][e(490)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(490)];)e(469)==t[s][e(497)]?r++:e(545)==t[s][e(497)]&&r--,s++;if(0!=r)if(t[n][e(441)])t[n][e(636)]=!0;else for(;s!=n;)t[s][e(441)]&&0!=t[s][e(543)]&&(t[s][e(636)]=!0,i[e(320)](t[s][e(490)])),s--}return t[e(332)](t=>!t[e(636)])}[oe(505)](t){const e=oe,i=this[e(471)][e(427)][e(639)];for(let n=0;n<t[e(453)];n++){if(!(t[n][e(599)]||t[n][e(327)]||t[n][e(441)]||t[n][e(374)]))continue;if(0==t[n][e(543)])continue;const s=t[n][e(499)];i[e(344)](s)||i[e(326)](s)||(t[n][e(599)]&&delete t[n][e(599)],t[n][e(327)]&&delete t[n][e(327)],t[n][e(374)]&&delete t[n][e(374)],t[n][e(441)]&&(t[n][e(636)]=!0))}return t[e(332)](t=>!t[e(636)])}[oe(571)](t,e,i){const n=oe,s=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[n(471)][n(427)],c=a[n(639)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(453)];e++)if(n(469)===t[e][n(497)]){t[e][n(329)]=a[n(448)](s,f);const i=new Q.ModelElement(t[e][n(499)][n(631)],t[e][n(499)][n(591)]());u[0][n(600)](i),f[n(403)](0),u[n(544)](i),t[e][n(486)]=a[n(448)](s,f)}else n(545)===t[e][n(497)]?(u[n(540)](),t[e][n(329)]=a[n(448)](s,f),f[n(456)](),f[f[n(453)]-1]++,t[e][n(486)]=a[n(448)](s,f)):(t[e][n(329)]=a[n(448)](s,f),d?d[n(428)]+=t[e][n(499)][n(566)]:d=new Q.ModelText(t[e][n(499)][n(566)],t[e][n(499)][n(591)]()),t[e+1]&&n(390)===t[e+1][n(497)]&&v(d,t[e+1][n(499)])||(u[0][n(600)](d),d=null),f[f[n(453)]-1]+=t[e][n(499)][n(593)],t[e][n(486)]=a[n(448)](s,f));for(let e=0;e<t[n(453)];e++){const i=t[e][n(329)],s=t[e][n(486)];for(const s of t[e][n(418)])o[n(476)](s,{start:i,end:null});m(n(374),e,i,s),m(n(327),e,i,s),m(n(441),e,i,s),m(n(599),e,i,s);for(const i of t[e][n(339)]){const t=o[n(366)](i);t?t[n(467)]=s:o[n(476)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(471)][n(427)][n(518)](e[n(554)],e[n(467)]);s[n(619)][n(476)](t,i)}return r[n(552)]((t,e)=>{const i=n,r=s[i(619)][i(366)](i(447)+t.id),o=s[i(619)][i(366)](i(447)+e.id);return r[i(554)][i(349)](o[i(554)])?-1:r[i(554)][i(368)](o[i(554)])?1:r[i(467)][i(349)](o[i(467)])?-1:r[i(467)][i(368)](o[i(467)])?1:i(320)===t[i(497)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(549)]:null,d=i===t[o(453)]-1,f=h[e][0],m=c[o(481)](t[i][o(499)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(467)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(549)]!==u&&(l[e][o(467)]=s,f&&f[o(549)]===l[e][o(549)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(469)!==t[i][o(497)]||f&&f[o(549)]===u||h[e][o(544)]({userId:u,object:t[i][o(499)],change:l[e]}),o(545)===t[i][o(497)]&&f&&f[o(391)]===t[i][o(499)]&&(h[e][o(540)](),l[e]=f[o(436)])),l[e]&&d&&(l[e][o(467)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(499)],f=a[h(639)][h(344)](d)&&!a[h(639)][h(326)](d),m=t[h(338)]==o[h(440)]&&o[h(331)];if(f&&m)return;const p=a[h(518)](t,o),v=e[h(366)](u),g=new Xt({author:v,type:h(599)==l||h(327)==l?h(320):h(557),data:{isSuggestion:h(327)==l||h(374)==l},createdAt:new Date,rootName:i});r[h(403)](g),s[h(619)][h(476)](h(447)+g.id,p)}function v(t,e){const i=n,s=t[i(591)](),r=e[i(591)]();for(const t of s){if(t[1]!==e[i(561)](t[0]))return!1;r[i(558)]()}return r[i(558)]()[i(369)]}}[oe(408)](){const t=oe;this[t(471)][t(601)][t(512)](t(316))[t(350)]({view:t(449)}),this[t(471)][t(601)][t(512)](t(477))[t(509)]({model:t(449),view:e=>{const i=t,n=e[i(434)][i(607)](":")[1],s=this[i(562)](n);if(!s)return null;const r=i(320)==s[i(497)]?i(493):i(341),o=[i(613),i(535)+r];return s[i(566)][i(345)]&&o[i(403)](i(535)+r+i(315)),this[i(510)]==s&&o[i(403)](i(628)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(471)][t(601)][t(512)](t(316))[t(320)](e=>{const i=t;e.on(i(413),(t,e,n)=>{const s=i,r=e[s(623)][s(433)](0);if(!r||!r.is(s(533),s(429)))return;if(!n[s(430)][s(547)](r,{attributes:[s(610),s(635)]}))return;const o=e[s(608)][s(554)][s(338)];n[s(431)][s(511)](s(610),r[s(561)](s(610)),o),n[s(431)][s(511)](s(635),r[s(561)](s(635)),o)},{priority:i(358)})}),this[t(471)][t(601)][t(512)](t(316))[t(320)](e=>{const i=t;e.on(i(533),(t,e,n)=>{const s=i;if(!n[s(430)][s(547)](e[s(623)],{attributes:[s(610),s(635)]}))return;if(e[s(608)][s(622)])return;const r=e[s(608)][s(554)][s(338)];r[s(398)](s(610))||r[s(398)](s(498))||(n[s(431)][s(511)](s(610),e[s(623)][s(561)](s(610)),r),n[s(431)][s(511)](s(635),e[s(623)][s(561)](s(635)),r))},{priority:i(358)})}),this[t(471)][t(601)][t(512)](t(316))[t(312)]({view:{name:t(618),attributes:{vid:!0}},model:{key:t(498),value:e=>e[t(561)](t(498))}}),this[t(471)][t(427)][t(639)].on(t(577),(e,[,i])=>{const n=t;[n(610),n(635),n(498)][n(568)](i)&&(e[n(464)]=!0,e[n(410)]())},{priority:t(457)}),this[t(471)][t(601)][t(512)](t(330))[t(320)](e=>{const i=t;e.on(i(564),(t,e,n)=>{const s=i;if(" "!=e[s(499)][s(566)]||e[s(499)][s(440)][s(353)]>1)return;if(!n[s(430)][s(547)](e[s(499)],t[s(631)]))return;const r=n[s(431)],o=n[s(370)][s(340)](e[s(538)]);r[s(311)](o,r[s(527)](s(618)))})}),this[t(471)][t(601)][t(512)](t(330))[t(576)]({model:t(449)}),this[t(471)][t(502)][t(573)].on(t(541),function(e){const i=t,n=e[i(483)][i(366)](i(578));return(t,s,r)=>{const o=i,a=s[o(434)][o(607)](":")[1],c=n[o(562)](a);if(!c)return null;const u=o(320)==c[o(497)]?o(607):o(372);if(!r[o(430)][o(452)](s[o(592)],t[o(631)]))return;const l=s[o(592)][o(582)](),h=s[o(592)][o(554)],d=e[o(427)][o(639)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(499)];p=p||d[o(596)](e);const i=r[o(370)][o(574)](e);if(i&&i[o(473)](o(435)))return;o(545)==t[o(497)]&&d[o(344)](e)&&!d[o(326)](e)&&(e[o(446)]||h[o(397)]?f&&f[o(440)]==e||(f=e,g(t[o(329)]),v=!0):m=m||t[o(329)])}function g(t){const e=o,i=r[e(431)][e(465)](e(618),{class:e(535)+u}),a=r[e(370)][e(482)](t);c[e(566)][e(345)]&&r[e(431)][e(439)](e(535)+u+e(315),i),n[e(510)]==c&&r[e(431)][e(439)](e(628),i),r[e(431)][e(459)](a,i),r[e(370)][e(487)](i,s[e(434)])}p||v||!m||g(m)}}(this[t(471)]),{priority:t(405)}),this[t(471)][t(502)][t(573)].on(t(585),(e,i,n)=>{const s=t,r=n[s(370)][s(323)](i[s(434)]);if(r)for(const t of r)(t[s(584)](s(563))||t[s(584)](s(611)))&&(n[s(370)][s(612)](t,i[s(434)]),n[s(431)][s(557)](t))},{priority:t(405)}),this[t(471)][t(502)][t(573)].on(t(541),(e,i,n)=>{const s=t,r=i[s(434)][s(607)](":")[1],o=this[s(562)](r);if(!o)return null;const a=s(320)==o[s(497)]?s(607):s(372);if(n[s(430)][s(452)](i[s(592)],e[s(631)]))for(const t of i[s(592)][s(525)]()){if(!t.is(s(533),s(521)))continue;const e=n[s(431)][s(465)](s(618),{class:s(535)+a}),r=n[s(370)][s(482)](this[s(471)][s(427)][s(425)](t));o[s(566)][s(345)]&&n[s(431)][s(439)](s(535)+a+s(315),e),this[s(510)]==o&&n[s(431)][s(439)](s(628),e),n[s(431)][s(459)](r,e),n[s(370)][s(487)](e,i[s(434)])}},{priority:t(405)}),this[t(471)][t(427)][t(503)].on(t(436),()=>{const e=t;this[e(471)][e(502)][e(615)][e(436)](t=>{const i=e;for(const e of this[i(471)][i(427)][i(503)][i(414)]()){const n=this[i(471)][i(427)][i(503)][i(633)](e),s=this[i(471)][i(502)][i(615)][i(503)][i(633)](e);if(s){const e=n[i(561)](i(396));if(t[i(515)](i(357),s),t[i(347)](i(416),s),t[i(347)](i(380),s),t[i(347)](i(463),s),e){const n=this[i(562)](e);if(!n)return null;t[i(511)](i(357),e,s),t[i(439)](i(488)+n[i(497)],s),this[i(510)]==n&&t[i(439)](i(463),s)}}}})}),this[t(471)][t(601)][t(512)](t(316))[t(350)]({view:t(382),model:e=>t(606)+e,converterPriority:t(457)}),this[t(471)][t(601)][t(512)](t(316))[t(350)]({view:t(531),model:e=>t(617)+e,converterPriority:t(457)}),this[t(471)][t(601)][t(512)](t(330))[t(576)]({model:t(532),view:e=>({name:t(399)+e,group:t(532)}),converterPriority:t(457)}),this[t(471)][t(601)][t(512)](t(477))[t(509)]({model:t(532),view:e=>{const i=t,n=e[i(434)][i(607)](":")[1];return i(493)!=n&&i(341)!=n?null:{classes:[i(484),i(581)+n]}}}),this[t(471)][t(502)][t(573)].on(t(412),le(this[t(471)],t(372)),{priority:t(405)}),this[t(471)][t(502)][t(573)].on(t(352),le(this[t(471)],t(607)),{priority:t(405)}),this[t(471)][t(502)][t(573)].on(t(400),(e,i,n)=>{const s=t,r=n[s(370)][s(323)](i[s(434)]);if(r)for(const t of r)t.is(s(597))&&(n[s(370)][s(612)](t,i[s(434)]),n[s(431)][s(557)](t))},{priority:t(405)})}[oe(562)](t){const e=oe;return this[e(551)][e(366)](t)}[oe(534)](t){const e=oe;return this[e(475)]&&this[e(475)][e(539)](),this[e(475)]=new Gt(this[e(471)][e(404)],t),this[e(475)]}[oe(506)](){const t=oe;this[t(471)][t(427)][t(503)][t(570)][t(402)](t(449)),this.on(t(419),(e,i,n,s)=>{const r=t;s&&this[r(365)][r(557)](s),n&&(this[r(365)][r(320)]({view:n,stackId:r(379),position:{target:()=>{const t=r,e=this[t(471)][t(502)],i=this[t(562)](n[t(620)]);let s;if(i[t(566)][t(468)]){const n=e[t(615)][t(314)](i[t(604)]);s=Array[t(462)](n[t(555)]())}else{const i=this[t(471)][t(427)][t(619)][t(366)](t(447)+n[t(620)]);s=Array[t(462)](e[t(370)][t(323)](i[t(631)]))[t(594)](i=>e[t(615)][t(603)][t(485)](i))[t(594)](e=>Array[t(462)](e[t(555)]()))[t(388)]()}return this[t(437)]&&s[t(526)](e=>e[t(423)]-3<=this[t(437)].y&&e[t(513)]+3>=this[t(437)].y&&e[t(542)]-3<=this[t(437)].x&&e[t(356)]+3>=this[t(437)].x)||s[0]}}}),this[r(365)][r(489)](r(379)))}),this.on(t(523),(e,i,n,s)=>{const r=t;this[r(474)]=n?this[r(534)](n):null,this[r(471)][r(427)][r(436)](()=>{const t=r,e=this[t(471)][t(502)];s&&(s[t(566)][t(468)]?e[t(615)][t(436)](i=>{const n=t;i[n(347)](n(463),e[n(615)][n(503)][n(633)](s[n(604)]))}):e[t(443)](t(447)+s.id)),n&&(n[t(566)][t(468)]?e[t(615)][t(436)](i=>{const s=t;i[s(439)](s(463),e[s(615)][s(503)][s(633)](n[s(604)]))}):e[t(443)](t(447)+n.id))})}),this[t(472)](this[t(471)][t(502)][t(615)][t(503)],t(417),(e,i)=>{const n=t;if(this[n(510)])return;const s=this[n(479)](i[n(494)]),r=this[n(551)][n(366)](s);r?(this[n(437)]={x:i[n(360)].x,y:i[n(360)].y},this[n(474)]=this[n(534)](r)):(this[n(437)]=null,this[n(474)]=null)}),this[t(472)](this[t(471)][t(502)][t(615)][t(503)],t(346),(e,i)=>{const n=t,s=this[n(479)](i[n(494)]),r=this[n(551)][n(366)](s);r?(this[n(437)]={x:i[n(360)].x,y:i[n(360)].y},r===this[n(510)]?this[n(365)][n(383)]():this[n(510)]=r):(this[n(437)]=null,this[n(510)]=null)})}[oe(479)](t){const e=oe;do{const i=t[e(561)](e(357));if(i)return i;t=t[e(440)]}while(t);return null}[oe(630)](){const t=oe;this[t(471)][t(427)][t(436)](e=>{const i=t;for(const t of this[i(471)][i(427)][i(619)])e[i(478)](t)})}}function le(t,e){return(i,n,s)=>{const r=ae;if(!s[r(430)][r(452)](n[r(592)],i[r(631)]))return;const o=n[r(592)][r(582)](),a=n[r(592)][r(554)],c=t[r(427)][r(639)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(499)];h=h||c[r(596)](e);const i=s[r(370)][r(574)](e);if(i&&i[r(473)](r(435)))return;r(545)==t[r(497)]&&c[r(344)](e)&&!c[r(326)](e)&&(e[r(446)]||a[r(397)]?u&&u[r(440)]==e||(u=e,f(t[r(329)]),d=!0):l=l||t[r(329)])}function f(t){const i=r,o=s[i(370)][i(482)](t),a=s[i(431)][i(465)](i(618),{class:i(581)+e});s[i(431)][i(459)](o,a),s[i(370)][i(487)](a,n[i(434)])}h||d||!l||f(l)}}class he extends J.Command{constructor(t){const e=oe;super(t);const i=t[e(483)][e(366)](ue);this[e(392)]=!1,this[e(472)](i,e(359),()=>this[e(589)]()),this[e(472)](i,e(567),()=>this[e(589)]())}[oe(389)](){const t=oe,e=this[t(471)],i=e[t(483)][t(366)](ue),n=i[t(614)]?i[t(579)][t(461)]:null;e[t(536)][t(366)](t(590))[t(445)](n)}[oe(589)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(471)][t(483)][t(366)](ue),r=s&&n[t(325)](s[t(461)]);this[t(415)]=e&&i&&Boolean(r)}}class de extends J.Command{[oe(455)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(483)][i(366)](ue);this[i(392)]=!1,this[i(455)]=i(575)===e?1:-1,this[i(472)](n,i(359),()=>this[i(589)]()),this[i(472)](n,i(567),()=>this[i(589)]()),this[i(472)](n,i(523),()=>this[i(589)]())}[oe(389)](){const e=oe,i=this[e(471)],n=i[e(483)][e(366)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(510)]=s?n[e(579)][e(342)][e(366)](r+this[e(455)]):n[e(579)][e(342)][e(605)],n[e(510)][e(566)][e(468)])o=i[e(502)][e(615)][e(314)](n[e(510)][e(604)]);else{const t=i[e(427)][e(619)][e(366)](e(447)+n[e(510)].id);o=(0,K.getMarkerDomElement)(i[e(502)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(589)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(471)][t(483)][t(366)](ue);this[t(415)]=!!(r&&s&&n)&&(!e||(1===this[t(455)]?i<n-1:i>0))}}var fe=i(578),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Et();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["set","16VSscQd","45LCyncP","517pTQhSn","283755uyMiwV","4880705mFGXiX","ck-hidden","Loading...","bindTemplate","span","isReady","Show next change","div","bind","isBackwardNavigationEnabled","35225uvwEau","currentChangeNumber","isEnabled","forward","ck-revision-history-ui__changes-navigation__navigation","Show previous change","4511213AmWvpy","No changes","ck-revision-history-ui","X_OF_Y_CHANGES","4402704dVZsDf","isNavigationMode","fire","setTemplate","24vZCvmJ","801256kHbRem","NUMBER_OF_CHANGES","Total","numberOfChanges","_statusText","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui__changes-navigation__label","backward","ck-revision-history-ui__changes-navigation__wrapper","isForwardNavigationEnabled","_isStatusLabelVisible","6Pwnsvg","execute","65570HTlbHN","ck-revision-history-ui__changes-navigation"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=438]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(550328===-parseInt(e(473))/1*(-parseInt(e(442))/2)+-parseInt(e(462))/3*(parseInt(e(459))/4)+parseInt(e(463))/5+-parseInt(e(454))/6*(parseInt(e(479))/7)+-parseInt(e(443))/8*(parseInt(e(460))/9)+-parseInt(e(456))/10*(-parseInt(e(461))/11)+parseInt(e(438))/12)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(466)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(458)](e(439),!1),this[e(458)](e(468),!1),this[e(458)](e(474),0),this[e(458)](e(446),0),this[e(458)](e(452),!1),this[e(458)](e(472),!1),this[e(471)](e(453)).to(this,e(468),this,e(446),(t,e)=>t&&e>0),this[e(471)](e(447)).to(this,e(468),this,e(474),this,e(446),this,e(439),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(465));if(!s)return at(t,o(480));const a=at(t,o(444),s);return r?at(t,o(482),[n+1,s]):a}),n[e(458)]({label:at(t,e(478)),tooltip:!0,icon:_t.IconChevronUp}),s[e(458)]({label:at(t,e(469)),tooltip:!0,icon:_t.IconChevronDown}),n[e(471)](e(475)).to(this,e(472)),s[e(471)](e(475)).to(this,e(452)),n.on(e(455),()=>this[e(440)](e(455),e(450))),s.on(e(455),()=>this[e(440)](e(455),e(476))),this[e(441)]({tag:e(470),attributes:{class:["ck",e(481),e(457)]},children:[{tag:e(467),attributes:{class:[e(451)]},children:[{tag:e(467),attributes:{class:[e(449),i.if(e(453),e(464),t=>!t)]},children:[{text:i.to(e(439),i=>i?at(t,e(448))+": ":at(t,e(445))+": ")}]},{text:i.to(e(447))}]},new It.ToolbarSeparatorView,{tag:e(470),attributes:{class:[e(477)]},children:[n,s]}]})}}var ye=i(242),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(t,e){const i=_e();return(be=function(t,e){return i[t-=262]})(t,e)}const we=be;function _e(){const t=["54784950vSfQCy","7844905XEJinQ","editing","addClass","4VeEjbX","730936xfNmNG","isOfficialPlugin","document","hide","7775808HZGPpS","35vTIZsQ","258486PSmDGw","437106vJLpET","ck-editor__editable__loading-overlay","change","roots","show","view","9DOaHiB","RevisionViewerLoadingOverlay","6342684zdpPHy","isPremiumPlugin","editor","pluginName","removeClass"];return(_e=function(){return t})()}!function(t){const e=be,i=t();for(;;)try{if(934820===-parseInt(e(270))/1+-parseInt(e(263))/2*(parseInt(e(271))/3)+-parseInt(e(279))/4+-parseInt(e(285))/5+-parseInt(e(268))/6+parseInt(e(269))/7*(parseInt(e(264))/8)+parseInt(e(277))/9*(parseInt(e(284))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const Ie=we(272);class Se extends J.Plugin{static get[we(282)](){return we(278)}static get[we(265)](){return!0}static get[we(280)](){return!0}[we(275)](){const t=we,e=this[t(281)][t(286)][t(276)];e[t(273)](i=>{const n=t;for(const t of e[n(266)][n(274)])i[n(262)](Ie,t)})}[we(267)](){const t=we,e=this[t(281)][t(286)][t(276)];e[t(273)](i=>{const n=t;for(const t of e[n(266)][n(274)])i[n(283)](Ie,t)})}}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=287]})(t,e)}function xe(){const t=["hide","pluginName","requires","config","3383128Yxomzw","bind","isForwardNavigationEnabled","isPremiumPlugin","add","showNextChange","set","plugins","3940lcWtJG","5723435loyOhC","execute","Restore this revision","6992328jzYaPX","isNavigationMode","isBackwardNavigationEnabled","show","get","251mhEeBQ","closeRevisionViewerCallback","6heJCWO","4AfJpYT","componentFactory","commands","restoreRevision","numberOfChanges","isOfficialPlugin","RevisionViewerUI","ck-revision-history-ui__back-to-editing","Back to editing","revisionHistory","24396620Onhpva","1516296EUDBeC","currentChangeNumber","listenTo","9106803djDIuB","forward","editor","changesNavigation","11UBPWCy","showPreviousChange","init","exitToEditing","change:isReady","isEnabled","isReady"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(662883===parseInt(e(332))/1*(parseInt(e(323))/2)+-parseInt(e(297))/3+parseInt(e(335))/4*(-parseInt(e(324))/5)+-parseInt(e(334))/6*(parseInt(e(315))/7)+parseInt(e(327))/8+-parseInt(e(300))/9+parseInt(e(296))/10*(parseInt(e(304))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends J.Plugin{static get[Oe(312)](){return Oe(292)}static get[Oe(291)](){return!0}static get[Oe(318)](){return!0}static get[Oe(313)](){return[ue,Se]}[Oe(306)](){const t=Oe,e=this[t(302)],i=e[t(322)][t(331)](ue),n=e[t(322)][t(331)](Se);e.ui[t(287)][t(319)](t(307),i=>{const n=t,s=new It.ButtonView(i);return s[n(321)]({label:at(i,n(294)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(293)}),this[n(299)](s,n(325),()=>{const t=n;e[t(314)][t(331)](t(295))[t(333)]()}),s}),e.ui[t(287)][t(319)](t(289),i=>{const n=t,s=new It.ButtonView(i);return s[n(321)]({label:at(i,n(326)),withText:!0,tooltip:!0}),s[n(316)](n(309)).to(e[n(288)][n(331)](n(289))),this[n(299)](s,n(325),()=>e[n(325)](n(289))),s}),e.ui[t(287)][t(319)](t(303),n=>{const s=t,r=new ge(n),o=e[s(288)][s(331)](s(305)),a=e[s(288)][s(331)](s(320));return r[s(316)](s(329)).to(o,s(309)),r[s(316)](s(317)).to(a,s(309)),r[s(316)](s(310),s(298),s(290),s(328)).to(i),this[s(299)](r,s(325),(t,i)=>{const n=s;e[n(325)](n(301)===i?n(320):n(305))}),r}),n[t(330)](),i.on(t(308),(e,i,s)=>{const r=t;s?n[r(311)]():n[r(330)]()})}}var Re=i(423),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Et();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;const Me=Ve;function Ve(t,e){const i=De();return(Ve=function(t,e){return i[t-=341]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(613960===-parseInt(e(359))/1*(-parseInt(e(344))/2)+-parseInt(e(352))/3+parseInt(e(365))/4*(-parseInt(e(341))/5)+-parseInt(e(360))/6+-parseInt(e(358))/7+-parseInt(e(367))/8+parseInt(e(366))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ee extends It.LabeledFieldView{[Me(370)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(343)];this[i(357)]({label:at(t,i(363)),_tooltipString:""}),this[i(348)][i(368)]=at(t,i(355)),this[i(354)]({tag:i(356),attributes:{class:[i(345)],"data-cke-tooltip-text":n.to(i(351)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(342)}})}[Me(362)](){const e=Me;super[e(362)](),this[e(370)]=new t.ResizeObserver(this[e(348)][e(369)],()=>this[e(361)]()),this[e(349)](this[e(348)],e(346),()=>this[e(361)]())}[Me(350)](){const t=Me;super[t(350)](),this[t(370)]&&this[t(370)][t(350)]()}[Me(361)](){const t=Me,e=this[t(348)][t(369)];this[t(351)]=e[t(347)]>e[t(364)]&&e[t(353)]||""}}function De(){const t=["value","extendTemplate","Enter the revision name","span","set","6434008UQbGsS","125114vpjnQH","3835350YaOvan","_updateTooltipText","render","Revision name","clientWidth","2498584DKXZqX","31663296XCZDpf","7583232hQchya","placeholder","element","_resizeObserver","5ljIovG","ck-tooltip_multi-line","bindTemplate","14gaQMwC","ck-revision-history-sidebar__revision-name","input","scrollWidth","fieldView","listenTo","destroy","_tooltipString","1947189opMvVg"];return(De=function(){return t})()}var Ce=i(171),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Pe();return(je=function(t,e){return i[t-=370]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(488595===-parseInt(e(382))/1*(parseInt(e(379))/2)+parseInt(e(376))/3*(parseInt(e(370))/4)+parseInt(e(373))/5+-parseInt(e(380))/6+-parseInt(e(389))/7*(parseInt(e(388))/8)+parseInt(e(378))/9+parseInt(e(383))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);class Le extends It.View{constructor(t,e,i){const n=je;super(t);const s=new It.IconView;s[n(375)]({content:_t.IconUser,viewBox:n(390)});const r=["ck",n(381)];i&&r[n(377)](n(372));const o=[{tag:n(371),attributes:{class:["ck",n(385)],title:at(t,n(i?374:387))},children:[s,e[n(384)]]}];this[n(386)]({tag:"li",attributes:{class:r},children:o})}}function Pe(){const t=["8nzznrk","span","ck-revision-history-sidebar__revision-author_creator","2381000ceGcdy","Revision creator","set","365718mIxyXn","push","719316HNrSFK","1594FYYGkV","4665288IPhZCe","ck-revision-history-sidebar__revision-author","1075FAUINE","17963790mXDXFY","name","ck-revision-history-sidebar__revision-author__name","setTemplate","Revision author","8SXpzFY","3313779LaLrmK","0 0 11 10"];return(Pe=function(){return t})()}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=190]})(t,e)}function We(){var t=["172888AwxWMq","toLocaleTimeString","97950JhcvdL","long","1378444uRVquv","81wkulRR","502190WBSqJQ","numeric","15UquMjl","3166947TwTOyO","1798517HYXUym","7676016BOGzaT","toLocaleDateString"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(948587===parseInt(e(194))/1+parseInt(e(190))/2*(parseInt(e(193))/3)+parseInt(e(192))/4*(parseInt(e(196))/5)+-parseInt(e(199))/6+-parseInt(e(198))/7+-parseInt(e(201))/8+-parseInt(e(197))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(585),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=Rt().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Et();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=$e();return(Ze=function(t,e){return i[t-=126]})(t,e)}function $e(){const t=["94qpqPeb","1748238fLfBaM","name","Compare against selected","Show more items","source","execute","panelPosition","328VtfGPl","function","action","add","map","class","set","items","ck-revision-history-sidebar__revision__actions","isActionsDropdownOpen","button","listenTo","9617YlmnOw","listView","3557924TIxUsB","children","isReady","Restore this revision","find","stopPropagation","Name this revision","model","locale","menu","bind","buttonView","5yLbdrA","bindTemplate","isEnabled","isVisible","menuitem","340047fDaFFP","284427tmZSif","ck-on","49819231HeBEFs","extendTemplate","_action","change:isActionsDropdownOpen","10890230kuktvD","35nDKCRt","isOpen","first"];return($e=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(966321===parseInt(e(167))/1*(-parseInt(e(147))/2)+parseInt(e(137))/3+-parseInt(e(169))/4*(-parseInt(e(131))/5)+parseInt(e(148))/6*(-parseInt(e(144))/7)+-parseInt(e(155))/8*(parseInt(e(136))/9)+-parseInt(e(143))/10+parseInt(e(139))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($e);var qe=i(626),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=Rt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;const Ye=Ge;function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=137]})(t,e)}function Je(){const t=["447286rGWrvE","ck-revision-history-sidebar__revision-authors","ck-reset","unhighlight","uiLanguage","extendTemplate","ck-revision-history-sidebar__revision__controls-wrapper","1365800gdgdOS","ck-revision-history-sidebar__revision__date","isEnabled","5mnzYPM","filter","220","setTemplate","render","isActionsDropdownOpen","ck-revision-history-sidebar__revision_selected","revisionActionsView","_revision","unshift","createdAt","srcElement","3155187vTVsAL","ck-revision-history-sidebar__revision-wrapper","isConfirm","div","203xWAJpR","map","ck-revision-history-sidebar__revision","bind","authors","446312DsOBgW","setName","change","creator","revisionNameView","highlight","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__actions_dropdown_open","19250568TdprzB","closest","isSelected","deselect","element","ck-revision-history-sidebar__revision_highlighted","isReady","isHighlighted","value","select",".ck-thread__remove-confirm","fieldView","fire","768352xVhCDo","911310ufZcbs","listenTo","_requireRevisionName","_createdAtFormatted","from","span","length","ck-disabled","name","bindTemplate","set"];return(Je=function(){return t})()}!function(t){const e=Ge,i=t();for(;;)try{if(943501===parseInt(e(188))/1+parseInt(e(195))/2+-parseInt(e(146))/3+parseInt(e(176))/4+-parseInt(e(198))/5*(-parseInt(e(177))/6)+-parseInt(e(150))/7*(parseInt(e(155))/8)+parseInt(e(163))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(159)];[Ye(141)];[Ye(142)];[Ye(179)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(186)],a=function(t,e){const i=r,n=Array[i(181)](e[i(154)])[i(199)](t=>t!=e[i(158)]);return e[i(158)]&&n[i(143)](e[i(158)]),n[i(151)](n=>new Le(t,n,n==e[i(158)]))}(e,i);this.id=i.id,this[r(142)]=i,this[r(179)]=s,this[r(153)](r(185),r(144)).to(i),this[r(153)](r(180)).to(this,r(144),t=>{return i=e[r(192)],(n=t)[(s=ze)(200)](i,{month:s(191),day:s(195)})+", "+n[s(202)](i,{hour:s(195),minute:s(195)});var i,n,s}),this[r(187)](r(165),!1),this[r(187)](r(170),!1),this[r(187)](r(139),!1),this[r(187)](r(169),!1),this[r(187)](r(197),!1),this[r(159)]=new Ee(e,It.createLabeledInputText),this[r(159)][r(174)][r(193)]({attributes:{maxlength:r(200)}}),this[r(159)][r(174)][r(153)](r(171)).to(this,r(185),t=>t||this[r(180)]),this[r(159)][r(153)](r(197)).to(this,r(165),this,r(197),(t,e)=>t&&e),this[r(141)]=n&&n[r(183)]?function(e,i){const n=Ze,s=e[n(132)],r=e[n(127)],o=(0,It.createDropdown)(r);o[n(154)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(127)],s={"Compare against selected":at(n,i(150)),"Name this revision":at(n,i(175)),"Restore this revision":at(n,i(172))};return e[i(159)](t=>{const e=i,n=s[t[e(149)]];return n&&n!==t[e(149)]&&(t[e(149)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(165),model:new It.UIModel({label:t[s(149)],class:t[s(160)],withText:!0,role:s(135),_action:t[s(157)]})};i[s(126)][s(129)](s(133)).to(e,s(164),i=>s(156)!=typeof t[s(133)]||!i||t[s(133)](e)),o[s(158)](i)}return o}(e,i);return e[n(129)](n(164)).to(o,n(145)),o[n(130)][n(161)]({label:at(r,n(151)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(140)]({attributes:{class:[n(163),s.if(n(164),n(138))]},on:{click:s.to(t=>t[n(174)]())}}),o.on(n(153),t=>{const i=n;e[i(171)]&&i(156)==typeof t[i(152)][i(141)]&&t[i(152)][i(141)](e)}),(0,It.addListToDropdown)(o,a,{role:n(128)}),o[n(166)](e,n(142),(t,s,r)=>{const a=n;if(r)for(const t of o[a(168)][a(162)]){const n=t[a(170)][a(146)],s=i[a(173)](t=>t[a(157)]===n[a(141)])[a(134)];t[a(134)]=void 0===s||s(e)}}),o}(this,n):"",this[r(141)]&&this[r(141)][r(153)](r(197)).to(this),this[r(137)]({tag:r(149),attributes:{class:["ck",r(190),r(147),o.if(r(148),r(161))]},children:[{tag:r(149),attributes:{class:["ck",r(190),r(152),o.if(r(197),r(184),t=>!t),o.if(r(165),r(140)),o.if(r(170),r(168)),o.if(r(139),r(162))]},children:[this[r(159)],{tag:r(182),attributes:{class:["ck",r(196)]},children:[{text:o.to(r(180))}]},{tag:r(149),attributes:{class:["ck",r(194)]},children:[{tag:"ul",attributes:{class:["ck",r(189)]},children:a}]},this[r(141)]],on:{click:o.to(t=>{const e=r;t[e(145)][e(164)](e(173))||this[e(169)]&&this[e(197)]&&this[e(175)](e(172),{id:this.id})})}}]})}[Ye(138)](){const t=Ye;super[t(138)]();const e=this[t(159)][t(174)][t(167)];this[t(178)](e,t(157),()=>{const i=t;this[i(179)]&&!e[i(171)]||this[i(175)](i(156),{id:this.id,name:e[i(171)]}),e[i(171)]||(e[i(171)]=this[i(185)]?this[i(185)]:this[i(180)])})}[Ye(172)](){this[Ye(165)]=!0}[Ye(166)](){this[Ye(165)]=!1}[Ye(160)](){this[Ye(170)]=!0}[Ye(191)](){this[Ye(170)]=!1}}class Qe extends Error{}class Xe extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Qe{}class ni extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Qe{}class ri extends Qe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},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 Ei extends Mi{static get instance(){return null===Vi&&(Vi=new Ei),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:En(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Jn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const Wi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function $i(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const qi=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Un(this.floor?Math.floor(t):qn(t,3),this.padTo)}}class Gi{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Ji{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Qi{static fromOpts(t){return Qi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),Wi.clear(),Ui.clear(),Zi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Qi.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===$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?Qi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return Bi(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Gi(t,this.intl,e)}relFormatter(t={}){return new Ji(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||$i(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?function(t){let e=qi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),qi.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Xi=null;class tn extends Mi{static get utcInstance(){return null===Xi&&(Xi=new tn(0)),Xi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class en extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function nn(t,e){if(En(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Ei.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return Dn(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Ei.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Qi.resetCache(),ji.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Qn(c,e,i)):u>Qn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function Rn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function An(t,e){if(!En(t.localWeekday)||!En(t.localWeekNumber)||!En(t.localWeekYear)){if(!En(t.weekday)||!En(t.weekNumber)||!En(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return En(t.localWeekday)||(t.weekday=t.localWeekday),En(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),En(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Mn(t){const e=Cn(t.year),i=Wn(t.month,1,12),n=Wn(t.day,1,Gn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Vn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function En(t){return void 0===t}function Dn(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Wn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hn(t){return En(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return En(t)||null===t||""===t?void 0:parseFloat(t)}function $n(t){if(!En(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qn(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Gn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Jn(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Qn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Xn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF:Ai};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Un(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Hn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rs=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),As=RegExp(`(?:T${Rs.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Vs=Ts("year","ordinal"),Es=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Ds=RegExp(`(?: ${Es.source})?`);function Cs(t,e,i){const n=t[e];return En(n)?i:Hn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:$n(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ls(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),zs=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ws(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d($n(u),h)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?Xn(Hn(e)):Hn(e),month:as.indexOf(i)+1,day:Hn(n),hour:Hn(s),minute:Hn(r)};return o&&(a.second=Hn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Zs=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function $s(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Hs(e,s,n,i,r,o,a);let f;return f=c?Us[c]:u?0:es(l,h),[d,new tn(f)]}const qs=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bs=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ys=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,s,n,i,r,o,a),tn.utcInstance]}function Js(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,As),Qs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,As),Xs=Is(/(\d{4})-?(\d{3})/,As),tr=Is(Rs),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ls),ir=Ss(Ms,Fs,js,Ls),nr=Ss(Vs,Fs,js,Ls),sr=Ss(Fs,js,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Es),cr=Ss(Fs,js,Ls);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(En(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(En(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Qi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Qi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Dn(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Ws])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ps,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ni(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return En(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=qn(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Pn(e.values,t)||Pn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Qi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Qi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Qi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Qi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Qi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function 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])=>es(t,e),groups:e}}function Er(t){return{regex:t,deser:([t])=>t}}const Dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Xn);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Er(l);case"uu":return Er(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Er(/[a-z_+-/]{1,256}?/i);case" ":return Er(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;En(t.z)||(i=ji.create(t.z)),En(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),En(t.q)||(t.M=3*(t.q-1)+1),En(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),En(t.u)||(t.S=$n(t.u));const n=Object.keys(t).reduce((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e},{});return[n,i,e]}(i):[null,null,void 0];if(Pn(i,"a")&&Pn(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function $r(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function qr(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return qr(Jn(t),e,i)}function Gr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Gn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Jn(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.create(Qi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Xr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Qi.fromObject(e);let s,r;if(En(t.year))s=gn.now();else{for(const e of no)En(t[e])&&(t[e]=to[e]);const e=Mn(t)||Vn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!En(i.round)||i.round,s=(t,s)=>{t=qn(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=En(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Dn(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Qi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Qi.fromObject(e)}):fo.invalid(Ur(s))}static fromMillis(t,e={}){if(Dn(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Qi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Dn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Qi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Qi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=An(s,n),a=gn.now(),c=En(e.specificOffset)?i.offset(a):e.specificOffset,u=!En(s.ordinal),l=!En(s.year),h=!En(s.month)||!En(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){En(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Wn(t.weekNumber,1,Qn(t.weekYear,e,i)),r=Wn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Wn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Vn(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?Rn(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Qs,ir],[Xs,nr],[tr,sr])}(t);return Jr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,$s])}(t);return Jr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[qs,Gs],[Bs,Gs],[Ys,Js])}(t);return Jr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(En(t)||En(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Jr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Jr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Qi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Jn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[$r(this,{ts:a}),$r(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Gn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Qn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Qn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Yr(i,e,t)}return $r(this,{ts:n,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return $r(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=An(e,this.loc),s=!En(e.weekYear)||!En(e.weekNumber)||!En(e.weekday),r=!En(e.ordinal),o=!En(e.year),a=!En(e.month)||!En(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):En(e.ordinal)?(l={...this.toObject(),...e},En(e.day)&&(l.day=Math.min(Gn(l.year,l.month),l.day))):l=Rn({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return $r(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return $r(this,Gr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return $r(this,Gr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Qr(this,r);return o+="T",o+=Xr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Xr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Qi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(En(t)||En(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Jr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Dn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(){const t=["week","toJSDate","139874JqyjLu","fromJSDate","2181lsMMRK","4055106bkCYYf","year","local","856953SRPcDQ","hasSame","startOf","minus","day","weekdayLong","month","monthLong","18059850povosr","216MTPcBE","1867484zDsKzB","2521290xZBnts","setLocale","2382FQdKnj","toRelativeCalendar"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=453]})(t,e)}function go(t,e){const i=vo,n=fo[i(468)](t)[i(462)](e),s=fo[i(472)](),r=s[i(453)]({days:1})[i(475)](i(454));let o,a;return n[i(474)](s,i(454))?(o=n[i(475)](i(454))[i(466)](),a=n[i(464)]()):n[i(474)](r,i(454))?(o=r[i(466)](),a=n[i(464)]()):n[i(474)](s,i(465))?(o=n[i(475)](i(465))[i(466)](),a=n[i(455)]||""):n[i(474)](s,i(471))?(o=n[i(475)](i(456))[i(466)](),a=n[i(457)]||""):(o=n[i(475)](i(471))[i(466)](),a=String(n[i(471)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(457564===-parseInt(e(473))/1+-parseInt(e(463))/2*(parseInt(e(469))/3)+-parseInt(e(460))/4+parseInt(e(461))/5+parseInt(e(470))/6+-parseInt(e(467))/7*(parseInt(e(459))/8)+parseInt(e(458))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(980),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=454]})(t,e)}function _o(){const t=["revisionViews","_revisionActions","find","171VKCTkm","add","uiLanguage","_requireRevisionName","697114pZkavn","select","setName","18emVjuX","setTemplate","startDate","ck-revision-history-sidebar__time-period","createCollection","2210067MXkhLo","remove","708VCJMeL","ck-revision-history-sidebar__time-period__label","2600983TfoVyS","127730rubmbh","152448VpyHpD","removeRevision","delegate","ck-revision-history-sidebar__time-period__revisions","522856LObCmE","addRevision","locale","div","1270VnbXSS","50TndgOY","localizedPeriodName","span"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(406132===-parseInt(e(467))/1*(parseInt(e(455))/2)+parseInt(e(486))/3+-parseInt(e(463))/4+parseInt(e(458))/5*(-parseInt(e(481))/6)+parseInt(e(457))/7+-parseInt(e(459))/8*(parseInt(e(474))/9)+parseInt(e(468))/10*(parseInt(e(478))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(483)];[bo(471)];[bo(472)];[bo(477)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(465)][s(476)])[s(469)];this[s(483)]=e,this[s(471)]=this[s(485)](),this[s(472)]=i,this[s(477)]=n,this[s(471)][s(461)](s(479)).to(this),this[s(471)][s(461)](s(480)).to(this),this[s(482)]({tag:s(466),attributes:{class:["ck",s(484)]},children:[{tag:s(470),attributes:{class:["ck",s(456)]},children:[{text:r}]},{tag:s(466),attributes:{class:["ck",s(462)]},children:this[s(471)]}]})}[bo(464)](t){const e=bo,i=new Ke(this[e(465)],t,this[e(472)],this[e(477)]);this[e(471)][e(475)](i)}[bo(460)](t){const e=bo,i=this[e(471)][e(473)](e=>e.id===t.id);this[e(471)][e(454)](i)}}var So=i(323),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=164]})(t,e)}function xo(){const t=["3637110rVIEYr","4pcsyVW","137832Caoohy","span","div","3856699tLlPUN","7401wzrPRv","ck-reset_all","9ENBGMp","8TegNzg","ck-revision-history-sidebar__header__label","4508070DEuNth","Revision history","492jhbRGh","ck-revision-history-sidebar__header","7946686VihGsk","2300832GROkFA","setTemplate","content"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(516395===parseInt(e(173))/1*(-parseInt(e(172))/2)+parseInt(e(177))/3*(parseInt(e(165))/4)+parseInt(e(171))/5+parseInt(e(168))/6+parseInt(e(176))/7*(parseInt(e(180))/8)+parseInt(e(179))/9*(-parseInt(e(182))/10)+-parseInt(e(167))/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(170)]=_t.IconHistory,this[e(169)]({tag:e(175),attributes:{class:["ck",e(178),e(166)]},children:[i,{tag:e(174),attributes:{class:["ck",e(181)]},children:[at(t,e(164))]}]})}}var Ro=i(188),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Et();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;const Mo=Eo;function Vo(){const t=["ck-reset","uiLanguage","find","unhighlight","startDate","div","ck-disabled","_revisions","revisionSelected","selectRevision","getTime","timePeriodViews","3687756OMGRCI","locale","2364858SGodcg","map","8861552ZxnIlh","ck-revision-history-sidebar","set","add","_revisionActions","addRevision","flat","_getTimePeriodViewByStartDate","revisionViews","render","setTemplate","removeRevision","5jkETaf","_removeRevision","createdAt","get","bindTemplate","select","_requireRevisionName","highlight","delegate","_addRevision","deselect","remove","createCollection","127881rjfoha","ck-rounded-corners","setName","revisionSetName","isEnabled","fire","35676432QYbpJd","6909630mQYqJt","some","ck-revision-history-sidebar__timeline","2627768cvLxxA","highlightRevisions"];return(Vo=function(){return t})()}function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=184]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(733901===-parseInt(e(191))/1+-parseInt(e(201))/2+-parseInt(e(217))/3+parseInt(e(215))/4*(parseInt(e(231))/5)+-parseInt(e(198))/6+-parseInt(e(219))/7+parseInt(e(197))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends It.View{[Mo(214)];[Mo(210)];[Mo(223)];[Mo(184)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(235)];this[s(214)]=this[s(190)](),this[s(214)][s(186)](s(236)).to(this),this[s(214)][s(186)](s(193)).to(this),this[s(210)]=e,this[s(223)]=i,this[s(184)]=n,this.on(s(236),(t,e)=>{const i=s;this[i(196)](i(211),e)}),this.on(s(193),(t,e)=>{const i=s;this[i(196)](i(194),e)}),this[s(221)](s(195),!1),this[s(229)]({tag:s(208),attributes:{class:["ck",s(203),s(192),s(220)]},children:[new No(t),{tag:s(208),attributes:{class:["ck",s(200),r.if(s(195),s(209),t=>!t)]},children:this[s(214)]}]})}[Mo(228)](){const t=Mo;super[t(228)]();for(const e of this[t(210)])this[t(187)](e);this[t(210)].on(t(222),(e,i)=>{this[t(187)](i)}),this[t(210)].on(t(189),(e,i)=>{this[t(232)](i)})}get[Mo(227)](){const t=Mo;return this[t(214)][t(218)](e=>e[t(227)][t(218)](t=>t))[t(225)]()}[Mo(212)](t){const e=Mo;for(const i of this[e(227)])t&&t.id===i.id?i[e(236)]():i[e(188)]()}[Mo(202)](t){const e=Mo;for(const i of this[e(227)])t[e(199)](({id:t})=>t===i.id)?i[e(185)]():i[e(206)]()}[Mo(187)](t){const e=Mo,i=go(t[e(233)],this[e(216)][e(204)])[e(207)];let n=this[e(214)][e(234)](0);n&&n[e(207)][e(213)]()===i[e(213)]()||(n=new Io(this[e(216)],i,this[e(223)],this[e(184)]),this[e(214)][e(222)](n)),n[e(224)](t)}[Mo(232)](t){const e=Mo,i=go(t[e(233)],this[e(216)][e(204)])[e(207)];this[e(226)](i)[e(230)](t)}[Mo(226)](t){const e=Mo;return this[e(214)][e(205)](i=>i[e(207)][e(213)]()===t[e(213)]())}}const Co=Fo;function Fo(t,e){const i=jo();return(Fo=function(t,e){return i[t-=329]})(t,e)}function jo(){const t=["locale","_createRevisionActions","remove","requires","_handleEditorDataReady","repository","change:diff","getIndex","2410CNqkZO","revisionHistory.requireRevisionName","getRevision","268gwhgIB","compare","string","selectRevision","action","setName","RevisionsSidebar","_revisionViewer","editor","revisionHistory.revisionActions","listenTo","init","data","add","get","isSelected","Name this revision","bind","map","render","_sidebarView","focus","Compare against selected","availableRevisionActions","revisionHistory.viewerSidebarContainer","destroy","_handleRevisionSelected","length","name","appendChild","revisionSelected","isVisible","9313953WRkNdl","isPremiumPlugin","timePeriodViews","11973WkzkFz","_handleDiffChange","diff","assign","3014838jGkhZH","getLaterVisibleRevision","restoreRevision","revisionViews","ready","5656170gDJdQu","element","restoreRevisionCallback","revisionSetName","newRevisionId","pluginName","compareAgainstSelected","isOfficialPlugin","isEnabled","getEarlierVisibleRevision","config","_handleRevisionSetName","fieldView","select","getRevisionsInDiff","defaultRevisionActions","16gQdObx","plugins","757eRVLRO","nameRevision","_revisions","isReady","revisionHistory","Restore this revision","highlightRevisions","10PepiPQ","1994573IRMSFO","_revisionsRepository","2085980jcLfaa"];return(jo=function(){return t})()}!function(t){const e=Fo,i=t();for(;;)try{if(606923===parseInt(e(397))/1*(-parseInt(e(332))/2)+parseInt(e(370))/3*(parseInt(e(335))/4)+parseInt(e(407))/5+parseInt(e(379))/6+-parseInt(e(405))/7+parseInt(e(395))/8*(-parseInt(e(374))/9)+-parseInt(e(404))/10*(-parseInt(e(367))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Lo extends J.Plugin{[Co(342)];[Co(406)];[Co(355)];static[Co(394)]=[Co(385),Co(376),Co(398)];static[Co(358)]=function(){const t=Co;return{compareAgainstSelected:{name:t(357),action:({plugins:e},i)=>{const n=t,s=e[n(349)](ue),r=s[n(329)];let o=s[n(372)][n(383)],a=i.id;r[n(331)](o)>r[n(331)](a)&&([o,a]=[a,o]),s[n(336)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(349)](ue);return!(s[n(329)][n(393)](s[n(372)])[n(362)]>2||i[n(350)])}},restoreRevision:{name:t(402),action:(e,{id:i})=>{const n=t;e[n(389)][n(349)](n(401))[n(381)](i)},isVisible:({plugins:e},i)=>!!e[t(349)](ue)[t(329)][t(375)](i.id)},nameRevision:{name:t(351),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(349)](ue),o=r[s(329)][s(388)](i);r[s(336)](i,o),n[s(356)](),n[s(391)][s(392)]()}}}}();static get[Co(384)](){return Co(341)}static get[Co(386)](){return!0}static get[Co(368)](){return!0}static get[Co(411)](){return[ue]}constructor(t){const e=Co;super(t),this[e(342)]=t[e(396)][e(349)](ue),this[e(406)]=this[e(342)][e(329)],this[e(355)]=null}[Co(346)](){const t=Co,e=this[t(406)][t(399)],i=this[t(409)](),n=this[t(343)][t(389)][t(349)](t(359));this[t(355)]=new Do(this[t(343)][t(408)],e,i,this[t(343)][t(389)][t(349)](t(333))),this[t(355)].on(t(365),this[t(361)][t(352)](this)),this[t(355)].on(t(382),this[t(390)][t(352)](this)),this[t(355)][t(352)](t(387)).to(this[t(342)]),this[t(355)][t(369)].on(t(348),(e,i)=>{const n=t;i[n(377)].on(n(348),(t,e)=>{const i=n;e[i(352)](i(387),i(400)).to(this[i(342)])})}),this[t(355)][t(354)](),this[t(345)](this[t(343)][t(347)],t(378),this[t(412)][t(352)](this)),this[t(345)](this[t(342)],t(330),this[t(371)][t(352)](this)),n[t(364)](this[t(355)][t(380)])}[Co(360)](){const t=Co;this[t(355)][t(380)][t(410)](),this[t(355)][t(360)]()}[Co(412)](){const t=Co,e=this[t(406)][t(334)](0);if(e){const i=this[t(406)][t(388)](e.id);this[t(342)][t(336)](e,i)}}[Co(361)](t,e){const i=Co,n=this[i(406)][i(334)](e.id),s=this[i(406)][i(388)](n.id);this[i(342)][i(336)](n,s)}[Co(390)](t,e){const i=Co;this[i(406)][i(334)](e.id)[i(340)](e[i(363)])}[Co(371)](t,e,i){const n=Co,s=this[n(406)][n(393)](i);s[n(362)]>2?(this[n(355)][n(403)](s),this[n(355)][n(338)](null)):(this[n(355)][n(403)]([]),this[n(355)][n(338)](s[0]))}[Co(409)](){const t=Co,e=this[t(343)],i=Lo[t(358)],n=e[t(389)][t(349)](t(344))||Lo[t(394)];if(n[t(362)])return n[t(353)](n=>{const s=t,r=s(337)==typeof n?Object[s(373)]({},i[n]):n;return r[s(339)]=r[s(339)][s(352)](this,e),r[s(366)]&&(r[s(366)]=r[s(366)][s(352)](this,e)),r})}}function Po(t,e){const i=Wo();return(Po=function(t,e){return i[t-=375]})(t,e)}const zo=Po;function Wo(){const t=["fillFromConfig","_toolbarConfig","editable","rootName","_view","config","render","limiterElement","detachDomRoot","_elementReplacer","3560CmYpuL","viewportOffset","80814DKjOKF","10082450cnmApi","element","editor","viewportTopOffset","name","31TOIhrP","restore","162987cJghxp","view","_initToolbar","9954153EBRUUU","stickyPanel","focusTracker","isFocused","init","getRoot","get","ready","104mSXFAZ","destroy","192465YSvFEW","isActive","addToolbar","attachDomRoot","setEditableElement","toolbar","3175ddGrJZ","4341808hZMbQw","5544sXCzcv","document","replace","componentFactory","editing","fire","bind"];return(Wo=function(){return t})()}!function(t){const e=Po,i=t();for(;;)try{if(890406===parseInt(e(387))/1*(-parseInt(e(381))/2)+parseInt(e(402))/3*(-parseInt(e(400))/4)+-parseInt(e(408))/5*(parseInt(e(410))/6)+-parseInt(e(382))/7+-parseInt(e(409))/8+parseInt(e(392))/9+parseInt(e(379))/10*(parseInt(e(389))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends It.EditorUI{[zo(421)];[zo(418)];[zo(378)];get[zo(390)](){return this[zo(421)]}constructor(e,i){const n=zo;super(e),this[n(421)]=i,this[n(418)]=(0,It.normalizeToolbarConfig)(e[n(422)][n(398)](n(407))),this[n(378)]=new t.ElementReplacer}get[zo(383)](){const t=zo;return this[t(390)][t(383)]}[zo(396)](t){const e=zo,i=this[e(384)],n=this[e(390)],s=i[e(414)][e(390)],r=n[e(419)],o=s[e(411)][e(397)]();r[e(386)]=o[e(420)],n[e(375)]();const a=r[e(383)];this[e(406)](r[e(386)],a),n[e(419)][e(416)](e(395)).to(this[e(394)]),s[e(405)](a),this[e(378)][e(412)](t,this[e(383)]),this[e(391)](),this[e(415)](e(399))}[zo(401)](){const t=zo;super[t(401)]();const e=this[t(390)],i=this[t(384)][t(414)][t(390)];this[t(378)][t(388)](),i[t(377)](e[t(419)][t(386)]),e[t(401)]()}[zo(391)](){const t=zo,e=this[t(390)];e[t(393)][t(416)](t(403)).to(this[t(394)],t(395)),e[t(393)][t(376)]=e[t(383)],e[t(393)][t(416)](t(385)).to(this,t(380),({top:t})=>t),e[t(407)][t(417)](this[t(418)],this[t(413)]),this[t(404)](e[t(407)])}}var Ho=i(60),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=Rt().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Et();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var $o=qo;function qo(t,e){var i=Bo();return(qo=function(t,e){return i[t-=310]})(t,e)}function Bo(){var t=["editable","2294670NYKdTO","410UcxJEc","top","_editable","content","render","4321224VNOuDF","187176bAgNHo","shouldToolbarGroupWhenFull","1861018vxjFDg","16pCjpHI","stickyPanel","toolbar","add","512RUEBSE","main","730997gdiTqc","6PTnSsY","3063354WeyvHp","23892QciksB"];return(Bo=function(){return t})()}!function(t){for(var e=qo,i=t();;)try{if(535952===parseInt(e(322))/1+-parseInt(e(315))/2+parseInt(e(325))/3*(parseInt(e(320))/4)+parseInt(e(327))/5*(-parseInt(e(323))/6)+parseInt(e(324))/7+parseInt(e(316))/8*(-parseInt(e(312))/9)+-parseInt(e(328))/10*(-parseInt(e(313))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[$o(330)];[$o(317)];[$o(318)];get[$o(326)](){return this[$o(330)]}constructor(t,e,i={}){var n=$o;super(t),this[n(317)]=new It.StickyPanelView(t),this[n(318)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(314)]}),this[n(330)]=new It.InlineEditableUIView(t,e)}[$o(311)](){var t=$o;super[t(311)](),this[t(317)][t(310)][t(319)](this[t(318)]),this[t(329)][t(319)](this[t(317)]),this[t(321)][t(319)](this[t(326)])}}function Go(){const t=["createRoot","582yHUFDQ","view","updateSourceElement","create","destroy","init","config","153HZvHkU","175352lUGGPm","fire","initPlugins","ready","3729270IxKwTA","_ui","11129470AlwJyj","sourceElement","editing","7VzIsAR","model","252973dxGEZv","98185ZMENXI","initialData","get","document","28zpLBsF","2988HujPJb","2377686ECVeEk","data","locale"];return(Go=function(){return t})()}const Jo=Ko;function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=305]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(210443===-parseInt(e(310))/1+-parseInt(e(321))/2*(parseInt(e(316))/3)+-parseInt(e(315))/4*(-parseInt(e(311))/5)+parseInt(e(317))/6*(-parseInt(e(308))/7)+-parseInt(e(329))/8*(parseInt(e(328))/9)+parseInt(e(333))/10+parseInt(e(305))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Qo extends((0,J.ElementApiMixin)(J.Editor)){[Jo(334)];get ui(){return this[Jo(334)]}constructor(t,e){const i=Jo;super(e),this[i(306)]=t,this[i(309)][i(314)][i(320)]();const n=new Yo(this[i(319)],this[i(307)][i(322)],{shouldToolbarGroupWhenFull:!0});this[i(334)]=new Uo(this,n)}[Jo(325)](){const t=Jo;return this[t(323)](),this.ui[t(325)](),super[t(325)]()}static async[Jo(324)](t,e){const i=Jo,n=new this(t,e);return await n[i(331)](),await n.ui[i(326)](t),await n[i(318)][i(326)](n[i(327)][i(313)](i(312))||""),n[i(330)](i(332)),n}}const Xo=ea;function ta(){const t=["destroy","map","includes","revisionHistory.viewerContainer","_cleanUp","join","1574095BNyFnl","_getRevisionViewerEditorConfig","element","view","roots","_recalculatePageBreaks","lazyRoots","update","long","loadRevisionData","getUser","result","exitToEditing","define","getMarkersGroup","isPremiumPlugin","removeAttribute","then","block","isReady","error","editor","788577tcnoWq","Restored","document","2222507VbHoiM","commands","RevisionTracker","createdAt","RevisionHistory","RevisionViewerIntegration","Dialog","restrictedEditingException","revisionHistory.showRevisionViewerCallback","1171452wHXLIk","users","removeSelectionAttribute","toolbar","plugins","markers","isAnonymous","model","end","enqueueChange","8SgRvAc","RevisionsRepository","PaginationLookup","locale","set","setAttribute","addUser","isOfficialPlugin","none","rootName","isRevisionViewerOpen","removeMarker","remove","DocumentOutlineUI","getRevisions","_showRevisionViewer","numeric","36KWTWPc","hide","saveRevision","keys","detachRoot","config","init","addRoot","6ZkLOlI","addRevisionData","getAttributeKeys","closeRevisionViewerCallback","parse","catch","showRevisionViewerCallback","Autosave","setSelection","_closeRevisionViewer","revisionHistory","save","name","Users","toJSON","isAttached","fromVersion","creator","indexOf","has","requires","revisionHistory.editorContainer","from","repository","revisionHistory.restoreRevisionCallback","_enhanceShowRevisionViewerCallback","2100030AjrzTB","selection","enableReadOnlyMode","toLocaleDateString","fromCharCode","toVersion","411040FfCToo","isEnabled","data","revisionHistory.viewerEditorElement","_restoreRevision","revisionHistory.closeRevisionViewerCallback","display","getRoot","getRevision","adapter","isReadOnly","Annotations","revision-history-missing-configuration","isOpen","RevisionHistoryUtils","RevisionHistoryUI","uiLanguage","315559AmkkNf","_enhanceCloseRevisionViewerCallback","changesNavigation","RestrictedEditingMode","change","push","disableReadOnlyMode","bind","DocumentOutline","create","translations","get","refreshPositioning","_update","pluginName","revision-history-viewer-opened","insert","_viewerEditor","revisionHistory.requireRevisionName","restoreRevision","createRangeIn","RevisionViewer","toLocaleTimeString","refreshVisibility","style","getRevisionDocumentData","getRevisionRootsAttributes","$graveyard"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=237]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(173049===parseInt(e(316))/1+parseInt(e(299))/2+-parseInt(e(372))/3+-parseInt(e(384))/4+-parseInt(e(350))/5*(parseInt(e(267))/6)+parseInt(e(375))/7*(-parseInt(e(242))/8)+-parseInt(e(259))/9*(-parseInt(e(293))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Xo(314),Xo(319)];class na extends J.Plugin{[Xo(361)];static get[Xo(330)](){return Xo(380)}static get[Xo(249)](){return!0}static get[Xo(365)](){return!0}constructor(t){const e=Xo;function i(t){const e=ea;return t[e(345)](t=>String[e(297)](t))[e(349)]("")}super(t),this[e(361)]=e(240),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class sa extends J.Plugin{[Xo(333)];static get[Xo(330)](){return Xo(379)}static get[Xo(249)](){return!0}static get[Xo(365)](){return!0}static get[Xo(287)](){return[pt,$t]}constructor(e){const i=Xo;if(super(e),!this[i(371)][i(264)][i(327)](i(277)))throw new t.CKEditorError(i(311),this);this[i(333)]=null,this[i(246)](i(252),!1),this[i(371)][i(264)][i(363)](i(383),t=>this[i(257)]({...t,translations:this[i(371)][i(245)][i(326)]})),this[i(371)][i(264)][i(363)](i(304),t=>this[i(276)](t)),this[i(371)][i(264)][i(363)](i(291),t=>this[i(303)](t)),this[i(371)][i(264)][i(363)](i(334),!1),this[i(292)](),this[i(317)]()}set[Xo(308)](t){const e=Xo;this[e(371)][e(388)][e(327)](e(377))[e(308)]=t}get[Xo(308)](){const t=Xo;return this[t(371)][t(388)][t(327)](t(377))[t(308)]}[Xo(268)](t){const e=Xo;return this[e(371)][e(388)][e(327)](e(377))[e(268)](t)}[Xo(307)](t){const e=Xo;return this[e(371)][e(388)][e(327)](e(243))[e(307)](t)}[Xo(256)](t){const e=Xo;return this[e(371)][e(388)][e(327)](e(243))[e(256)](t||{toJSON:!1})}[Xo(351)](){const e=Xo,i=this[e(371)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(388)][e(327)](e(377)),r=i[e(388)][e(327)](e(280))[e(385)];return n[e(387)]=[e(362),e(335),e(318)],delete n[e(356)],n[e(388)][e(321)](na,ue,Ne,class extends J.Plugin{static get[e(287)](){return[ue,e(280)]}[e(265)](){const n=e,o=this[n(371)][n(388)][n(327)](n(280));for(const t of r)t[n(238)]||o[n(360)](t.id)||o[n(248)](t);const a=s[n(290)][n(256)]();let c=null;const u=this[n(371)][n(388)][n(327)](n(337));u[n(308)]=s[n(308)],u[n(323)](n(300)).to(s),this[n(371)][n(376)][n(327)](n(335))[n(323)](n(300)).to(i,n(309),t=>!t);for(const e of a){const i=null===e[n(284)];if(i&&e[n(298)]===e[n(283)])continue;const r=e[n(281)]();u[n(268)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(329)](r,o);else if(!o){const e=a[u(281)]();e.id=(0,t.uid)(),s[u(261)](e,a[u(298)])[u(367)](t=>{c=t})}}else e[u(329)](r,o)})}}},Lo),n}[Xo(292)](){const t=Xo,e=this[t(371)][t(264)][t(327)](t(277))[t(273)];this[t(371)][t(264)][t(246)](t(383),async()=>{const i=t;this[i(371)][i(295)](i(331));const n=this[i(371)][i(388)][i(327)](i(377));if(this[i(371)][i(388)][i(286)](i(274))){const t=this[i(371)][i(388)][i(327)](i(274));await t[i(278)]()}else await n[i(357)]();if(this[i(371)][i(388)][i(286)](i(244))&&this[i(371)][i(388)][i(327)](i(244))[i(355)](),this[i(371)][i(388)][i(286)](i(381))){const t=this[i(371)][i(388)][i(327)](i(381));t[i(312)]&&t[i(260)]()}const s=this[i(351)]();return e(s)[i(367)](t=>{const e=i;return this[e(333)]=t,this[e(371)][e(388)][e(286)](e(310))&&this[e(371)][e(388)][e(327)](e(310))[e(339)](),this[e(371)][e(388)][e(286)](e(324))&&(this[e(371)][e(388)][e(327)](e(255))[e(353)][e(352)][e(340)][e(305)]=e(250)),t})[i(272)](t=>(console[i(370)](t),this[i(371)][i(322)](i(331)),null))})}[Xo(317)](){const t=Xo,e=this[t(371)][t(264)][t(327)](t(277))[t(270)];this[t(371)][t(264)][t(246)](t(304),()=>(this[t(371)][t(388)][t(286)](t(244))&&this[t(371)][t(388)][t(327)](t(244))[t(355)](),this[t(371)][t(388)][t(286)](t(324))&&(this[t(371)][t(388)][t(327)](t(255))[t(353)][t(352)][t(340)][t(305)]=""),this[t(333)][t(388)][t(327)](t(337))[t(348)](),e(this[t(333)])[t(367)](()=>{const e=t;if(this[e(371)][e(322)](e(331)),this[e(333)]=null,this[e(371)][e(388)][e(286)](e(310))){const t=this[e(371)][e(388)][e(327)](e(310));t[e(339)](),t[e(328)]()}})))}[Xo(257)](t){const e=Xo,i=this[e(371)][e(264)][e(327)](e(288)),n=this[e(371)][e(264)][e(327)](e(347)),s=this[e(371)][e(264)][e(327)](e(302));return Qo[e(325)](s,t)[e(367)](t=>(n[e(340)][e(305)]=e(368),i[e(340)][e(305)]=e(250),this[e(252)]=!0,t))}[Xo(276)](t){const e=Xo,i=this[e(371)][e(264)][e(327)](e(288));return this[e(371)][e(264)][e(327)](e(347))[e(340)][e(305)]=e(250),i[e(340)][e(305)]="",this[e(252)]=!1,t[e(344)]()}async[Xo(303)](t){const e=Xo,i=this[e(371)],n=this[e(333)][e(388)][e(327)](e(337)),s=i[e(388)][e(327)](e(377)),r=i[e(388)][e(327)](e(313)),o=n[e(290)][e(307)](t);let a,c,u;try{await r[e(359)](o,this[e(308)]),a=r[e(341)](o),c=r[e(342)](o)}catch(t){return void console[e(370)](t)}i[e(239)][e(320)](t=>{const n=e;for(const e of Array[n(289)](i[n(239)][n(237)][n(364)](n(382))))t[n(253)](e)}),n[e(369)]=!1,i[e(239)][e(241)](t=>{const n=e;t[n(275)](null),t[n(386)](i[n(239)][n(374)][n(294)][n(269)]());const s=Object[n(262)](a);for(const e of i[n(239)][n(374)][n(354)])n(343)!=e[n(251)]&&e[n(282)]()&&!s[n(346)](e[n(251)])&&t[n(263)](e);for(const e of s){let s=i[n(239)][n(374)][n(306)](e);s&&s[n(282)]()||(s=t[n(266)](e));const r=c[e],o=Object[n(262)](r),u=a[e];for(const e of s[n(269)]())o[n(346)](e)||t[n(366)](e,s);for(const i of o)t[n(247)](i,c[e][i],s);t[n(254)](t[n(336)](s)),t[n(332)](i[n(301)][n(271)](u,s),s,0)}});const l=at(i[e(245)],e(373));return u=o[e(279)]?-1==o[e(279)][e(285)](l)?l+": "+o[e(279)]:o[e(279)]:l+": "+o[e(378)][e(296)](i[e(245)][e(315)],{month:e(358),day:e(258)})+", "+o[e(378)][e(338)](i[e(245)][e(315)],{hour:e(258),minute:e(258)}),await s[e(261)]({name:u}),n[e(369)]=!0,i[e(264)][e(327)](e(277))[e(270)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=493]})(t,e)}function oa(){var t=["24526293rAKRYU","449114PtKohZ","8aExsDa","757452FectYF","10JRftzS","5086930fMNhlL","4955949rpxjUf","431286pLqljI","21FiFnRI","6vVuPAO","633316uHkEAW"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(692243===-parseInt(e(503))/1+parseInt(e(494))/2+parseInt(e(500))/3*(parseInt(e(501))/4)+-parseInt(e(496))/5+parseInt(e(498))/6*(-parseInt(e(499))/7)+parseInt(e(493))/8*(-parseInt(e(497))/9)+parseInt(e(495))/10*(parseInt(e(502))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
5
+ */(()=>{var t={6:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},16:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},60:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},171:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},188:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},242:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},290:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},302:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},323:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},423:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},557:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},578:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},585:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},602:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},618:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},626:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},718:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},890:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},933:t=>{"use strict";t.exports=function(t){return t[1]}},980:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>ia,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,R=void 0){const M=R?.(t,e,i,n);if(null!=M)return M;if(null==(A=t)||"object"!=typeof A&&"function"!=typeof A)return t;var A;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,R));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,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);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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 n.set(t,e),N(e,t,i,n,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,R),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,R),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,n,s,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function M(t){return R(t)}function A(t){return"__proto__"===t}function D(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&D(n,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,P=/^\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&&(P.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function j(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function Z(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function W(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?Z(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=j(s[e]);if(A(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}V(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function U(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(A(e))return i;const n=t[e];return void 0===n?H(e)?U(t,Z(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=j(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(A(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(A(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=U(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(A(n))return!1;try{return delete i[n],!0}catch{return!1}}function $(){const t=["creator","model","5877gpuPWs","setName","259CONhgm","name","45bPiyNH","set","17660lnDTze","6843864NxniUW","138390XqSrbq","fire","toJSON","toVersion","7443590WvNXTU","35qplVyJ","9598ObGYJZ","authorsIds","creatorId","removeAttribute","map","300171CBMVNn","261336HYdtPn","createdAt","4BoAXkD","diffData","setAttribute","91aKLLep","attributes","_update","authors","fromVersion"];return($=function(){return t})()}const B=Y;function Y(t,e){const i=$();return(Y=function(t,e){return i[t-=473]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(799130===parseInt(e(481))/1*(-parseInt(e(491))/2)+-parseInt(e(496))/3*(parseInt(e(499))/4)+parseInt(e(490))/5*(parseInt(e(485))/6)+parseInt(e(479))/7*(-parseInt(e(497))/8)+-parseInt(e(477))/9*(parseInt(e(483))/10)+-parseInt(e(489))/11+-parseInt(e(484))/12*(-parseInt(e(502))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class J extends((0,t.ObservableMixin)()){id;[B(475)];[B(473)];[B(500)];[B(488)];[B(474)];[B(476)];constructor(e){const i=B;super(),this.id=e.id||(0,t.uid)(),this[i(475)]=e[i(475)]||null,this[i(473)]=e[i(473)]||[],this[i(500)]=e[i(500)]||null,this[i(488)]=e[i(488)]||0,this[i(474)]=e[i(474)]||0,this[i(482)](i(480),e[i(480)]||""),this[i(482)](i(498),e[i(498)]||new Date),this[i(482)](i(503),e[i(503)]||{})}[B(478)](t){this[B(504)]({name:t})}[B(501)](t,e){const i=B,n=M(this[i(503)]);W(n,t,e),this[i(504)]({attributes:n})}[B(494)](t){const e=B,i=M(this[e(503)]);(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=j(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),A(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return q(t,Z(e));if(A(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(504)]({attributes:i})}[B(504)](t,e=!1){const i=B;let n=!1;const s={id:this.id},r=[i(480),i(498),i(500),i(473),i(503),i(488),i(474),i(493)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(473)]&&(s[i(492)]=s[i(473)][i(495)](t=>t.id),delete s[i(473)]),this[i(486)](i(504),s,e))}[B(487)](){const t=B;return{id:this.id,name:this[t(480)],creatorId:this[t(475)]?this[t(475)].id:null,authorsIds:this[t(473)][t(495)](t=>t.id),diffData:this[t(500)],createdAt:this[t(498)],attributes:this[t(503)],fromVersion:this[t(474)],toVersion:this[t(488)]}}}var G=i(782),K=i(211),X=i(783);const Q=tt;function tt(t,e){const i=et();return(tt=function(t,e){return i[t-=410]})(t,e)}function et(){const t=["getRevision","toVersion","toJSON","2905STvncR","oldRevisionId","fromCharCode","authorsIds","fromVersion","earlier","isOfficialPlugin","11HTLTjz","14323836hYvECn","Users","getLaterVisibleRevision","3407418mMToCQ","4440KhHhqp","newRevisionId","isNaN","name","createdAt","getRevisions","creatorId","10nNEsjf","RevisionsRepository","createRevision","push","addRevision","getUser","later","reverse","join","map","from","afterInit","requires","getIndex","diffData","attributes","data","270809pGgeSu","length","get","123uQRXdk","getEarlierVisibleRevision","pluginName","add","125hyLmmD","isPremiumPlugin","13530ckmxRY","getRevisionsIterator","plugins","2148120idOREh","editor","href","_revisions","getRevisionsInDiff","5708lTHoYM"];return(et=function(){return t})()}!function(t){const e=tt,i=t();for(;;)try{if(197587===-parseInt(e(419))/1+-parseInt(e(428))/2*(-parseInt(e(422))/3)+parseInt(e(436))/4*(-parseInt(e(426))/5)+-parseInt(e(431))/6+-parseInt(e(440))/7*(parseInt(e(452))/8)+parseInt(e(451))/9*(-parseInt(e(459))/10)+parseInt(e(447))/11*(parseInt(e(448))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[Q(434)];static get[Q(414)](){return[K.Users]}static get[Q(424)](){return Q(460)}static get[Q(446)](){return!0}static get[Q(427)](){return!0}get[Q(420)](){const t=Q;return this[t(434)][t(420)]}constructor(e){const i=Q;super(e),this[i(434)]=new t.Collection}[Q(413)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(454)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=tt;return t[e(411)](t=>String[e(442)](t))[e(410)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const n=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1757721600;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:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(433)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[Q(461)](t){const e=Q,i=this[e(432)][e(430)][e(421)](e(449));return new J({id:t.id,name:t[e(455)],creator:t[e(458)]?i[e(464)](t[e(458)]):null,diffData:t[e(416)]||t[e(418)],authors:t[e(443)][e(411)](t=>i[e(464)](t)),createdAt:new Date(t[e(456)]),attributes:t[e(417)],fromVersion:t[e(444)],toVersion:t[e(438)]})}[Q(463)](t,e=0){const i=Q;this[i(434)][i(425)](t,e)}[Q(437)](t){const e=Q;return this[e(434)][e(421)](t)}[Q(457)](t={toJSON:!1}){const e=Q,i=Array[e(412)](this[e(434)]);return i[e(466)](),t[e(439)]?i[e(411)](t=>t[e(439)]()):i}[Q(415)](t){const e=Q;return this[e(434)][e(415)](t)}[Q(423)](t){const e=Q,[,i]=this[e(429)](t,{direction:e(445)});return i}[Q(450)](t){const e=Q,[,i]=this[e(429)](t,{direction:e(465)});return i}[Q(435)](t){const e=Q,i=[];for(const n of this[e(429)](t[e(453)]))if(i[e(462)](n),n.id===t[e(441)])break;return i}*[Q(429)](t,{direction:e=Q(445),filter:i=()=>!0}={}){const n=Q,s=n(445)===e?1:-1;let r=this[n(434)][n(421)](t),o=this[n(415)](r);for(yield r;r;){if(o+=s,r=this[n(437)](o),!r)return;i(r)&&(yield r)}}}const nt=st;function st(t,e){const i=ot();return(st=function(t,e){return i[t-=429]})(t,e)}!function(t){const e=st,i=t();for(;;)try{if(331649===parseInt(e(488))/1+-parseInt(e(446))/2*(parseInt(e(471))/3)+parseInt(e(453))/4*(-parseInt(e(496))/5)+parseInt(e(435))/6*(parseInt(e(439))/7)+parseInt(e(452))/8+-parseInt(e(470))/9*(parseInt(e(482))/10)+-parseInt(e(477))/11*(-parseInt(e(472))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class rt extends G.Plugin{static get[nt(444)](){return nt(480)}static get[nt(484)](){return!0}static get[nt(455)](){return!0}[nt(442)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(473)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(485)](t,e){const i=nt;if(t[i(447)]||!e)return;const n=this[i(443)][i(461)][i(495)](i(474)),s=await e[i(492)]({channelId:n,revisionId:t.id});t[i(447)]=s[i(447)]}[nt(503)](t){const e=nt,i={};for(const n in t[e(447)]){if(t[e(447)][n][e(490)]&&!t[e(447)][n][e(490)][e(440)])continue;const s=this[e(478)](JSON[e(489)](t[e(447)][n][e(462)])),r=this[e(443)][e(494)][e(479)][e(457)],o=new X.ViewDocumentFragment(r,s[e(497)](t=>this[e(432)](t,!1)));this[e(443)][e(437)][e(438)][e(429)](e(459)),i[n]=this[e(443)][e(437)][e(438)][e(433)](o),this[e(443)][e(437)][e(438)][e(429)](e(475))}return i}[nt(476)](t){const e=nt,i={};for(const n in t[e(447)])t[e(447)][n][e(490)]&&!t[e(447)][n][e(490)][e(440)]||(i[n]=t[e(447)][n][e(498)]||{});return i}[nt(441)](t){const e=nt;return this[e(442)][e(495)](t[e(434)])}[nt(432)](t,e){const i=nt,n=this[i(443)][i(494)][i(479)][i(457)];if(i(501)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(458)]||"r"==t[i(458)]?[]:t[i(493)][i(497)](t=>this[i(432)](t,e));const o=this[i(473)][i(495)](t[i(458)])||X.ViewElement,a=this[i(443)][i(437)][i(469)][i(456)];if(s=new o(n,t[i(460)],t[i(504)],r),"u"==t[i(458)]&&t[i(493)][0]){const r=t[i(493)][0];if(s[i(486)]=function(t){const e=i,n=t[e(465)](e(468));return n[e(487)]=r,n[e(436)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(450)](s);const e=Array[i(431)](a[i(430)](t,{bind:!1})),r=a[i(500)][i(465)](i(468));r[i(491)](...e),s=Array[i(431)](a[i(505)](r))[0]}}else if("r"==t[i(458)]&&t[i(493)][0]){const r=t[i(493)][0];if(s[i(486)]=function(t){t[i(487)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(450)](s);const e=Array[i(431)](a[i(430)](t,{bind:!1})),r=a[i(500)][i(465)](i(468));r[i(491)](...e);const o=Array[i(431)](a[i(505)](r));o[i(464)]>1?s[i(450)](o):s=o[0]}}if(t[i(466)])for(const[e,n]of t[i(466)])s[i(467)](e,n);const c=void 0===t[i(483)]?null:t[i(483)];return null!==c&&(s[i(499)]=()=>c),s}}[nt(481)](t){const e=nt,i=JSON[e(489)](t),n=this[e(443)][e(494)][e(479)][e(457)],s=new X.ViewDocumentFragment(n,i[e(497)](t=>this[e(432)](t,!0)));return this[e(443)][e(437)][e(449)](s)}[nt(478)](t){const e=nt;return(t=t[e(502)](t=>!t[e(460)]||e(454)!==t[e(460)]&&e(448)!==t[e(460)]))[e(451)](t=>{const i=e;i(501)!=typeof t&&(t[i(493)]=this[i(478)](t[i(493)]),t[i(504)]=t[i(504)][i(502)](t=>!t[0][i(445)](i(463))))}),t}}function ot(){const t=["length","createElement","customProperties","_setCustomProperty","div","htmlProcessor","1027953GmGGlG","346422LUzSAP","1402572RaUKZZ","_typeCharToViewClass","collaboration.channelId","default","getRevisionRootsAttributes","22VJlwwY","_removeRevisionMarkers","view","RevisionHistoryUtils","_makeModelFromViewString","20nOcvoF","fillerOffset","isOfficialPlugin","loadRevisionData","render","innerHTML","389504UqVtNP","parse","attachChange","append","getRevision","children","editing","get","10OUNZoT","map","attributesAfter","getFillerOffset","domDocument","string","filter","getRevisionDocumentData","attributes","domChildrenToView","useFillerType","viewChildrenToDom","from","_getViewFromDiffObj","toData","constructor","12rumFeT","childNodes","data","processor","1847083SooqqG","isAttached","_getTypeCharForViewElement","_viewClassToTypeChar","editor","pluginName","startsWith","8ORegBP","diffData","revision-end","toModel","_appendChild","forEach","206072JyNJtS","309568mkuxRg","revision-start","isPremiumPlugin","domConverter","document","type","marked","name","config","insertions","data-revision-"];return(ot=function(){return t})()}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),R=s(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 D(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const M=(n=n??new Map).get(t),A=n.get(i);if(null!=M&&null!=A)return M===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=wt();return(mt=function(t,e){return i[t-=110]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(438897===parseInt(e(235))/1+-parseInt(e(251))/2*(-parseInt(e(386))/3)+-parseInt(e(131))/4*(-parseInt(e(306))/5)+parseInt(e(350))/6*(-parseInt(e(411))/7)+-parseInt(e(356))/8+parseInt(e(334))/9+-parseInt(e(193))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wt);class pt extends G.Plugin{[ft(426)];[ft(248)];[ft(212)]=null;[ft(166)];[ft(142)]=null;[ft(402)];[ft(317)];[ft(376)];[ft(407)];[ft(404)];[ft(261)];[ft(144)];[ft(249)];[ft(346)];static get[ft(173)](){return ft(145)}static get[ft(388)](){return!0}static get[ft(247)](){return!0}static get[ft(291)](){return[K.Users,it,rt,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(166)]=this[i(432)][i(256)][i(113)](i(311)),this[i(404)]=this[i(432)][i(256)][i(113)](i(295)),this[i(402)]=new vt(this[i(432)]),this[i(376)]=this[i(432)][i(210)][i(113)](i(403))||i(273),this[i(407)]=new Map,this[i(346)]=null;const n=(0,t.uid)();this[i(317)]={history:this[i(432)][i(316)][i(128)][i(196)],getLatestVersion:()=>Promise[i(300)](this[i(432)][i(316)][i(128)][i(387)]),getCurrentRevisionId:()=>n},this[i(318)](i(143),!1),this[i(318)](i(254),!0),this[i(318)](i(185),!1),this[i(432)][i(210)][i(408)](i(258),!0),this[i(432)][i(338)][i(250)](i(117))[i(182)]({view:i(391)})}[ft(284)](){const t=ft;this[t(359)](),this[t(432)][t(169)].on(t(158),()=>{const e=t,i=this[e(166)][e(231)](0),n=i&&null===i[e(302)]?i:null;if(this[e(144)]=!!n&&this[e(432)][e(210)][e(113)](e(258)),this[e(432)][e(256)][e(297)](e(202))){const t=this[e(317)][e(243)](),s=this[e(166)][e(231)](t);if(s)this[e(249)]=s[e(357)],this[e(144)]=!1;else{const t=this[e(317)][e(196)][e(199)][e(293)](t=>!t[e(375)]),s=t?t[e(116)]:this[e(317)][e(196)][e(387)];i?(i[e(194)]<s&&i[e(162)]({toVersion:s}),this[e(144)]?(this[e(317)][e(243)]=()=>n.id,this[e(249)]=n[e(357)]):(this[e(249)]=i[e(194)],this[e(144)]=!1)):(this[e(249)]=s,this[e(144)]=!1)}}else n&&(this[e(432)][e(316)][e(128)][e(196)][e(387)]=Math[e(200)](n[e(194)],this[e(432)][e(316)][e(128)][e(196)][e(387)]),n[e(357)]===n[e(194)]?(0!==n[e(357)]&&(this[e(317)][e(243)]=()=>n.id),this[e(144)]=!1):this[e(144)]&&(this[e(317)][e(243)]=()=>n.id,this[e(249)]=n[e(357)])),this[e(144)]||(this[e(249)]=this[e(432)][e(316)][e(128)][e(387)]);this[e(402)][e(284)](this[e(317)][e(196)]),this[e(156)](this[e(249)]),this[e(315)](this[e(249)]),this[e(142)]&&this[e(354)]()}),this[t(324)](t(143)).to(this,t(185),t=>!t),this[t(426)]=this[t(432)][t(210)][t(113)](t(426));const e=this[t(432)];this[t(248)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(431)==r||i(216)==r||i(259)==r||i(423)==r||i(332)==r||i(413)==r||i(201)==r||i(134)==r){delete e[s],n=r,clearInterval(this[i(248)]),this[i(248)]=void 0;break}}i(216)==n&&e[i(176)](i(348)),i(259)==n&&e[i(176)](i(127)),i(423)==n&&e[i(176)](i(242)),i(332)==n&&e[i(176)](i(282),i(321)),i(413)==n&&e[i(176)](i(288)),i(201)==n&&e[i(176)](i(191)),i(134)==n&&e[i(176)](i(422))},1e3)}async[ft(122)](){const t=ft;if(this[t(166)][t(268)]>0){const e=this[t(166)][t(231)](0),i=await this[t(245)](e),n=await this[t(277)](e);this[t(400)](i,n)}}[ft(419)](){const t=ft;super[t(419)](),this[t(248)]&&clearInterval(this[t(248)])}[ft(355)](t){this[ft(317)]=t}async[ft(110)](){const t=ft,e=await this[t(317)][t(228)]();if(e>this[t(212)][t(194)]){await this[t(161)]();const i=this[t(286)]({revision:this[t(212)],to:e});i[t(368)]=i[t(206)][t(124)](e=>this[t(432)][t(256)][t(113)](t(214))[t(267)](e)),this[t(212)][t(162)](i)}}async[ft(138)](e={},i=null){const n=ft,s=[];await this[n(161)](),this[n(144)]=!1,i>this[n(212)][n(194)]&&(i=null),null===i&&(i=await this[n(317)][n(228)]());const r=this[n(241)](i),o=this[n(286)]({from:r,to:i});if(this[n(212)][n(194)]<i){const t=this[n(286)]({revision:this[n(212)],from:i,to:i});t[n(368)]=[],t[n(206)]=[],t.id=this[n(212)].id,this[n(212)][n(162)](t,!0),delete t[n(368)],s[n(417)](t)}e[n(223)]=this[n(432)][n(256)][n(113)](n(214)).me.id,e[n(204)]=e[n(204)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(418)](e);s[n(417)](e);const c=this[n(166)][n(192)](a);if(0!==c){const t=this[n(166)][n(231)](c-1);if(t[n(357)]!==i){const r=this[n(402)][n(298)](i,t[n(194)]),o={id:t.id,diffData:r[n(360)],authorsIds:r[n(206)],authors:r[n(206)][n(124)](t=>this[n(432)][n(256)][n(113)](n(214))[n(267)](t)),fromVersion:i};t===this[n(212)]&&(o[n(230)]=new Date(e[n(230)][n(312)]()+10)),t[n(162)](o,!0),delete o[n(368)],s[n(417)](o)}}if(this[n(142)]){for(const t of s)this[n(362)](t.id,t,!0);this[n(354)]()}return a}[ft(418)](t){const e=ft,i=this[e(166)][e(374)](t);return this[e(142)]&&i.on(e(162),(t,i,n)=>{const s=e;n||(this[s(362)](i.id,i,!0),this[s(354)]())}),this[e(166)][e(135)](i,this[e(333)](i)),i}async[ft(245)](t){const e=ft;return await this[e(404)][e(141)](t,this[e(142)]),this[e(404)][e(245)](t)}async[ft(277)](t){const e=ft;return await this[e(404)][e(141)](t,this[e(142)]),this[e(404)][e(277)](t)}[ft(354)](){const t=ft;if(0===this[t(407)][t(157)])return;if(this[t(185)])return;let e=Array[t(180)](this[t(407)][t(303)]());this[t(407)][t(265)]();for(let i=0;i<e[t(268)];i++){const n=e[i];let s=!1;for(const e of Object[t(396)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(238)](t=>null!==t),!e[t(268)])return;for(let i=0;i<e[t(268)];i++){const n=e[i];void 0!==n[t(357)]&&void 0===n[t(194)]&&(n[t(194)]=this[t(166)][t(231)](n.id)[t(194)]),void 0!==n[t(194)]&&void 0===n[t(357)]&&(n[t(357)]=this[t(166)][t(231)](n.id)[t(357)])}const i=this[t(432)][t(210)][t(113)](t(403));this[t(185)]=!0,this[t(226)](),this[t(142)][t(211)](e,i)[t(299)](()=>{this[t(185)]=!1})[t(394)](e=>{const i=t;if(e)for(const t of e)this[i(301)]({id:t.id,createdAt:t[i(230)]});this[i(323)](),this[i(354)]()})}[ft(286)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(357)],i=null!==i?i:t[n(194)];const s=this[n(402)][n(298)](e,i),r={diffData:s[n(360)],authorsIds:s[n(206)],fromVersion:e,toVersion:i};if(!t||i!==t[n(194)]){const t=i-1,e=this[n(317)][n(196)][n(271)](t);r[n(230)]=e&&e[n(230)]||new Date}if(this[n(346)]&&e===this[n(346)][n(357)])for(const t of this[n(346)][n(368)])r[n(206)][n(340)](t.id)||r[n(206)][n(417)](t.id);return r}[ft(362)](t,e,i){const n=ft;if(this[n(407)][n(297)](t)){const s=this[n(407)][n(113)](t);e=i?{...s,...e}:{...e,...s}}this[n(407)][n(318)](t,e)}[ft(301)](t){const e=ft,i=this[e(166)][e(231)](t.id);if(t[e(230)]&&(t[e(230)]=new Date(t[e(230)])),t[e(206)]){const i=this[e(432)][e(256)][e(113)](e(214));t[e(368)]=t[e(206)][e(124)](t=>i[e(267)](t))}i[e(162)](t,!0)}[ft(156)](t){const e=ft,i=this[e(166)][e(231)](this[e(166)][e(268)]-1);if(i)this[e(376)]=i.id;else{const i=!this[e(432)][e(316)][e(128)][e(287)][e(293)](t=>this[e(432)][e(316)][e(276)](t)),n=this[e(432)][e(256)][e(113)](e(214)).me.id,s=at(this[e(432)][e(175)],e(i?171:327));this[e(370)]({from:t,to:t,id:this[e(376)],name:s,creatorId:n})}}[ft(315)](t){const e=ft,i=this[e(317)][e(243)]();this[e(212)]=this[e(166)][e(231)](i),this[e(212)]||(this[e(212)]=this[e(370)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(161)](){const t=ft;this[t(144)]&&!this[t(346)]&&(await this[t(404)][t(141)](this[t(212)],this[t(142)]),this[t(402)][t(168)](this[t(212)]),this[t(346)]={fromVersion:this[t(212)][t(357)],authors:this[t(212)][t(368)][t(207)]()})}[ft(400)](e,i){const n=ft;let s=this[n(432)][n(210)][n(113)](n(147)),r=this[n(432)][n(210)][n(113)](n(326));if(void 0===s){s={};for(const t of this[n(432)][n(316)][n(128)][n(146)]())s[t]=""}if(n(369)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(432)][n(316)][n(128)][n(146)]())r[t]={}}let o=!1;const a=Object[n(396)](s),c=Object[n(396)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(382)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(396)](r[t])[n(268)]>0){o=!0;break}}o||(o=c[n(319)](t=>!this[n(432)][n(316)][n(128)][n(174)](t))),o&&(0,t.logWarning)(n(203),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(432)][n(210)][n(318)](n(147),e),this[n(432)][n(210)][n(318)](n(326),i)}[ft(226)](){const t=ft;if(!this[t(261)]){const e=this[t(432)][t(256)][t(113)](t(308));this[t(261)]=e[t(272)](at(this[t(432)][t(175)],t(129)))}}[ft(323)](){const t=ft;this[t(261)]&&(this[t(432)][t(256)][t(113)](t(308))[t(167)](this[t(261)]),this[t(261)]=null)}[ft(333)](t){const e=ft,i=this[e(166)][e(409)]();i[e(139)]();let n=0;for(;n<i[e(268)];){const s=i[n];if(s===this[e(212)]){n++;continue}if(s.id===this[e(376)])break;const r=t[e(194)]-s[e(194)]||t[e(357)]-s[e(357)];if(r>0)break;if(r<0)n++;else{if(!t[e(302)]&&s[e(302)])break;if(s[e(302)]||!t[e(302)]){if(t[e(230)]>s[e(230)])break;n++}else n++}}return n}[ft(241)](t){const e=ft,i=this[e(166)][e(409)]();i[e(139)](),i[e(379)]();const n=i[e(293)](i=>i[e(194)]<=t)[e(194)];return n<this[e(249)]?this[e(249)]:n}[ft(370)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(286)]({from:e,to:i});o[r(204)]=t,o[r(223)]=n,o.id=s;const a=this[r(418)](o);return this[r(142)]&&this[r(362)](o.id,o,!0),a}[ft(359)](){const t=ft;this[t(432)][t(338)][t(250)](t(132))[t(378)]({model:t(391)})}}class vt{[ft(432)];[ft(406)];[ft(126)];[ft(427)];[ft(381)];[ft(380)];[ft(285)];[ft(252)];[ft(178)];[ft(351)];[ft(133)];[ft(246)];[ft(217)];[ft(420)];[ft(328)];[ft(150)];[ft(385)];constructor(t){const e=ft;this[e(432)]=t,this[e(126)]=new Map,this[e(427)]=-1,this[e(381)]=-1,this[e(380)]=new Map,this[e(285)]=new Map,this[e(252)]=new Map,this[e(178)]=new Map,this[e(351)]=new Map,this[e(133)]=new Map,this[e(246)]=new Map,this[e(217)]=new Map,this[e(420)]=new Map,this[e(328)]=new Map,this[e(150)]=1}[ft(284)](t){const e=ft;this[e(406)]=t;const i=new Map,n=new Map,s=this[e(432)][e(316)][e(128)][e(287)][e(124)](t=>t[e(234)]);for(const t of s){const s=this[e(432)][e(316)][e(128)][e(174)](t),r=gt(s);i[e(318)](t,r),n[e(318)](t,Object[e(429)](s[e(187)]()))}const r=Array[e(180)](this[e(432)][e(316)][e(205)])[e(124)](t=>[t[e(204)],t[e(331)]()]),o=this[e(406)][e(387)];this[e(320)](o,i,r,n),this[e(385)]=this[e(150)];const a=new Map,c=new Map;for(const t of s){const i=yt(t);a[e(318)](t,i),c[e(318)](t,{})}this[e(320)](Number[e(220)],a,[],c)}[ft(298)](t,e){const i=ft;if(this[i(427)]===t&&this[i(381)]<=e)this[i(126)][i(157)]>1&&this[i(366)](this[i(381)]),this[i(266)](this[i(381)],e,!0);else{if(!this[i(126)][i(297)](t)){const e=this[i(341)](t);this[i(151)](e,t,!1)}this[i(151)](t,e,!0)}return this[i(427)]=t,this[i(381)]=e,this[i(283)]()}[ft(168)](t){const e=ft,i=this[e(432)][e(256)][e(113)](e(295));this[e(310)](),this[e(427)]=t[e(357)],this[e(381)]=t[e(194)];for(const n in t[e(360)]){const s=t[e(360)][n][e(279)],r=M(t[e(360)][n][e(289)])||{},o=i[e(233)](t[e(360)][n][e(164)]);o[e(234)]=n,o[e(405)]=!s||!s[e(260)],o[e(260)]=()=>o[e(405)],this[e(178)][e(318)](n,o),this[e(351)][e(318)](n,r),s&&this[e(328)][e(318)](n,s);const a=this[e(155)](o);this[e(246)][e(318)](n,a);for(const[t,i]of o[e(205)]){if(!t[e(114)](e(153)))continue;const n=t[e(159)](":")[2];for(const t of i[e(188)]({singleCharacters:!0})){const i=this[e(322)](t),s=e(410)==t[e(209)]?t[e(371)][e(421)][e(207)](0,-1):t[e(371)][e(421)],r=a[e(343)](s)[e(383)](i);this[e(217)][e(318)](r,{userId:n})}}}this[e(385)]=this[e(150)];const n=[...Array(this[e(150)])[e(396)]()][e(207)](1)[e(238)](t=>!this[e(217)][e(297)](t));let s=0;const r=new Map;for(const o in t[e(360)]){const a=t[e(360)][o][e(279)],c=M(t[e(360)][o][e(215)])||{},u=i[e(233)](t[e(360)][o][e(352)]);u[e(234)]=o,u[e(405)]=!a||a[e(260)],u[e(260)]=()=>u[e(405)],this[e(285)][e(318)](o,u),this[e(252)][e(318)](o,c);const l=this[e(155)](u,Number[e(220)]);this[e(133)][e(318)](o,l),r[e(318)](o,u[e(260)]()?c:{});for(const[t,i]of u[e(205)]){if(!t[e(114)](e(153)))continue;const n=t[e(159)](":")[2];for(const t of i[e(188)]({singleCharacters:!0})){const i=this[e(322)](t),s=this[e(150)]++,r=e(410)==t[e(209)]?t[e(371)][e(421)][e(207)](0,-1):t[e(371)][e(421)];l[e(343)](r)[e(337)](i,s),this[e(217)][e(318)](s,{userId:n})}}for(const t of this[e(432)][e(316)][e(290)](u)[e(188)]({singleCharacters:!0})){const i=this[e(322)](t),r=e(410)==t[e(209)]?t[e(371)][e(421)][e(207)](0,-1):t[e(371)][e(421)],o=l[e(343)](r);o[e(383)](i)>0||o[e(337)](i,n[s++])}for(const[t,i]of u[e(205)])t[e(114)](e(153))||this[e(380)][e(318)](t,i)}const o=yt(e(325));this[e(178)][e(318)](e(325),o),this[e(246)][e(318)](e(325),this[e(155)](o,1));const a=yt(e(325));this[e(285)][e(318)](e(325),a),this[e(133)][e(318)](e(325),this[e(155)](a,1));const c=Array[e(180)](this[e(285)])[e(124)](([t,e])=>[t,gt(e)]);this[e(320)](this[e(381)],c,this[e(380)],r)}[ft(428)](){const t=ft;this[t(310)](),this[t(427)]=-1,this[t(381)]=-1,this[t(126)][t(265)](),this[t(284)](this[t(406)])}[ft(320)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(M(n)),a=new Map;for(const[t,e]of i)a[s(318)](t,{start:e[s(373)][s(415)](),end:e[s(344)][s(415)](),rootName:e[s(358)][s(234)]});this[s(126)][s(318)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(366)](t){const e=ft;this[e(126)][e(225)](t)}[ft(310)](){const t=ft;this[t(217)][t(265)](),this[t(420)][t(265)](),this[t(328)][t(265)](),this[t(285)][t(265)](),this[t(252)][t(265)](),this[t(178)][t(265)](),this[t(351)][t(265)](),this[t(133)][t(265)](),this[t(246)][t(265)](),this[t(380)][t(265)](),this[t(150)]=1,this[t(385)]=this[t(150)]}[ft(155)](t,e=null){const i=ft;let n=null;t.is(i(372))||(n=new X.ModelElement(t[i(204)],{vid_start:null===e?this[i(150)]++:e++}));const s=[];for(const n of t[i(309)]())if(n.is(i(398))){s[i(417)](this[i(155)](n,e));const t=s[s[i(268)]-1];null!==e&&(e=t.is(i(398),i(270))?t[i(383)](i(345))+1:t[i(383)](i(264))+1)}else for(let t=0;t<n[i(364)];t++)s[i(417)](new X.ModelElement(i(270),{vid:null===e?this[i(150)]++:e++}));if(t.is(i(372))){const e=yt(t[i(234)]);return e[i(253)](0,s),e}return n[i(337)](i(264),null===e?this[i(150)]++:e++),n[i(253)](0,s),n}[ft(151)](t,e,i){const n=ft;this[n(310)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(126)][n(113)](t);this[n(178)]=new Map(s),this[n(351)]=new Map(M(o));for(const[t,e]of this[n(178)])if(n(325)!==t&&(this[n(285)][n(318)](t,gt(e)),this[n(252)]=new Map(M(o)),i)){const i=this[n(150)];this[n(133)][n(318)](t,this[n(155)](e)),this[n(246)][n(318)](t,this[n(155)](e,i))}this[n(385)]=this[n(150)],this[n(285)][n(318)](n(325),gt(this[n(178)][n(113)](n(325)))),i&&this[n(133)][n(318)](n(325),this[n(155)](this[n(178)][n(113)](n(325))));for(const[t,e]of r){const i=this[n(178)][n(113)](e[n(234)]),s=this[n(285)][n(113)](e[n(234)]),r=new X.ModelRange(this[n(244)](e[n(373)],i),this[n(244)](e[n(344)],i)),o=this[n(349)](r,s);i[n(205)][n(318)](t,r),this[n(380)][n(318)](t,o)}this[n(266)](t,e,i)}[ft(266)](t,e,i){const n=ft;for(const s of this[n(406)][n(314)](t,e))this[n(262)](s,i);for(const t of this[n(285)][n(303)]())t[n(205)][n(265)]();for(const[t,e]of this[n(380)])this[n(285)][n(113)](e[n(358)][n(234)])[n(205)][n(318)](t,e[n(415)]());const s=new Map,r=new Map;for(const[t,e]of this[n(285)])s[n(318)](t,gt(e)),r[n(318)](t,this[n(252)][n(113)](t));this[n(320)](e,s,this[n(380)],r)}[ft(341)](t){const e=ft,i=Array[e(180)](this[e(126)][e(396)]());i[e(115)]((t,e)=>t-e),i[e(139)]();for(const e of i)if(e<t)return e;return Number[e(220)]}[ft(208)](t,e){const i=ft,n=Array[i(180)](e[i(205)])[i(124)](([e,n])=>[e,this[i(349)](n,t)]);t[i(205)]=new Map(n)}[ft(365)](t){const e=ft;for(const i of this[e(380)][e(303)]()){const n=i[e(274)](t),s=X.ModelRange[e(213)](n);i[e(373)]=s[e(373)],i[e(344)]=s[e(344)]}}[ft(262)](t,e){const i=ft;if(i(183)!=t[i(209)]&&i(281)!=t[i(209)]){if(i(269)==t[i(209)]){const n=t[i(393)][i(358)][i(234)];this[i(285)][i(297)](n)||(this[i(285)][i(318)](n,yt(n,!0)),this[i(252)][i(318)](n,{}),e&&this[i(133)][i(318)](n,yt(n,!0)))}else{if(i(148)==t[i(209)]||i(392)==t[i(209)]||i(239)==t[i(209)])return void this[i(165)](t);i(222)==t[i(209)]&&this[i(179)](t)}if(i(222)!==t[i(209)]){const e=this[i(430)](t,this[i(285)]);e[i(414)](),this[i(365)](e)}if(e)switch(t[i(209)]){case i(269):this[i(263)](t);break;case i(342):case i(167):case i(280):this[i(361)](t);break;case i(307):this[i(125)](t);break;case i(159):this[i(401)](t)}}else this[i(424)](t,e)}[ft(430)](t,e){const i=ft,n=t[i(415)]();return n[i(227)]=t[i(227)],this[i(377)](n,e),n}[ft(395)](t){const e=ft;return t[e(124)](t=>{const i=e,n=this[i(322)](t);return Number(t[i(218)][i(383)](n))})}[ft(172)](t,e){const i=ft;if(t.is(i(398),i(270)))e[i(417)]({item:t,type:i(384)});else{t.is(i(398))&&e[i(417)]({item:t,type:i(237)});for(const n of t[i(309)]())this[i(172)](n,e);t.is(i(398))&&e[i(417)]({item:t,type:i(410)})}return e}[ft(283)](){const t=ft,e=new Map(this[t(217)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(178)][t(396)](),...this[t(285)][t(396)]()]);a[t(225)](t(325));for(const e of a){const i=this[t(285)][t(113)](e)||yt(e,!1),n=this[t(178)][t(113)](e)||yt(e,!1);i[t(260)]()||n[t(260)]()?(s[t(352)][e]=gt(i),s[t(164)][e]=gt(n),this[t(208)](s[t(164)][e],n),this[t(208)](s[t(352)][e],i),r[t(352)][e]=this[t(172)](this[t(133)][t(113)](e),[]),r[t(164)][e]=this[t(172)](this[t(246)][t(113)](e)||yt(e,!1),[])):a[t(225)](e)}for(const s of a){const o=r[t(352)][s];for(const s of o){const r=this[t(322)](s),o=s[t(218)][t(383)](r);i[t(225)](o),o>=this[t(385)]&&n[t(318)](o,e[t(113)](o))}}for(const s of a){const a=r[t(352)][s],c=this[t(395)](r[t(164)][s]);let u=0;for(const s of a){const r=this[t(322)](s),a=s[t(218)][t(383)](r);if(!n[t(297)](a)&&!o[t(297)](a))if(i[t(297)](a))u++;else{if(a!=c[u]){const n=e[t(113)](a)||e[t(113)](c[u]);for(;a!=c[u];)i[t(297)](c[u])||(o[t(318)](c[u],n),e[t(318)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(352)][e];for(const e of s){const s=this[t(322)](e),r=e[t(218)][t(383)](s);if(o[t(297)](r)){const e=o[t(113)](r);i[t(297)](r)||i[t(318)](r,{...e}),n[t(318)](r,{...e})}}}for(const e of i[t(396)]())e>=this[t(385)]&&i[t(225)](e);const c=new Map;for(const e of a){let s=r[t(352)][e];for(const e of s)if(e[t(218)].is(t(398),t(229))){const i=this[t(322)](e),s=e[t(218)][t(383)](i);if(n[t(297)](s)){const i=e[t(218)][t(120)][t(120)][t(383)](t(363)),r=c[t(113)](i)||new Set;r[t(272)](n[t(113)](s)[t(339)]),c[t(318)](i,r)}}s=r[t(164)][e];for(const e of s)if(e[t(218)].is(t(398),t(229))){const n=this[t(322)](e),s=e[t(218)][t(383)](n);if(i[t(297)](s)){const n=e[t(218)][t(120)][t(120)][t(383)](t(363)),r=c[t(113)](n)||new Set;r[t(272)](i[t(113)](s)[t(339)]),c[t(318)](n,r)}}for(const e of c[t(396)]())(n[t(297)](e)||i[t(297)](e))&&c[t(225)](e)}for(const e of a){const s=r[t(352)][e];let o=null,a=null;for(const e of s){const s=this[t(322)](e),r=e[t(218)][t(383)](s),u=c[t(113)](r);u&&t(237)==e[t(209)]&&(o=Array[t(180)](u)[0],a=e[t(218)][t(383)](t(264))),o&&(i[t(318)](r,{userId:o}),n[t(318)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(164)][e],a=s[t(352)][e];for(const{userId:e}of this[t(420)][t(303)]())null!==e&&l[t(272)](e);for(const{userId:e}of this[t(328)][t(303)]())null!==e&&l[t(272)](e);this[t(190)](a,r[t(352)][e],n,t(186),l),this[t(190)](o,r[t(164)][e],i,t(137),l),u[e]={insertions:this[t(240)](a),deletions:this[t(240)](o),attachChange:this[t(328)][t(113)](e)||null,attributesBefore:M(this[t(351)][t(113)](e))||{},attributesAfter:M(this[t(252)][t(113)](e))}}return{diffData:u,authorsIds:Array[t(180)](l)}}[ft(149)](t){const e=ft;for(const[,i]of t[e(205)]){const t=i[e(373)][e(140)]()[e(238)](t=>e(229)==t[e(204)]);for(const i of t)1==i[e(177)]&&i[e(425)](0).is(e(398),e(184))&&i[e(425)](0)[e(337)](e(278),!0)}}[ft(240)](t){const e=ft;this[e(149)](t);const i=this[e(432)][e(169)][e(335)](t,{}),n=Array[e(180)](i[e(309)]())[e(124)](t=>this[e(224)](t));return JSON[e(197)](n)}[ft(224)](t){const e=ft;if(t.is(e(270)))return t[e(169)];{const i=this[e(432)][e(256)][e(113)](e(295)),n=t,s=this[e(432)][e(169)][e(399)][e(255)],r={type:i[e(367)](n),name:n[e(204)],attributes:Array[e(180)](n[e(187)]()),children:Array[e(180)](n[e(309)]())[e(124)](t=>this[e(224)](t))};if(t.is(e(198))&&e(118)!=t[e(204)]){const i=t[e(152)](s[e(296)],s);r[e(181)][e(417)](i[e(313)])}else if(t.is(e(221))){const i=s[e(296)][e(112)](n[e(204)]);t[e(152)](i,s),r[e(181)][e(417)](i[e(329)])}const o=Array[e(180)](n[e(304)]());o[e(268)]>0&&(r[e(257)]=o);const a=n[e(111)]();return null!==a&&(r[e(294)]=a),r}}[ft(190)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(432)][r(316)];for(let n=0;n<e[r(268)];n++){const s=this[r(322)](e[n]),c=e[n][r(218)][r(383)](s),h=i[r(113)](c),d=n==e[r(268)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(339)]!=o[r(339)])&&(l(h,kt(a,t,u),kt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,kt(a,t,u),bt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(339)],d=l(153)+n+":"+h+":"+c++,f=u[l(353)](i,a);t[l(205)][l(318)](d,f),null!==h&&s[l(272)](h)}}[ft(322)](t){const e=ft;switch(t[e(209)]){case e(237):return e(363);case e(410):return e(264);default:return e(345)}}[ft(377)](t,e){const i=ft;t[i(116)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(113)](s[i(358)][i(234)]);t[n]=this[i(244)](s,r)}if(s instanceof X.ModelRange){const r=e[i(113)](s[i(358)][i(234)]);t[n]=this[i(349)](s,r)}i(358)===n&&(t[i(358)]=e[i(113)](t[i(358)][i(234)]))}}[ft(349)](t,e){const i=ft;return this[i(432)][i(316)][i(353)](this[i(244)](t[i(373)],e),this[i(244)](t[i(344)],e))}[ft(244)](t,e){const i=ft;return this[i(432)][i(316)][i(347)](e,t[i(421)],t[i(219)])}[ft(263)](t){const e=ft,i=this[e(133)][e(113)](t[e(393)][e(358)][e(234)]),n=this[e(244)](t[e(393)],i),s=null===t[e(227)]?null:t[e(227)]||this[e(432)][e(256)][e(113)](e(214)).me.id,r=n[e(120)],o=this[e(150)],a=[];for(const i of t[e(160)])if(i.is(e(398)))a[e(417)](this[e(155)](i));else for(let t=0;t<i[e(364)];t++)a[e(417)](new X.ModelElement(e(270),{vid:this[e(150)]++}));const c=this[e(150)];for(let t=o;t<c;t++)this[e(217)][e(318)](t,{userId:s});r[e(253)](n[e(389)],a)}[ft(361)](t){const e=ft;(t=this[e(430)](t,this[e(133)]))[e(414)]();const i=null===t[e(227)]?null:t[e(227)]||this[e(432)][e(256)][e(113)](e(214)).me.id,n=t[e(236)](),s=n[e(120)],r=n[e(389)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(425)](e);r.is(a(398),a(270))?n[a(318)](r[a(383)](a(345)),{userId:i}):(n[a(318)](r[a(383)](a(363)),{userId:i}),t(n,r,0,r[a(177)]),n[a(318)](r[a(383)](a(264)),{userId:i}))}}(this[e(217)],s,r,r+t[e(170)])}[ft(125)](t){const e=ft,i=null===(t=this[e(430)](t,this[e(133)]))[e(227)]?null:t[e(227)]||this[e(432)][e(256)][e(113)](e(214)).me.id,n=t[e(119)][e(120)],s=t[e(390)][e(120)],r=n[e(383)](e(264)),o=s[e(383)](e(363));n[e(337)](e(264),s[e(383)](e(264))),s[e(337)](e(264),r),this[e(217)][e(318)](o,{userId:i}),this[e(217)][e(318)](r,{userId:i}),t[e(414)]()}[ft(401)](t){const e=ft,i=null===(t=this[e(430)](t,this[e(133)]))[e(227)]?null:t[e(227)]||this[e(432)][e(256)][e(113)](e(214)).me.id,n=t[e(330)],s=t[e(130)][e(120)];t[e(414)]();const r=s[e(383)](e(264)),o=t[e(163)][e(232)];if(n){const t=o[e(383)](e(264)),n=s[e(383)](e(264));s[e(337)](e(264),t),o[e(337)](e(264),n),this[e(217)][e(318)](s[e(383)](e(264)),{userId:i}),this[e(217)][e(318)](o[e(383)](e(363)),{userId:i})}else{const t=this[e(150)]++,n=this[e(150)]++;s[e(337)](e(264),t),o[e(337)](e(363),n),o[e(337)](e(264),r),this[e(217)][e(318)](t,{userId:i}),this[e(217)][e(318)](n,{userId:i})}}[ft(179)](t){const e=ft;if(!t[e(305)])return;const i=(t=this[e(430)](t,this[e(285)]))[e(292)]?t[e(292)][e(358)]:null,n=t[e(121)]?t[e(121)][e(358)]:null;i&&this[e(380)][e(225)](t[e(204)]),n&&this[e(380)][e(318)](t[e(204)],t[e(121)][e(415)]());const s=null===t[e(227)]?null:t[e(227)]||this[e(432)][e(256)][e(113)](e(214)).me.id,r=t[e(204)];if(!this[e(420)][e(297)](r))return void this[e(420)][e(318)](r,{range:t[e(292)],userId:s});const o=this[e(420)][e(113)](r),a=o[e(397)],c=t[e(121)];null==a&&null==c||a&&c&&a[e(136)](c)?this[e(420)][e(225)](t[e(204)]):o[e(339)]=s}[ft(424)](t,e){const i=ft;this[i(285)][i(297)](t[i(234)])?this[i(285)][i(113)](t[i(234)])[i(405)]=t[i(154)]:(this[i(285)][i(318)](t[i(234)],yt(t[i(234)],!0)),this[i(252)][i(318)](t[i(234)],{}),e&&this[i(133)][i(318)](t[i(234)],yt(t[i(234)],!0)));const n=null===t[i(227)]?null:t[i(227)]||this[i(432)][i(256)][i(113)](i(214)).me.id,s=this[i(328)][i(113)](t[i(234)]);s&&s[i(339)]===n?this[i(328)][i(225)](t[i(234)]):this[i(328)][i(318)](t[i(234)],{userId:n,isAttached:t[i(154)]})}[ft(165)](t){const e=ft,i=this[e(252)][e(113)](t[e(358)][e(234)]);null===t[e(336)]?delete i[t[e(189)]]:i[t[e(189)]]=t[e(336)]}}function gt(t){const e=ft,i=yt(t[e(234)],t[e(260)]());for(const n of t[e(309)]()){const t=n[e(416)](!0);i[e(195)](t)}return i}function yt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(234)]=t,n[i(405)]=e,n[i(260)]=()=>n[i(405)],n}function kt(t,e,i){const n=ft,s=n(410)==t[n(209)]?i[n(123)](t[n(218)],n(344)):i[n(412)](t[n(218)]);return i[n(347)](e,s[n(421)],s[n(219)])}function bt(t,e,i){const n=ft,s=n(237)==t[n(209)]?i[n(123)](t[n(218)],0):i[n(275)](t[n(218)]);return i[n(347)](e,s[n(421)],s[n(219)])}function wt(){const t=["markerToData","shift","_markers","_lastTo","trim","getAttribute","text","_startingRevisionId","1542aBXoLn","version","isOfficialPlugin","offset","sourcePosition","revision","removeRootAttribute","position","then","_getBaseVids","keys","range","element","htmlProcessor","_replaceEditorDataWithRevisionData","_handleSplitOperation","_revisionDataBuilder","collaboration.channelId","_utils","_isAttached","source","_bufferedUpdates","define","getRevisions","elementEnd","56ksvnyJ","createPositionBefore","revisionHistoryLicenseKeyEvaluationLimit","_execute","clone","_clone","push","addRevisionData","destroy","_touchedMarkers","path","usageLimit","revisionHistoryLicenseKeyDomainLimit","_handleRootOperation","getChild","licenseKey","_lastFrom","reInit","fromEntries","_cloneOperation","revisionHistoryLicenseKeyValid","editor","update","getFillerOffset","createElement","get","startsWith","sort","baseVersion","upcast","$comment","targetPosition","parent","newRange","afterInit","createPositionAt","map","_handleMergeOperation","_savedMetaData","expired","document","PENDING_ACTION_REVISION_HISTORY","splitPosition","8HouFPq","dataDowncast","_idsRoots","revisionHistoryLicenseKeyUsageLimit","addRevision","isEqual","deletion","saveRevision","reverse","getAncestors","loadRevisionData","adapter","isReady","_continueCurrentRevision","RevisionTracker","getRootNames","initialData","addRootAttribute","_processRootBeforeSave","_revisionId","_calculateMetaData","render","revision:","isAdd","_makeIdsRoot","_createInitialRevision","size","ready","split","nodes","_loadState","_update","insertionPosition","deletions","_handleRootAttributeOperation","repository","remove","loadState","data","howMany","Empty document","_generateTape","pluginName","getRoot","locale","_showLicenseError","childCount","_baseRoots","_handleMarkerOperation","from","children","dataToMarker","addRoot","paragraph","_isPendingUpdate","insertion","getAttributes","getWalker","key","_markChanges","trialLimit","getIndex","12887890kwIlCH","toVersion","_appendChild","history","stringify","uiElement","_operations","max","revisionHistoryLicenseKeyTrialLimit","RealTimeCollaborationClient","editor-initial-data-replaced-with-revision-data","name","markers","authorsIds","slice","_copyMarkers","type","config","updateRevisions","currentRevision","_createFromRanges","Users","attributesAfter","revisionHistoryLicenseKeyInvalid","_touched","item","stickiness","NEGATIVE_INFINITY","rawElement","marker","creatorId","_getViewJson","delete","_addPendingAction","_authorId","getLatestVersion","tableCell","createdAt","getRevision","nodeAfter","_makeModelFromViewString","rootName","448418PXwcIn","getMovedRangeStart","elementStart","filter","changeRootAttribute","_prepareViewToSave","_getFromVersion","domainLimit","getCurrentRevisionId","_fixPosition","getRevisionDocumentData","_baseIdsRoots","isPremiumPlugin","_licenseKeyCheckInterval","_startingVersion","for","2330BpoJCh","_diffRootsAttributes","_insertChild","isEnabled","domConverter","plugins","customProperties","revisionHistory.resumeUnsavedRevision","revisionHistoryLicenseKeyExpired","isAttached","_pendingAction","_handleOperation","_handleInsertOperation","vid_end","clear","_applyOperations","getUser","length","insert","$text","getOperation","add","initial","getTransformedByOperation","createPositionAfter","hasContent","getRevisionRootsAttributes","keepParagraph","attachChange","reinsert","detachRoot","featureNotAllowed","_getState","init","_diffRoots","buildRevisionData","roots","evaluationLimit","attributesBefore","createRangeIn","requires","oldRange","find","fillerOffset","RevisionHistoryUtils","domDocument","has","getData","finally","resolve","setRevisionData","creator","values","getCustomProperties","affectsData","674315WrQhdC","merge","PendingActions","getChildren","_reset","RevisionsRepository","getTime","outerHTML","getOperations","_createCurrentRevision","model","_source","set","some","_saveMetaData","RevisionHistory","_getVidAttributeName","_removePendingAction","bind","$graveyard","rootsAttributes","Initial revision","_touchedRoots","innerHTML","graveyardPosition","getRange","revisionHistoryLicenseKeyNotAllowed","_findInsertionIndex","6590457hWBqXI","toView","newValue","_setAttribute","conversion","userId","includes","_getPreviousFrom","move","getNodeByPath","end","vid","_loadedStateData","createPositionFromPath","invalid","_fixRange","4530kZvtlY","_baseRootsAttributes","insertions","createRange","sendBufferedUpdates","setSource","2524008PocKBX","fromVersion","root","_setConversion","diffData","_handleMoveOperation","_bufferUpdate","vid_start","offsetSize","_transformMarkers","_removeMetaData","_getTypeCharForViewElement","authors","string","_makeRevision","previousPosition","documentFragment","start","createRevision","_isInit","_initialRevisionId","_fixOperation"];return(wt=function(){return t})()}var _t=i(355),It=i(311),St=i(6),Ot=i.n(St),Tt=i(602),xt=i.n(Tt),Nt=i(557),Rt=i.n(Nt),Mt=i(302),At=i.n(Mt),Dt=i(290),Vt=i.n(Dt),Et=i(16),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=At(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Vt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(618),Pt={attributes:{"data-cke":!0}};Pt.setAttributes=At(),Pt.insert=Rt().bind(null,"head"),Pt.domAPI=xt(),Pt.insertStyleElement=Vt();Ot()(Ft.A,Pt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=zt;function jt(){const t=["arrowdown","stopPropagation","input","setTemplate","403765yJnInQ","reset","fieldView","value","set","element","arrowup","form","trim","label","keystrokes","extendTemplate","3716770urbFvE","revisionNameInputView","render","424scXsjq","arrowleft","30qKJZOJ","ck-revision-history-save-revision-form","focusTracker","956teGgwH","220","optional","Name of the revision","revisionNameInputValue","12950465KZONnB","arrowright","2183GPPOjs","6440119HFjkPQ","_createRevisionNameInput","revisionName","722664cUtVOL","8zijFVt","3447ntMHsZ","locale","focus","listenTo","add","errorText","ck-responsive-form","initializeCssTransitionDisablerMixin"];return(jt=function(){return t})()}function zt(t,e){const i=jt();return(zt=function(t,e){return i[t-=466]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(551998===parseInt(e(473))/1*(parseInt(e(466))/2)+parseInt(e(479))/3*(-parseInt(e(506))/4)+parseInt(e(491))/5*(-parseInt(e(508))/6)+-parseInt(e(474))/7*(-parseInt(e(478))/8)+-parseInt(e(477))/9+parseInt(e(503))/10+-parseInt(e(471))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class Zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(510)];[Lt(501)];[Lt(504)];constructor(e,i){const n=Lt;super(e),this[n(510)]=new t.FocusTracker,this[n(501)]=new t.KeystrokeHandler,this[n(495)](n(470),""),this[n(504)]=this[n(475)](i),this[n(490)]({tag:n(498),attributes:{class:["ck",n(509),n(485)],tabindex:"-1"},children:[this[n(504)]]}),this[n(486)]()}[Lt(505)](){const t=Lt;super[t(505)](),(0,It.submitHandler)({view:this}),this[t(510)][t(483)](this[t(504)][t(496)]),this[t(501)][t(482)](this[t(496)]);const e=e=>e[t(488)]();this[t(501)][t(495)](t(472),e),this[t(501)][t(495)](t(507),e),this[t(501)][t(495)](t(497),e),this[t(501)][t(495)](t(487),e)}[Lt(481)](){const t=Lt;this[t(504)][t(481)]()}get[Lt(476)](){const t=Lt;return this[t(504)][t(493)][t(496)][t(494)][t(499)]()}set[Lt(476)](t){const e=Lt;this[e(504)][e(493)][e(496)][e(494)]=t[e(499)]()}[Lt(492)](){const t=Lt;this[t(504)][t(493)][t(496)][t(494)]="",this[t(504)][t(484)]=null}[Lt(475)](t){const e=Lt,i=new It.LabeledFieldView(this[e(480)],It.createLabeledInputText),n=i[e(493)];n[e(502)]({attributes:{maxlength:e(467)}});let s=at(this[e(480)],e(469));return!t&&(s+=" ("+at(this[e(480)],e(468))+")"),i[e(500)]=s,n.on(e(489),()=>{const t=e;this[t(470)]=n[t(496)][t(494)][t(499)]()}),i}}const Wt=Ht;function Ht(t,e){const i=Ut();return(Ht=function(t,e){return i[t-=352]})(t,e)}function Ut(){const t=["reset","plugins","render","isReady","revisionHistory.requireRevisionName","Open revision history","requires","3231755iAJLuD","_createSaveRevisionFormView","isPremiumPlugin","panelView","menuitem","revisionNameInputView","execute","200508PRqoZs","editor","Accept","children","_showDialog","role","init","isReadOnly","The revision name cannot be empty.","RevisionTracker","saveRevision","get","items","menuBar:revisionHistory","1281736IjegTB","buttonView","ck-button-action","errorText","3696420qvTFSB","isEnabled","revisionHistory","revisionSave","showRevisionViewerCallback","view","addMany","128647psLtoO","bind","isOfficialPlugin","RevisionHistoryUI","Dialog","add","2103548lEREpZ","_registerMenuComponent","Revision history","show","isOpen","hide","locale","_saveRevisionFormView","Cancel","submit","editing","componentFactory","config","set","menu","revisionName","delegate","21jOSTtt","focus","Save current revision","1423992vcTNyO","pluginName"];return(Ut=function(){return t})()}!function(t){const e=Ht,i=t();for(;;)try{if(427540===parseInt(e(361))/1+-parseInt(e(403))/2+parseInt(e(387))/3+-parseInt(e(367))/4+-parseInt(e(396))/5+parseInt(e(354))/6+parseInt(e(384))/7*(parseInt(e(417))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class qt extends G.Plugin{static get[Wt(388)](){return Wt(364)}static get[Wt(363)](){return!0}static get[Wt(398)](){return!0}static get[Wt(395)](){return[pt]}[Wt(374)];[Wt(409)](){const t=Wt,e=this[t(404)],i=e[t(390)][t(414)](t(412));e.ui[t(378)][t(366)](t(356),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(399)][s(406)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(362)](s(355)).to(i,s(392),i,s(355),e,s(410),(t,e,i)=>t&&e&&!i),r[s(418)][s(380)]({icon:_t.IconHistory,label:at(n,s(369)),tooltip:!0}),u[s(380)]({label:at(n,s(386)),withText:!0,role:s(400)}),u[s(362)](s(355)).to(i,s(392),i,s(355),e,s(410),(t,e,i)=>t&&e&&!i),u.on(s(402),()=>this[s(407)]()),h[s(380)]({label:at(n,s(394)),withText:!0,role:s(400)}),h[s(362)](s(355)).to(i,s(392),e,s(410),(t,e)=>t&&!e),h.on(s(402),()=>{const t=s;e[t(379)][t(414)](t(356))[t(358)](),r[t(371)]=!1,e[t(377)][t(359)][t(385)]()}),c[s(406)][s(366)](u),l[s(406)][s(366)](h),a[s(408)]=s(381),a[s(415)][s(360)]([c,l]),o[s(366)](a),r}),e.ui[t(378)][t(366)](t(416),()=>this[t(368)]())}[Wt(368)](){const t=Wt,e=this[t(404)],i=e[t(373)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(418)][t(380)]({icon:_t.IconHistory,label:at(i,t(369))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(380)]({label:at(i,t(386))}),o[t(383)](t(402)).to(n),o.on(t(402),()=>{this[t(407)]()}),r[t(406)][t(366)](o),s[t(415)][t(366)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(380)]({label:at(i,t(394))}),c[t(383)](t(402)).to(n),c.on(t(402),()=>{const i=t;e[i(379)][i(414)](i(356))[i(358)]()}),a[t(406)][t(366)](c),s[t(415)][t(366)](a),n[t(399)][t(406)][t(366)](s),n}[Wt(407)](){const t=Wt,e=this[t(404)],i=e[t(373)],n=e[t(390)][t(414)](t(365)),s=e[t(390)][t(414)](t(412));function r(s){const r=t;e[r(379)][r(414)](r(393))&&""===s[r(382)]?s[r(401)][r(353)]=at(i,r(411)):(e[r(390)][r(414)](pt)[r(413)]({name:s[r(382)]}),n[r(372)]())}this[t(374)]||(this[t(397)](),this[t(374)].on(t(376),()=>r(this[t(374)]))),this[t(374)][t(389)](),n[t(370)]({id:t(357),title:at(i,t(386)),isModal:!0,content:this[t(374)],actionButtons:[{label:at(e[t(373)],t(375)),withText:!0,onExecute:()=>n[t(372)]()},{label:at(e[t(373)],t(405)),class:t(352),withText:!0,onCreate(i){const n=t;i[n(362)](n(355)).to(s,n(392),s,n(355),e,n(410),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(374)])}]})}[Wt(397)](){const t=Wt,e=this[t(404)],i=e[t(373)];this[t(374)]=new Zt(i,e[t(379)][t(414)](t(393))),this[t(374)][t(391)]()}}const $t=Yt;function Bt(){const t=["Added by","6791830JkVNIG","ck-revision-change__label","_model","660OHgPzU","author","5829920lkMoaM","Suggested by","112PtCXFE","ck-annotation","type","focus","set","div","data","name","ck-revision-change__","setTemplate","27jdjVwa","ck-revision-change","86298zKGEDT","bindTemplate","64204hWzYLt","isSuggestion","2687688hOOcXu","1467229bfHXbv","Removed by","changeId","span","1022004sZeSAy","add","element"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=304]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(997273===parseInt(e(324))/1+-parseInt(e(319))/2*(parseInt(e(317))/3)+parseInt(e(323))/4+parseInt(e(305))/5+-parseInt(e(335))/6*(parseInt(e(321))/7)+-parseInt(e(307))/8*(parseInt(e(328))/9)+parseInt(e(332))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt extends It.View{[$t(326)];[$t(334)];constructor(t,e){const i=$t;super(t),this[i(334)]=e,this[i(326)]=e.id;const n=this[i(320)],s=at(t,e[i(313)][i(322)]?i(306):i(329)==e[i(309)]?i(331):i(325));this[i(311)](i(309),e[i(309)]),this[i(316)]({tag:i(312),attributes:{class:[i(308),i(318),n.to(i(309),t=>i(315)+t)],tabindex:-1},children:[{tag:i(327),children:[{tag:i(327),attributes:{class:[i(333)]},children:[{text:s}]},{text:" "+e[i(304)][i(314)]}]}]})}[$t(310)](){const t=$t;this[t(330)][t(310)]()}}var Gt=Xt;function Kt(){var t=["18PzTMgC","433604hlKgId","set","3778qBffhI","1533rXeZdW","13592RMuapt","createdAt","177JcldwI","282015EnXEYH","4477IbskaB","rootName","data","21561828LnbwLv","2287880oRVTgK","8950qQUfQW","toJSON","type","author","6LIxCsJ"];return(Kt=function(){return t})()}function Xt(t,e){var i=Kt();return(Xt=function(t,e){return i[t-=477]})(t,e)}!function(t){for(var e=Xt,i=t();;)try{if(330965===parseInt(e(488))/1*(-parseInt(e(484))/2)+-parseInt(e(481))/3*(parseInt(e(482))/4)+parseInt(e(494))/5*(-parseInt(e(480))/6)+-parseInt(e(485))/7*(-parseInt(e(486))/8)+-parseInt(e(489))/9+parseInt(e(495))/10*(-parseInt(e(490))/11)+parseInt(e(493))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Qt extends((0,t.ObservableMixin)()){id;[Gt(479)];[Gt(478)];[Gt(492)];[Gt(491)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(479)]=e[i(479)],this[i(478)]=e[i(478)],this[i(492)]=e[i(492)]||{},this[i(491)]=e[i(491)],this[i(483)](i(487),e[i(487)])}[Gt(477)](){var t=Gt;return{id:this.id,authorId:this[t(479)].id,type:this[t(478)],data:this[t(492)],createdAt:this[t(487)]}}}const te=ie;function ee(){const t=["40281CtAMzA","changes","_setChanges","add","oldRevisionId","newRevisionId","1935220iVPLdT","466994IhXPcH","655ppPpbB","2566134UdsTYD","105525PaqDgp","8kWyrKT","673330LpnBEn","32mxrEJV","7362mafrIj"];return(ee=function(){return t})()}function ie(t,e){const i=ee();return(ie=function(t,e){return i[t-=150]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(157701===parseInt(e(156))/1+parseInt(e(163))/2+parseInt(e(151))/3*(-parseInt(e(154))/4)+-parseInt(e(164))/5*(-parseInt(e(155))/6)+parseInt(e(153))/7*(parseInt(e(152))/8)+-parseInt(e(150))/9+parseInt(e(162))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class ne{[te(161)];[te(160)];[te(157)];constructor(e,i){const n=te;this[n(161)]=e,this[n(160)]=i,this[n(157)]=new t.Collection}[te(158)](t){const e=te;for(const i of t)this[e(157)][e(159)](i)}}var se=i(890),re={attributes:{"data-cke":!0}};re.setAttributes=At(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Vt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;function oe(){const t=["mouseover","attributesAfter","_findChangeIdFromDomTarget","_setDistance","ck-suggestion-marker-merge","isNavigationMode","span","schema","endIndex","_getRevisionsRange","unshift","pop","dataToMarker","addRoot","add","createPositionBefore","observeMarkers","enableReadOnlyMode","mapper","side","createUIElement","ck-suggestion-marker","isEqual","252999aIePcF","offsetSize","previousPosition","comment","revision-suggestion:","maxOffset","showNextChange","loadRevisionData","changes","getRevisionRootsAttributes","activeChange","mousedown","insertions","bottom","updatePosition","_setChanges","_revisions","getRootNames","length","backward","level","indexOf","restoreRevision","getDomRoot","createPositionFromPath","ck-revision-history-root-remove","split","left","showPreviousChange","_sortAndFilterDiffChanges","_markMismatchedRemovedTags","isBefore","getRevisionDocumentData","locale","revision:","detachRoot","consume","diffData","numberOfChanges","attributes","ck-suggestion-marker-","softBreak","hasClass","object","config","_makeModelFromViewString","from","suggestion","forEach","repository","_getChangeFromId","startIndex","isObject","WidgetToolbarRepository","roots","compare","then","getWalker","isBlock","addMarker:revision-suggestion:insertion","addMarker:revision","getRevision","isInline","all","addMarker:revision-suggestion:deletion","view","start","right","pairId","name","deletion","findIndex","authors","deletions","next","includes","POSITIVE_INFINITY","map","removeMarker:revision","suggestion:","bind","isEnabled","isRemoved","removeMarker","mapViewToDom","change:isReady","keys","string","writer","_utils","refresh","code","domEvent","isReady","showStack","clear","shift","_getViewForChange","_makeTape","insertion","element:pre","nextSibling","toViewPosition","getRoot","_getDiff","revisionHistoryAttachChange","158649TmWyVt","item","-new","target","isAtStart","markerRange","adapter","getAttributes","revisionHistoryLabel","change:isEnabled","revision","_initInteractions","markersStart","getClientRects","vid_start","createRevision","test","184oZVFuJ","set","data-change-id","getAttribute","attributesBefore","delete","_fixObsoleteTags","forceDisabled","parent","elementToAttribute","changeId","currentChangeNumber","markersEnd","range","isAttached","isOfficialPlugin","filter","_activeViewTarget","6690KVsgMV","getCustomProperty","revision-viewer","_makeModelFromTape","sort","isAfter","ck-suggestion-marker-split","attribute:vid","element","uiElement","return","activeView","error","editor","ck-suggestion-marker--active","isPremiumPlugin","enqueueChange","merge","low","_balloon","editing","_joinTapes","addClass","isAdded","_markMarkers","nextPosition","unbindElementFromMarkerName","markerNameToElements","flat","ck-suggestion-preview-marker-","rootName","markerName","_removeUnsupportedChanges","createRange","downcastDispatcher","RevisionsRepository","_changeIdToChange","removeAttribute","affectsData","_cleanMarkers","_step","ck-revision-history-root-add","ck-editor__editable__overlay","values","vid","_refreshStartEndIndex","_appendChild","toViewRange","elementEnd","change:numberOfChanges","execute","elementStart","userId","checkAttribute","getChild","ck-revision-history-root-","isAtEnd","conversion","createRangeIn","isRemoveSuggestion","_changeView","4087132uLgFDG","getItems","isLimit","isOnRoot","isCollapsed","setAttribute","ck-suggestion-preview-marker","ck-revision-history-root--active","remove","resolve","index","abs","restoreRevisionCallback","type","isAddSuggestion","7027490vvdXpI","isSuggestion","bindElementToMarker","_markInsertions","model","catch","done","2884lOEaXu","change:activeChange","find","markers","domConverter","revision-comment:","revisionHistory","text","_threeWayMerge","11003712GpnwyJ","for","dataDowncast","_update","isContent","newRevisionId","first","markerToHighlight","consumable","pluginName","removeClass","6CpRKBl","RevisionViewer","forward","destroy","_markSuggestions","_data","markerToData","getIndex","highest","change","slice","_removeMissingPairs","change:activeView","attachChange","378XSonEC","data","oldRevisionId","editingDowncast","hasAttribute","push","requires","_cleanUp","isIncorrect","441XwRNby","addRevisionData","diff","document","addRevision","has","viewItem","stop","RevisionHistoryUtils","createAttributeElement","get","selection","top","upcast","_processTape","wrap","revision-suggestion","vid_end","modelRange","nodeAfter","distance","concat","end","listenTo","toViewElement","startsWith","commands","_setConversion","plugins","addHighlight","getLaterVisibleRevision","reconvertMarker","insert","init","splice","11DPkrXx","removeMarker:revision-suggestion","high"];return(oe=function(){return t})()}const ae=ce;function ce(t,e){const i=oe();return(ce=function(t,e){return i[t-=355]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(389324===-parseInt(e(536))/1*(-parseInt(e(674))/2)+parseInt(e(369))/3*(parseInt(e(654))/4)+parseInt(e(571))/5*(parseInt(e(360))/6)+parseInt(e(632))/7+parseInt(e(553))/8*(-parseInt(e(430))/9)+-parseInt(e(647))/10*(-parseInt(e(404))/11)+-parseInt(e(663))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ue extends G.Plugin{[ae(479)];[ae(542)]=null;[ae(519)];[ae(570)];[ae(631)];[ae(607)];[ae(590)];static get[ae(672)](){return ae(675)}static get[ae(568)](){return!0}static get[ae(586)](){return!0}static get[ae(366)](){return[K.Users,It.ContextualBalloon,it,rt]}constructor(t){const e=ae;super(t),this[e(479)]=this[e(584)][e(397)][e(379)](e(606)),this[e(519)]=this[e(584)][e(397)][e(379)](e(377)),this[e(554)](e(440),null),this[e(554)](e(582),null),this[e(570)]=null,this[e(554)](e(371),null),this[e(554)](e(523),!1),this[e(554)](e(511),!0),this.on(e(545),(t,i,n)=>{const s=e;this[s(440)]=null,this[s(582)]=null,this[s(584)][s(591)][s(495)][s(355)](t=>{const e=s;for(const i of this[e(584)][e(591)][e(495)][e(372)][e(484)])n?t[e(673)](e(613),i):t[e(593)](e(613),i)})}),this[e(510)](e(412)).to(this,e(440),t=>null!==t),this[e(510)](e(564)).to(this,e(523),this,e(371),this,e(440),(t,i,n)=>t&&n?i[e(438)][e(681)](n):0),this[e(510)](e(468)).to(this,e(523),this,e(371),(t,i)=>t?i[e(438)][e(448)]:0),this[e(631)]=null,this[e(607)]=new Map,this[e(590)]=this[e(584)][e(397)][e(379)](It.ContextualBalloon)}[ae(402)](){const t=ae,e=this[t(584)],i=new de(e,{direction:t(449)}),n=new de(e,{direction:t(676)});e[t(395)][t(421)](t(458),i),e[t(395)][t(421)](t(436),n),e[t(395)][t(421)](t(452),new he(e)),this.on(t(620),()=>{const e=t;i[e(520)](),n[e(520)]()}),this[t(396)](),this[t(547)](),e[t(424)](t(573)),e[t(397)][t(374)](t(483))&&e[t(397)][t(379)](t(483))[t(560)](t(573))}async[ae(462)](t){const e=ae;return await this[e(519)][e(437)](t,this[e(542)]),this[e(519)][e(462)](t)}async[ae(439)](t){const e=ae;return await this[e(519)][e(437)](t,this[e(542)]),this[e(519)][e(439)](t)}async[ae(485)](t,e,i=!1){const n=ae;if(!this[n(511)])return;const s=this[n(371)],r=this[n(479)],o=n(517)==typeof t?r[n(491)](t):t,a=n(517)==typeof e?r[n(491)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(371)]&&this[n(371)][n(668)]===c&&this[n(371)][n(362)]===u)return Promise[n(641)]();this[n(523)]=!1,this[n(582)]=null,this[n(440)]=null,this[n(371)]=new ne(c,u);const l=this[n(416)](o,a,!0)[n(507)](t=>this[n(519)][n(437)](t,this[n(542)]));return l[n(365)](new Promise(t=>{setTimeout(t,20)})),Promise[n(493)](l)[n(486)](()=>{const t=n;if(!this[t(511)])return;this[t(367)]();const e=this[t(534)](c,u);for(const i of e[t(438)])this[t(607)][t(554)](i.id,i);this[t(584)][t(651)][t(587)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(584)][n(651)][n(372)][n(447)]())i[n(465)](t);for(const t of Object[n(516)](e[n(651)])){const s=i[n(420)](t);for(const r of Object[n(516)](e[n(469)][t]))i[n(637)](r,e[n(469)][t][r],s);i[n(401)](e[n(651)][t],s,0)}}),this[t(371)][t(445)](this[t(459)](e[t(438)])),this[t(523)]=!0})[n(652)](t=>{const e=n;console[e(583)](t),this[e(367)](),s&&(this[e(371)]=s),this[e(523)]=!0})}[ae(370)](t,e){const i=ae,n=this[i(479)][i(551)](t);return n.on(i(666),(t,i,s)=>e(i,s,n)),this[i(479)][i(373)](n),n}[ae(367)](){const t=ae;this[t(440)]=null,this[t(610)](),this[t(631)]&&this[t(631)][t(677)](),this[t(631)]=null,this[t(607)][t(525)](),this[t(584)][t(651)][t(587)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(584)][i(651)][i(372)][i(447)]())e[i(465)](t)})}[ae(459)](t){const e=ae,i=[],n=new Map;for(const t of this[e(584)][e(651)][e(372)][e(447)]()){const s=this[e(584)][e(591)][e(495)][e(453)](t);if(!s)continue;const r=s[e(549)]()[e(537)](0);r&&(i[e(365)](t),n[e(554)](t,r))}return i[e(575)]((t,i)=>{const s=e,r=n[s(379)](t),o=n[s(379)](i);return r.y-o.y||r.x-o.x}),(t=t[e(569)](t=>i[e(505)](t[e(601)])))[e(575)]((t,n)=>i[e(451)](t[e(601)])-i[e(451)](n[e(601)])),t}[ae(528)](t){const e=ae,i=Array[e(476)](t[e(657)])[e(569)](([t,i])=>t[e(394)](e(464))&&!i[e(636)]),n=Array[e(476)](this[e(584)][e(651)][e(629)](t)[e(487)]({singleCharacters:!0}));if(0!=i[e(448)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(456)](":");if(s[e(391)][e(429)](t[e(596)])&&i[e(526)](),(t[e(432)][e(429)](s[e(496)])||t[e(432)][e(576)](s[e(496)]))&&(e(529)==r?t[e(594)]={userId:o}:e(500)==r&&(t[e(512)]={userId:o})),0==i[e(448)])break}return n}[ae(616)](t){const e=ae,i=new Map;for(let n=0;n<t[e(448)];n++)e(661)===t[n][e(645)]?(t[n][e(537)][e(481)]=n,t[n][e(537)][e(415)]=n):(e(622)===t[n][e(645)]?t[n][e(537)][e(481)]=n:e(619)===t[n][e(645)]&&(t[n][e(537)][e(415)]=n),i[e(554)](t[n].id,n));for(const n of i[e(614)]())e(622)===t[n][e(645)]?t[n][e(537)][e(415)]=i[e(379)](t[n][e(498)]):e(619)===t[n][e(645)]&&(t[n][e(537)][e(481)]=i[e(379)](t[n][e(498)]))}[ae(383)](t){const e=ae;for(let i=0;i<t[e(448)];i++){if(e(622)===t[i][e(645)])t[i][e(537)][e(481)]=i;else if(e(619)===t[i][e(645)]){t[i][e(537)][e(415)]=i;const n=t[i][e(537)][e(481)];t[n][e(498)]=t[i].id,t[i][e(498)]=t[n].id}else t[i][e(537)][e(481)]=i,t[i][e(537)][e(415)]=i,t[i][e(498)]=null;t[i][e(548)]||(t[i][e(548)]=[],t[i][e(565)]=[])}}[ae(650)](t,e){const i=ae,n=t[i(569)](t=>!t[i(594)]);for(let t=0;t<e[i(448)];t++)e[t][i(594)]&&(n[t][i(594)]=e[t][i(594)])}[ae(534)](t,e=null){const i=ae,n=this[i(479)][i(491)](t),s=e?this[i(479)][i(491)](e):null,r=this[i(416)](n,s),o=r[r[i(448)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(448)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(516)](e[i(467)]))if(e[i(467)][t][i(359)]){const n=e[i(467)][t][i(359)];n[i(567)]?(u[i(421)](t),l[i(374)](t)&&l[i(379)](t)[i(623)]==n[i(623)]?l[i(558)](t):l[i(554)](t,n)):l[i(374)](t)?(u[i(558)](t),l[i(558)](t)):(u[i(421)](t),l[i(554)](t,n))}else u[i(421)](t)}for(const t of u){const e=l[i(374)](t)&&!l[i(379)](t)[i(567)];let n=e?r[i(448)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(467)][t]){const n=e?o[i(467)][t][i(557)]:o[i(467)][t][i(408)];c[i(469)][t]=n?M(n):{};break}n+=s}}for(const t of r){t[i(651)]={};for(const e of t[i(502)])a[i(554)](e.id,e);for(const e of u){const n=t[i(467)][e]?t[i(467)][e][i(442)]:"[]",s=t[i(467)][e]?t[i(467)][e][i(503)]:"[]";t[i(651)][e]={insertions:this[i(519)][i(475)](n),deletions:this[i(519)][i(475)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(476)](n[i(651)][t][i(442)][i(657)])[i(569)](([t])=>!t[i(394)](i(464))));let h=0;for(const o of r){const r=this[i(528)](o[i(651)][t][i(442)]);o==n?(e=r,s=e[i(448)],e[i(478)](t=>{t.id=h++}),this[i(383)](e)):this[i(650)](e,r);const a=e[i(569)](t=>!t[i(594)])[i(507)](t=>t.id);let c=0;const l=this[i(528)](o[i(651)][t][i(503)]);l[i(478)](t=>{t[i(512)]?t.id=s++:t.id=a[c++]}),this[i(383)](l),this[i(410)](e,i(594)),this[i(410)](l,i(512)),o==n&&this[i(595)](e,u),e=this[i(592)](e,l),this[i(616)](e),this[i(410)](e,i(512))}e=e[i(569)](t=>!(t[i(594)]&&t[i(512)]));const d=new Map(o[i(651)][t][i(503)][i(657)]),f=new Set(u[i(516)]());for(const t of d[i(516)]())f[i(558)](t);this[i(678)](e,f),this[i(559)](e),e=this[i(357)](e),e=this[i(460)](e),e=this[i(603)](e);const{root:m,changes:p}=this[i(574)](e,a,t);c[i(651)][t]=m;const v=l[i(379)](t);if(v){const e=a[i(379)](v[i(623)]),n=new Qt({author:e,type:v[i(567)]?i(421):i(640),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(417)](n),c[i(469)][t][i(535)]=n.id}c[i(438)]=c[i(438)][i(390)](p)}return c}[ae(595)](t,e){const i=ae;for(let n=0;n<t[i(448)];n++)for(const[s,r]of e)!r[i(636)]&&r[i(496)][i(429)](t[n][i(432)])&&t[n][i(548)][i(365)](s),r[i(391)][i(429)](t[n][i(596)])&&t[n][i(565)][i(365)](s)}[ae(592)](t,e){const i=ae;let n=[],s=0,r=0;for(;s<t[i(448)]||r<e[i(448)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(365)](o);else if(a[i(512)]&&o[i(594)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(662)](t,s,e,r);n=n[i(390)](o),s=a,r=c}else a[i(512)]?(r++,n[i(365)](a)):(s++,n[i(365)](o))}return n}[ae(678)](t,e){const i=ae,n=[];for(let o=0;o<t[i(448)];o++){for(let r=0;r<t[o][i(548)][i(448)];r++){const a=t[o][i(548)][r];if(!e[i(374)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(385)!=c||i(529)!=u&&i(500)!=u||(n[i(417)]({type:u,name:a,userId:l}),t[o][i(548)][i(403)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(565)][i(448)];r++){const a=t[o][i(565)][r];if(!e[i(374)](a))continue;const{group:c,type:u}=s(a);if(i(385)!=c||i(529)!=u&&i(500)!=u)continue;t[o][i(565)][i(403)](r,1),r--;const l=n[i(501)](t=>t[i(499)]==a);l>-1&&n[i(403)](l,1)}}function s(t){const e=i,n=t[e(456)](":");return{group:n[0],type:n[1],subType:n[e(448)]>=5?n[2]:null,id:n[e(448)]<5?n[2]:n[3],authorId:n[e(448)]<5?n[3]:n[4],markerCount:6==n[e(448)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(448)];i++){if(t[e(594)]&&e(529)==n[i][e(645)]&&t[e(594)][e(623)]==n[i][e(623)])return t[e(646)]=n[i],void delete t[e(594)];if(!t[e(594)]&&!t[e(512)]&&e(500)==n[i][e(645)])return void(t[e(630)]=n[i])}}}[ae(410)](t,e){const i=ae;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(554)](o.id,n);for(let n=0;n<t[i(448)];n++){if(i(512)==e&&t[n][i(594)]||i(594)==e&&t[n][i(512)])continue;if(i(661)==t[n][i(645)]){t[n][i(389)]=0;continue}const s=r[i(379)](t[n][i(498)]),o=r[i(379)](t[n].id);t[n][i(389)]=s-o}}[ae(416)](t,e,i=!1){const n=ae,s=[];let r=this[n(479)][n(681)](t),o=this[n(479)][n(681)](e);for(-1==o&&(o=this[n(479)][n(446)][n(448)],i=!1);r<o;)s[n(365)](this[n(479)][n(491)](r)),r++;return i&&s[n(365)](this[n(479)][n(491)](r)),s}[ae(662)](t,e,i,n){const s=ae,r=this[s(584)][s(651)][s(414)];let o=e;for(;t[o]&&t[o][s(594)];)o++;let a=n;for(;i[a]&&i[a][s(512)];)a++;u(t,e,o),u(i,n,a);const c=i[s(356)](n,a)[s(390)](t[s(356)](e,o));return c[s(575)]((t,e)=>t[s(426)]!=e[s(426)]?t[s(426)]-e[s(426)]:t[s(450)]!=e[s(450)]?t[s(450)]-e[s(450)]:t[s(389)]!=e[s(389)]?e[s(389)]-t[s(389)]:!!t[s(594)]!=!!e[s(594)]?-1==t[s(426)]||0==t[s(426)]?t[s(594)]?-1:1:t[s(594)]?1:-1:t[s(642)]-e[s(642)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(506)],c=!0;for(let s=e;s<i;s++)if(r[n(492)](t[s][n(537)])||(c=!1),t[s][n(537)][n(481)]<e&&(o=s),t[s][n(537)][n(415)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(426)]=s<=o?-1:s<a?0:1,t[s][n(642)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(389)]?t[i][n(450)]=u:(u++,t[i][n(450)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(426)]&&(t[s][n(450)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(389)]?t[e][n(450)]=u:(u--,t[e][n(450)]=u,u--)}}[ae(559)](t){const e=ae,i=new Map,n=this[e(584)][e(651)][e(414)];for(let s=1;s<t[e(448)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(661)==c[e(645)])continue;if(c[e(645)]!=u[e(645)])continue;if(!n[e(488)](u[e(537)])||n[e(634)](u[e(537)]))continue;if(!n[e(488)](c[e(537)])||n[e(634)](c[e(537)]))continue;if((t[s][e(594)]||t[s][e(646)])&&t[s-1][e(512)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(512)]||!t[s-1][e(594)]&&!t[s-1][e(646)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(450)]==o[e(450)],h=Math[e(643)](r[e(450)])<Math[e(643)](o[e(450)])&&0==o[e(389)];(l||h)&&(i[e(554)](o.id,r.id),t[e(403)](a,1),s--,r[e(594)]=!1)}for(let n=0;n<t[e(448)];n++)i[e(374)](t[n][e(498)])&&(t[n][e(498)]=i[e(379)](t[n][e(498)]))}[ae(357)](t){const e=ae,i=new Set(t[e(507)](t=>t.id));for(let n=0;n<t[e(448)];n++)i[e(374)](t[n][e(498)])||0==t[n][e(389)]||(t[n][e(368)]=!0);return t[e(569)](t=>!t[e(368)])}[ae(460)](t){const e=ae,i=new Set;for(let n=0;n<t[e(448)];n++){if(i[e(374)](t[n].id)&&t[n][e(512)]&&(t[n][e(368)]=!0),t[n][e(368)])continue;if(0==t[n][e(389)])continue;if(e(622)!=t[n][e(645)])continue;if(null==t[n][e(498)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(498)];)e(622)==t[s][e(645)]?r++:e(619)==t[s][e(645)]&&r--,s++;if(0!=r)if(t[n][e(512)])t[n][e(368)]=!0;else for(;s!=n;)t[s][e(512)]&&0!=t[s][e(389)]&&(t[s][e(368)]=!0,i[e(421)](t[s][e(498)])),s--}return t[e(569)](t=>!t[e(368)])}[ae(603)](t){const e=ae,i=this[e(584)][e(651)][e(414)];for(let n=0;n<t[e(448)];n++){if(!(t[n][e(594)]||t[n][e(646)]||t[n][e(512)]||t[n][e(630)]))continue;if(0==t[n][e(389)])continue;const s=t[n][e(537)];i[e(488)](s)||i[e(634)](s)||(t[n][e(594)]&&delete t[n][e(594)],t[n][e(646)]&&delete t[n][e(646)],t[n][e(630)]&&delete t[n][e(630)],t[n][e(512)]&&(t[n][e(368)]=!0))}return t[e(569)](t=>!t[e(368)])}[ae(574)](t,e,i){const n=ae,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(584)][n(651)],c=a[n(414)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(448)];e++)if(n(622)===t[e][n(645)]){t[e][n(432)]=a[n(454)](s,f);const i=new X.ModelElement(t[e][n(537)][n(499)],t[e][n(537)][n(543)]());u[0][n(617)](i),f[n(365)](0),u[n(417)](i),t[e][n(596)]=a[n(454)](s,f)}else n(619)===t[e][n(645)]?(u[n(526)](),t[e][n(432)]=a[n(454)](s,f),f[n(418)](),f[f[n(448)]-1]++,t[e][n(596)]=a[n(454)](s,f)):(t[e][n(432)]=a[n(454)](s,f),d?d[n(679)]+=t[e][n(537)][n(361)]:d=new X.ModelText(t[e][n(537)][n(361)],t[e][n(537)][n(543)]()),t[e+1]&&n(661)===t[e+1][n(645)]&&v(d,t[e+1][n(537)])||(u[0][n(617)](d),d=null),f[f[n(448)]-1]+=t[e][n(537)][n(431)],t[e][n(596)]=a[n(454)](s,f));for(let e=0;e<t[n(448)];e++){const i=t[e][n(432)],s=t[e][n(596)];for(const s of t[e][n(548)])o[n(554)](s,{start:i,end:null});m(n(630),e,i,s),m(n(646),e,i,s),m(n(512),e,i,s),m(n(594),e,i,s);for(const i of t[e][n(565)]){const t=o[n(379)](i);t?t[n(391)]=s:o[n(554)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(584)][n(651)][n(604)](e[n(496)],e[n(391)]);s[n(657)][n(554)](t,i)}return r[n(575)]((t,e)=>{const i=n,r=s[i(657)][i(379)](i(464)+t.id),o=s[i(657)][i(379)](i(464)+e.id);return r[i(496)][i(461)](o[i(496)])?-1:r[i(496)][i(576)](o[i(496)])?1:r[i(391)][i(461)](o[i(391)])?-1:r[i(391)][i(576)](o[i(391)])?1:i(421)===t[i(645)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(623)]:null,d=i===t[o(448)]-1,f=h[e][0],m=c[o(482)](t[i][o(537)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(391)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(623)]!==u&&(l[e][o(391)]=s,f&&f[o(623)]===l[e][o(623)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(622)!==t[i][o(645)]||f&&f[o(623)]===u||h[e][o(417)]({userId:u,object:t[i][o(537)],change:l[e]}),o(619)===t[i][o(645)]&&f&&f[o(473)]===t[i][o(537)]&&(h[e][o(526)](),l[e]=f[o(355)])),l[e]&&d&&(l[e][o(391)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(537)],f=a[h(414)][h(488)](d)&&!a[h(414)][h(634)](d),m=t[h(388)]==o[h(561)]&&o[h(540)];if(f&&m)return;const p=a[h(604)](t,o),v=e[h(379)](u),g=new Qt({author:v,type:h(594)==l||h(646)==l?h(421):h(640),data:{isSuggestion:h(646)==l||h(630)==l},createdAt:new Date,rootName:i});r[h(365)](g),s[h(657)][h(554)](h(464)+g.id,p)}function v(t,e){const i=n,s=t[i(543)](),r=e[i(543)]();for(const t of s){if(t[1]!==e[i(556)](t[0]))return!1;r[i(504)]()}return r[i(504)]()[i(653)]}}[ae(396)](){const t=ae;this[t(584)][t(628)][t(664)](t(382))[t(419)]({view:t(546)}),this[t(584)][t(628)][t(664)](t(363))[t(670)]({model:t(546),view:e=>{const i=t,n=e[i(602)][i(456)](":")[1],s=this[i(480)](n);if(!s)return null;const r=i(421)==s[i(645)]?i(529):i(500),o=[i(428),i(470)+r];return s[i(361)][i(648)]&&o[i(365)](i(470)+r+i(538)),this[i(440)]==s&&o[i(365)](i(585)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(584)][t(628)][t(664)](t(382))[t(421)](e=>{const i=t;e.on(i(530),(t,e,n)=>{const s=i,r=e[s(375)][s(625)](0);if(!r||!r.is(s(579),s(521)))return;if(!n[s(671)][s(466)](r,{attributes:[s(550),s(386)]}))return;const o=e[s(387)][s(496)][s(388)];n[s(518)][s(637)](s(550),r[s(556)](s(550)),o),n[s(518)][s(637)](s(386),r[s(556)](s(386)),o)},{priority:i(589)})}),this[t(584)][t(628)][t(664)](t(382))[t(421)](e=>{const i=t;e.on(i(579),(t,e,n)=>{const s=i;if(!n[s(671)][s(466)](e[s(375)],{attributes:[s(550),s(386)]}))return;if(e[s(387)][s(636)])return;const r=e[s(387)][s(496)][s(388)];r[s(364)](s(550))||r[s(364)](s(615))||(n[s(518)][s(637)](s(550),e[s(375)][s(556)](s(550)),r),n[s(518)][s(637)](s(386),e[s(375)][s(556)](s(386)),r))},{priority:i(589)})}),this[t(584)][t(628)][t(664)](t(382))[t(562)]({view:{name:t(413),attributes:{vid:!0}},model:{key:t(615),value:e=>e[t(556)](t(615))}}),this[t(584)][t(651)][t(414)].on(t(624),(e,[,i])=>{const n=t;[n(550),n(386),n(615)][n(505)](i)&&(e[n(581)]=!0,e[n(376)]())},{priority:t(682)}),this[t(584)][t(628)][t(664)](t(665))[t(421)](e=>{const i=t;e.on(i(578),(t,e,n)=>{const s=i;if(" "!=e[s(537)][s(361)]||e[s(537)][s(561)][s(435)]>1)return;if(!n[s(671)][s(466)](e[s(537)],t[s(499)]))return;const r=n[s(518)],o=n[s(425)][s(618)](e[s(566)]);r[s(384)](o,r[s(378)](s(413)))})}),this[t(584)][t(628)][t(664)](t(665))[t(680)]({model:t(546)}),this[t(584)][t(591)][t(605)].on(t(490),function(e){const i=t,n=e[i(397)][i(379)](i(675));return(t,s,r)=>{const o=i,a=s[o(602)][o(456)](":")[1],c=n[o(480)](a);if(!c)return null;const u=o(421)==c[o(645)]?o(456):o(588);if(!r[o(671)][o(552)](s[o(541)],t[o(499)]))return;const l=s[o(541)][o(487)](),h=s[o(541)][o(496)],d=e[o(651)][o(414)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(537)];p=p||d[o(667)](e);const i=r[o(425)][o(393)](e);if(i&&i[o(572)](o(398)))return;o(619)==t[o(645)]&&d[o(488)](e)&&!d[o(634)](e)&&(e[o(531)]||h[o(627)]?f&&f[o(561)]==e||(f=e,g(t[o(432)]),v=!0):m=m||t[o(432)])}function g(t){const e=o,i=r[e(518)][e(427)](e(413),{class:e(470)+u}),a=r[e(425)][e(532)](t);c[e(361)][e(648)]&&r[e(518)][e(593)](e(470)+u+e(538),i),n[e(440)]==c&&r[e(518)][e(593)](e(585),i),r[e(518)][e(401)](a,i),r[e(425)][e(649)](i,s[e(602)])}p||v||!m||g(m)}}(this[t(584)]),{priority:t(406)}),this[t(584)][t(591)][t(605)].on(t(508),(e,i,n)=>{const s=t,r=n[s(425)][s(598)](i[s(602)]);if(r)for(const t of r)(t[s(472)](s(577))||t[s(472)](s(411)))&&(n[s(425)][s(597)](t,i[s(602)]),n[s(518)][s(640)](t))},{priority:t(406)}),this[t(584)][t(591)][t(605)].on(t(490),(e,i,n)=>{const s=t,r=i[s(602)][s(456)](":")[1],o=this[s(480)](r);if(!o)return null;const a=s(421)==o[s(645)]?s(456):s(588);if(n[s(671)][s(552)](i[s(541)],e[s(499)]))for(const t of i[s(541)][s(633)]()){if(!t.is(s(579),s(471)))continue;const e=n[s(518)][s(427)](s(413),{class:s(470)+a}),r=n[s(425)][s(532)](this[s(584)][s(651)][s(422)](t));o[s(361)][s(648)]&&n[s(518)][s(593)](s(470)+a+s(538),e),this[s(440)]==o&&n[s(518)][s(593)](s(585),e),n[s(518)][s(401)](r,e),n[s(425)][s(649)](e,i[s(602)])}},{priority:t(406)}),this[t(584)][t(651)][t(372)].on(t(355),()=>{const e=t;this[e(584)][e(591)][e(495)][e(355)](t=>{const i=e;for(const e of this[i(584)][i(651)][i(372)][i(447)]()){const n=this[i(584)][i(651)][i(372)][i(533)](e),s=this[i(584)][i(591)][i(495)][i(372)][i(533)](e);if(s){const e=n[i(556)](i(535));if(t[i(608)](i(555),s),t[i(673)](i(612),s),t[i(673)](i(455),s),t[i(673)](i(639),s),e){const n=this[i(480)](e);if(!n)return null;t[i(637)](i(555),e,s),t[i(593)](i(626)+n[i(645)],s),this[i(440)]==n&&t[i(593)](i(639),s)}}}})}),this[t(584)][t(628)][t(664)](t(382))[t(419)]({view:t(433),model:e=>t(659)+e,converterPriority:t(682)}),this[t(584)][t(628)][t(664)](t(382))[t(419)]({view:t(477),model:e=>t(434)+e,converterPriority:t(682)}),this[t(584)][t(628)][t(664)](t(665))[t(680)]({model:t(385),view:e=>({name:t(509)+e,group:t(385)}),converterPriority:t(682)}),this[t(584)][t(628)][t(664)](t(363))[t(670)]({model:t(385),view:e=>{const i=t,n=e[i(602)][i(456)](":")[1];return i(529)!=n&&i(500)!=n?null:{classes:[i(638),i(600)+n]}}}),this[t(584)][t(591)][t(605)].on(t(494),le(this[t(584)],t(588)),{priority:t(406)}),this[t(584)][t(591)][t(605)].on(t(489),le(this[t(584)],t(456)),{priority:t(406)}),this[t(584)][t(591)][t(605)].on(t(405),(e,i,n)=>{const s=t,r=n[s(425)][s(598)](i[s(602)]);if(r)for(const t of r)t.is(s(580))&&(n[s(425)][s(597)](t,i[s(602)]),n[s(518)][s(640)](t))},{priority:t(406)})}[ae(480)](t){const e=ae;return this[e(607)][e(379)](t)}[ae(527)](t){const e=ae;return this[e(631)]&&this[e(631)][e(677)](),this[e(631)]=new Jt(this[e(584)][e(463)],t),this[e(631)]}[ae(547)](){const t=ae;this[t(584)][t(651)][t(372)][t(380)][t(423)](t(546)),this.on(t(358),(e,i,n,s)=>{const r=t;s&&this[r(590)][r(640)](s),n&&(this[r(590)][r(421)]({view:n,stackId:r(544),position:{target:()=>{const t=r,e=this[t(584)][t(591)],i=this[t(480)](n[t(563)]);let s;if(i[t(361)][t(635)]){const n=e[t(495)][t(453)](i[t(601)]);s=Array[t(476)](n[t(549)]())}else{const i=this[t(584)][t(651)][t(657)][t(379)](t(464)+n[t(563)]);s=Array[t(476)](e[t(425)][t(598)](i[t(499)]))[t(507)](i=>e[t(495)][t(658)][t(514)](i))[t(507)](e=>Array[t(476)](e[t(549)]()))[t(599)]()}return this[t(570)]&&s[t(656)](e=>e[t(381)]-3<=this[t(570)].y&&e[t(443)]+3>=this[t(570)].y&&e[t(457)]-3<=this[t(570)].x&&e[t(497)]+3>=this[t(570)].x)||s[0]}}}),this[r(590)][r(524)](r(544)))}),this.on(t(655),(e,i,n,s)=>{const r=t;this[r(582)]=n?this[r(527)](n):null,this[r(584)][r(651)][r(355)](()=>{const t=r,e=this[t(584)][t(591)];s&&(s[t(361)][t(635)]?e[t(495)][t(355)](i=>{const n=t;i[n(673)](n(639),e[n(495)][n(372)][n(533)](s[n(601)]))}):e[t(400)](t(464)+s.id)),n&&(n[t(361)][t(635)]?e[t(495)][t(355)](i=>{const s=t;i[s(593)](s(639),e[s(495)][s(372)][s(533)](n[s(601)]))}):e[t(400)](t(464)+n.id))})}),this[t(392)](this[t(584)][t(591)][t(495)][t(372)],t(407),(e,i)=>{const n=t;if(this[n(440)])return;const s=this[n(409)](i[n(539)]),r=this[n(607)][n(379)](s);r?(this[n(570)]={x:i[n(522)].x,y:i[n(522)].y},this[n(582)]=this[n(527)](r)):(this[n(570)]=null,this[n(582)]=null)}),this[t(392)](this[t(584)][t(591)][t(495)][t(372)],t(441),(e,i)=>{const n=t,s=this[n(409)](i[n(539)]),r=this[n(607)][n(379)](s);r?(this[n(570)]={x:i[n(522)].x,y:i[n(522)].y},r===this[n(440)]?this[n(590)][n(444)]():this[n(440)]=r):(this[n(570)]=null,this[n(440)]=null)})}[ae(409)](t){const e=ae;do{const i=t[e(556)](e(555));if(i)return i;t=t[e(561)]}while(t);return null}[ae(610)](){const t=ae;this[t(584)][t(651)][t(355)](e=>{const i=t;for(const t of this[i(584)][i(651)][i(657)])e[i(513)](t)})}}function le(t,e){return(i,n,s)=>{const r=ce;if(!s[r(671)][r(552)](n[r(541)],i[r(499)]))return;const o=n[r(541)][r(487)](),a=n[r(541)][r(496)],c=t[r(651)][r(414)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(537)];h=h||c[r(667)](e);const i=s[r(425)][r(393)](e);if(i&&i[r(572)](r(398)))return;r(619)==t[r(645)]&&c[r(488)](e)&&!c[r(634)](e)&&(e[r(531)]||a[r(627)]?u&&u[r(561)]==e||(u=e,f(t[r(432)]),d=!0):l=l||t[r(432)])}function f(t){const i=r,o=s[i(425)][i(532)](t),a=s[i(518)][i(427)](i(413),{class:i(600)+e});s[i(518)][i(401)](o,a),s[i(425)][i(649)](a,n[i(602)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=ae;super(t);const i=t[e(397)][e(379)](ue);this[e(609)]=!1,this[e(392)](i,e(515),()=>this[e(520)]()),this[e(392)](i,e(545),()=>this[e(520)]())}[ae(621)](){const t=ae,e=this[t(584)],i=e[t(397)][t(379)](ue),n=i[t(523)]?i[t(371)][t(668)]:null;e[t(474)][t(379)](t(660))[t(644)](n)}[ae(520)](){const t=ae,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(584)][t(397)][t(379)](ue),r=s&&n[t(399)](s[t(668)]);this[t(511)]=e&&i&&Boolean(r)}}class de extends G.Command{[ae(611)];constructor(t,{direction:e}){const i=ae;super(t);const n=t[i(397)][i(379)](ue);this[i(609)]=!1,this[i(611)]=i(676)===e?1:-1,this[i(392)](n,i(515),()=>this[i(520)]()),this[i(392)](n,i(545),()=>this[i(520)]()),this[i(392)](n,i(655),()=>this[i(520)]())}[ae(621)](){const e=ae,i=this[e(584)],n=i[e(397)][e(379)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(440)]=s?n[e(371)][e(438)][e(379)](r+this[e(611)]):n[e(371)][e(438)][e(669)],n[e(440)][e(361)][e(635)])o=i[e(591)][e(495)][e(453)](n[e(440)][e(601)]);else{const t=i[e(651)][e(657)][e(379)](e(464)+n[e(440)].id);o=(0,K.getMarkerDomElement)(i[e(591)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[ae(520)](){const t=ae,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(584)][t(397)][t(379)](ue);this[t(511)]=!!(r&&s&&n)&&(!e||(1===this[t(611)]?i<n-1:i>0))}}var fe=i(578),me={attributes:{"data-cke":!0}};me.setAttributes=At(),me.insert=Rt().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Vt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ge();return(pe=function(t,e){return i[t-=349]})(t,e)}!function(t){const e=pe,i=t();for(;;)try{if(165402===parseInt(e(375))/1+parseInt(e(378))/2*(parseInt(e(367))/3)+parseInt(e(360))/4+-parseInt(e(355))/5+-parseInt(e(392))/6*(parseInt(e(368))/7)+-parseInt(e(386))/8*(parseInt(e(380))/9)+parseInt(e(373))/10*(-parseInt(e(359))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ve extends It.View{constructor(t){const e=pe;super(t);const i=this[e(374)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(370)](e(371),!1),this[e(370)](e(388),!1),this[e(370)](e(361),0),this[e(370)](e(354),0),this[e(370)](e(381),!1),this[e(370)](e(376),!1),this[e(358)](e(369)).to(this,e(388),this,e(354),(t,e)=>t&&e>0),this[e(358)](e(391)).to(this,e(388),this,e(361),this,e(354),this,e(371),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(356));if(!s)return at(t,o(383));const a=at(t,o(357),s);return r?at(t,o(390),[n+1,s]):a}),n[e(370)]({label:at(t,e(382)),tooltip:!0,icon:_t.IconChevronUp}),s[e(370)]({label:at(t,e(352)),tooltip:!0,icon:_t.IconChevronDown}),n[e(358)](e(366)).to(this,e(376)),s[e(358)](e(366)).to(this,e(381)),n.on(e(387),()=>this[e(372)](e(387),e(379))),s.on(e(387),()=>this[e(372)](e(387),e(350))),this[e(353)]({tag:e(363),attributes:{class:["ck",e(362),e(384)]},children:[{tag:e(351),attributes:{class:[e(365)]},children:[{tag:e(351),attributes:{class:[e(377),i.if(e(369),e(364),t=>!t)]},children:[{text:i.to(e(371),i=>i?at(t,e(385))+": ":at(t,e(389))+": ")}]},{text:i.to(e(391))}]},new It.ToolbarSeparatorView,{tag:e(363),attributes:{class:[e(349)]},children:[n,s]}]})}}function ge(){const t=["isForwardNavigationEnabled","Show previous change","No changes","ck-revision-history-ui__changes-navigation","EDIT_X_OF_Y_REVISIONS","122896nIoFPz","execute","isReady","Total","X_OF_Y_CHANGES","_statusText","281382KCnfFu","ck-revision-history-ui__changes-navigation__navigation","forward","span","Show next change","setTemplate","numberOfChanges","920360OIdzJZ","Loading...","NUMBER_OF_CHANGES","bind","518353pNZpPW","511228aIqTUX","currentChangeNumber","ck-revision-history-ui","div","ck-hidden","ck-revision-history-ui__changes-navigation__wrapper","isEnabled","66iqxIxe","28LzhCGX","_isStatusLabelVisible","set","isNavigationMode","fire","10oWcfuQ","bindTemplate","268494nXtjvJ","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__label","21270ASTiVF","backward","27dfnedA"];return(ge=function(){return t})()}var ye=i(242),ke={attributes:{"data-cke":!0}};ke.setAttributes=At(),ke.insert=Rt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Vt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=_e;!function(t){const e=_e,i=t();for(;;)try{if(958525===-parseInt(e(241))/1+-parseInt(e(227))/2+-parseInt(e(235))/3*(-parseInt(e(231))/4)+-parseInt(e(237))/5+-parseInt(e(248))/6*(parseInt(e(242))/7)+-parseInt(e(251))/8*(parseInt(e(233))/9)+-parseInt(e(246))/10*(-parseInt(e(243))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const we=be(232);function _e(t,e){const i=Ie();return(_e=function(t,e){return i[t-=227]})(t,e)}function Ie(){const t=["ck-editor__editable__loading-overlay","9dprbhl","pluginName","603ouItqd","editor","1950350MXpKJT","show","addClass","isPremiumPlugin","402564kPXDEt","440741ikvLJW","282645DESuAq","removeClass","document","1880dkSNJa","isOfficialPlugin","102vkWzEw","hide","change","13438328NFpVPv","roots","888220rFCYGC","RevisionViewerLoadingOverlay","view","editing","2284WhSLXg"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(234)](){return be(228)}static get[be(247)](){return!0}static get[be(240)](){return!0}[be(238)](){const t=be,e=this[t(236)][t(230)][t(229)];e[t(250)](i=>{const n=t;for(const t of e[n(245)][n(252)])i[n(239)](we,t)})}[be(249)](){const t=be,e=this[t(236)][t(230)][t(229)];e[t(250)](i=>{const n=t;for(const t of e[n(245)][n(252)])i[n(244)](we,t)})}}const Oe=xe;function Te(){const t=["5391168rwBZZk","config","hide","isReady","changesNavigation","exitToEditing","Back to editing","add","plugins","isOfficialPlugin","3160DHvCdr","revisionHistory","componentFactory","set","showNextChange","restoreRevision","get","isPremiumPlugin","isBackwardNavigationEnabled","1498330MBRYXF","16578IoXSyM","showPreviousChange","listenTo","forward","RevisionViewerUI","393036YWsjdF","execute","editor","isNavigationMode","init","941845oBIJhH","686CvOVpg","numberOfChanges","pluginName","349944BMNCNc","currentChangeNumber","show","isForwardNavigationEnabled","9PbhMXJ","isEnabled","requires","ck-revision-history-ui__back-to-editing","200oqhTIi","closeRevisionViewerCallback","commands","bind","change:isReady","Restore this revision"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=206]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(362531===-parseInt(e(238))/1*(-parseInt(e(222))/2)+-parseInt(e(214))/3+parseInt(e(253))/4+-parseInt(e(210))/5+-parseInt(e(248))/6*(parseInt(e(211))/7)+parseInt(e(228))/8+parseInt(e(218))/9*(-parseInt(e(247))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(213)](){return Oe(252)}static get[Oe(237)](){return!0}static get[Oe(245)](){return!0}static get[Oe(220)](){return[ue,Se]}[Oe(209)](){const t=Oe,e=this[t(207)],i=e[t(236)][t(244)](ue),n=e[t(236)][t(244)](Se);e.ui[t(240)][t(235)](t(233),i=>{const n=t,s=new It.ButtonView(i);return s[n(241)]({label:at(i,n(234)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(221)}),this[n(250)](s,n(206),()=>{const t=n;e[t(229)][t(244)](t(239))[t(223)]()}),s}),e.ui[t(240)][t(235)](t(243),i=>{const n=t,s=new It.ButtonView(i);return s[n(241)]({label:at(i,n(227)),withText:!0,tooltip:!0}),s[n(225)](n(219)).to(e[n(224)][n(244)](n(243))),this[n(250)](s,n(206),()=>e[n(206)](n(243))),s}),e.ui[t(240)][t(235)](t(232),n=>{const s=t,r=new ve(n),o=e[s(224)][s(244)](s(249)),a=e[s(224)][s(244)](s(242));return r[s(225)](s(246)).to(o,s(219)),r[s(225)](s(217)).to(a,s(219)),r[s(225)](s(231),s(215),s(212),s(208)).to(i),this[s(250)](r,s(206),(t,i)=>{const n=s;e[n(206)](n(251)===i?n(242):n(249))}),r}),n[t(216)](),i.on(t(226),(e,i,s)=>{const r=t;s?n[r(230)]():n[r(216)]()})}}var Re=i(423),Me={attributes:{"data-cke":!0}};Me.setAttributes=At(),Me.insert=Rt().bind(null,"head"),Me.domAPI=xt(),Me.insertStyleElement=Vt();Ot()(Re.A,Me);Re.A&&Re.A.locals&&Re.A.locals;const Ae=Ve;function De(){const t=["input","placeholder","9488952OWaXlN","2591192JISNUy","fieldView","render","5880960kJMGyq","_resizeObserver","ck-revision-history-sidebar__revision-name","value","1209240LioJbY","span","2204724mehJBE","element","destroy","5YegfPi","Revision name","133211MDxzFl","extendTemplate","_tooltipString","30MwRiGK","clientWidth","bindTemplate","listenTo","_updateTooltipText","scrollWidth","6LvUKAD","7iYNVQZ","set","1024479ldcIAC","ck-tooltip_multi-line","Enter the revision name"];return(De=function(){return t})()}function Ve(t,e){const i=De();return(Ve=function(t,e){return i[t-=424]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(426520===-parseInt(e(441))/1*(parseInt(e(450))/2)+parseInt(e(453))/3+-parseInt(e(427))/4*(-parseInt(e(439))/5)+-parseInt(e(436))/6*(-parseInt(e(451))/7)+parseInt(e(430))/8+parseInt(e(434))/9*(-parseInt(e(444))/10)+-parseInt(e(426))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ee extends It.LabeledFieldView{[Ae(431)]=null;constructor(t,e){const i=Ae;super(t,e);const n=this[i(446)];this[i(452)]({label:at(t,i(440)),_tooltipString:""}),this[i(428)][i(425)]=at(t,i(455)),this[i(442)]({tag:i(435),attributes:{class:[i(432)],"data-cke-tooltip-text":n.to(i(443)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(454)}})}[Ae(429)](){const e=Ae;super[e(429)](),this[e(431)]=new t.ResizeObserver(this[e(428)][e(437)],()=>this[e(448)]()),this[e(447)](this[e(428)],e(424),()=>this[e(448)]())}[Ae(438)](){const t=Ae;super[t(438)](),this[t(431)]&&this[t(431)][t(438)]()}[Ae(448)](){const t=Ae,e=this[t(428)][t(437)];this[t(443)]=e[t(449)]>e[t(445)]&&e[t(433)]||""}}var Ce=i(171),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=At(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Vt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Pe(){const t=["502818zdNyhY","2427902QtZTZq","723459xTlOzS","ck-revision-history-sidebar__revision-author__name","setTemplate","span","90TOwwkp","ck-revision-history-sidebar__revision-author_creator","7YOScTv","28356MMsyeP","set","1413140SUejtk","0 0 11 10","88sbDcmI","ck-revision-history-sidebar__revision-author","1033191DRFouw","7010838MquqQY","Revision author","push","name","Revision creator","16jXwbwZ"];return(Pe=function(){return t})()}function Le(t,e){const i=Pe();return(Le=function(t,e){return i[t-=456]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(798055===-parseInt(e(465))/1+parseInt(e(464))/2+parseInt(e(463))/3+-parseInt(e(472))/4*(parseInt(e(469))/5)+parseInt(e(457))/6*(parseInt(e(471))/7)+parseInt(e(462))/8*(parseInt(e(456))/9)+-parseInt(e(474))/10*(parseInt(e(476))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);class je extends It.View{constructor(t,e,i){const n=Le;super(t);const s=new It.IconView;s[n(473)]({content:_t.IconUser,viewBox:n(475)});const r=["ck",n(477)];i&&r[n(459)](n(470));const o=[{tag:n(468),attributes:{class:["ck",n(466)],title:at(t,n(i?461:458))},children:[s,e[n(460)]]}];this[n(467)]({tag:"li",attributes:{class:r},children:o})}}function ze(){var t=["toLocaleTimeString","3600616ZwnICq","3029172pFZznF","18jnMpWc","62241HPoVTs","3055612QXRimc","111000AbIQKk","134pwYzGP","952926wGOqPX","numeric","long","toLocaleDateString","5721732PGGZOK"];return(ze=function(){return t})()}function Ze(t,e){var i=ze();return(Ze=function(t,e){return i[t-=228]})(t,e)}!function(t){for(var e=Ze,i=t();;)try{if(833568===-parseInt(e(233))/1+-parseInt(e(232))/2*(-parseInt(e(229))/3)+parseInt(e(240))/4+parseInt(e(231))/5+parseInt(e(237))/6+-parseInt(e(230))/7+-parseInt(e(239))/8*(parseInt(e(228))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var We=i(585),He={attributes:{"data-cke":!0}};He.setAttributes=At(),He.insert=Rt().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Vt();Ot()(We.A,He);We.A&&We.A.locals&&We.A.locals;function Ue(t,e){const i=qe();return(Ue=function(t,e){return i[t-=398]})(t,e)}function qe(){const t=["add","source","Restore this revision","bind","first","children","Name this revision","function","execute","isOpen","listView","bindTemplate","listenTo","ck-on","button","isVisible","Compare against selected","menuitem","195822ytipyM","isReady","isActionsDropdownOpen","9LBmOkD","name","3PmNYZo","Show more items","find","1374905DCFtIP","class","isEnabled","action","stopPropagation","ck-revision-history-sidebar__revision__actions","_action","items","model","change:isActionsDropdownOpen","1576516ZTbaTe","2388558xRAxOQ","extendTemplate","buttonView","set","map","panelPosition","menu","3744069skvXFS","194638AtDLSO","7772456DcILGw","locale"];return(qe=function(){return t})()}!function(t){const e=Ue,i=t();for(;;)try{if(276680===-parseInt(e(414))/1*(-parseInt(e(436))/2)+parseInt(e(409))/3+-parseInt(e(427))/4+parseInt(e(417))/5+-parseInt(e(428))/6+-parseInt(e(435))/7+-parseInt(e(437))/8*(-parseInt(e(412))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(626),Be={attributes:{"data-cke":!0}};Be.setAttributes=At(),Be.insert=Rt().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-=251]})(t,e)}function Ge(){const t=["ck-reset","_revision","_requireRevisionName","fire","7bDkPJX","1149ptCtas","ck-revision-history-sidebar__revision__date","isActionsDropdownOpen","from","setTemplate","14030740xnuHAM","_createdAtFormatted","revisionActionsView","552vkiZEh","21kbASuh","isSelected","filter","select","ck-revision-history-sidebar__revision-wrapper","99644tQMxfJ","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","div","extendTemplate","bindTemplate","deselect","2790117EpWVXH","ck-revision-history-sidebar__revision_highlighted","fieldView","unshift","value","220","set","7742424sPTNoA","revisionNameView","map","ck-revision-history-sidebar__actions_dropdown_open","isConfirm","creator","isHighlighted","name","change","setName","unhighlight","listenTo","authors","createdAt","isReady","span","bind","isEnabled","element","ck-disabled","length","srcElement","999525LYHyiU","220602ZsKnxu","closest","ck-revision-history-sidebar__revision","highlight","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision-authors","uiLanguage","ck-revision-history-sidebar__revision_selected",".ck-thread__remove-confirm","render"];return(Ge=function(){return t})()}!function(t){const e=Je,i=t();for(;;)try{if(529381===parseInt(e(271))/1*(parseInt(e(279))/2)+-parseInt(e(280))/3*(-parseInt(e(285))/4)+parseInt(e(255))/5+-parseInt(e(256))/6*(parseInt(e(270))/7)+parseInt(e(298))/8+parseInt(e(291))/9+-parseInt(e(276))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(299)];[Ye(278)];[Ye(267)];[Ye(268)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(289)],a=function(t,e){const i=r,n=Array[i(274)](e[i(310)])[i(282)](t=>t!=e[i(303)]);return e[i(303)]&&n[i(294)](e[i(303)]),n[i(300)](n=>new je(t,n,n==e[i(303)]))}(e,i);this.id=i.id,this[r(267)]=i,this[r(268)]=s,this[r(314)](r(305),r(311)).to(i),this[r(314)](r(277)).to(this,r(311),t=>{return i=e[r(262)],(n=t)[(s=Ze)(236)](i,{month:s(235),day:s(234)})+", "+n[s(238)](i,{hour:s(234),minute:s(234)});var i,n,s}),this[r(297)](r(281),!1),this[r(297)](r(304),!1),this[r(297)](r(273),!1),this[r(297)](r(312),!1),this[r(297)](r(315),!1),this[r(299)]=new Ee(e,It.createLabeledInputText),this[r(299)][r(293)][r(288)]({attributes:{maxlength:r(296)}}),this[r(299)][r(293)][r(314)](r(295)).to(this,r(305),t=>t||this[r(277)]),this[r(299)][r(314)](r(315)).to(this,r(281),this,r(315),(t,e)=>t&&e),this[r(278)]=n&&n[r(253)]?function(e,i){const n=Ue,s=e[n(402)],r=e[n(438)],o=(0,It.createDropdown)(r);o[n(433)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ue,n=t[i(438)],s={"Compare against selected":at(n,i(407)),"Name this revision":at(n,i(445)),"Restore this revision":at(n,i(441))};return e[i(432)](t=>{const e=i,n=s[t[e(413)]];return n&&n!==t[e(413)]&&(t[e(413)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(405),model:new It.UIModel({label:t[s(413)],class:t[s(418)],withText:!0,role:s(408),_action:t[s(420)]})};i[s(425)][s(442)](s(419)).to(e,s(411),i=>s(398)!=typeof t[s(419)]||!i||t[s(419)](e)),o[s(439)](i)}return o}(e,i);return e[n(442)](n(411)).to(o,n(400)),o[n(430)][n(431)]({label:at(r,n(415)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(429)]({attributes:{class:[n(422),s.if(n(411),n(404))]},on:{click:s.to(t=>t[n(421)]())}}),o.on(n(399),t=>{const i=n;e[i(410)]&&i(398)==typeof t[i(440)][i(423)]&&t[i(440)][i(423)](e)}),(0,It.addListToDropdown)(o,a,{role:n(434)}),o[n(403)](e,n(426),(t,s,r)=>{const a=n;if(r)for(const t of o[a(401)][a(424)]){const n=t[a(444)][a(443)],s=i[a(416)](t=>t[a(420)]===n[a(423)])[a(406)];t[a(406)]=void 0===s||s(e)}}),o}(this,n):"",this[r(278)]&&this[r(278)][r(314)](r(315)).to(this),this[r(275)]({tag:r(287),attributes:{class:["ck",r(266),r(284),o.if(r(302),r(286))]},children:[{tag:r(287),attributes:{class:["ck",r(266),r(258),o.if(r(315),r(252),t=>!t),o.if(r(281),r(263)),o.if(r(304),r(292)),o.if(r(273),r(301))]},children:[this[r(299)],{tag:r(313),attributes:{class:["ck",r(272)]},children:[{text:o.to(r(277))}]},{tag:r(287),attributes:{class:["ck",r(260)]},children:[{tag:"ul",attributes:{class:["ck",r(261)]},children:a}]},this[r(278)]],on:{click:o.to(t=>{const e=r;t[e(254)][e(257)](e(264))||this[e(312)]&&this[e(315)]&&this[e(269)](e(283),{id:this.id})})}}]})}[Ye(265)](){const t=Ye;super[t(265)]();const e=this[t(299)][t(293)][t(251)];this[t(309)](e,t(306),()=>{const i=t;this[i(268)]&&!e[i(295)]||this[i(269)](i(307),{id:this.id,name:e[i(295)]}),e[i(295)]||(e[i(295)]=this[i(305)]?this[i(305)]:this[i(277)])})}[Ye(283)](){this[Ye(281)]=!0}[Ye(290)](){this[Ye(281)]=!1}[Ye(259)](){this[Ye(304)]=!0}[Ye(308)](){this[Ye(304)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class ni extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},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},Mi={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Ai{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 Di=null;class Vi extends Ai{static get instance(){return null===Di&&(Di=new Vi),Di}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class Pi extends Ai{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Pi(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=Pi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:Vn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const ji=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=ji.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),ji.set(i,n)),n}const Zi=new Map;const Wi=new Map;let Hi=null;const Ui=new Map;function qi(t){let e=Ui.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Ui.set(t,e)),e}const $i=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Zi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Zi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Wn(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Ji{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Pi.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Wi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,ji.clear(),Zi.clear(),Wi.clear(),Ui.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Xi.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return Bi(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Pn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class tn extends Ai{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class en extends Ai{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function nn(t,e){if(Vn(t)||null===t)return e;if(t instanceof Ai)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||Pi.create(t)}return En(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Vi.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Xi.resetCache(),Pi.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Xn(c,e,i)):u>Xn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function Rn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Mn(t,e){if(!Vn(t.localWeekday)||!Vn(t.localWeekNumber)||!Vn(t.localWeekYear)){if(!Vn(t.weekday)||!Vn(t.weekNumber)||!Vn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vn(t.localWeekday)||(t.weekday=t.localWeekday),Vn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vn(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 An(t){const e=Cn(t.year),i=Zn(t.month,1,12),n=Zn(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Dn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Zn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Zn(i,0,59),a=Zn(n,0,59),c=Zn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Vn(t){return void 0===t}function En(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Pn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function jn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Zn(t.firstDay,1,7)||!Zn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Zn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Zn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Wn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hn(t){return Vn(t)||null===t||""===t?void 0:parseInt(t,10)}function Un(t){return Vn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Vn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Xn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(jn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Wn(i,2)}:${Wn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Wn(i,2)}${Wn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF:Mi};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Wn(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Hn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rs=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),Ms=RegExp(`(?:T${Rs.source})?`),As=Ts("weekYear","weekNumber","weekDay"),Ds=Ts("year","ordinal"),Vs=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Es=RegExp(`(?: ${Vs.source})?`);function Cs(t,e,i){const n=t[e];return Vn(n)?i:Hn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function Ps(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ls(t,e){return[{},t[e]?Pi.create(t[e]):null,e+1]}const js=RegExp(`^T?${Ns.source}$`),zs=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Zs(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Un(i)),months:d(Un(n)),weeks:d(Un(s)),days:d(Un(r)),hours:d(Un(o)),minutes:d(Un(a)),seconds:d(Un(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Ws={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Hn(e)):Hn(e),month:as.indexOf(i)+1,day:Hn(n),hour:Hn(s),minute:Hn(r)};return o&&(a.second=Hn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Us=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Hs(e,s,n,i,r,o,a);let f;return f=c?Ws[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bs=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ys=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Js(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Ms),Xs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Ms),Qs=Is(/(\d{4})-?(\d{3})/,Ms),tr=Is(Rs),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,Ps,Ls),ir=Ss(As,Fs,Ps,Ls),nr=Ss(Ds,Fs,Ps,Ls),sr=Ss(Fs,Ps,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Es),ar=Is(Vs),cr=Ss(Fs,Ps,Ls);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Vn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(Vn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(En(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Zs])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[js,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ni(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vn(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=$n(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(jn(e.values,t)||jn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;En(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else En(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Pi.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:Pn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Mr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Ar(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Mr(i)===Mr(t))+e}}function Dr(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Vr(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=jr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Pr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Ar(e.eras("short"),0);case"GG":return Ar(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Qn);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(n);case"MMM":return Ar(e.months("short",!0),1);case"MMMM":return Ar(e.months("long",!0),1);case"LLL":return Ar(e.months("short",!1),1);case"LLLL":return Ar(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Ar(e.meridiems(),0);case"EEE":return Ar(e.weekdays("short",!1),1);case"EEEE":return Ar(e.weekdays("long",!1),1);case"ccc":return Ar(e.weekdays("short",!0),1);case"cccc":return Ar(e.weekdays("long",!0),1);case"Z":case"ZZ":return Dr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Dr(new RegExp(`([+-]${a.source})(${n.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]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(jn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;Vn(t.z)||(i=Pi.create(t.z)),Vn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Vn(t.q)||(t.M=3*(t.q-1)+1),Vn(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),Vn(t.u)||(t.S=qn(t.u));const n=Object.keys(t).reduce((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e},{});return[n,i,e]}(i):[null,null,void 0];if(jn(i,"a")&&jn(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new Pr(t,i).explainFromTokens(e)}function jr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Zr=864e13;function Wr(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Ur(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Gn(t),e,i)}function Jr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Jn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Gn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Wn(t.c.year,i?6:4),e?(n+="-",n+=Wn(t.c.month),n+="-",n+=Wn(t.c.day)):(n+=Wn(t.c.month),n+=Wn(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Wn(t.c.hour);return e?(o+=":",o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Wn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Wn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Wn(Math.trunc(-t.o/60)),o+=":",o+=Wn(Math.trunc(-t.o%60))):(o+="+",o+=Wn(Math.trunc(t.o/60)),o+=":",o+=Wn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Xi.fromObject(e);let s,r;if(Vn(t.year))s=gn.now();else{for(const e of no)Vn(t[e])&&(t[e]=to[e]);const e=An(t)||Dn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Vn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=Vn(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=En(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Xi.fromObject(e)}):fo.invalid(Wr(s))}static fromMillis(t,e={}){if(En(t))return t<-Zr||t>Zr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(En(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Mn(s,n),a=gn.now(),c=Vn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vn(s.ordinal),l=!Vn(s.year),h=!Vn(s.month)||!Vn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Vn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Zn(t.weekNumber,1,Xn(t.weekYear,e,i)),r=Zn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Zn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):An(s),b=k||Dn(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?Rn(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Xs,ir],[Qs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Us,qs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vn(t)||Vn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=jr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Ur(this).weekday:NaN}get localWeekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Ur(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Yr(i,e,t)}return qr(this,{ts:n,zone:t})}return fo.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Mn(e,this.loc),s=!Vn(e.weekYear)||!Vn(e.weekNumber)||!Vn(e.weekday),r=!Vn(e.ordinal),o=!Vn(e.year),a=!Vn(e.month)||!Vn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):Vn(e.ordinal)?(l={...this.toObject(),...e},Vn(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=Rn({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Xi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new Pr(s,t)}static fromFormatParser(t,e,i={}){if(Vn(t)||Vn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):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 Mi}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&En(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(){const t=["1195580phAOfm","10084sGHzTX","startOf","local","toRelativeCalendar","12824vztwtP","8368SKZvuo","week","fromJSDate","153CoZPIR","month","3585606fhdMVj","minus","monthLong","weekdayLong","day","1431586ZvjmuE","year","2DmPsTH","toJSDate","hasSame","587260digknH","50515784bUNtda","setLocale","438wUKGVN"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=180]})(t,e)}function go(t,e){const i=vo,n=fo[i(203)](t)[i(193)](e),s=fo[i(198)](),r=s[i(182)]({days:1})[i(197)](i(185));let o,a;return n[i(190)](s,i(185))?(o=n[i(197)](i(185))[i(189)](),a=n[i(199)]()):n[i(190)](r,i(185))?(o=r[i(189)](),a=n[i(199)]()):n[i(190)](s,i(202))?(o=n[i(197)](i(202))[i(189)](),a=n[i(184)]||""):n[i(190)](s,i(187))?(o=n[i(197)](i(180))[i(189)](),a=n[i(183)]||""):(o=n[i(197)](i(187))[i(189)](),a=String(n[i(187)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(972695===parseInt(e(186))/1*(-parseInt(e(188))/2)+parseInt(e(194))/3*(parseInt(e(196))/4)+-parseInt(e(195))/5+parseInt(e(181))/6+parseInt(e(200))/7*(-parseInt(e(201))/8)+-parseInt(e(204))/9*(parseInt(e(191))/10)+parseInt(e(192))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(980),ko={attributes:{"data-cke":!0}};ko.setAttributes=At(),ko.insert=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Vt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["2275173acXCnd","div","createCollection","ck-revision-history-sidebar__time-period","76HdcSOy","47805njsSwT","add","addRevision","revisionViews","delegate","span","ck-revision-history-sidebar__time-period__revisions","uiLanguage","remove","find","setTemplate","385768CPJKeP","6kRlKcm","select","setName","194353WPwckl","251990yAZJtY","5485040fvfrSv","localizedPeriodName","49OGxnaD","_revisionActions","locale","startDate","ck-revision-history-sidebar__time-period__label","removeRevision","53370IeJOGr","_requireRevisionName"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=304]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(363637===parseInt(e(318))/1*(parseInt(e(315))/2)+-parseInt(e(335))/3*(parseInt(e(334))/4)+parseInt(e(319))/5+-parseInt(e(328))/6+parseInt(e(322))/7*(parseInt(e(314))/8)+parseInt(e(330))/9+-parseInt(e(320))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[bo(325)];[bo(306)];[bo(323)];[bo(329)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(324)][s(310)])[s(321)];this[s(325)]=e,this[s(306)]=this[s(332)](),this[s(323)]=i,this[s(329)]=n,this[s(306)][s(307)](s(316)).to(this),this[s(306)][s(307)](s(317)).to(this),this[s(313)]({tag:s(331),attributes:{class:["ck",s(333)]},children:[{tag:s(308),attributes:{class:["ck",s(326)]},children:[{text:r}]},{tag:s(331),attributes:{class:["ck",s(309)]},children:this[s(306)]}]})}[bo(305)](t){const e=bo,i=new Ke(this[e(324)],t,this[e(323)],this[e(329)]);this[e(306)][e(304)](i)}[bo(327)](t){const e=bo,i=this[e(306)][e(312)](e=>e.id===t.id);this[e(306)][e(311)](i)}}var So=i(323),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=At(),Oo.insert=Rt().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-=376]})(t,e)}function xo(){const t=["setTemplate","6BWiroy","29yMGEGS","Revision history","23592CzyGLp","236091DaKlNP","content","12qTwnrG","72ctCmTa","2650bcKPoT","10522044hqBJzc","div","ck-revision-history-sidebar__header__label","1442lnzXKq","7389820EisfIG","span","40117faOTnH","23030tszKOz","ck-reset_all","ck-revision-history-sidebar__header","8845343XNGUga"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(862901===-parseInt(e(383))/1*(-parseInt(e(377))/2)+parseInt(e(386))/3*(-parseInt(e(389))/4)+-parseInt(e(395))/5*(parseInt(e(382))/6)+-parseInt(e(394))/7*(-parseInt(e(385))/8)+parseInt(e(391))/9+parseInt(e(390))/10*(parseInt(e(376))/11)+parseInt(e(388))/12*(parseInt(e(380))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(387)]=_t.IconHistory,this[e(381)]({tag:e(392),attributes:{class:["ck",e(378),e(379)]},children:[i,{tag:e(396),attributes:{class:["ck",e(393)]},children:[at(t,e(384))]}]})}}var Ro=i(188),Mo={attributes:{"data-cke":!0}};Mo.setAttributes=At(),Mo.insert=Rt().bind(null,"head"),Mo.domAPI=xt(),Mo.insertStyleElement=Vt();Ot()(Ro.A,Mo);Ro.A&&Ro.A.locals&&Ro.A.locals;const Ao=Vo;function Do(){const t=["highlight","ck-rounded-corners","createCollection","map","5687xsYBLd","ck-revision-history-sidebar","422745wEctwx","setName","get","flat","_addRevision","startDate","_revisions","add","fire","ck-reset","revisionViews","_removeRevision","select","selectRevision","set","uiLanguage","addRevision","5844fXQgAD","933278OXLpwx","1720AcgkSl","_requireRevisionName","54690YFyqJx","getTime","unhighlight","remove","_revisionActions","setTemplate","div","locale","9EuGdee","bindTemplate","37877zpbXHR","ck-disabled","find","1992yrXwFE","isEnabled","delegate","createdAt","some","_getTimePeriodViewByStartDate","revisionSelected","revisionSetName","5829516JXlydK","removeRevision","ck-revision-history-sidebar__timeline","timePeriodViews","deselect","highlightRevisions","926232EQpekK","render"];return(Do=function(){return t})()}function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=269]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(711376===-parseInt(e(269))/1+parseInt(e(287))/2*(parseInt(e(298))/3)+parseInt(e(317))/4+-parseInt(e(288))/5*(-parseInt(e(286))/6)+-parseInt(e(300))/7*(-parseInt(e(303))/8)+parseInt(e(311))/9+parseInt(e(290))/10*(-parseInt(e(323))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends It.View{[Ao(314)];[Ao(275)];[Ao(294)];[Ao(289)];constructor(t,e,i,n){const s=Ao;super(t);const r=this[s(299)];this[s(314)]=this[s(321)](),this[s(314)][s(305)](s(281)).to(this),this[s(314)][s(305)](s(270)).to(this),this[s(275)]=e,this[s(294)]=i,this[s(289)]=n,this.on(s(281),(t,e)=>{const i=s;this[i(277)](i(309),e)}),this.on(s(270),(t,e)=>{const i=s;this[i(277)](i(310),e)}),this[s(283)](s(304),!1),this[s(295)]({tag:s(296),attributes:{class:["ck",s(278),s(320),s(324)]},children:[new No(t),{tag:s(296),attributes:{class:["ck",s(313),r.if(s(304),s(301),t=>!t)]},children:this[s(314)]}]})}[Ao(318)](){const t=Ao;super[t(318)]();for(const e of this[t(275)])this[t(273)](e);this[t(275)].on(t(276),(e,i)=>{this[t(273)](i)}),this[t(275)].on(t(293),(e,i)=>{this[t(280)](i)})}get[Ao(279)](){const t=Ao;return this[t(314)][t(322)](e=>e[t(279)][t(322)](t=>t))[t(272)]()}[Ao(282)](t){const e=Ao;for(const i of this[e(279)])t&&t.id===i.id?i[e(281)]():i[e(315)]()}[Ao(316)](t){const e=Ao;for(const i of this[e(279)])t[e(307)](({id:t})=>t===i.id)?i[e(319)]():i[e(292)]()}[Ao(273)](t){const e=Ao,i=go(t[e(306)],this[e(297)][e(284)])[e(274)];let n=this[e(314)][e(271)](0);n&&n[e(274)][e(291)]()===i[e(291)]()||(n=new Io(this[e(297)],i,this[e(294)],this[e(289)]),this[e(314)][e(276)](n)),n[e(285)](t)}[Ao(280)](t){const e=Ao,i=go(t[e(306)],this[e(297)][e(284)])[e(274)];this[e(308)](i)[e(312)](t)}[Ao(308)](t){const e=Ao;return this[e(314)][e(302)](i=>i[e(274)][e(291)]()===t[e(291)]())}}const Co=Po;function Fo(){const t=["getIndex","_revisions","add","timePeriodViews","fieldView","selectRevision","5BZYRfb","appendChild","getRevisionsInDiff","isPremiumPlugin","length","pluginName","_handleRevisionSelected","_handleEditorDataReady","repository","string","newRevisionId","getEarlierVisibleRevision","defaultRevisionActions","_handleRevisionSetName","assign","379068JclStU","isOfficialPlugin","compareAgainstSelected","listenTo","isEnabled","revisionViews","revisionHistory.requireRevisionName","revisionSetName","7520562OhOCMe","isSelected","_revisionsRepository","revisionHistory","7zlnFPf","get","editor","Restore this revision","nameRevision","init","Name this revision","diff","render","highlightRevisions","compare","map","bind","_handleDiffChange","locale","data","action","getLaterVisibleRevision","change:diff","56479xaeJeJ","_createRevisionActions","focus","isVisible","availableRevisionActions","revisionHistory.revisionActions","ready","restoreRevisionCallback","setName","28303341AxHScu","18rDkwSf","getRevision","select","requires","revisionSelected","3346292HKeZRn","3KOSHcK","_sidebarView","1805990kaTkgi","revisionHistory.viewerSidebarContainer","Compare against selected","isReady","_revisionViewer","element","RevisionsSidebar","config","restoreRevision","plugins","8000248ldiYzB","name","destroy","remove"];return(Fo=function(){return t})()}function Po(t,e){const i=Fo();return(Po=function(t,e){return i[t-=189]})(t,e)}!function(t){const e=Po,i=t();for(;;)try{if(526541===-parseInt(e(199))/1*(-parseInt(e(209))/2)+-parseInt(e(215))/3*(parseInt(e(214))/4)+-parseInt(e(237))/5*(parseInt(e(252))/6)+-parseInt(e(264))/7*(parseInt(e(227))/8)+-parseInt(e(260))/9+parseInt(e(217))/10+parseInt(e(208))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends G.Plugin{[Co(221)];[Co(262)];[Co(216)];static[Co(249)]=[Co(254),Co(225),Co(268)];static[Co(203)]=function(){const t=Co;return{compareAgainstSelected:{name:t(219),action:({plugins:e},i)=>{const n=t,s=e[n(265)](ue),r=s[n(245)];let o=s[n(271)][n(247)],a=i.id;r[n(231)](o)>r[n(231)](a)&&([o,a]=[a,o]),s[n(190)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(265)](ue);return!(s[n(245)][n(239)](s[n(271)])[n(241)]>2||i[n(261)])}},restoreRevision:{name:t(267),action:(e,{id:i})=>{const n=t;e[n(224)][n(265)](n(263))[n(206)](i)},isVisible:({plugins:e},i)=>!!e[t(265)](ue)[t(245)][t(197)](i.id)},nameRevision:{name:t(270),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(265)](ue),o=r[s(245)][s(248)](i);r[s(190)](i,o),n[s(201)](),n[s(235)][s(211)]()}}}}();static get[Co(242)](){return Co(223)}static get[Co(253)](){return!0}static get[Co(240)](){return!0}static get[Co(212)](){return[ue]}constructor(t){const e=Co;super(t),this[e(221)]=t[e(226)][e(265)](ue),this[e(262)]=this[e(221)][e(245)],this[e(216)]=null}[Co(269)](){const t=Co,e=this[t(262)][t(232)],i=this[t(200)](),n=this[t(266)][t(224)][t(265)](t(218));this[t(216)]=new Eo(this[t(266)][t(194)],e,i,this[t(266)][t(224)][t(265)](t(258))),this[t(216)].on(t(213),this[t(243)][t(192)](this)),this[t(216)].on(t(259),this[t(250)][t(192)](this)),this[t(216)][t(192)](t(256)).to(this[t(221)]),this[t(216)][t(234)].on(t(233),(e,i)=>{const n=t;i[n(257)].on(n(233),(t,e)=>{const i=n;e[i(192)](i(256),i(220)).to(this[i(221)])})}),this[t(216)][t(272)](),this[t(255)](this[t(266)][t(195)],t(205),this[t(244)][t(192)](this)),this[t(255)](this[t(221)],t(198),this[t(193)][t(192)](this)),n[t(238)](this[t(216)][t(222)])}[Co(229)](){const t=Co;this[t(216)][t(222)][t(230)](),this[t(216)][t(229)]()}[Co(244)](){const t=Co,e=this[t(262)][t(210)](0);if(e){const i=this[t(262)][t(248)](e.id);this[t(221)][t(190)](e,i)}}[Co(243)](t,e){const i=Co,n=this[i(262)][i(210)](e.id),s=this[i(262)][i(248)](n.id);this[i(221)][i(190)](n,s)}[Co(250)](t,e){const i=Co;this[i(262)][i(210)](e.id)[i(207)](e[i(228)])}[Co(193)](t,e,i){const n=Co,s=this[n(262)][n(239)](i);s[n(241)]>2?(this[n(216)][n(189)](s),this[n(216)][n(236)](null)):(this[n(216)][n(189)]([]),this[n(216)][n(236)](s[0]))}[Co(200)](){const t=Co,e=this[t(266)],i=Lo[t(203)],n=e[t(224)][t(265)](t(204))||Lo[t(249)];if(n[t(241)])return n[t(191)](n=>{const s=t,r=s(246)==typeof n?Object[s(251)]({},i[n]):n;return r[s(196)]=r[s(196)][s(192)](this,e),r[s(202)]&&(r[s(202)]=r[s(202)][s(192)](this,e)),r})}}function jo(t,e){const i=Zo();return(jo=function(t,e){return i[t-=219]})(t,e)}const zo=jo;function Zo(){const t=["render","attachDomRoot","_view","viewportOffset","fire","addToolbar","focusTracker","ready","_initToolbar","toolbar","bind","componentFactory","4aSzetE","getRoot","editing","destroy","view","name","isFocused","stickyPanel","get","_elementReplacer","detachDomRoot","element","isActive","160794RvZLSj","restore","editor","680vMWBuO","2860963pbxEoH","2368408LYhOcM","3236490mQJyUF","3538548VKeAvM","_toolbarConfig","viewportTopOffset","rootName","replace","fillFromConfig","config","init","1423131gIfnwP","editable","limiterElement","document","675179zMsZIq","setEditableElement","2KYWIaZ"];return(Zo=function(){return t})()}!function(t){const e=jo,i=t();for(;;)try{if(466964===-parseInt(e(256))/1*(-parseInt(e(258))/2)+parseInt(e(252))/3*(parseInt(e(224))/4)+parseInt(e(243))/5+parseInt(e(244))/6+-parseInt(e(241))/7+-parseInt(e(242))/8+parseInt(e(237))/9*(-parseInt(e(240))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zo);class Wo extends It.EditorUI{[zo(261)];[zo(245)];[zo(233)];get[zo(228)](){return this[zo(261)]}constructor(e,i){const n=zo;super(e),this[n(261)]=i,this[n(245)]=(0,It.normalizeToolbarConfig)(e[n(250)][n(232)](n(221))),this[n(233)]=new t.ElementReplacer}get[zo(235)](){const t=zo;return this[t(228)][t(235)]}[zo(251)](t){const e=zo,i=this[e(239)],n=this[e(228)],s=i[e(226)][e(228)],r=n[e(253)],o=s[e(255)][e(225)]();r[e(229)]=o[e(247)],n[e(259)]();const a=r[e(235)];this[e(257)](r[e(229)],a),n[e(253)][e(222)](e(230)).to(this[e(265)]),s[e(260)](a),this[e(233)][e(248)](t,this[e(235)]),this[e(220)](),this[e(263)](e(219))}[zo(227)](){const t=zo;super[t(227)]();const e=this[t(228)],i=this[t(239)][t(226)][t(228)];this[t(233)][t(238)](),i[t(234)](e[t(253)][t(229)]),e[t(227)]()}[zo(220)](){const t=zo,e=this[t(228)];e[t(231)][t(222)](t(236)).to(this[t(265)],t(230)),e[t(231)][t(254)]=e[t(235)],e[t(231)][t(222)](t(246)).to(this,t(262),({top:t})=>t),e[t(221)][t(249)](this[t(245)],this[t(223)]),this[t(264)](e[t(221)])}}var Ho=i(60),Uo={attributes:{"data-cke":!0}};Uo.setAttributes=At(),Uo.insert=Rt().bind(null,"head"),Uo.domAPI=xt(),Uo.insertStyleElement=Vt();Ot()(Ho.A,Uo);Ho.A&&Ho.A.locals&&Ho.A.locals;var qo=$o;function $o(t,e){var i=Bo();return($o=function(t,e){return i[t-=391]})(t,e)}function Bo(){var t=["1353kbaIdQ","6tMxdah","_editable","render","stickyPanel","213SBNFNs","18350DLLWTd","toolbar","565271FOMism","910zWDBZz","1412fNQprs","editable","top","add","24mEVVER","144460sQgSeC","2564577NgvNSD","main","1353748LCdtip","content","shouldToolbarGroupWhenFull"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(153438===parseInt(e(400))/1*(-parseInt(e(404))/2)+-parseInt(e(395))/3*(-parseInt(e(405))/4)+parseInt(e(401))/5*(-parseInt(e(396))/6)+parseInt(e(403))/7*(parseInt(e(409))/8)+-parseInt(e(411))/9+parseInt(e(410))/10+parseInt(e(392))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[qo(397)];[qo(399)];[qo(402)];get[qo(406)](){return this[qo(397)]}constructor(t,e,i={}){var n=qo;super(t),this[n(399)]=new It.StickyPanelView(t),this[n(402)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(394)]}),this[n(397)]=new It.InlineEditableUIView(t,e)}[qo(398)](){var t=qo;super[t(398)](),this[t(399)][t(393)][t(408)](this[t(402)]),this[t(407)][t(408)](this[t(399)]),this[t(391)][t(408)](this[t(406)])}}const Jo=Ko;function Go(){const t=["sourceElement","11SnNxzp","235mNMhuZ","destroy","7sDYeWq","fire","12933850HoURur","data","init","2256zGfxZU","20riNLYw","8856bsszaL","71200lITaXX","6299736tbZOIh","config","42762624ycZzKJ","initPlugins","_ui","locale","createRoot","get","document","view","model","updateSourceElement","create","initialData","202368DHhDqN","445244ZVarPX","editing","ready"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=248]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(659519===-parseInt(e(252))/1+-parseInt(e(265))/2*(parseInt(e(251))/3)+-parseInt(e(267))/4*(-parseInt(e(257))/5)+parseInt(e(268))/6*(-parseInt(e(259))/7)+parseInt(e(264))/8*(-parseInt(e(266))/9)+-parseInt(e(261))/10+parseInt(e(256))/11*(parseInt(e(270))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(272)];get ui(){return this[Jo(272)]}constructor(t,e){const i=Jo;super(e),this[i(255)]=t,this[i(278)][i(276)][i(274)]();const n=new Yo(this[i(273)],this[i(253)][i(277)],{shouldToolbarGroupWhenFull:!0});this[i(272)]=new Wo(this,n)}[Jo(258)](){const t=Jo;return this[t(248)](),this.ui[t(258)](),super[t(258)]()}static async[Jo(249)](t,e){const i=Jo,n=new this(t,e);return await n[i(271)](),await n.ui[i(263)](t),await n[i(262)][i(263)](n[i(269)][i(275)](i(250))||""),n[i(260)](i(254)),n}}const Qo=na;function ta(){const t=["block","restoreRevision","revisionHistory.showRevisionViewerCallback","removeSelectionAttribute","name","display","style","set","creator","toLocaleTimeString","RestrictedEditingMode","model","_getRevisionViewerEditorConfig","_recalculatePageBreaks","createRangeIn","translations","isReady","setAttribute","selection","166225ZTyDpi","isPremiumPlugin","addUser","_viewerEditor","getAttributeKeys","loadRevisionData","createdAt","change","toJSON","revision-history-missing-configuration","has","RevisionViewer","isEnabled","numeric","error","catch","remove","save","isRevisionViewerOpen","PaginationLookup","347037qKsefP","DocumentOutlineUI","pluginName","getRevisionDocumentData","detachRoot","users","join","Dialog","fromVersion","Autosave","RevisionHistoryUI","restrictedEditingException","getRevisions","config","document","rootName","exitToEditing","revisionHistory.restoreRevisionCallback","editor","RevisionHistory","3547304dmZPjQ","setSelection","DocumentOutline","indexOf","_enhanceShowRevisionViewerCallback","$graveyard","RevisionTracker","changesNavigation","parse","from","isOfficialPlugin","isReadOnly","addRevisionData","hide","lazyRoots","isAnonymous","revisionHistory.viewerContainer","roots","293540iQKWWW","_cleanUp","1288535jSfdUQ","requires","enqueueChange","init","element","create","addRoot","toLocaleDateString","uiLanguage","fromCharCode","_restoreRevision","destroy","629758iLCCRd","saveRevision","closeRevisionViewerCallback","revisionHistory.editorContainer","commands","map","_closeRevisionViewer","get","Users","isOpen","removeMarker","removeAttribute","refreshVisibility","showRevisionViewerCallback","define","revision-history-viewer-opened","308756SHVqyL","getMarkersGroup","getRevisionRootsAttributes","getUser","markers","update","RevisionsRepository","revisionHistory.closeRevisionViewerCallback","result","then","revisionHistory.requireRevisionName","isAttached","adapter","enableReadOnlyMode","long","insert","repository","toVersion","disableReadOnlyMode","revisionHistory","plugins","none","_showRevisionViewer","RevisionHistoryUtils","bind","view","end","revisionHistory.viewerEditorElement","refreshPositioning","Annotations","_update","Restored","toolbar","keys","locale","RevisionViewerIntegration","_enhanceCloseRevisionViewerCallback","push","getRevision","data","getRoot","6kghhlg","includes"];return(ta=function(){return t})()}!function(t){const e=na,i=t();for(;;)try{if(221830===-parseInt(e(596))/1+-parseInt(e(518))/2+-parseInt(e(616))/3+parseInt(e(504))/4+-parseInt(e(506))/5*(-parseInt(e(575))/6)+parseInt(e(534))/7+parseInt(e(486))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ea=[Qo(626),Qo(587)];class ia extends G.Plugin{[Qo(542)];static get[Qo(618)](){return Qo(569)}static get[Qo(496)](){return!0}static get[Qo(597)](){return!0}constructor(t){const e=Qo;function i(t){const e=na;return t[e(523)](t=>String[e(515)](t))[e(622)]("")}super(t),this[e(542)]=e(560),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])})}}function na(t,e){const i=ta();return(na=function(t,e){return i[t-=485]})(t,e)}class sa extends G.Plugin{[Qo(599)];static get[Qo(618)](){return Qo(485)}static get[Qo(496)](){return!0}static get[Qo(597)](){return!0}static get[Qo(507)](){return[pt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(634)][i(629)][i(525)](i(553)))throw new t.CKEditorError(i(605),this);this[i(599)]=null,this[i(584)](i(614),!1),this[i(634)][i(629)][i(532)](i(579),t=>this[i(556)]({...t,translations:this[i(634)][i(568)][i(592)]})),this[i(634)][i(629)][i(532)](i(541),t=>this[i(524)](t)),this[i(634)][i(629)][i(532)](i(633),t=>this[i(516)](t)),this[i(634)][i(629)][i(532)](i(544),!1),this[i(490)](),this[i(570)]()}set[Qo(546)](t){const e=Qo;this[e(634)][e(554)][e(525)](e(492))[e(546)]=t}get[Qo(546)](){const t=Qo;return this[t(634)][t(554)][t(525)](t(492))[t(546)]}[Qo(498)](t){const e=Qo;return this[e(634)][e(554)][e(525)](e(492))[e(498)](t)}[Qo(572)](t){const e=Qo;return this[e(634)][e(554)][e(525)](e(540))[e(572)](t)}[Qo(628)](t){const e=Qo;return this[e(634)][e(554)][e(525)](e(540))[e(628)](t||{toJSON:!1})}[Qo(589)](){const e=Qo,i=this[e(634)],n=(0,K.sanitizeEditorConfig)(i,ea),s=i[e(554)][e(525)](e(492)),r=i[e(554)][e(525)](e(526))[e(621)];return n[e(566)]=[e(632),e(578),e(493)],delete n[e(500)],n[e(554)][e(571)](ia,ue,Ne,class extends G.Plugin{static get[e(507)](){return[ue,e(526)]}[e(509)](){const n=e,o=this[n(634)][n(554)][n(525)](n(526));for(const t of r)t[n(501)]||o[n(537)](t.id)||o[n(598)](t);const a=s[n(550)][n(628)]();let c=null;const u=this[n(634)][n(554)][n(525)](n(607));u[n(546)]=s[n(546)],u[n(558)](n(608)).to(s),this[n(634)][n(522)][n(525)](n(578))[n(558)](n(608)).to(i,n(497),t=>!t);for(const e of a){const i=null===e[n(585)];if(i&&e[n(551)]===e[n(624)])continue;const r=e[n(604)]();u[n(498)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(564)](r,o);else if(!o){const e=a[u(604)]();e.id=(0,t.uid)(),s[u(519)](e,a[u(551)])[u(543)](t=>{c=t})}}else e[u(564)](r,o)})}}},Lo),n}[Qo(490)](){const t=Qo,e=this[t(634)][t(629)][t(525)](t(553))[t(531)];this[t(634)][t(629)][t(584)](t(579),async()=>{const i=t;this[i(634)][i(547)](i(533));const n=this[i(634)][i(554)][i(525)](i(492));if(this[i(634)][i(554)][i(606)](i(625))){const t=this[i(634)][i(554)][i(525)](i(625));await t[i(613)]()}else await n[i(539)]();if(this[i(634)][i(554)][i(606)](i(615))&&this[i(634)][i(554)][i(525)](i(615))[i(590)](),this[i(634)][i(554)][i(606)](i(623))){const t=this[i(634)][i(554)][i(525)](i(623));t[i(527)]&&t[i(499)]()}const s=this[i(589)]();return e(s)[i(543)](t=>{const e=i;return this[e(599)]=t,this[e(634)][e(554)][e(606)](e(563))&&this[e(634)][e(554)][e(525)](e(563))[e(530)](),this[e(634)][e(554)][e(606)](e(488))&&(this[e(634)][e(554)][e(525)](e(617))[e(559)][e(510)][e(583)][e(582)]=e(555)),t})[i(611)](t=>(console[i(610)](t),this[i(634)][i(552)](i(533)),null))})}[Qo(570)](){const t=Qo,e=this[t(634)][t(629)][t(525)](t(553))[t(520)];this[t(634)][t(629)][t(584)](t(541),()=>(this[t(634)][t(554)][t(606)](t(615))&&this[t(634)][t(554)][t(525)](t(615))[t(590)](),this[t(634)][t(554)][t(606)](t(488))&&(this[t(634)][t(554)][t(525)](t(617))[t(559)][t(510)][t(583)][t(582)]=""),this[t(599)][t(554)][t(525)](t(607))[t(505)](),e(this[t(599)])[t(543)](()=>{const e=t;if(this[e(634)][e(552)](e(533)),this[e(599)]=null,this[e(634)][e(554)][e(606)](e(563))){const t=this[e(634)][e(554)][e(525)](e(563));t[e(530)](),t[e(562)]()}})))}[Qo(556)](t){const e=Qo,i=this[e(634)][e(629)][e(525)](e(521)),n=this[e(634)][e(629)][e(525)](e(502)),s=this[e(634)][e(629)][e(525)](e(561));return Xo[e(511)](s,t)[e(543)](t=>(n[e(583)][e(582)]=e(577),i[e(583)][e(582)]=e(555),this[e(614)]=!0,t))}[Qo(524)](t){const e=Qo,i=this[e(634)][e(629)][e(525)](e(521));return this[e(634)][e(629)][e(525)](e(502))[e(583)][e(582)]=e(555),i[e(583)][e(582)]="",this[e(614)]=!1,t[e(517)]()}async[Qo(516)](t){const e=Qo,i=this[e(634)],n=this[e(599)][e(554)][e(525)](e(607)),s=i[e(554)][e(525)](e(492)),r=i[e(554)][e(525)](e(557)),o=n[e(550)][e(572)](t);let a,c,u;try{await r[e(601)](o,this[e(546)]),a=r[e(619)](o),c=r[e(536)](o)}catch(t){return void console[e(610)](t)}i[e(588)][e(603)](t=>{const n=e;for(const e of Array[n(495)](i[n(588)][n(538)][n(535)](n(627))))t[n(528)](e)}),n[e(593)]=!1,i[e(588)][e(508)](t=>{const n=e;t[n(487)](null),t[n(580)](i[n(588)][n(630)][n(595)][n(600)]());const s=Object[n(567)](a);for(const e of i[n(588)][n(630)][n(503)])n(491)!=e[n(631)]&&e[n(545)]()&&!s[n(576)](e[n(631)])&&t[n(620)](e);for(const e of s){let s=i[n(588)][n(630)][n(574)](e);s&&s[n(545)]()||(s=t[n(512)](e));const r=c[e],o=Object[n(567)](r),u=a[e];for(const e of s[n(600)]())o[n(576)](e)||t[n(529)](e,s);for(const i of o)t[n(594)](i,c[e][i],s);t[n(612)](t[n(591)](s)),t[n(549)](i[n(573)][n(494)](u,s),s,0)}});const l=at(i[e(568)],e(565));return u=o[e(581)]?-1==o[e(581)][e(489)](l)?l+": "+o[e(581)]:o[e(581)]:l+": "+o[e(602)][e(513)](i[e(568)][e(514)],{month:e(548),day:e(609)})+", "+o[e(602)][e(586)](i[e(568)][e(514)],{hour:e(609),minute:e(609)}),await s[e(519)]({name:u}),n[e(593)]=!0,i[e(629)][e(525)](e(553))[e(520)]()}}function ra(){var t=["35704gnHlrH","552736MbZegN","2789997QzcOFh","1413yDErLT","604238fmzQoy","295EfqgKC","20238mcTmhp","1129803wDsZcw","159261AwWgDt"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=404]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(242612===parseInt(e(410))/1+-parseInt(e(406))/2+-parseInt(e(409))/3+-parseInt(e(412))/4+-parseInt(e(407))/5*(parseInt(e(408))/6)+parseInt(e(404))/7+-parseInt(e(411))/8*(-parseInt(e(405))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();