@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250709.0 → 0.0.0-nightly-20250711.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- 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={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},262: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)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},433: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}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},545: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)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673: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}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Ko,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>jo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,A),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,n,s,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function E(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&E(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 P(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function U(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=P(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=L(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}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 Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?H(e)?Z(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=L(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}function $(){const t=["6863521jmPapD","createdAt","attributes","34beHbTh","toVersion","64865UouTDb","72oGIQZO","setAttribute","removeAttribute","toJSON","setName","name","set","12697520Yuntae","_update","308OPgyLN","map","model","6PvZedo","1152680hJFzBc","creatorId","fire","7114352JvwZai","fromVersion","diffData","2861088MxUlDY","14162KskQhE","creator","authorsIds","authors"];return($=function(){return t})()}const B=Y;function Y(t,e){const i=$();return(Y=function(t,e){return i[t-=467]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(609364===parseInt(e(473))/1*(parseInt(e(496))/2)+-parseInt(e(495))/3+-parseInt(e(485))/4*(-parseInt(e(475))/5)+-parseInt(e(488))/6*(-parseInt(e(470))/7)+-parseInt(e(492))/8+parseInt(e(476))/9*(-parseInt(e(489))/10)+parseInt(e(483))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class J extends((0,t.ObservableMixin)()){id;[B(467)];[B(469)];[B(494)];[B(474)];[B(493)];[B(487)];constructor(e){const i=B;super(),this.id=e.id||(0,t.uid)(),this[i(467)]=e[i(467)]||null,this[i(469)]=e[i(469)]||[],this[i(494)]=e[i(494)]||null,this[i(474)]=e[i(474)]||0,this[i(493)]=e[i(493)]||0,this[i(482)](i(481),e[i(481)]||""),this[i(482)](i(471),e[i(471)]||new Date),this[i(482)](i(472),e[i(472)]||{})}[B(480)](t){this[B(484)]({name:t})}[B(477)](t,e){const i=B,n=R(this[i(472)]);U(n,t,e),this[i(484)]({attributes:n})}[B(478)](t){const e=B,i=R(this[e(472)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=L(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return q(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(484)]({attributes:i})}[B(484)](t,e=!1){const i=B;let n=!1;const s={id:this.id},r=[i(481),i(471),i(494),i(469),i(472),i(474),i(493),i(490)];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(469)]&&(s[i(468)]=s[i(469)][i(486)](t=>t.id),delete s[i(469)]),this[i(491)](i(484),s,e))}[B(479)](){const t=B;return{id:this.id,name:this[t(481)],creatorId:this[t(467)]?this[t(467)].id:null,authorsIds:this[t(469)][t(486)](t=>t.id),diffData:this[t(494)],createdAt:this[t(471)],attributes:this[t(472)],fromVersion:this[t(493)],toVersion:this[t(474)]}}}var G=i(782),K=i(211),X=i(783);function Q(t,e){const i=tt();return(Q=function(t,e){return i[t-=240]})(t,e)}function tt(){const t=["Users","10300320AtZlfY","from","pluginName","getLaterVisibleRevision","toVersion","_revisions","push","getRevisionsInDiff","fromCharCode","toJSON","name","getIndex","length","join","106125SKPGRG","5WJiGYU","getRevisions","creatorId","isNaN","authorsIds","1456nAaGww","requires","plugins","later","newRevisionId","1944Hxqnga","editor","map","863270DzTSuB","getEarlierVisibleRevision","36PXaalD","oldRevisionId","diffData","getRevisionsIterator","data","add","1542318cKVZYW","attributes","isPremiumPlugin","href","isOfficialPlugin","RevisionsRepository","earlier","get","getUser","addRevision","reverse","afterInit","6096762cgsDah","createRevision","fromVersion","getRevision","2838456qqkHFJ","createdAt"];return(tt=function(){return t})()}const et=Q;!function(t){const e=Q,i=t();for(;;)try{if(559327===parseInt(e(274))/1+parseInt(e(276))/2*(-parseInt(e(260))/3)+parseInt(e(243))/4+parseInt(e(261))/5*(-parseInt(e(282))/6)+parseInt(e(294))/7+parseInt(e(266))/8*(parseInt(e(271))/9)+-parseInt(e(246))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[et(251)];static get[et(267)](){return[K.Users]}static get[et(248)](){return et(287)}static get[et(286)](){return!0}static get[et(284)](){return!0}get[et(258)](){const t=et;return this[t(251)][t(258)]}constructor(e){const i=et;super(e),this[i(251)]=new t.Collection}[et(293)](){!async function(e){const i=k([56,65,122,50,82,87,72,98,52,100,118,78,73,107,105,53,70,75,111,119,110,104,86,121,71,80,68,49,77,85,113,81,76,88,69,83,120,74,101,109,102,117,99,106,66,55,79,112,90,89,115,57,108,114,54,84,48,116,51,103,97,67]),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=Q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(264)](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([65]);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=Q;return t[e(273)](t=>String[e(254)](t))[e(259)]("")}!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:1752019200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(285)]);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)}[et(240)](t){const e=et,i=this[e(272)][e(268)][e(289)](e(245));return new J({id:t.id,name:t[e(256)],creator:t[e(263)]?i[e(290)](t[e(263)]):null,diffData:t[e(278)]||t[e(280)],authors:t[e(265)][e(273)](t=>i[e(290)](t)),createdAt:new Date(t[e(244)]),attributes:t[e(283)],fromVersion:t[e(241)],toVersion:t[e(250)]})}[et(291)](t,e=0){const i=et;this[i(251)][i(281)](t,e)}[et(242)](t){const e=et;return this[e(251)][e(289)](t)}[et(262)](t={toJSON:!1}){const e=et,i=Array[e(247)](this[e(251)]);return i[e(292)](),t[e(255)]?i[e(273)](t=>t[e(255)]()):i}[et(257)](t){const e=et;return this[e(251)][e(257)](t)}[et(275)](t){const e=et,[,i]=this[e(279)](t,{direction:e(288)});return i}[et(249)](t){const e=et,[,i]=this[e(279)](t,{direction:e(269)});return i}[et(253)](t){const e=et,i=[];for(const n of this[e(279)](t[e(270)]))if(i[e(252)](n),n.id===t[e(277)])break;return i}*[et(279)](t,{direction:e=et(288),filter:i=()=>!0}={}){const n=et,s=n(288)===e?1:-1;let r=this[n(251)][n(289)](t),o=this[n(257)](r);for(yield r;r;){if(o+=s,r=this[n(242)](o),!r)return;i(r)&&(yield r)}}}const nt=rt;function st(){const t=["domConverter","createElement","domChildrenToView","fillerOffset","isPremiumPlugin","viewChildrenToDom","processor","_removeRevisionMarkers","htmlProcessor","151615NVWjaF","_makeModelFromViewString","revision-end","184wVknca","_getViewFromDiffObj","isOfficialPlugin","_appendChild","1675113nZriro","useFillerType","5613986SRFnuC","diffData","parse","forEach","8853552fANYyI","_getTypeCharForViewElement","RevisionHistoryUtils","getRevisionDocumentData","editor","children","length","collaboration.channelId","revision-start","childNodes","6FPRhpX","isAttached","7955568rdOKWa","_typeCharToViewClass","37744220cVEYlS","loadRevisionData","default","getRevisionRootsAttributes","string","insertions","from","attributes","pluginName","getRevision","customProperties","_setCustomProperty","type","get","editing","data-revision-","_viewClassToTypeChar","document","attributesAfter","innerHTML","config","startsWith","view","map","getFillerOffset","filter","render","constructor","name","data","div","298646ERYcDK","attachChange","marked","toData","toModel","7eqhzqE","domDocument","append"];return(st=function(){return t})()}function rt(t,e){const i=st();return(rt=function(t,e){return i[t-=240]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(716498===-parseInt(e(245))/1*(parseInt(e(240))/2)+parseInt(e(264))/3+parseInt(e(260))/4*(-parseInt(e(257))/5)+-parseInt(e(280))/6*(-parseInt(e(266))/7)+-parseInt(e(282))/8+-parseInt(e(270))/9+parseInt(e(284))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends G.Plugin{static get[nt(292)](){return nt(272)}static get[nt(262)](){return!0}static get[nt(252)](){return!0}[nt(300)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(283)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(285)](t,e){const i=nt;if(t[i(267)]||!e)return;const n=this[i(274)][i(304)][i(297)](i(277)),s=await e[i(293)]({channelId:n,revisionId:t.id});t[i(267)]=s[i(267)]}[nt(273)](t){const e=nt,i={};for(const n in t[e(267)]){if(t[e(267)][n][e(241)]&&!t[e(267)][n][e(241)][e(281)])continue;const s=this[e(255)](JSON[e(268)](t[e(267)][n][e(289)])),r=this[e(274)][e(298)][e(306)][e(301)],o=new X.ViewDocumentFragment(r,s[e(307)](t=>this[e(261)](t,!1)));this[e(274)][e(313)][e(254)][e(265)](e(242)),i[n]=this[e(274)][e(313)][e(254)][e(243)](o),this[e(274)][e(313)][e(254)][e(265)](e(286))}return i}[nt(287)](t){const e=nt,i={};for(const n in t[e(267)])t[e(267)][n][e(241)]&&!t[e(267)][n][e(241)][e(281)]||(i[n]=t[e(267)][n][e(302)]||{});return i}[nt(271)](t){const e=nt;return this[e(300)][e(297)](t[e(311)])}[nt(261)](t,e){const i=nt,n=this[i(274)][i(298)][i(306)][i(301)];if(i(288)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(296)]||"r"==t[i(296)]?[]:t[i(275)][i(307)](t=>this[i(261)](t,e));const o=this[i(283)][i(297)](t[i(296)])||X.ViewElement,a=this[i(274)][i(313)][i(256)][i(248)];if(s=new o(n,t[i(312)],t[i(291)],r),"u"==t[i(296)]&&t[i(275)][0]){const r=t[i(275)][0];if(s[i(310)]=function(t){const e=i,n=t[e(249)](e(314));return n[e(303)]=r,n[e(279)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(263)](s);const e=Array[i(290)](a[i(253)](t,{bind:!1})),r=a[i(246)][i(249)](i(314));r[i(247)](...e),s=Array[i(290)](a[i(250)](r))[0]}}else if("r"==t[i(296)]&&t[i(275)][0]){const r=t[i(275)][0];if(s[i(310)]=function(t){t[i(303)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(263)](s);const e=Array[i(290)](a[i(253)](t,{bind:!1})),r=a[i(246)][i(249)](i(314));r[i(247)](...e);const o=Array[i(290)](a[i(250)](r));o[i(276)]>1?s[i(263)](o):s=o[0]}}if(t[i(294)])for(const[e,n]of t[i(294)])s[i(295)](e,n);const c=void 0===t[i(251)]?null:t[i(251)];return null!==c&&(s[i(308)]=()=>c),s}}[nt(258)](t){const e=nt,i=JSON[e(268)](t),n=this[e(274)][e(298)][e(306)][e(301)],s=new X.ViewDocumentFragment(n,i[e(307)](t=>this[e(261)](t,!0)));return this[e(274)][e(313)][e(244)](s)}[nt(255)](t){const e=nt;return(t=t[e(309)](t=>!t[e(312)]||e(278)!==t[e(312)]&&e(259)!==t[e(312)]))[e(269)](t=>{const i=e;i(288)!=typeof t&&(t[i(275)]=this[i(255)](t[i(275)]),t[i(291)]=t[i(291)][i(309)](t=>!t[0][i(305)](i(299))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),A=s(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return E(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(n=n??new Map).get(t),M=n.get(i);if(null!=R&&null!=M)return R===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(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=pt();return(mt=function(t,e){return i[t-=395]})(t,e)}function pt(){const t=["attributesBefore","getLatestVersion","howMany","shift","sort","vid_end","document","getUser","_getBaseVids","_makeModelFromViewString","upcast","_markChanges","authorsIds","rootName","text","isAttached","initialData","marker","start","12CzfkrZ","insertionPosition","nodes","values","_bufferUpdate","domDocument","isEqual","setSource","insert","getChild","conversion","_lastFrom","8173XnrwcK","getRevisionRootsAttributes","getRevision","_baseIdsRoots","markerToData","getAttribute","key","_idsRoots","_handleOperation","_getVidAttributeName","affectsData","_revisionId","repository","removeRootAttribute","splitPosition","getChildren","getCustomProperties","getTransformedByOperation","sourcePosition","bind","usageLimit","_startingVersion","fromEntries","markers","revisionHistoryLicenseKeyValid","revisionHistoryLicenseKeyExpired","getOperation","resolve","createRange","30249neXQqh","_initialRevisionId","stringify","RevisionTracker","position","revision","Empty document","_authorId","filter","startsWith","requires","evaluationLimit","_saveMetaData","_createCurrentRevision","_startingRevisionId","_showLicenseError","length","get","createRevision","_touchedMarkers","trialLimit","_getFromVersion","_removeMetaData","element","662077UJXNVg","_getTypeCharForViewElement","RevisionsRepository","_createInitialRevision","$comment","createdAt","map","_fixPosition","_getViewJson","roots","_handleMergeOperation","max","RevisionHistory","_loadState","_bufferedUpdates","keepParagraph","data","_loadedStateData","find","PENDING_ACTION_REVISION_HISTORY","_clone","_execute","452LYPrDH","domainLimit","fromVersion","_generateTape","_prepareViewToSave","oldRange","createPositionAt","parent","isOfficialPlugin","type","outerHTML","_lastTo","includes","revisionHistory.resumeUnsavedRevision","_getState","loadState","size","initial","_utils","render","_findInsertionIndex","$text","rootsAttributes","_touchedRoots","paragraph","reInit","toView","deletion","getRevisionDocumentData","_revisionDataBuilder","offsetSize","addRevisionData","adapter","licenseKey","root","nodeAfter","NEGATIVE_INFINITY","creator","createPositionBefore","finally","clear","getCurrentRevisionId","_processRootBeforeSave","_setConversion","authors","string","add","_createFromRanges","fillerOffset","for","_fixRange","name","delete","changeRootAttribute","reinsert","pluginName","define","revisionHistoryLicenseKeyUsageLimit","getAncestors","updateRevisions","sendBufferedUpdates","some","deletions","customProperties","2676TmKYal","getRootNames","targetPosition","from","getRange","loadRevisionData","collaboration.channelId","addRoot","_isInit","stickiness","getRoot","getAttributes","_copyMarkers","8DmQbWS","4607523kRXFHR","afterInit","$graveyard","newRange","newValue","featureNotAllowed","addRevision","merge","createPositionFromPath","_source","_reset","dataToMarker","getData","history","detachRoot","getRevisions","_transformMarkers","model","ready","tableCell","revision:","range","5095Icvvse","offset","_isPendingUpdate","editor-initial-data-replaced-with-revision-data","addRootAttribute","_diffRoots","item","isPremiumPlugin","isReady","_diffRootsAttributes","_handleMarkerOperation","_addPendingAction","_fixOperation","_makeIdsRoot","_appendChild","2315156CdMkvZ","push","destroy","isAdd","expired","keys","invalid","setRevisionData","domConverter","_insertChild","_removePendingAction","_handleInsertOperation","_handleMoveOperation","revisionHistoryLicenseKeyInvalid","_setAttribute","getWalker","set","_replaceEditorDataWithRevisionData","plugins","isEnabled","getTime","toVersion","getOperations","remove","attributesAfter","currentRevision","getNodeByPath","_makeRevision","getFillerOffset","createPositionAfter","documentFragment","_continueCurrentRevision","init","_licenseKeyCheckInterval","rawElement","_handleRootOperation","childCount","slice","revisionHistoryLicenseKeyTrialLimit","_operations","dataDowncast","previousPosition","Users","Initial revision","then","uiElement","insertions","revisionHistoryLicenseKeyDomainLimit","trim","version","_handleRootAttributeOperation","source","_calculateMetaData","_applyOperations","_savedMetaData","locale","has","editor","path","htmlProcessor","13480LpabpB","end","graveyardPosition","update","insertion","_baseRoots","buildRevisionData","elementEnd","baseVersion","move","_baseRootsAttributes","1XNCFJc","PendingActions","config","8729273KYhxwz","_getPreviousFrom","revisionHistoryLicenseKeyNotAllowed","vid","_cloneOperation","_touched","elementStart","getMovedRangeStart","hasContent","getIndex","innerHTML","saveRevision","creatorId","createElement","RevisionHistoryUtils","vid_start","children","RealTimeCollaborationClient","userId","_handleSplitOperation","_pendingAction","split","clone","reverse","_markers","createRangeIn","_isAttached","diffData","revisionHistoryLicenseKeyEvaluationLimit","attachChange","_update"];return(pt=function(){return t})()}!function(t){const e=mt,i=t();for(;;)try{if(753676===parseInt(e(428))/1*(-parseInt(e(683))/2)+-parseInt(e(522))/3*(-parseInt(e(568))/4)+parseInt(e(668))/5*(parseInt(e(632))/6)+-parseInt(e(431))/7+-parseInt(e(645))/8*(-parseInt(e(646))/9)+-parseInt(e(417))/10*(-parseInt(e(493))/11)+parseInt(e(481))/12*(parseInt(e(546))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends G.Plugin{[ft(601)];[ft(716)];[ft(708)]=null;[ft(505)];[ft(600)]=null;[ft(597)];[ft(655)];[ft(523)];[ft(560)];[ft(586)];[ft(451)];[ft(714)];[ft(514)];[ft(563)];static get[ft(623)](){return ft(525)}static get[ft(576)](){return!0}static get[ft(675)](){return!0}static get[ft(532)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(505)]=this[i(414)][i(701)][i(539)](i(548)),this[i(586)]=this[i(414)][i(701)][i(539)](i(445)),this[i(597)]=new gt(this[i(414)]),this[i(523)]=this[i(414)][i(430)][i(539)](i(638))||i(585),this[i(560)]=new Map,this[i(563)]=null;const n=(0,t.uid)();this[i(655)]={history:this[i(414)][i(663)][i(468)][i(659)],getLatestVersion:()=>Promise[i(520)](this[i(414)][i(663)][i(468)][i(406)]),getCurrentRevisionId:()=>n},this[i(699)](i(676),!1),this[i(699)](i(702),!0),this[i(699)](i(670),!1),this[i(414)][i(430)][i(624)](i(581),!0),this[i(414)][i(491)][i(617)](i(472))[i(657)]({view:i(527)})}[ft(715)](){const t=ft;this[t(611)](),this[t(414)][t(562)].on(t(664),()=>{const e=t,i=this[e(505)][e(495)](0),n=i&&null===i[e(605)]?i:null;if(this[e(714)]=!!n&&this[e(414)][e(430)][e(539)](e(581)),this[e(414)][e(701)][e(413)](e(448))){const t=this[e(655)][e(609)](),s=this[e(505)][e(495)](t);if(s)this[e(514)]=s[e(570)],this[e(714)]=!1;else{const t=this[e(655)][e(659)][e(396)][e(564)](t=>!t[e(640)]),s=t?t[e(425)]:this[e(655)][e(659)][e(406)];i?(i[e(704)]<s&&i[e(461)]({toVersion:s}),this[e(714)]?(this[e(655)][e(609)]=()=>n.id,this[e(514)]=n[e(570)]):(this[e(514)]=i[e(704)],this[e(714)]=!1)):(this[e(514)]=s,this[e(714)]=!1)}}else n&&(this[e(414)][e(663)][e(468)][e(659)][e(406)]=Math[e(557)](n[e(704)],this[e(414)][e(663)][e(468)][e(659)][e(406)]),n[e(570)]===n[e(704)]?(0!==n[e(570)]&&(this[e(655)][e(609)]=()=>n.id),this[e(714)]=!1):this[e(714)]&&(this[e(655)][e(609)]=()=>n.id,this[e(514)]=n[e(570)])),this[e(714)]||(this[e(514)]=this[e(414)][e(663)][e(468)][e(406)]);this[e(597)][e(715)](this[e(655)][e(659)]),this[e(549)](this[e(514)]),this[e(535)](this[e(514)]),this[e(600)]&&this[e(628)]()}),this[t(512)](t(676)).to(this,t(670),t=>!t),this[t(601)]=this[t(414)][t(430)][t(539)](t(601));const e=this[t(414)];this[t(716)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(517)==r||i(696)==r||i(518)==r||i(404)==r||i(433)==r||i(459)==r||i(395)==r||i(625)==r){delete e[s],n=r,clearInterval(this[i(716)]),this[i(716)]=void 0;break}}i(696)==n&&e[i(537)](i(689)),i(518)==n&&e[i(537)](i(687)),i(404)==n&&e[i(537)](i(569)),i(433)==n&&e[i(537)](i(651),i(558)),i(459)==n&&e[i(537)](i(533)),i(395)==n&&e[i(537)](i(542)),i(625)==n&&e[i(537)](i(513))},1e3)}async[ft(647)](){const t=ft;if(this[t(505)][t(538)]>0){const e=this[t(505)][t(495)](0),i=await this[t(596)](e),n=await this[t(494)](e);this[t(700)](i,n)}}[ft(685)](){const t=ft;super[t(685)](),this[t(716)]&&clearInterval(this[t(716)])}[ft(488)](t){this[ft(655)]=t}async[ft(420)](){const t=ft,e=await this[t(655)][t(463)]();if(e>this[t(708)][t(704)]){await this[t(559)]();const i=this[t(423)]({revision:this[t(708)],to:e});i[t(612)]=i[t(474)][t(552)](e=>this[t(414)][t(701)][t(539)](t(399))[t(469)](e)),this[t(708)][t(461)](i)}}async[ft(442)](e={},i=null){const n=ft,s=[];await this[n(559)](),this[n(714)]=!1,i>this[n(708)][n(704)]&&(i=null),null===i&&(i=await this[n(655)][n(463)]());const r=this[n(543)](i),o=this[n(423)]({from:r,to:i});if(this[n(708)][n(704)]<i){const t=this[n(423)]({revision:this[n(708)],from:i,to:i});t[n(612)]=[],t[n(474)]=[],t.id=this[n(708)].id,this[n(708)][n(461)](t,!0),delete t[n(612)],s[n(684)](t)}e[n(443)]=this[n(414)][n(701)][n(539)](n(399)).me.id,e[n(619)]=e[n(619)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(599)](e);s[n(684)](e);const c=this[n(505)][n(440)](a);if(0!==c){const t=this[n(505)][n(495)](c-1);if(t[n(570)]!==i){const r=this[n(597)][n(658)](i,t[n(704)]),o={id:t.id,diffData:r[n(458)],authorsIds:r[n(474)],authors:r[n(474)][n(552)](t=>this[n(414)][n(701)][n(539)](n(399))[n(469)](t)),fromVersion:i};t===this[n(708)]&&(o[n(551)]=new Date(e[n(551)][n(703)]()+10)),t[n(461)](o,!0),delete o[n(612)],s[n(684)](o)}}if(this[n(600)]){for(const t of s)this[n(485)](t.id,t,!0);this[n(628)]()}return a}[ft(599)](t){const e=ft,i=this[e(505)][e(540)](t);return this[e(600)]&&i.on(e(461),(t,i,n)=>{const s=e;n||(this[s(485)](i.id,i,!0),this[s(628)]())}),this[e(505)][e(652)](i,this[e(588)](i)),i}async[ft(596)](t){const e=ft;return await this[e(586)][e(637)](t,this[e(600)]),this[e(586)][e(596)](t)}async[ft(494)](t){const e=ft;return await this[e(586)][e(637)](t,this[e(600)]),this[e(586)][e(494)](t)}[ft(628)](){const t=ft;if(0===this[t(560)][t(584)])return;if(this[t(670)])return;let e=Array[t(635)](this[t(560)][t(484)]());this[t(560)][t(608)]();for(let i=0;i<e[t(538)];i++){const n=e[i];let s=!1;for(const e of Object[t(688)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(530)](t=>null!==t),!e[t(538)])return;for(let i=0;i<e[t(538)];i++){const n=e[i];void 0!==n[t(570)]&&void 0===n[t(704)]&&(n[t(704)]=this[t(505)][t(495)](n.id)[t(704)]),void 0!==n[t(704)]&&void 0===n[t(570)]&&(n[t(570)]=this[t(505)][t(495)](n.id)[t(570)])}const i=this[t(414)][t(430)][t(539)](t(638));this[t(670)]=!0,this[t(679)](),this[t(600)][t(627)](e,i)[t(607)](()=>{this[t(670)]=!1})[t(401)](e=>{const i=t;if(e)for(const t of e)this[i(690)]({id:t.id,createdAt:t[i(551)]});this[i(693)](),this[i(628)]()})}[ft(423)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(570)],i=null!==i?i:t[n(704)];const s=this[n(597)][n(658)](e,i),r={diffData:s[n(458)],authorsIds:s[n(474)],fromVersion:e,toVersion:i};if(!t||i!==t[n(704)]){const t=i-1,e=this[n(655)][n(659)][n(519)](t);r[n(551)]=e&&e[n(551)]||new Date}if(this[n(563)]&&e===this[n(563)][n(570)])for(const t of this[n(563)][n(612)])r[n(474)][n(580)](t.id)||r[n(474)][n(684)](t.id);return r}[ft(485)](t,e,i){const n=ft;if(this[n(560)][n(413)](t)){const s=this[n(560)][n(539)](t);e=i?{...s,...e}:{...e,...s}}this[n(560)][n(699)](t,e)}[ft(690)](t){const e=ft,i=this[e(505)][e(495)](t.id);if(t[e(551)]&&(t[e(551)]=new Date(t[e(551)])),t[e(474)]){const i=this[e(414)][e(701)][e(539)](e(399));t[e(612)]=t[e(474)][e(552)](t=>i[e(469)](t))}i[e(461)](t,!0)}[ft(549)](t){const e=ft,i=this[e(505)][e(495)](this[e(505)][e(538)]-1);if(i)this[e(523)]=i.id;else{const i=!this[e(414)][e(663)][e(468)][e(555)][e(564)](t=>this[e(414)][e(663)][e(439)](t)),n=this[e(414)][e(701)][e(539)](e(399)).me.id,s=at(this[e(414)][e(412)],e(i?528:400));this[e(710)]({from:t,to:t,id:this[e(523)],name:s,creatorId:n})}}[ft(535)](t){const e=ft,i=this[e(655)][e(609)]();this[e(708)]=this[e(505)][e(495)](i),this[e(708)]||(this[e(708)]=this[e(710)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(559)](){const t=ft;this[t(714)]&&!this[t(563)]&&(await this[t(586)][t(637)](this[t(708)],this[t(600)]),this[t(597)][t(583)](this[t(708)]),this[t(563)]={fromVersion:this[t(708)][t(570)],authors:this[t(708)][t(612)][t(720)]()})}[ft(700)](e,i){const n=ft;let s=this[n(414)][n(430)][n(539)](n(478)),r=this[n(414)][n(430)][n(539)](n(590));if(void 0===s){s={};for(const t of this[n(414)][n(663)][n(468)][n(633)]())s[t]=""}if(n(613)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(414)][n(663)][n(468)][n(633)]())r[t]={}}let o=!1;const a=Object[n(688)](s),c=Object[n(688)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(405)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(688)](r[t])[n(538)]>0){o=!0;break}}o||(o=c[n(629)](t=>!this[n(414)][n(663)][n(468)][n(642)](t))),o&&(0,t.logWarning)(n(671),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(414)][n(430)][n(699)](n(478),e),this[n(414)][n(430)][n(699)](n(590),i)}[ft(679)](){const t=ft;if(!this[t(451)]){const e=this[t(414)][t(701)][t(539)](t(429));this[t(451)]=e[t(614)](at(this[t(414)][t(412)],t(565)))}}[ft(693)](){const t=ft;this[t(451)]&&(this[t(414)][t(701)][t(539)](t(429))[t(706)](this[t(451)]),this[t(451)]=null)}[ft(588)](t){const e=ft,i=this[e(505)][e(661)]();i[e(454)]();let n=0;for(;n<i[e(538)];){const s=i[n];if(s===this[e(708)]){n++;continue}if(s.id===this[e(523)])break;const r=t[e(704)]-s[e(704)]||t[e(570)]-s[e(570)];if(r>0)break;if(r<0)n++;else{if(!t[e(605)]&&s[e(605)])break;if(s[e(605)]||!t[e(605)]){if(t[e(551)]>s[e(551)])break;n++}else n++}}return n}[ft(543)](t){const e=ft,i=this[e(505)][e(661)]();i[e(454)](),i[e(465)]();const n=i[e(564)](i=>i[e(704)]<=t)[e(704)];return n<this[e(514)]?this[e(514)]:n}[ft(710)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(423)]({from:e,to:i});o[r(619)]=t,o[r(443)]=n,o.id=s;const a=this[r(599)](o);return this[r(600)]&&this[r(485)](o.id,o,!0),a}[ft(611)](){const t=ft;this[t(414)][t(491)][t(617)](t(397))[t(497)]({model:t(527)})}}class gt{[ft(414)];[ft(408)];[ft(411)];[ft(492)];[ft(579)];[ft(455)];[ft(673)];[ft(677)];[ft(422)];[ft(427)];[ft(500)];[ft(496)];[ft(436)];[ft(541)];[ft(591)];[ft(504)];[ft(536)];constructor(t){const e=ft;this[e(414)]=t,this[e(411)]=new Map,this[e(492)]=-1,this[e(579)]=-1,this[e(455)]=new Map,this[e(673)]=new Map,this[e(677)]=new Map,this[e(422)]=new Map,this[e(427)]=new Map,this[e(500)]=new Map,this[e(496)]=new Map,this[e(436)]=new Map,this[e(541)]=new Map,this[e(591)]=new Map,this[e(504)]=1}[ft(715)](t){const e=ft;this[e(408)]=t;const i=new Map,n=new Map,s=this[e(414)][e(663)][e(468)][e(555)][e(552)](t=>t[e(475)]);for(const t of s){const s=this[e(414)][e(663)][e(468)][e(642)](t),r=yt(s);i[e(699)](t,r),n[e(699)](t,Object[e(515)](s[e(643)]()))}const r=Array[e(635)](this[e(414)][e(663)][e(516)])[e(552)](t=>[t[e(619)],t[e(636)]()]),o=this[e(408)][e(406)];this[e(534)](o,i,r,n),this[e(536)]=this[e(504)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(699)](t,i),c[e(699)](t,{})}this[e(534)](Number[e(604)],a,[],c)}[ft(658)](t,e){const i=ft;if(this[i(492)]===t&&this[i(579)]<=e)this[i(411)][i(584)]>1&&this[i(544)](this[i(579)]),this[i(410)](this[i(579)],e,!0);else{if(!this[i(411)][i(413)](t)){const e=this[i(432)](t);this[i(409)](e,t,!1)}this[i(409)](t,e,!0)}return this[i(492)]=t,this[i(579)]=e,this[i(582)]()}[ft(583)](t){const e=ft,i=this[e(414)][e(701)][e(539)](e(445));this[e(656)](),this[e(492)]=t[e(570)],this[e(579)]=t[e(704)];for(const n in t[e(458)]){const s=t[e(458)][n][e(460)],r=R(t[e(458)][n][e(462)])||{},o=i[e(471)](t[e(458)][n][e(630)]);o[e(475)]=n,o[e(457)]=!s||!s[e(477)],o[e(477)]=()=>o[e(457)],this[e(422)][e(699)](n,o),this[e(427)][e(699)](n,r),s&&this[e(591)][e(699)](n,s);const a=this[e(681)](o);this[e(496)][e(699)](n,a);for(const[t,i]of o[e(516)]){if(!t[e(531)](e(666)))continue;const n=t[e(452)](":")[2];for(const t of i[e(698)]({singleCharacters:!0})){const i=this[e(502)](t),s=e(424)==t[e(577)]?t[e(398)][e(415)][e(720)](0,-1):t[e(398)][e(415)],r=a[e(709)](s)[e(498)](i);this[e(436)][e(699)](r,{userId:n})}}}this[e(536)]=this[e(504)];const n=[...Array(this[e(504)])[e(688)]()][e(720)](1)[e(530)](t=>!this[e(436)][e(413)](t));let s=0;const r=new Map;for(const o in t[e(458)]){const a=t[e(458)][o][e(460)],c=R(t[e(458)][o][e(707)])||{},u=i[e(471)](t[e(458)][o][e(403)]);u[e(475)]=o,u[e(457)]=!a||a[e(477)],u[e(477)]=()=>u[e(457)],this[e(673)][e(699)](o,u),this[e(677)][e(699)](o,c);const l=this[e(681)](u,Number[e(604)]);this[e(500)][e(699)](o,l),r[e(699)](o,u[e(477)]()?c:{});for(const[t,i]of u[e(516)]){if(!t[e(531)](e(666)))continue;const n=t[e(452)](":")[2];for(const t of i[e(698)]({singleCharacters:!0})){const i=this[e(502)](t),s=this[e(504)]++,r=e(424)==t[e(577)]?t[e(398)][e(415)][e(720)](0,-1):t[e(398)][e(415)];l[e(709)](r)[e(697)](i,s),this[e(436)][e(699)](s,{userId:n})}}for(const t of this[e(414)][e(663)][e(456)](u)[e(698)]({singleCharacters:!0})){const i=this[e(502)](t),r=e(424)==t[e(577)]?t[e(398)][e(415)][e(720)](0,-1):t[e(398)][e(415)],o=l[e(709)](r);o[e(498)](i)>0||o[e(697)](i,n[s++])}for(const[t,i]of u[e(516)])t[e(531)](e(666))||this[e(455)][e(699)](t,i)}const o=kt(e(648));this[e(422)][e(699)](e(648),o),this[e(496)][e(699)](e(648),this[e(681)](o,1));const a=kt(e(648));this[e(673)][e(699)](e(648),a),this[e(500)][e(699)](e(648),this[e(681)](a,1));const c=Array[e(635)](this[e(673)])[e(552)](([t,e])=>[t,yt(e)]);this[e(534)](this[e(579)],c,this[e(455)],r)}[ft(593)](){const t=ft;this[t(656)](),this[t(492)]=-1,this[t(579)]=-1,this[t(411)][t(608)](),this[t(715)](this[t(408)])}[ft(534)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(699)](t,{start:e[s(480)][s(453)](),end:e[s(418)][s(453)](),rootName:e[s(602)][s(475)]});this[s(411)][s(699)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(544)](t){const e=ft;this[e(411)][e(620)](t)}[ft(656)](){const t=ft;this[t(436)][t(608)](),this[t(541)][t(608)](),this[t(591)][t(608)](),this[t(673)][t(608)](),this[t(677)][t(608)](),this[t(422)][t(608)](),this[t(427)][t(608)](),this[t(500)][t(608)](),this[t(496)][t(608)](),this[t(455)][t(608)](),this[t(504)]=1,this[t(536)]=this[t(504)]}[ft(681)](t,e=null){const i=ft;let n=null;t.is(i(713))||(n=new X.ModelElement(t[i(619)],{vid_start:null===e?this[i(504)]++:e++}));const s=[];for(const n of t[i(508)]())if(n.is(i(545))){s[i(684)](this[i(681)](n,e));const t=s[s[i(538)]-1];null!==e&&(e=t.is(i(545),i(589))?t[i(498)](i(434))+1:t[i(498)](i(467))+1)}else for(let t=0;t<n[i(598)];t++)s[i(684)](new X.ModelElement(i(589),{vid:null===e?this[i(504)]++:e++}));if(t.is(i(713))){const e=kt(t[i(475)]);return e[i(692)](0,s),e}return n[i(697)](i(467),null===e?this[i(504)]++:e++),n[i(692)](0,s),n}[ft(409)](t,e,i){const n=ft;this[n(656)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(411)][n(539)](t);this[n(422)]=new Map(s),this[n(427)]=new Map(R(o));for(const[t,e]of this[n(422)])if(n(648)!==t&&(this[n(673)][n(699)](t,yt(e)),this[n(677)]=new Map(R(o)),i)){const i=this[n(504)];this[n(500)][n(699)](t,this[n(681)](e)),this[n(496)][n(699)](t,this[n(681)](e,i))}this[n(536)]=this[n(504)],this[n(673)][n(699)](n(648),yt(this[n(422)][n(539)](n(648)))),i&&this[n(500)][n(699)](n(648),this[n(681)](this[n(422)][n(539)](n(648))));for(const[t,e]of r){const i=this[n(422)][n(539)](e[n(475)]),s=this[n(673)][n(539)](e[n(475)]),r=new X.ModelRange(this[n(553)](e[n(480)],i),this[n(553)](e[n(418)],i)),o=this[n(618)](r,s);i[n(516)][n(699)](t,r),this[n(455)][n(699)](t,o)}this[n(410)](t,e,i)}[ft(410)](t,e,i){const n=ft;for(const s of this[n(408)][n(705)](t,e))this[n(501)](s,i);for(const t of this[n(673)][n(484)]())t[n(516)][n(608)]();for(const[t,e]of this[n(455)])this[n(673)][n(539)](e[n(602)][n(475)])[n(516)][n(699)](t,e[n(453)]());const s=new Map,r=new Map;for(const[t,e]of this[n(673)])s[n(699)](t,yt(e)),r[n(699)](t,this[n(677)][n(539)](t));this[n(534)](e,s,this[n(455)],r)}[ft(432)](t){const e=ft,i=Array[e(635)](this[e(411)][e(688)]());i[e(466)]((t,e)=>t-e),i[e(454)]();for(const e of i)if(e<t)return e;return Number[e(604)]}[ft(644)](t,e){const i=ft,n=Array[i(635)](e[i(516)])[i(552)](([e,n])=>[e,this[i(618)](n,t)]);t[i(516)]=new Map(n)}[ft(662)](t){const e=ft;for(const i of this[e(455)][e(484)]()){const n=i[e(510)](t),s=X.ModelRange[e(615)](n);i[e(480)]=s[e(480)],i[e(418)]=s[e(418)]}}[ft(501)](t,e){const i=ft;if(i(639)!=t[i(577)]&&i(660)!=t[i(577)]){if(i(489)==t[i(577)]){const n=t[i(526)][i(602)][i(475)];this[i(673)][i(413)](n)||(this[i(673)][i(699)](n,kt(n,!0)),this[i(677)][i(699)](n,{}),e&&this[i(500)][i(699)](n,kt(n,!0)))}else{if(i(672)==t[i(577)]||i(506)==t[i(577)]||i(621)==t[i(577)])return void this[i(407)](t);i(479)==t[i(577)]&&this[i(678)](t)}if(i(479)!==t[i(577)]){const e=this[i(435)](t,this[i(673)]);e[i(567)](),this[i(662)](e)}if(e)switch(t[i(577)]){case i(489):this[i(694)](t);break;case i(426):case i(706):case i(622):this[i(695)](t);break;case i(653):this[i(556)](t);break;case i(452):this[i(450)](t)}}else this[i(718)](t,e)}[ft(435)](t,e){const i=ft,n=t[i(453)]();return n[i(529)]=t[i(529)],this[i(680)](n,e),n}[ft(470)](t){const e=ft;return t[e(552)](t=>{const i=e,n=this[i(502)](t);return Number(t[i(674)][i(498)](n))})}[ft(571)](t,e){const i=ft;if(t.is(i(545),i(589)))e[i(684)]({item:t,type:i(476)});else{t.is(i(545))&&e[i(684)]({item:t,type:i(437)});for(const n of t[i(508)]())this[i(571)](n,e);t.is(i(545))&&e[i(684)]({item:t,type:i(424)})}return e}[ft(582)](){const t=ft,e=new Map(this[t(436)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(422)][t(688)](),...this[t(673)][t(688)]()]);a[t(620)](t(648));for(const e of a){const i=this[t(673)][t(539)](e)||kt(e,!1),n=this[t(422)][t(539)](e)||kt(e,!1);i[t(477)]()||n[t(477)]()?(s[t(403)][e]=yt(i),s[t(630)][e]=yt(n),this[t(644)](s[t(630)][e],n),this[t(644)](s[t(403)][e],i),r[t(403)][e]=this[t(571)](this[t(500)][t(539)](e),[]),r[t(630)][e]=this[t(571)](this[t(496)][t(539)](e)||kt(e,!1),[])):a[t(620)](e)}for(const s of a){const o=r[t(403)][s];for(const s of o){const r=this[t(502)](s),o=s[t(674)][t(498)](r);i[t(620)](o),o>=this[t(536)]&&n[t(699)](o,e[t(539)](o))}}for(const s of a){const a=r[t(403)][s],c=this[t(470)](r[t(630)][s]);let u=0;for(const s of a){const r=this[t(502)](s),a=s[t(674)][t(498)](r);if(!n[t(413)](a)&&!o[t(413)](a))if(i[t(413)](a))u++;else{if(a!=c[u]){const n=e[t(539)](a)||e[t(539)](c[u]);for(;a!=c[u];)i[t(413)](c[u])||(o[t(699)](c[u],n),e[t(699)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(403)][e];for(const e of s){const s=this[t(502)](e),r=e[t(674)][t(498)](s);if(o[t(413)](r)){const e=o[t(539)](r);i[t(413)](r)||i[t(699)](r,{...e}),n[t(699)](r,{...e})}}}for(const e of i[t(688)]())e>=this[t(536)]&&i[t(620)](e);const c=new Map;for(const e of a){let s=r[t(403)][e];for(const e of s)if(e[t(674)].is(t(545),t(665))){const i=this[t(502)](e),s=e[t(674)][t(498)](i);if(n[t(413)](s)){const i=e[t(674)][t(575)][t(575)][t(498)](t(446)),r=c[t(539)](i)||new Set;r[t(614)](n[t(539)](s)[t(449)]),c[t(699)](i,r)}}s=r[t(630)][e];for(const e of s)if(e[t(674)].is(t(545),t(665))){const n=this[t(502)](e),s=e[t(674)][t(498)](n);if(i[t(413)](s)){const n=e[t(674)][t(575)][t(575)][t(498)](t(446)),r=c[t(539)](n)||new Set;r[t(614)](i[t(539)](s)[t(449)]),c[t(699)](n,r)}}for(const e of c[t(688)]())(n[t(413)](e)||i[t(413)](e))&&c[t(620)](e)}for(const e of a){const s=r[t(403)][e];let o=null,a=null;for(const e of s){const s=this[t(502)](e),r=e[t(674)][t(498)](s),u=c[t(539)](r);u&&t(437)==e[t(577)]&&(o=Array[t(635)](u)[0],a=e[t(674)][t(498)](t(467))),o&&(i[t(699)](r,{userId:o}),n[t(699)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(630)][e],a=s[t(403)][e];for(const{userId:e}of this[t(541)][t(484)]())null!==e&&l[t(614)](e);for(const{userId:e}of this[t(591)][t(484)]())null!==e&&l[t(614)](e);this[t(473)](a,r[t(403)][e],n,t(421),l),this[t(473)](o,r[t(630)][e],i,t(595),l),u[e]={insertions:this[t(572)](a),deletions:this[t(572)](o),attachChange:this[t(591)][t(539)](e)||null,attributesBefore:R(this[t(427)][t(539)](e))||{},attributesAfter:R(this[t(677)][t(539)](e))}}return{diffData:u,authorsIds:Array[t(635)](l)}}[ft(610)](t){const e=ft;for(const[,i]of t[e(516)]){const t=i[e(480)][e(626)]()[e(530)](t=>e(665)==t[e(619)]);for(const i of t)1==i[e(719)]&&i[e(490)](0).is(e(545),e(592))&&i[e(490)](0)[e(697)](e(561),!0)}}[ft(572)](t){const e=ft;this[e(610)](t);const i=this[e(414)][e(562)][e(594)](t,{}),n=Array[e(635)](i[e(508)]())[e(552)](t=>this[e(554)](t));return JSON[e(524)](n)}[ft(554)](t){const e=ft;if(t.is(e(589)))return t[e(562)];{const i=this[e(414)][e(701)][e(539)](e(445)),n=t,s=this[e(414)][e(562)][e(416)][e(691)],r={type:i[e(547)](n),name:n[e(619)],attributes:Array[e(635)](n[e(643)]()),children:Array[e(635)](n[e(508)]())[e(552)](t=>this[e(554)](t))};if(t.is(e(402))&&e(550)!=t[e(619)]){const i=t[e(587)](s[e(486)],s);r[e(447)][e(684)](i[e(578)])}else if(t.is(e(717))){const i=s[e(486)][e(444)](n[e(619)]);t[e(587)](i,s),r[e(447)][e(684)](i[e(441)])}const o=Array[e(635)](n[e(509)]());o[e(538)]>0&&(r[e(631)]=o);const a=n[e(711)]();return null!==a&&(r[e(616)]=a),r}}[ft(473)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(414)][r(663)];for(let n=0;n<e[r(538)];n++){const s=this[r(502)](e[n]),c=e[n][r(674)][r(498)](s),h=i[r(539)](c),d=n==e[r(538)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(449)]!=o[r(449)])&&(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(449)],d=l(666)+n+":"+h+":"+c++,f=u[l(521)](i,a);t[l(516)][l(699)](d,f),null!==h&&s[l(614)](h)}}[ft(502)](t){const e=ft;switch(t[e(577)]){case e(437):return e(446);case e(424):return e(467);default:return e(434)}}[ft(680)](t,e){const i=ft;t[i(425)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(539)](s[i(602)][i(475)]);t[n]=this[i(553)](s,r)}if(s instanceof X.ModelRange){const r=e[i(539)](s[i(602)][i(475)]);t[n]=this[i(618)](s,r)}i(602)===n&&(t[i(602)]=e[i(539)](t[i(602)][i(475)]))}}[ft(618)](t,e){const i=ft;return this[i(414)][i(663)][i(521)](this[i(553)](t[i(480)],e),this[i(553)](t[i(418)],e))}[ft(553)](t,e){const i=ft;return this[i(414)][i(663)][i(654)](e,t[i(415)],t[i(641)])}[ft(694)](t){const e=ft,i=this[e(500)][e(539)](t[e(526)][e(602)][e(475)]),n=this[e(553)](t[e(526)],i),s=null===t[e(529)]?null:t[e(529)]||this[e(414)][e(701)][e(539)](e(399)).me.id,r=n[e(575)],o=this[e(504)],a=[];for(const i of t[e(483)])if(i.is(e(545)))a[e(684)](this[e(681)](i));else for(let t=0;t<i[e(598)];t++)a[e(684)](new X.ModelElement(e(589),{vid:this[e(504)]++}));const c=this[e(504)];for(let t=o;t<c;t++)this[e(436)][e(699)](t,{userId:s});r[e(692)](n[e(669)],a)}[ft(695)](t){const e=ft;(t=this[e(435)](t,this[e(500)]))[e(567)]();const i=null===t[e(529)]?null:t[e(529)]||this[e(414)][e(701)][e(539)](e(399)).me.id,n=t[e(438)](),s=n[e(575)],r=n[e(669)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(490)](e);r.is(a(545),a(589))?n[a(699)](r[a(498)](a(434)),{userId:i}):(n[a(699)](r[a(498)](a(446)),{userId:i}),t(n,r,0,r[a(719)]),n[a(699)](r[a(498)](a(467)),{userId:i}))}}(this[e(436)],s,r,r+t[e(464)])}[ft(556)](t){const e=ft,i=null===(t=this[e(435)](t,this[e(500)]))[e(529)]?null:t[e(529)]||this[e(414)][e(701)][e(539)](e(399)).me.id,n=t[e(634)][e(575)],s=t[e(511)][e(575)],r=n[e(498)](e(467)),o=s[e(498)](e(446));n[e(697)](e(467),s[e(498)](e(467))),s[e(697)](e(467),r),this[e(436)][e(699)](o,{userId:i}),this[e(436)][e(699)](r,{userId:i}),t[e(567)]()}[ft(450)](t){const e=ft,i=null===(t=this[e(435)](t,this[e(500)]))[e(529)]?null:t[e(529)]||this[e(414)][e(701)][e(539)](e(399)).me.id,n=t[e(419)],s=t[e(507)][e(575)];t[e(567)]();const r=s[e(498)](e(467)),o=t[e(482)][e(603)];if(n){const t=o[e(498)](e(467)),n=s[e(498)](e(467));s[e(697)](e(467),t),o[e(697)](e(467),n),this[e(436)][e(699)](s[e(498)](e(467)),{userId:i}),this[e(436)][e(699)](o[e(498)](e(446)),{userId:i})}else{const t=this[e(504)]++,n=this[e(504)]++;s[e(697)](e(467),t),o[e(697)](e(446),n),o[e(697)](e(467),r),this[e(436)][e(699)](t,{userId:i}),this[e(436)][e(699)](n,{userId:i})}}[ft(678)](t){const e=ft;if(!t[e(503)])return;const i=(t=this[e(435)](t,this[e(673)]))[e(573)]?t[e(573)][e(602)]:null,n=t[e(649)]?t[e(649)][e(602)]:null;i&&this[e(455)][e(620)](t[e(619)]),n&&this[e(455)][e(699)](t[e(619)],t[e(649)][e(453)]());const s=null===t[e(529)]?null:t[e(529)]||this[e(414)][e(701)][e(539)](e(399)).me.id,r=t[e(619)];if(!this[e(541)][e(413)](r))return void this[e(541)][e(699)](r,{range:t[e(573)],userId:s});const o=this[e(541)][e(539)](r),a=o[e(667)],c=t[e(649)];null==a&&null==c||a&&c&&a[e(487)](c)?this[e(541)][e(620)](t[e(619)]):o[e(449)]=s}[ft(718)](t,e){const i=ft;this[i(673)][i(413)](t[i(475)])?this[i(673)][i(539)](t[i(475)])[i(457)]=t[i(686)]:(this[i(673)][i(699)](t[i(475)],kt(t[i(475)],!0)),this[i(677)][i(699)](t[i(475)],{}),e&&this[i(500)][i(699)](t[i(475)],kt(t[i(475)],!0)));const n=null===t[i(529)]?null:t[i(529)]||this[i(414)][i(701)][i(539)](i(399)).me.id,s=this[i(591)][i(539)](t[i(475)]);s&&s[i(449)]===n?this[i(591)][i(620)](t[i(475)]):this[i(591)][i(699)](t[i(475)],{userId:n,isAttached:t[i(686)]})}[ft(407)](t){const e=ft,i=this[e(677)][e(539)](t[e(602)][e(475)]);null===t[e(650)]?delete i[t[e(499)]]:i[t[e(499)]]=t[e(650)]}}function yt(t){const e=ft,i=kt(t[e(475)],t[e(477)]());for(const n of t[e(508)]()){const t=n[e(566)](!0);i[e(682)](t)}return i}function kt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(475)]=t,n[i(457)]=e,n[i(477)]=()=>n[i(457)],n}function bt(t,e,i){const n=ft,s=n(424)==t[n(577)]?i[n(574)](t[n(674)],n(418)):i[n(606)](t[n(674)]);return i[n(654)](e,s[n(415)],s[n(641)])}function wt(t,e,i){const n=ft,s=n(437)==t[n(577)]?i[n(574)](t[n(674)],0):i[n(712)](t[n(674)]);return i[n(654)](e,s[n(415)],s[n(641)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),Tt=i(545),xt=i.n(Tt),Nt=i(262),At=i.n(Nt),Rt=i(667),Mt=i.n(Rt),Et=i(357),Vt=i.n(Et),Dt=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Vt();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(959),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=At().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Vt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Pt=zt;function Lt(){const t=["value","setTemplate","focus","ck-responsive-form","set","locale","928992HFzENW","arrowdown","1004xpTKbH","extendTemplate","element","arrowright","302931KDHIBg","add","revisionName","1659SkQWzb","220","focusTracker","reset","1937644LXdYKk","form","_createRevisionNameInput","errorText","revisionNameInputValue","render","label","initializeCssTransitionDisablerMixin","keystrokes","2966649LMEXPt","optional","ck-revision-history-save-revision-form","input","listenTo","revisionNameInputView","Name of the revision","fieldView","stopPropagation","357129NijhEU","5PAKAHC","arrowup","arrowleft","4022944isJLXr","trim"];return(Lt=function(){return t})()}function zt(t,e){const i=Lt();return(zt=function(t,e){return i[t-=125]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(313644===parseInt(e(141))/1+parseInt(e(155))/2*(parseInt(e(162))/3)+-parseInt(e(166))/4*(-parseInt(e(142))/5)+parseInt(e(153))/6+-parseInt(e(132))/7+-parseInt(e(145))/8+-parseInt(e(159))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(164)];[Pt(131)];[Pt(137)];constructor(e,i){const n=Pt;super(e),this[n(164)]=new t.FocusTracker,this[n(131)]=new t.KeystrokeHandler,this[n(151)](n(127),""),this[n(137)]=this[n(125)](i),this[n(148)]({tag:n(167),attributes:{class:["ck",n(134),n(150)],tabindex:"-1"},children:[this[n(137)]]}),this[n(130)]()}[Pt(128)](){const t=Pt;super[t(128)](),(0,It.submitHandler)({view:this}),this[t(164)][t(160)](this[t(137)][t(157)]),this[t(131)][t(136)](this[t(157)]);const e=e=>e[t(140)]();this[t(131)][t(151)](t(158),e),this[t(131)][t(151)](t(144),e),this[t(131)][t(151)](t(143),e),this[t(131)][t(151)](t(154),e)}[Pt(149)](){const t=Pt;this[t(137)][t(149)]()}get[Pt(161)](){const t=Pt;return this[t(137)][t(139)][t(157)][t(147)][t(146)]()}set[Pt(161)](t){const e=Pt;this[e(137)][e(139)][e(157)][e(147)]=t[e(146)]()}[Pt(165)](){const t=Pt;this[t(137)][t(139)][t(157)][t(147)]="",this[t(137)][t(126)]=null}[Pt(125)](t){const e=Pt,i=new It.LabeledFieldView(this[e(152)],It.createLabeledInputText),n=i[e(139)];n[e(156)]({attributes:{maxlength:e(163)}});let s=at(this[e(152)],e(138));return!t&&(s+=" ("+at(this[e(152)],e(133))+")"),i[e(129)]=s,n.on(e(135),()=>{const t=e;this[t(127)]=n[t(157)][t(147)][t(146)]()}),i}}const Ut=Zt;function Ht(){const t=["_createSaveRevisionFormView","showRevisionViewerCallback","Revision history","addMany","2892qtgnzg","children","Dialog","revisionSave","968427mJsjSt","locale","1834300EPpsfp","menuBar:revisionHistory","editing","panelView","buttonView","errorText","view","RevisionTracker","saveRevision","componentFactory","show","revisionNameInputView","add","1880790JIFVsn","reset","ck-button-action","isOpen","requires","revisionHistory.requireRevisionName","bind","Save current revision","config","set","1244608zbRYOI","isEnabled","1376340gAqZAq","render","items","role","revisionHistory","Open revision history","isReadOnly","menu","delegate","5243YtVHkH","isReady","get","execute","revisionName","_showDialog","RevisionHistoryUI","hide","menuitem","init","45OiUCVa","10yxNDEx","Cancel","isOfficialPlugin","The revision name cannot be empty.","focus","submit","_registerMenuComponent","editor","pluginName","Accept","10282bhWQOr","_saveRevisionFormView","isPremiumPlugin","plugins"];return(Ht=function(){return t})()}function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=293]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(247391===parseInt(e(298))/1*(-parseInt(e(308))/2)+parseInt(e(320))/3+parseInt(e(347))/4+parseInt(e(322))/5+parseInt(e(316))/6*(parseInt(e(356))/7)+-parseInt(e(345))/8+-parseInt(e(297))/9*(parseInt(e(335))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends G.Plugin{static get[Ut(306)](){return Ut(293)}static get[Ut(300)](){return!0}static get[Ut(310)](){return!0}static get[Ut(339)](){return[vt]}[Ut(309)];[Ut(296)](){const t=Ut,e=this[t(305)],i=e[t(311)][t(358)](t(329));e.ui[t(331)][t(334)](t(351),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(325)][s(317)],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(341)](s(346)).to(i,s(357),i,s(346),e,s(353),(t,e,i)=>t&&e&&!i),r[s(326)][s(344)]({icon:_t.IconHistory,label:at(n,s(314)),tooltip:!0}),u[s(344)]({label:at(n,s(342)),withText:!0,role:s(295)}),u[s(341)](s(346)).to(i,s(357),i,s(346),e,s(353),(t,e,i)=>t&&e&&!i),u.on(s(359),()=>this[s(361)]()),h[s(344)]({label:at(n,s(352)),withText:!0,role:s(295)}),h[s(341)](s(346)).to(i,s(357),e,s(353),(t,e)=>t&&!e),h.on(s(359),()=>{const t=s;e[t(343)][t(358)](t(351))[t(313)](),r[t(338)]=!1,e[t(324)][t(328)][t(302)]()}),c[s(317)][s(334)](u),l[s(317)][s(334)](h),a[s(350)]=s(354),a[s(349)][s(315)]([c,l]),o[s(334)](a),r}),e.ui[t(331)][t(334)](t(323),()=>this[t(304)]())}[Ut(304)](){const t=Ut,e=this[t(305)],i=e[t(321)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(326)][t(344)]({icon:_t.IconHistory,label:at(i,t(314))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(344)]({label:at(i,t(342))}),o[t(355)](t(359)).to(n),o.on(t(359),()=>{this[t(361)]()}),r[t(317)][t(334)](o),s[t(349)][t(334)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(344)]({label:at(i,t(352))}),c[t(355)](t(359)).to(n),c.on(t(359),()=>{const i=t;e[i(343)][i(358)](i(351))[i(313)]()}),a[t(317)][t(334)](c),s[t(349)][t(334)](a),n[t(325)][t(317)][t(334)](s),n}[Ut(361)](){const t=Ut,e=this[t(305)],i=e[t(321)],n=e[t(311)][t(358)](t(318)),s=e[t(311)][t(358)](t(329));function r(s){const r=t;e[r(343)][r(358)](r(340))&&""===s[r(360)]?s[r(333)][r(327)]=at(i,r(301)):(e[r(311)][r(358)](vt)[r(330)]({name:s[r(360)]}),n[r(294)]())}this[t(309)]||(this[t(312)](),this[t(309)].on(t(303),()=>r(this[t(309)]))),this[t(309)][t(336)](),n[t(332)]({id:t(319),title:at(i,t(342)),isModal:!0,content:this[t(309)],actionButtons:[{label:at(e[t(321)],t(299)),withText:!0,onExecute:()=>n[t(294)]()},{label:at(e[t(321)],t(307)),class:t(337),withText:!0,onCreate(i){const n=t;i[n(341)](n(346)).to(s,n(357),s,n(346),e,n(353),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(309)])}]})}[Ut(312)](){const t=Ut,e=this[t(305)],i=e[t(321)];this[t(309)]=new Wt(i,e[t(343)][t(358)](t(340))),this[t(309)][t(348)]()}}function $t(){const t=["Added by","2878948BYNoyk","element","169353mkUOcq","changeId","_model","1826536brCSkX","11133670ZVyESP","setTemplate","5dpQrhp","Suggested by","add","author","name","ck-revision-change","isSuggestion","8997940vMjNxD","type","set","Removed by","bindTemplate","232942pbFCMY","3262596oEAteb","9uCUlry","ck-annotation","data","ck-revision-change__label","6uuqvmP","div","span","ck-revision-change__","focus"];return($t=function(){return t})()}const Bt=Yt;function Yt(t,e){const i=$t();return(Yt=function(t,e){return i[t-=281]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(721226===-parseInt(e(282))/1*(parseInt(e(308))/2)+parseInt(e(290))/3+parseInt(e(288))/4*(-parseInt(e(296))/5)+-parseInt(e(309))/6+parseInt(e(303))/7+parseInt(e(293))/8*(parseInt(e(310))/9)+parseInt(e(294))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Jt extends It.View{[Bt(291)];[Bt(292)];constructor(t,e){const i=Bt;super(t),this[i(292)]=e,this[i(291)]=e.id;const n=this[i(307)],s=at(t,e[i(312)][i(302)]?i(297):i(298)==e[i(304)]?i(287):i(306));this[i(305)](i(304),e[i(304)]),this[i(295)]({tag:i(283),attributes:{class:[i(311),i(301),n.to(i(304),t=>i(285)+t)],tabindex:-1},children:[{tag:i(284),children:[{tag:i(284),attributes:{class:[i(281)]},children:[{text:s}]},{text:" "+e[i(299)][i(300)]}]}]})}[Bt(286)](){const t=Bt;this[t(289)][t(286)]()}}function Gt(t,e){var i=Xt();return(Gt=function(t,e){return i[t-=229]})(t,e)}var Kt=Gt;function Xt(){var t=["toJSON","type","4GAsdXm","11478888jEmLrm","1290113kuQboa","54601209FCTsyu","author","rootName","data","createdAt","2426028zfwnWv","3328539cyYZvO","set","12644604BSurMn","20wyQeYa","1373370pQsjkS"];return(Xt=function(){return t})()}!function(t){for(var e=Gt,i=t();;)try{if(991627===-parseInt(e(235))/1+-parseInt(e(230))/2+parseInt(e(242))/3*(-parseInt(e(233))/4)+parseInt(e(229))/5*(-parseInt(e(241))/6)+-parseInt(e(244))/7+parseInt(e(234))/8+parseInt(e(236))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Kt(237)];[Kt(232)];[Kt(239)];[Kt(238)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(237)]=e[i(237)],this[i(232)]=e[i(232)],this[i(239)]=e[i(239)]||{},this[i(238)]=e[i(238)],this[i(243)](i(240),e[i(240)])}[Kt(231)](){var t=Kt;return{id:this.id,authorId:this[t(237)].id,type:this[t(232)],data:this[t(239)],createdAt:this[t(240)]}}}function te(){const t=["newRevisionId","18qACIxm","add","1357573aANaOm","16uHDKmh","1142NouHDv","17549818GGgdfM","33910VEKXSO","73SOhmZu","364wijoVi","12WsQQiD","changes","1130565XWvEuo","oldRevisionId","_setChanges","2053251TKNExY","427650hDOXIj"];return(te=function(){return t})()}const ee=ie;function ie(t,e){const i=te();return(ie=function(t,e){return i[t-=136]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(315954===parseInt(e(145))/1*(parseInt(e(142))/2)+parseInt(e(149))/3+-parseInt(e(146))/4*(parseInt(e(144))/5)+parseInt(e(138))/6*(-parseInt(e(140))/7)+-parseInt(e(141))/8*(parseInt(e(152))/9)+-parseInt(e(136))/10+-parseInt(e(143))/11*(-parseInt(e(147))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ne{[ee(137)];[ee(150)];[ee(148)];constructor(e,i){const n=ee;this[n(137)]=e,this[n(150)]=i,this[n(148)]=new t.Collection}[ee(151)](t){const e=ee;for(const i of t)this[e(148)][e(139)](i)}}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Vt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ce;function ae(){const t=["keys","forEach","consume","shift","_setChanges","_sortAndFilterDiffChanges","getCustomProperty","change:activeChange","showNextChange","forward","restoreRevision","schema","getRevisionDocumentData","changeId","_getRevisionsRange","RevisionHistoryUtils","bindElementToMarker","ck-suggestion-preview-marker-","repository","hasClass","find","mousedown","activeChange","createRangeIn","item","resolve","catch","markerRange","_markMismatchedRemovedTags","refresh","document","level","map","top","ck-editor__editable__overlay","_makeModelFromTape","editor","vid_start","isInline","parent","mouseover","_balloon","numberOfChanges","config","15lnWzdt","low","_markMarkers","_findChangeIdFromDomTarget","domEvent","includes","hasAttribute","removeClass","next","startsWith","revision-viewer","pluginName","compare","showPreviousChange","3976OisHYL","markerToData","detachRoot","attribute:vid","_revisions","suggestion","ck-suggestion-marker","error","span","_getDiff","getIndex","concat","isAfter","_utils","_setDistance","string","nextPosition","_activeViewTarget","oldRevisionId","_changeView","offsetSize","isBefore","upcast","isAttached","target","revisionHistoryAttachChange","findIndex","pop","elementToAttribute","isPremiumPlugin","return","uiElement","markerName","distance","revisionHistoryLabel","addMarker:revision-suggestion:deletion","_getViewForChange","_cleanMarkers","index","removeAttribute","isRemoveSuggestion","30mQFETO","vid_end","markerNameToElements","text","userId","_fixObsoleteTags","getLaterVisibleRevision","viewItem","createRange","filter","conversion","POSITIVE_INFINITY","createRevision","30VOsPoj","isContent","diffData","createAttributeElement","-new","length","flat","previousPosition","_markSuggestions","_data","slice","unbindElementFromMarkerName","stop","ck-suggestion-marker--active","isReady","removeMarker","domConverter","getRevisionRootsAttributes","elementStart","high","toViewElement","isSuggestion","isLimit","markers","showStack","changes","locale","data-change-id","ck-suggestion-preview-marker","addHighlight","isNavigationMode","createPositionFromPath","_step","markerToHighlight","56690tMNERB","sort","backward","left","first","code","indexOf","ck-revision-history-root--active","enqueueChange","forceDisabled","execute","dataDowncast","editing","element","merge","data","destroy","push","2157683PcVxMH","newRevisionId","WidgetToolbarRepository","insertions","getRootNames","roots","addRevisionData","_refreshStartEndIndex","getRoot","softBreak","_markInsertions","range","maxOffset","removeMarker:revision-suggestion","change:isReady","isAdded","_removeMissingPairs","nextSibling","getItems","selection","getAttribute","RevisionViewer","attributesBefore","revision","values","modelRange","_joinTapes","elementEnd","revision-suggestion:","getChild","for","change:activeView","adapter","createPositionBefore","view","highest","5760kBKBTb","checkAttribute","updatePosition","requires","getAttributes","vid","_processTape","672655tsckLA","isAddSuggestion","comment","revisionHistory","init","authors","remove","createUIElement","addClass","markersEnd","loadRevisionData","deletions","ck-suggestion-marker-merge","attachChange","revision-suggestion","_getChangeFromId","ck-suggestion-marker-split","affectsData","endIndex","isAtStart","_update","toViewPosition","isRemoved","all","delete","name","isBlock","isAtEnd","_initInteractions","addMarker:revision-suggestion:insertion","plugins","ck-revision-history-root-","side","markersStart","addMarker:revision","object","observeMarkers","_appendChild","_cleanUp","getRevision","RevisionsRepository","insert","add","diff","suggestion:","wrap","revision-comment:","_makeModelFromViewString","revision:","end","type","isCollapsed","right","currentChangeNumber","mapViewToDom","done","startIndex","dataToMarker","change","split","_changeIdToChange","deletion","bind","_setConversion","downcastDispatcher","commands","addRevision","splice","isEnabled","reconvertMarker","model","then","1081115pxYCUh","isOfficialPlugin","isIncorrect","nodeAfter","_threeWayMerge","mapper","22pKuLEc","test","get","isOnRoot","rootName","getClientRects","attributes","activeView","bottom","attributesAfter","ck-revision-history-root-remove","toViewRange","_makeTape","enableReadOnlyMode","_removeUnsupportedChanges","getWalker","from","ck-revision-history-root-add","abs","addRoot","1563732TgpIty","setAttribute","isEqual","has","start","insertion","change:numberOfChanges","pairId","getDomRoot","restoreRevisionCallback","unshift","isObject","listenTo","change:isEnabled","set","ck-suggestion-marker-","element:pre","writer","removeMarker:revision","clear","editingDowncast","215172GNydlL","consumable"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=231]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(423137===parseInt(e(310))/1*(-parseInt(e(449))/2)+parseInt(e(536))/3*(parseInt(e(490))/4)+-parseInt(e(371))/5+-parseInt(e(276))/6*(-parseInt(e(443))/7)+parseInt(e(550))/8*(-parseInt(e(364))/9)+parseInt(e(263))/10*(parseInt(e(328))/11)+-parseInt(e(469))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(510)];[oe(360)]=null;[oe(235)];[oe(239)];[oe(241)];[oe(431)];[oe(533)];static get[oe(547)](){return oe(349)}static get[oe(444)](){return!0}static get[oe(251)](){return!0}static get[oe(367)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(510)]=this[e(528)][e(401)][e(451)](e(411)),this[e(235)]=this[e(528)][e(401)][e(451)](e(507)),this[e(483)](e(514),null),this[e(483)](e(456),null),this[e(239)]=null,this[e(483)](e(414),null),this[e(483)](e(290),!1),this[e(483)](e(439),!0),this.on(e(482),(t,i,n)=>{const s=e;this[s(514)]=null,this[s(456)]=null,this[s(528)][s(322)][s(362)][s(429)](t=>{const e=s;for(const i of this[e(528)][e(322)][e(362)][e(522)][e(333)])n?t[e(543)](e(526),i):t[e(379)](e(526),i)})}),this[e(433)](e(306)).to(this,e(514),t=>null!==t),this[e(433)](e(424)).to(this,e(290),this,e(414),this,e(514),(t,i,n)=>t&&n?i[e(301)][e(232)](n):0),this[e(433)](e(534)).to(this,e(290),this,e(414),(t,i)=>t?i[e(301)][e(281)]:0),this[e(241)]=null,this[e(431)]=new Map,this[e(533)]=this[e(528)][e(401)][e(451)](It.ContextualBalloon)}[oe(375)](){const t=oe,e=this[t(528)],i=new de(e,{direction:t(312)}),n=new de(e,{direction:t(501)});e[t(436)][t(413)](t(549),i),e[t(436)][t(413)](t(500),n),e[t(436)][t(413)](t(502),new he(e)),this.on(t(475),()=>{const e=t;i[e(521)](),n[e(521)]()}),this[t(434)](),this[t(399)](),e[t(462)](t(546)),e[t(401)][t(472)](t(330))&&e[t(401)][t(451)](t(330))[t(319)](t(546))}async[oe(504)](t){const e=oe;return await this[e(235)][e(381)](t,this[e(360)]),this[e(235)][e(504)](t)}async[oe(293)](t){const e=oe;return await this[e(235)][e(381)](t,this[e(360)]),this[e(235)][e(293)](t)}async[oe(548)](t,e,i=!1){const n=oe;if(!this[n(439)])return;const s=this[n(414)],r=this[n(510)],o=n(237)==typeof t?r[n(410)](t):t,a=n(237)==typeof e?r[n(410)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(414)]&&this[n(414)][n(329)]===c&&this[n(414)][n(240)]===u)return Promise[n(517)]();this[n(290)]=!1,this[n(456)]=null,this[n(514)]=null,this[n(414)]=new ne(c,u);const l=this[n(506)](o,a,!0)[n(524)](t=>this[n(235)][n(381)](t,this[n(360)]));return l[n(327)](new Promise(t=>{setTimeout(t,20)})),Promise[n(394)](l)[n(442)](()=>{const t=n;if(!this[t(439)])return;this[t(409)]();const e=this[t(231)](c,u);for(const i of e[t(301)])this[t(431)][t(483)](i.id,i);this[t(528)][t(441)][t(318)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(528)][n(441)][n(522)][n(332)]())i[n(552)](t);for(const t of Object[n(492)](e[n(441)])){const s=i[n(468)](t);for(const r of Object[n(492)](e[n(455)][t]))i[n(470)](r,e[n(455)][t][r],s);i[n(412)](e[n(441)][t],s,0)}}),this[t(414)][t(496)](this[t(497)](e[t(301)])),this[t(290)]=!0})[n(518)](t=>{const e=n;console[e(557)](t),this[e(409)](),s&&(this[e(414)]=s),this[e(290)]=!0})}[oe(334)](t,e){const i=oe,n=this[i(510)][i(275)](t);return n.on(i(391),(t,i,s)=>e(i,s,n)),this[i(510)][i(437)](n),n}[oe(409)](){const t=oe;this[t(514)]=null,this[t(259)](),this[t(241)]&&this[t(241)][t(326)](),this[t(241)]=null,this[t(431)][t(488)](),this[t(528)][t(441)][t(318)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(528)][i(441)][i(522)][i(332)]())e[i(552)](t)})}[oe(497)](t){const e=oe,i=[],n=new Map;for(const t of this[e(528)][e(441)][e(522)][e(332)]()){const s=this[e(528)][e(322)][e(362)][e(477)](t);if(!s)continue;const r=s[e(454)]()[e(516)](0);r&&(i[e(327)](t),n[e(483)](t,r))}return i[e(311)]((t,i)=>{const s=e,r=n[s(451)](t),o=n[s(451)](i);return r.y-o.y||r.x-o.x}),(t=t[e(272)](t=>i[e(541)](t[e(453)])))[e(311)]((t,n)=>i[e(316)](t[e(453)])-i[e(316)](n[e(453)])),t}[oe(461)](t){const e=oe,i=Array[e(465)](t[e(299)])[e(272)](([t,i])=>t[e(545)](e(419))&&!i[e(422)]),n=Array[e(465)](this[e(528)][e(441)][e(515)](t)[e(464)]({singleCharacters:!0}));if(0!=i[e(281)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(430)](":");if(s[e(420)][e(471)](t[e(238)])&&i[e(495)](),(t[e(283)][e(471)](s[e(473)])||t[e(283)][e(234)](s[e(473)]))&&(e(474)==r?t[e(343)]={userId:o}:e(432)==r&&(t[e(393)]={userId:o})),0==i[e(281)])break}return n}[oe(335)](t){const e=oe,i=new Map;for(let n=0;n<t[e(281)];n++)e(266)===t[n][e(421)]?(t[n][e(516)][e(427)]=n,t[n][e(516)][e(389)]=n):(e(294)===t[n][e(421)]?t[n][e(516)][e(427)]=n:e(355)===t[n][e(421)]&&(t[n][e(516)][e(389)]=n),i[e(483)](t[n].id,n));for(const n of i[e(352)]())e(294)===t[n][e(421)]?t[n][e(516)][e(389)]=i[e(451)](t[n][e(476)]):e(355)===t[n][e(421)]&&(t[n][e(516)][e(427)]=i[e(451)](t[n][e(476)]))}[oe(370)](t){const e=oe;for(let i=0;i<t[e(281)];i++){if(e(294)===t[i][e(421)])t[i][e(516)][e(427)]=i;else if(e(355)===t[i][e(421)]){t[i][e(516)][e(389)]=i;const n=t[i][e(516)][e(427)];t[n][e(476)]=t[i].id,t[i][e(476)]=t[n].id}else t[i][e(516)][e(427)]=i,t[i][e(516)][e(389)]=i,t[i][e(476)]=null;t[i][e(404)]||(t[i][e(404)]=[],t[i][e(380)]=[])}}[oe(338)](t,e){const i=oe,n=t[i(272)](t=>!t[i(343)]);for(let t=0;t<e[i(281)];t++)e[t][i(343)]&&(n[t][i(343)]=e[t][i(343)])}[oe(231)](t,e=null){const i=oe,n=this[i(510)][i(410)](t),s=e?this[i(510)][i(410)](e):null,r=this[i(506)](n,s),o=r[r[i(281)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(281)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(492)](e[i(278)]))if(e[i(278)][t][i(384)]){const n=e[i(278)][t][i(384)];n[i(245)]?(u[i(413)](t),l[i(472)](t)&&l[i(451)](t)[i(267)]==n[i(267)]?l[i(395)](t):l[i(483)](t,n)):l[i(472)](t)?(u[i(395)](t),l[i(395)](t)):(u[i(413)](t),l[i(483)](t,n))}else u[i(413)](t)}for(const t of u){const e=l[i(472)](t)&&!l[i(451)](t)[i(245)];let n=e?r[i(281)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(278)][t]){const n=e?o[i(278)][t][i(350)]:o[i(278)][t][i(458)];c[i(455)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(441)]={};for(const e of t[i(376)])a[i(483)](e.id,e);for(const e of u){const n=t[i(278)][e]?t[i(278)][e][i(331)]:"[]",s=t[i(278)][e]?t[i(278)][e][i(382)]:"[]";t[i(441)][e]={insertions:this[i(235)][i(418)](n),deletions:this[i(235)][i(418)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(465)](n[i(441)][t][i(331)][i(299)])[i(272)](([t])=>!t[i(545)](i(419))));let h=0;for(const o of r){const r=this[i(461)](o[i(441)][t][i(331)]);o==n?(e=r,s=e[i(281)],e[i(493)](t=>{t.id=h++}),this[i(370)](e)):this[i(338)](e,r);const a=e[i(272)](t=>!t[i(343)])[i(524)](t=>t.id);let c=0;const l=this[i(461)](o[i(441)][t][i(382)]);l[i(493)](t=>{t[i(393)]?t.id=s++:t.id=a[c++]}),this[i(370)](l),this[i(236)](e,i(343)),this[i(236)](l,i(393)),o==n&&this[i(538)](e,u),e=this[i(354)](e,l),this[i(335)](e),this[i(236)](e,i(393))}e=e[i(272)](t=>!(t[i(343)]&&t[i(393)]));const d=new Map(o[i(441)][t][i(382)][i(299)]),f=new Set(u[i(492)]());for(const t of d[i(492)]())f[i(395)](t);this[i(284)](e,f),this[i(268)](e),e=this[i(344)](e),e=this[i(520)](e),e=this[i(463)](e);const{root:m,changes:p}=this[i(527)](e,a,t);c[i(441)][t]=m;const v=l[i(451)](t);if(v){const e=a[i(451)](v[i(267)]),n=new Qt({author:e,type:v[i(245)]?i(413):i(377),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(479)](n),c[i(455)][t][i(247)]=n.id}c[i(301)]=c[i(301)][i(233)](p)}return c}[oe(538)](t,e){const i=oe;for(let n=0;n<t[i(281)];n++)for(const[s,r]of e)!r[i(422)]&&r[i(473)][i(471)](t[n][i(283)])&&t[n][i(404)][i(327)](s),r[i(420)][i(471)](t[n][i(238)])&&t[n][i(380)][i(327)](s)}[oe(354)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(281)]||r<e[i(281)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(327)](o);else if(a[i(393)]&&o[i(343)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(447)](t,s,e,r);n=n[i(233)](o),s=a,r=c}else a[i(393)]?(r++,n[i(327)](a)):(s++,n[i(327)](o))}return n}[oe(284)](t,e){const i=oe,n=[];for(let o=0;o<t[i(281)];o++){for(let r=0;r<t[o][i(404)][i(281)];r++){const a=t[o][i(404)][r];if(!e[i(472)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(385)!=c||i(474)!=u&&i(432)!=u||(n[i(479)]({type:u,name:a,userId:l}),t[o][i(404)][i(438)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(380)][i(281)];r++){const a=t[o][i(380)][r];if(!e[i(472)](a))continue;const{group:c,type:u}=s(a);if(i(385)!=c||i(474)!=u&&i(432)!=u)continue;t[o][i(380)][i(438)](r,1),r--;const l=n[i(248)](t=>t[i(396)]==a);l>-1&&n[i(438)](l,1)}}function s(t){const e=i,n=t[e(430)](":");return{group:n[0],type:n[1],subType:n[e(281)]>=5?n[2]:null,id:n[e(281)]<5?n[2]:n[3],authorId:n[e(281)]<5?n[3]:n[4],markerCount:6==n[e(281)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(281)];i++){if(t[e(343)]&&e(474)==n[i][e(421)]&&t[e(343)][e(267)]==n[i][e(267)])return t[e(372)]=n[i],void delete t[e(343)];if(!t[e(343)]&&!t[e(393)]&&e(432)==n[i][e(421)])return void(t[e(262)]=n[i])}}}[oe(236)](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(483)](o.id,n);for(let n=0;n<t[i(281)];n++){if(i(393)==e&&t[n][i(343)]||i(343)==e&&t[n][i(393)])continue;if(i(266)==t[n][i(421)]){t[n][i(255)]=0;continue}const s=r[i(451)](t[n][i(476)]),o=r[i(451)](t[n].id);t[n][i(255)]=s-o}}[oe(506)](t,e,i=!1){const n=oe,s=[];let r=this[n(510)][n(232)](t),o=this[n(510)][n(232)](e);for(-1==o&&(o=this[n(510)][n(554)][n(281)],i=!1);r<o;)s[n(327)](this[n(510)][n(410)](r)),r++;return i&&s[n(327)](this[n(510)][n(410)](r)),s}[oe(447)](t,e,i,n){const s=oe,r=this[s(528)][s(441)][s(503)];let o=e;for(;t[o]&&t[o][s(343)];)o++;let a=n;for(;i[a]&&i[a][s(393)];)a++;u(t,e,o),u(i,n,a);const c=i[s(286)](n,a)[s(233)](t[s(286)](e,o));return c[s(311)]((t,e)=>t[s(403)]!=e[s(403)]?t[s(403)]-e[s(403)]:t[s(523)]!=e[s(523)]?t[s(523)]-e[s(523)]:t[s(255)]!=e[s(255)]?e[s(255)]-t[s(255)]:!!t[s(343)]!=!!e[s(343)]?-1==t[s(403)]||0==t[s(403)]?t[s(343)]?-1:1:t[s(343)]?1:-1:t[s(260)]-e[s(260)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(274)],c=!0;for(let s=e;s<i;s++)if(r[n(530)](t[s][n(516)])||(c=!1),t[s][n(516)][n(427)]<e&&(o=s),t[s][n(516)][n(389)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(403)]=s<=o?-1:s<a?0:1,t[s][n(260)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(255)]?t[i][n(523)]=u:(u++,t[i][n(523)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(403)]&&(t[s][n(523)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(255)]?t[e][n(523)]=u:(u--,t[e][n(523)]=u,u--)}}[oe(268)](t){const e=oe,i=new Map,n=this[e(528)][e(441)][e(503)];for(let s=1;s<t[e(281)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(266)==c[e(421)])continue;if(c[e(421)]!=u[e(421)])continue;if(!n[e(397)](u[e(516)])||n[e(298)](u[e(516)]))continue;if(!n[e(397)](c[e(516)])||n[e(298)](c[e(516)]))continue;if((t[s][e(343)]||t[s][e(372)])&&t[s-1][e(393)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(393)]||!t[s-1][e(343)]&&!t[s-1][e(372)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(523)]==o[e(523)],h=Math[e(467)](r[e(523)])<Math[e(467)](o[e(523)])&&0==o[e(255)];(l||h)&&(i[e(483)](o.id,r.id),t[e(438)](a,1),s--,r[e(343)]=!1)}for(let n=0;n<t[e(281)];n++)i[e(472)](t[n][e(476)])&&(t[n][e(476)]=i[e(451)](t[n][e(476)]))}[oe(344)](t){const e=oe,i=new Set(t[e(524)](t=>t.id));for(let n=0;n<t[e(281)];n++)i[e(472)](t[n][e(476)])||0==t[n][e(255)]||(t[n][e(445)]=!0);return t[e(272)](t=>!t[e(445)])}[oe(520)](t){const e=oe,i=new Set;for(let n=0;n<t[e(281)];n++){if(i[e(472)](t[n].id)&&t[n][e(393)]&&(t[n][e(445)]=!0),t[n][e(445)])continue;if(0==t[n][e(255)])continue;if(e(294)!=t[n][e(421)])continue;if(null==t[n][e(476)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(476)];)e(294)==t[s][e(421)]?r++:e(355)==t[s][e(421)]&&r--,s++;if(0!=r)if(t[n][e(393)])t[n][e(445)]=!0;else for(;s!=n;)t[s][e(393)]&&0!=t[s][e(255)]&&(t[s][e(445)]=!0,i[e(413)](t[s][e(476)])),s--}return t[e(272)](t=>!t[e(445)])}[oe(463)](t){const e=oe,i=this[e(528)][e(441)][e(503)];for(let n=0;n<t[e(281)];n++){if(!(t[n][e(343)]||t[n][e(372)]||t[n][e(393)]||t[n][e(262)]))continue;if(0==t[n][e(255)])continue;const s=t[n][e(516)];i[e(397)](s)||i[e(298)](s)||(t[n][e(343)]&&delete t[n][e(343)],t[n][e(372)]&&delete t[n][e(372)],t[n][e(262)]&&delete t[n][e(262)],t[n][e(393)]&&(t[n][e(445)]=!0))}return t[e(272)](t=>!t[e(445)])}[oe(527)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(528)][n(441)],c=a[n(503)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(281)];e++)if(n(294)===t[e][n(421)]){t[e][n(283)]=a[n(307)](s,f);const i=new X.ModelElement(t[e][n(516)][n(396)],t[e][n(516)][n(368)]());u[0][n(408)](i),f[n(327)](0),u[n(479)](i),t[e][n(238)]=a[n(307)](s,f)}else n(355)===t[e][n(421)]?(u[n(495)](),t[e][n(283)]=a[n(307)](s,f),f[n(249)](),f[f[n(281)]-1]++,t[e][n(238)]=a[n(307)](s,f)):(t[e][n(283)]=a[n(307)](s,f),d?d[n(285)]+=t[e][n(516)][n(325)]:d=new X.ModelText(t[e][n(516)][n(325)],t[e][n(516)][n(368)]()),t[e+1]&&n(266)===t[e+1][n(421)]&&v(d,t[e+1][n(516)])||(u[0][n(408)](d),d=null),f[f[n(281)]-1]+=t[e][n(516)][n(242)],t[e][n(238)]=a[n(307)](s,f));for(let e=0;e<t[n(281)];e++){const i=t[e][n(283)],s=t[e][n(238)];for(const s of t[e][n(404)])o[n(483)](s,{start:i,end:null});m(n(262),e,i,s),m(n(372),e,i,s),m(n(393),e,i,s),m(n(343),e,i,s);for(const i of t[e][n(380)]){const t=o[n(451)](i);t?t[n(420)]=s:o[n(483)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(528)][n(441)][n(271)](e[n(473)],e[n(420)]);s[n(299)][n(483)](t,i)}return r[n(311)]((t,e)=>{const i=n,r=s[i(299)][i(451)](i(419)+t.id),o=s[i(299)][i(451)](i(419)+e.id);return r[i(473)][i(243)](o[i(473)])?-1:r[i(473)][i(234)](o[i(473)])?1:r[i(420)][i(243)](o[i(420)])?-1:r[i(420)][i(234)](o[i(420)])?1:i(413)===t[i(421)]?-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(267)]:null,d=i===t[o(281)]-1,f=h[e][0],m=c[o(480)](t[i][o(516)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(420)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(267)]!==u&&(l[e][o(420)]=s,f&&f[o(267)]===l[e][o(267)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(294)!==t[i][o(421)]||f&&f[o(267)]===u||h[e][o(479)]({userId:u,object:t[i][o(516)],change:l[e]}),o(355)===t[i][o(421)]&&f&&f[o(406)]===t[i][o(516)]&&(h[e][o(495)](),l[e]=f[o(429)])),l[e]&&d&&(l[e][o(420)]=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(516)],f=a[h(503)][h(397)](d)&&!a[h(503)][h(298)](d),m=t[h(446)]==o[h(531)]&&o[h(390)];if(f&&m)return;const p=a[h(271)](t,o),v=e[h(451)](u),g=new Qt({author:v,type:h(343)==l||h(372)==l?h(413):h(377),data:{isSuggestion:h(372)==l||h(262)==l},createdAt:new Date,rootName:i});r[h(327)](g),s[h(299)][h(483)](h(419)+g.id,p)}function v(t,e){const i=n,s=t[i(368)](),r=e[i(368)]();for(const t of s){if(t[1]!==e[i(348)](t[0]))return!1;r[i(544)]()}return r[i(544)]()[i(426)]}}[oe(434)](){const t=oe;this[t(528)][t(273)][t(358)](t(244))[t(428)]({view:t(351)}),this[t(528)][t(273)][t(358)](t(489))[t(309)]({model:t(351),view:e=>{const i=t,n=e[i(254)][i(430)](":")[1],s=this[i(386)](n);if(!s)return null;const r=i(413)==s[i(421)]?i(474):i(432),o=[i(556),i(484)+r];return s[i(325)][i(297)]&&o[i(327)](i(484)+r+i(280)),this[i(514)]==s&&o[i(327)](i(289)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(528)][t(273)][t(358)](t(244))[t(413)](e=>{const i=t;e.on(i(485),(t,e,n)=>{const s=i,r=e[s(270)][s(357)](0);if(!r||!r.is(s(323),s(315)))return;if(!n[s(491)][s(494)](r,{attributes:[s(529),s(264)]}))return;const o=e[s(353)][s(473)][s(446)];n[s(486)][s(470)](s(529),r[s(348)](s(529)),o),n[s(486)][s(470)](s(264),r[s(348)](s(264)),o)},{priority:i(537)})}),this[t(528)][t(273)][t(358)](t(244))[t(413)](e=>{const i=t;e.on(i(323),(t,e,n)=>{const s=i;if(!n[s(491)][s(494)](e[s(270)],{attributes:[s(529),s(264)]}))return;if(e[s(353)][s(422)])return;const r=e[s(353)][s(473)][s(446)];r[s(542)](s(529))||r[s(542)](s(369))||(n[s(486)][s(470)](s(529),e[s(270)][s(348)](s(529)),r),n[s(486)][s(470)](s(264),e[s(270)][s(348)](s(264)),r))},{priority:i(537)})}),this[t(528)][t(273)][t(358)](t(244))[t(250)]({view:{name:t(558),attributes:{vid:!0}},model:{key:t(369),value:e=>e[t(348)](t(369))}}),this[t(528)][t(441)][t(503)].on(t(365),(e,[,i])=>{const n=t;[n(529),n(264),n(369)][n(541)](i)&&(e[n(252)]=!0,e[n(288)]())},{priority:t(363)}),this[t(528)][t(273)][t(358)](t(321))[t(413)](e=>{const i=t;e.on(i(553),(t,e,n)=>{const s=i;if(" "!=e[s(516)][s(325)]||e[s(516)][s(531)][s(340)]>1)return;if(!n[s(491)][s(494)](e[s(516)],t[s(396)]))return;const r=n[s(486)],o=n[s(448)][s(460)](e[s(339)]);r[s(416)](o,r[s(279)](s(558)))})}),this[t(528)][t(273)][t(358)](t(321))[t(551)]({model:t(351)}),this[t(528)][t(322)][t(435)].on(t(405),function(e){const i=t,n=e[i(401)][i(451)](i(349));return(t,s,r)=>{const o=i,a=s[o(254)][o(430)](":")[1],c=n[o(386)](a);if(!c)return null;const u=o(413)==c[o(421)]?o(430):o(324);if(!r[o(491)][o(450)](s[o(519)],t[o(396)]))return;const l=s[o(519)][o(464)](),h=s[o(519)][o(473)],d=e[o(441)][o(503)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(516)];p=p||d[o(277)](e);const i=r[o(448)][o(296)](e);if(i&&i[o(498)](o(305)))return;o(355)==t[o(421)]&&d[o(397)](e)&&!d[o(298)](e)&&(e[o(345)]||h[o(398)]?f&&f[o(531)]==e||(f=e,g(t[o(283)]),v=!0):m=m||t[o(283)])}function g(t){const e=o,i=r[e(486)][e(378)](e(558),{class:e(484)+u}),a=r[e(448)][e(392)](t);c[e(325)][e(297)]&&r[e(486)][e(379)](e(484)+u+e(280),i),n[e(514)]==c&&r[e(486)][e(379)](e(289),i),r[e(486)][e(412)](a,i),r[e(448)][e(508)](i,s[e(254)])}p||v||!m||g(m)}}(this[t(528)]),{priority:t(295)}),this[t(528)][t(322)][t(435)].on(t(487),(e,i,n)=>{const s=t,r=n[s(448)][s(265)](i[s(254)]);if(r)for(const t of r)(t[s(511)](s(387))||t[s(511)](s(383)))&&(n[s(448)][s(287)](t,i[s(254)]),n[s(486)][s(377)](t))},{priority:t(295)}),this[t(528)][t(322)][t(435)].on(t(405),(e,i,n)=>{const s=t,r=i[s(254)][s(430)](":")[1],o=this[s(386)](r);if(!o)return null;const a=s(413)==o[s(421)]?s(430):s(324);if(n[s(491)][s(450)](i[s(519)],e[s(396)]))for(const t of i[s(519)][s(346)]()){if(!t.is(s(323),s(337)))continue;const e=n[s(486)][s(378)](s(558),{class:s(484)+a}),r=n[s(448)][s(392)](this[s(528)][s(441)][s(361)](t));o[s(325)][s(297)]&&n[s(486)][s(379)](s(484)+a+s(280),e),this[s(514)]==o&&n[s(486)][s(379)](s(289),e),n[s(486)][s(412)](r,e),n[s(448)][s(508)](e,i[s(254)])}},{priority:t(295)}),this[t(528)][t(441)][t(522)].on(t(429),()=>{const e=t;this[e(528)][e(322)][e(362)][e(429)](t=>{const i=e;for(const e of this[i(528)][i(441)][i(522)][i(332)]()){const n=this[i(528)][i(441)][i(522)][i(336)](e),s=this[i(528)][i(322)][i(362)][i(522)][i(336)](e);if(s){const e=n[i(348)](i(247));if(t[i(261)](i(303),s),t[i(543)](i(466),s),t[i(543)](i(459),s),t[i(543)](i(317),s),e){const n=this[i(386)](e);if(!n)return null;t[i(470)](i(303),e,s),t[i(379)](i(402)+n[i(421)],s),this[i(514)]==n&&t[i(379)](i(317),s)}}}})}),this[t(528)][t(273)][t(358)](t(244))[t(428)]({view:t(373),model:e=>t(417)+e,converterPriority:t(363)}),this[t(528)][t(273)][t(358)](t(244))[t(428)]({view:t(555),model:e=>t(356)+e,converterPriority:t(363)}),this[t(528)][t(273)][t(358)](t(321))[t(551)]({model:t(385),view:e=>({name:t(415)+e,group:t(385)}),converterPriority:t(363)}),this[t(528)][t(273)][t(358)](t(489))[t(309)]({model:t(385),view:e=>{const i=t,n=e[i(254)][i(430)](":")[1];return i(474)!=n&&i(432)!=n?null:{classes:[i(304),i(509)+n]}}}),this[t(528)][t(322)][t(435)].on(t(257),le(this[t(528)],t(324)),{priority:t(295)}),this[t(528)][t(322)][t(435)].on(t(400),le(this[t(528)],t(430)),{priority:t(295)}),this[t(528)][t(322)][t(435)].on(t(341),(e,i,n)=>{const s=t,r=n[s(448)][s(265)](i[s(254)]);if(r)for(const t of r)t.is(s(253))&&(n[s(448)][s(287)](t,i[s(254)]),n[s(486)][s(377)](t))},{priority:t(295)})}[oe(386)](t){const e=oe;return this[e(431)][e(451)](t)}[oe(258)](t){const e=oe;return this[e(241)]&&this[e(241)][e(326)](),this[e(241)]=new Jt(this[e(528)][e(302)],t),this[e(241)]}[oe(399)](){const t=oe;this[t(528)][t(441)][t(522)][t(347)][t(407)](t(351)),this.on(t(359),(e,i,n,s)=>{const r=t;s&&this[r(533)][r(377)](s),n&&(this[r(533)][r(413)]({view:n,stackId:r(256),position:{target:()=>{const t=r,e=this[t(528)][t(322)],i=this[t(386)](n[t(505)]);let s;if(i[t(325)][t(452)]){const n=e[t(362)][t(477)](i[t(453)]);s=Array[t(465)](n[t(454)]())}else{const i=this[t(528)][t(441)][t(299)][t(451)](t(419)+n[t(505)]);s=Array[t(465)](e[t(448)][t(265)](i[t(396)]))[t(524)](i=>e[t(362)][t(292)][t(425)](i))[t(524)](e=>Array[t(465)](e[t(454)]()))[t(282)]()}return this[t(239)]&&s[t(512)](e=>e[t(525)]-3<=this[t(239)].y&&e[t(457)]+3>=this[t(239)].y&&e[t(313)]-3<=this[t(239)].x&&e[t(423)]+3>=this[t(239)].x)||s[0]}}}),this[r(533)][r(300)](r(256)))}),this.on(t(499),(e,i,n,s)=>{const r=t;this[r(456)]=n?this[r(258)](n):null,this[r(528)][r(441)][r(429)](()=>{const t=r,e=this[t(528)][t(322)];s&&(s[t(325)][t(452)]?e[t(362)][t(429)](i=>{const n=t;i[n(543)](n(317),e[n(362)][n(522)][n(336)](s[n(453)]))}):e[t(440)](t(419)+s.id)),n&&(n[t(325)][t(452)]?e[t(362)][t(429)](i=>{const s=t;i[s(379)](s(317),e[s(362)][s(522)][s(336)](n[s(453)]))}):e[t(440)](t(419)+n.id))})}),this[t(481)](this[t(528)][t(322)][t(362)][t(522)],t(532),(e,i)=>{const n=t;if(this[n(514)])return;const s=this[n(539)](i[n(246)]),r=this[n(431)][n(451)](s);r?(this[n(239)]={x:i[n(540)].x,y:i[n(540)].y},this[n(456)]=this[n(258)](r)):(this[n(239)]=null,this[n(456)]=null)}),this[t(481)](this[t(528)][t(322)][t(362)][t(522)],t(513),(e,i)=>{const n=t,s=this[n(539)](i[n(246)]),r=this[n(431)][n(451)](s);r?(this[n(239)]={x:i[n(540)].x,y:i[n(540)].y},r===this[n(514)]?this[n(533)][n(366)]():this[n(514)]=r):(this[n(239)]=null,this[n(514)]=null)})}[oe(539)](t){const e=oe;do{const i=t[e(348)](e(303));if(i)return i;t=t[e(531)]}while(t);return null}[oe(259)](){const t=oe;this[t(528)][t(441)][t(429)](e=>{const i=t;for(const t of this[i(528)][i(441)][i(299)])e[i(291)](t)})}}function le(t,e){return(i,n,s)=>{const r=ce;if(!s[r(491)][r(450)](n[r(519)],i[r(396)]))return;const o=n[r(519)][r(464)](),a=n[r(519)][r(473)],c=t[r(441)][r(503)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(516)];h=h||c[r(277)](e);const i=s[r(448)][r(296)](e);if(i&&i[r(498)](r(305)))return;r(355)==t[r(421)]&&c[r(397)](e)&&!c[r(298)](e)&&(e[r(345)]||a[r(398)]?u&&u[r(531)]==e||(u=e,f(t[r(283)]),d=!0):l=l||t[r(283)])}function f(t){const i=r,o=s[i(448)][i(392)](t),a=s[i(486)][i(378)](i(558),{class:i(509)+e});s[i(486)][i(412)](o,a),s[i(448)][i(508)](a,n[i(254)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(401)][e(451)](ue);this[e(388)]=!1,this[e(481)](i,e(342),()=>this[e(521)]()),this[e(481)](i,e(482),()=>this[e(521)]())}[oe(320)](){const t=oe,e=this[t(528)],i=e[t(401)][t(451)](ue),n=i[t(290)]?i[t(414)][t(329)]:null;e[t(535)][t(451)](t(374))[t(478)](n)}[oe(521)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(528)][t(401)][t(451)](ue),r=s&&n[t(269)](s[t(329)]);this[t(439)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(308)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(401)][i(451)](ue);this[i(388)]=!1,this[i(308)]=i(501)===e?1:-1,this[i(481)](n,i(342),()=>this[i(521)]()),this[i(481)](n,i(482),()=>this[i(521)]()),this[i(481)](n,i(499),()=>this[i(521)]())}[oe(320)](){const e=oe,i=this[e(528)],n=i[e(401)][e(451)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(514)]=s?n[e(414)][e(301)][e(451)](r+this[e(308)]):n[e(414)][e(301)][e(314)],n[e(514)][e(325)][e(452)])o=i[e(322)][e(362)][e(477)](n[e(514)][e(453)]);else{const t=i[e(441)][e(299)][e(451)](e(419)+n[e(514)].id);o=(0,K.getMarkerDomElement)(i[e(322)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(521)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(528)][t(401)][t(451)](ue);this[t(439)]=!!(r&&s&&n)&&(!e||(1===this[t(308)]?i<n-1:i>0))}}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Vt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["currentChangeNumber","87721HANCvm","6356PtMikJ","Show next change","ck-revision-history-ui__changes-navigation__label","No changes","ck-hidden","bindTemplate","setTemplate","fire","execute","Total","ck-revision-history-ui","333693yJiYLt","ck-revision-history-ui__changes-navigation__navigation","isEnabled","Show previous change","numberOfChanges","div","_statusText","916CCaabi","isReady","ck-revision-history-ui__changes-navigation","isNavigationMode","set","Loading...","12rGOypb","isForwardNavigationEnabled","NUMBER_OF_CHANGES","backward","2832lTQSqi","span","2045JwhBmT","X_OF_Y_CHANGES","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__wrapper","_isStatusLabelVisible","3210vYoHbD","5055xJXlcR","2288330fTnmOt","forward","bind","EDIT_X_OF_Y_REVISIONS","2719640ismAYZ"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=120]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(296424===-parseInt(e(120))/1*(-parseInt(e(145))/2)+-parseInt(e(157))/3*(-parseInt(e(139))/4)+-parseInt(e(151))/5*(-parseInt(e(156))/6)+parseInt(e(121))/7*(-parseInt(e(149))/8)+-parseInt(e(132))/9+-parseInt(e(158))/10+-parseInt(e(162))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(126)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(143)](e(142),!1),this[e(143)](e(140),!1),this[e(143)](e(163),0),this[e(143)](e(136),0),this[e(143)](e(146),!1),this[e(143)](e(153),!1),this[e(160)](e(155)).to(this,e(140),this,e(136),(t,e)=>t&&e>0),this[e(160)](e(138)).to(this,e(140),this,e(163),this,e(136),this,e(142),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(144));if(!s)return at(t,o(124));const a=at(t,o(147),s);return r?at(t,o(152),[n+1,s]):a}),n[e(143)]({label:at(t,e(135)),tooltip:!0,icon:_t.IconChevronUp}),s[e(143)]({label:at(t,e(122)),tooltip:!0,icon:_t.IconChevronDown}),n[e(160)](e(134)).to(this,e(153)),s[e(160)](e(134)).to(this,e(146)),n.on(e(129),()=>this[e(128)](e(129),e(148))),s.on(e(129),()=>this[e(128)](e(129),e(159))),this[e(127)]({tag:e(137),attributes:{class:["ck",e(131),e(141)]},children:[{tag:e(150),attributes:{class:[e(154)]},children:[{tag:e(150),attributes:{class:[e(123),i.if(e(155),e(125),t=>!t)]},children:[{text:i.to(e(142),i=>i?at(t,e(161))+": ":at(t,e(130))+": ")}]},{text:i.to(e(138))}]},new It.ToolbarSeparatorView,{tag:e(137),attributes:{class:[e(133)]},children:[n,s]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Vt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=_e();return(we=function(t,e){return i[t-=415]})(t,e)}function _e(){const t=["show","2189170ocfkyv","69198SaYtyT","35sseNMx","65610IukNFB","RevisionViewerLoadingOverlay","364899NhkgaC","isPremiumPlugin","editor","1238088WGtFIO","372372SzdjtL","882nJccqz","change","hide","2vgcFrb","413296qNunnY","pluginName","addClass","removeClass","roots","view","ck-editor__editable__loading-overlay","isOfficialPlugin","document","editing"];return(_e=function(){return t})()}!function(t){const e=we,i=t();for(;;)try{if(282633===parseInt(e(420))/1+parseInt(e(424))/2*(parseInt(e(416))/3)+-parseInt(e(425))/4+parseInt(e(436))/5+-parseInt(e(437))/6*(parseInt(e(438))/7)+parseInt(e(419))/8+parseInt(e(421))/9*(-parseInt(e(439))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const Ie=be(431);class Se extends G.Plugin{static get[be(426)](){return be(415)}static get[be(432)](){return!0}static get[be(417)](){return!0}[be(435)](){const t=be,e=this[t(418)][t(434)][t(430)];e[t(422)](i=>{const n=t;for(const t of e[n(433)][n(429)])i[n(427)](Ie,t)})}[be(423)](){const t=be,e=this[t(418)][t(434)][t(430)];e[t(422)](i=>{const n=t;for(const t of e[n(433)][n(429)])i[n(428)](Ie,t)})}}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=410]})(t,e)}function xe(){const t=["690244UArzGY","179610gkSzBB","forward","ck-revision-history-ui__back-to-editing","2952126Lyfvwa","closeRevisionViewerCallback","showNextChange","get","5216NOkyRR","restoreRevision","requires","RevisionViewerUI","plugins","listenTo","exitToEditing","change:isReady","isOfficialPlugin","show","set","pluginName","Restore this revision","isPremiumPlugin","editor","771303aYPQVN","add","bind","numberOfChanges","680365zpWquS","execute","showPreviousChange","hide","changesNavigation","3447jjZNDV","24311170BizFNO","isReady","25PyxrMJ","30ezyrTt","isBackwardNavigationEnabled","isForwardNavigationEnabled","isEnabled","revisionHistory","isNavigationMode","Back to editing","currentChangeNumber","commands","init","componentFactory","config"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(530077===parseInt(e(437))/1+-parseInt(e(415))/2+-parseInt(e(418))/3+-parseInt(e(414))/4*(parseInt(e(449))/5)+parseInt(e(450))/6*(-parseInt(e(441))/7)+parseInt(e(422))/8*(-parseInt(e(446))/9)+parseInt(e(447))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(433)](){return Oe(425)}static get[Oe(430)](){return!0}static get[Oe(435)](){return!0}static get[Oe(424)](){return[ue,Se]}[Oe(411)](){const t=Oe,e=this[t(436)],i=e[t(426)][t(421)](ue),n=e[t(426)][t(421)](Se);e.ui[t(412)][t(438)](t(428),i=>{const n=t,s=new It.ButtonView(i);return s[n(432)]({label:at(i,n(456)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(417)}),this[n(427)](s,n(442),()=>{const t=n;e[t(413)][t(421)](t(454))[t(419)]()}),s}),e.ui[t(412)][t(438)](t(423),i=>{const n=t,s=new It.ButtonView(i);return s[n(432)]({label:at(i,n(434)),withText:!0,tooltip:!0}),s[n(439)](n(453)).to(e[n(410)][n(421)](n(423))),this[n(427)](s,n(442),()=>e[n(442)](n(423))),s}),e.ui[t(412)][t(438)](t(445),n=>{const s=t,r=new ge(n),o=e[s(410)][s(421)](s(443)),a=e[s(410)][s(421)](s(420));return r[s(439)](s(451)).to(o,s(453)),r[s(439)](s(452)).to(a,s(453)),r[s(439)](s(448),s(457),s(440),s(455)).to(i),this[s(427)](r,s(442),(t,i)=>{const n=s;e[n(442)](n(416)===i?n(420):n(443))}),r}),n[t(431)](),i.on(t(429),(e,i,s)=>{const r=t;s?n[r(444)]():n[r(431)]()})}}var Ae=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Vt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ve;function Ee(){const t=["35686MUwRuu","ck-revision-history-sidebar__revision-name","782MjoMXe","extendTemplate","_updateTooltipText","input","161876tAIBgM","904256MDVRRO","20RzaKJz","clientWidth","317727ViaMVC","fieldView","listenTo","1037889BWSQFy","Enter the revision name","set","2165MbVYjL","_resizeObserver","element","318mqpMwP","scrollWidth","_tooltipString","2132vEaBVG","bindTemplate","placeholder","ck-tooltip_multi-line","destroy","render","value","span","57TyNcKj","Revision name"];return(Ee=function(){return t})()}function Ve(t,e){const i=Ee();return(Ve=function(t,e){return i[t-=483]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(167705===parseInt(e(510))/1+parseInt(e(502))/2*(-parseInt(e(498))/3)+parseInt(e(490))/4*(-parseInt(e(484))/5)+-parseInt(e(487))/6*(parseInt(e(500))/7)+parseInt(e(507))/8+-parseInt(e(513))/9*(-parseInt(e(508))/10)+parseInt(e(506))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Me(485)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(491)];this[i(483)]({label:at(t,i(499)),_tooltipString:""}),this[i(511)][i(492)]=at(t,i(514)),this[i(503)]({tag:i(497),attributes:{class:[i(501)],"data-cke-tooltip-text":n.to(i(489)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(493)}})}[Me(495)](){const e=Me;super[e(495)](),this[e(485)]=new t.ResizeObserver(this[e(511)][e(486)],()=>this[e(504)]()),this[e(512)](this[e(511)],e(505),()=>this[e(504)]())}[Me(494)](){const t=Me;super[t(494)](),this[t(485)]&&this[t(485)][t(494)]()}[Me(504)](){const t=Me,e=this[t(511)][t(486)];this[t(489)]=e[t(488)]>e[t(509)]&&e[t(496)]||""}}var Ce=i(249),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Vt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Le();return(je=function(t,e){return i[t-=474]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(826114===-parseInt(e(479))/1*(-parseInt(e(489))/2)+-parseInt(e(484))/3+-parseInt(e(480))/4+-parseInt(e(476))/5*(-parseInt(e(486))/6)+-parseInt(e(478))/7+-parseInt(e(483))/8+parseInt(e(482))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class Pe extends It.View{constructor(t,e,i){const n=je;super(t);const s=new It.IconView;s[n(485)]({content:_t.IconUser,viewBox:n(487)});const r=["ck",n(492)];i&&r[n(474)](n(490));const o=[{tag:n(477),attributes:{class:["ck",n(475)],title:at(t,n(i?481:488))},children:[s,e[n(493)]]}];this[n(491)]({tag:"li",attributes:{class:r},children:o})}}function Le(){const t=["3586vnrgUM","ck-revision-history-sidebar__revision-author_creator","setTemplate","ck-revision-history-sidebar__revision-author","name","push","ck-revision-history-sidebar__revision-author__name","395OhkkTo","span","9178960NxDVHx","8JBRxRi","2657448hdNvCk","Revision creator","25311861OWwhBQ","469296euMMDL","3921666qeAMLR","set","101838dbzsBT","0 0 11 10","Revision author"];return(Le=function(){return t})()}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=170]})(t,e)}function We(){var t=["2367VrkawW","2680NonQnJ","32721omeOnX","557810GmKfZi","129170eaIRXz","63PFdDvy","numeric","30Dicpjc","1104lwddEr","24QsxdsW","88mwgykr","11319nVqEJo","toLocaleTimeString","2676zfQdfr","7637izkIWg","long","toLocaleDateString"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(330612===-parseInt(e(186))/1*(parseInt(e(179))/2)+-parseInt(e(172))/3*(-parseInt(e(182))/4)+parseInt(e(173))/5*(-parseInt(e(180))/6)+parseInt(e(183))/7*(parseInt(e(181))/8)+-parseInt(e(177))/9*(parseInt(e(176))/10)+parseInt(e(175))/11+-parseInt(e(185))/12*(-parseInt(e(174))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(11),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=At().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Vt();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=447]})(t,e)}function qe(){const t=["stopPropagation","isActionsDropdownOpen","locale","menu","isEnabled","bindTemplate","234khmjNI","class","1811736yBGGla","action","ck-revision-history-sidebar__revision__actions","4374678jGcgON","name","first","30412iPceRM","Restore this revision","add","find","children","isOpen","listView","1506FmrHFU","set","source","map","execute","20taofqA","panelPosition","change:isActionsDropdownOpen","5165bVYJac","_action","items","menuitem","Compare against selected","extendTemplate","buttonView","isReady","ck-on","function","model","listenTo","82rbleqr","Name this revision","15501zEGbBu","Show more items","3697958IYZRRD","3727472AoGxtG","button","isVisible","bind"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(318046===-parseInt(e(469))/1*(parseInt(e(467))/2)+-parseInt(e(482))/3*(-parseInt(e(490))/4)+-parseInt(e(455))/5*(parseInt(e(447))/6)+parseInt(e(487))/7+parseInt(e(472))/8+parseInt(e(484))/9+parseInt(e(452))/10*(-parseInt(e(471))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Vt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Je;function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=342]})(t,e)}function Ge(){const t=["7050930mAukaH","8654400RnzrOw","ck-revision-history-sidebar__revision-wrapper","6KAgAEu","isEnabled","ck-revision-history-sidebar__revision_highlighted","createdAt","setTemplate",".ck-thread__remove-confirm","value","render","220","9396270CepwPd","isActionsDropdownOpen","isConfirm","from","div","ck-revision-history-sidebar__revision_selected","span","extendTemplate","fire","listenTo","4668027qECKQT","change","_requireRevisionName","isHighlighted","closest","revisionNameView","select","name","bindTemplate","ck-reset","780gfMNHZ","authors","revisionActionsView","length","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision","1961QYhApM","element","ck-revision-history-sidebar__actions_dropdown_open","_revision","uiLanguage","map","setName","ck-revision-history-sidebar__revision__date","453615rzLSie","isReady","bind","unhighlight","_createdAtFormatted","isSelected","creator","set","1148864vFPMRl","ck-revision-history-sidebar__revision-authors","deselect","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","unshift","ck-disabled","highlight","filter","fieldView","srcElement"];return(Ge=function(){return t})()}!function(t){const e=Je,i=t();for(;;)try{if(753726===parseInt(e(374))/1*(-parseInt(e(368))/2)+-parseInt(e(382))/3+parseInt(e(390))/4+-parseInt(e(400))/5+parseInt(e(403))/6*(parseInt(e(358))/7)+parseInt(e(401))/8+parseInt(e(348))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(363)];[Ye(370)];[Ye(377)];[Ye(360)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(366)],a=function(t,e){const i=r,n=Array[i(351)](e[i(369)])[i(397)](t=>t!=e[i(388)]);return e[i(388)]&&n[i(394)](e[i(388)]),n[i(379)](n=>new Pe(t,n,n==e[i(388)]))}(e,i);this.id=i.id,this[r(377)]=i,this[r(360)]=s,this[r(384)](r(365),r(342)).to(i),this[r(384)](r(386)).to(this,r(342),t=>{return i=e[r(378)],(n=t)[(s=ze)(171)](i,{month:s(170),day:s(178)})+", "+n[s(184)](i,{hour:s(178),minute:s(178)});var i,n,s}),this[r(389)](r(387),!1),this[r(389)](r(361),!1),this[r(389)](r(349),!1),this[r(389)](r(383),!1),this[r(389)](r(404),!1),this[r(363)]=new De(e,It.createLabeledInputText),this[r(363)][r(398)][r(355)]({attributes:{maxlength:r(347)}}),this[r(363)][r(398)][r(384)](r(345)).to(this,r(365),t=>t||this[r(386)]),this[r(363)][r(384)](r(404)).to(this,r(387),this,r(404),(t,e)=>t&&e),this[r(370)]=n&&n[r(371)]?function(e,i){const n=Ze,s=e[n(481)],r=e[n(478)],o=(0,It.createDropdown)(r);o[n(453)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(478)],s={"Compare against selected":at(n,i(459)),"Name this revision":at(n,i(468)),"Restore this revision":at(n,i(491))};return e[i(450)](t=>{const e=i,n=s[t[e(488)]];return n&&n!==t[e(488)]&&(t[e(488)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(473),model:new It.UIModel({label:t[s(488)],class:t[s(483)],withText:!0,role:s(458),_action:t[s(485)]})};i[s(465)][s(475)](s(480)).to(e,s(477),i=>s(464)!=typeof t[s(480)]||!i||t[s(480)](e)),o[s(492)](i)}return o}(e,i);return e[n(475)](n(477)).to(o,n(495)),o[n(461)][n(448)]({label:at(r,n(470)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(460)]({attributes:{class:[n(486),s.if(n(477),n(463))]},on:{click:s.to(t=>t[n(476)]())}}),o.on(n(451),t=>{const i=n;e[i(462)]&&i(464)==typeof t[i(449)][i(456)]&&t[i(449)][i(456)](e)}),(0,It.addListToDropdown)(o,a,{role:n(479)}),o[n(466)](e,n(454),(t,s,r)=>{const a=n;if(r)for(const t of o[a(496)][a(457)]){const n=t[a(494)][a(489)],s=i[a(493)](t=>t[a(485)]===n[a(456)])[a(474)];t[a(474)]=void 0===s||s(e)}}),o}(this,n):"",this[r(370)]&&this[r(370)][r(384)](r(404)).to(this),this[r(343)]({tag:r(352),attributes:{class:["ck",r(367),r(402),o.if(r(350),r(393))]},children:[{tag:r(352),attributes:{class:["ck",r(367),r(373),o.if(r(404),r(395),t=>!t),o.if(r(387),r(353)),o.if(r(361),r(405)),o.if(r(349),r(376))]},children:[this[r(363)],{tag:r(354),attributes:{class:["ck",r(381)]},children:[{text:o.to(r(386))}]},{tag:r(352),attributes:{class:["ck",r(372)]},children:[{tag:"ul",attributes:{class:["ck",r(391)]},children:a}]},this[r(370)]],on:{click:o.to(t=>{const e=r;t[e(399)][e(362)](e(344))||this[e(383)]&&this[e(404)]&&this[e(356)](e(364),{id:this.id})})}}]})}[Ye(346)](){const t=Ye;super[t(346)]();const e=this[t(363)][t(398)][t(375)];this[t(357)](e,t(359),()=>{const i=t;this[i(360)]&&!e[i(345)]||this[i(356)](i(380),{id:this.id,name:e[i(345)]}),e[i(345)]||(e[i(345)]=this[i(365)]?this[i(365)]:this[i(386)])})}[Ye(364)](){this[Ye(387)]=!0}[Ye(392)](){this[Ye(387)]=!1}[Ye(396)](){this[Ye(361)]=!0}[Ye(385)](){this[Ye(361)]=!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},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Ei=null;class Vi extends Mi{static get instance(){return null===Ei&&(Ei=new Vi),Ei}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return 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: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 Pi={};const Li=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Li.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Li.set(i,n)),n}const Wi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Un(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Ji{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":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,Li.clear(),Wi.clear(),Ui.clear(),Zi.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=Pi[i];return n||(n=new Intl.ListFormat(t,e),Pi[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class en extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function nn(t,e){if(Vn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?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,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(),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=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 An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!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 Mn(t){const e=Cn(t.year),i=Wn(t.month,1,12),n=Wn(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 En(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 Vn(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 Pn(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Ln(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Wn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hn(t){return Vn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(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(Ln(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Un(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Hn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Es=Ts("year","ordinal"),Vs=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Ds=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 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 Ps(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ls=RegExp(`^T?${Ns.source}$`),zs=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ws(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?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 Zs=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Hs(e,s,n,i,r,o,a);let f;return f=c?Us[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bs=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ys=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function 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))?)?/,Rs),Xs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Qs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ps),ir=Ss(Ms,Fs,js,Ps),nr=Ss(Es,Fs,js,Ps),sr=Ss(Fs,js,Ps);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Vs),cr=Ss(Fs,js,Ps);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(Dn(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Ws])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ls,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ni(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return 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)(Ln(e.values,t)||Ln(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Er(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Vr(t){return{regex:t,deser:([t])=>t}}const Dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Lr(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,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 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 Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Er(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Er(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(Ln(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;Vn(t.z)||(i=ji.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(Ln(i,"a")&&Ln(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Pr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(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+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Xi.fromObject(e);let s,r;if(Vn(t.year))s=gn.now();else{for(const e of no)Vn(t[e])&&(t[e]=to[e]);const e=Mn(t)||En(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:Ur(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=Dn(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Xi.fromObject(e)}):fo.invalid(Ur(s))}static fromMillis(t,e={}){if(Dn(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Dn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=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=Wn(t.weekNumber,1,Xn(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||En(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?An(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[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),[Zs,qs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(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}=Pr(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=Lr(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?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?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(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!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=An({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=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 Pn(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Pn(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Pr(Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Xi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(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 Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Dn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=go();return(po=function(t,e){return i[t-=180]})(t,e)}function vo(t,e){const i=po,n=fo[i(191)](t)[i(200)](e),s=fo[i(198)](),r=s[i(188)]({days:1})[i(185)](i(197));let o,a;return n[i(196)](s,i(197))?(o=n[i(185)](i(197))[i(194)](),a=n[i(192)]()):n[i(196)](r,i(197))?(o=r[i(194)](),a=n[i(192)]()):n[i(196)](s,i(186))?(o=n[i(185)](i(186))[i(194)](),a=n[i(190)]||""):n[i(196)](s,i(189))?(o=n[i(185)](i(201))[i(194)](),a=n[i(199)]||""):(o=n[i(185)](i(189))[i(194)](),a=String(n[i(189)])),{startDate:o,localizedPeriodName:a}}function go(){const t=["3675060inmIIA","5695038XWZbWy","4309744hossLq","2SPWOvv","2061272xCHrOZ","startOf","week","1328814qUkYpd","minus","year","weekdayLong","fromJSDate","toRelativeCalendar","54oEHDNk","toJSDate","8818201aDUFbw","hasSame","day","local","monthLong","setLocale","month","4464495JTbPzm"];return(go=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(951293===-parseInt(e(187))/1*(-parseInt(e(183))/2)+-parseInt(e(180))/3+parseInt(e(182))/4+-parseInt(e(202))/5+parseInt(e(181))/6+parseInt(e(195))/7+-parseInt(e(184))/8*(parseInt(e(193))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);var yo=i(45),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Vt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["find","3780328vlZQNJ","_requireRevisionName","delegate","add","select","setName","localizedPeriodName","createCollection","div","60856OPXCSL","3093396rwRJwx","100709speUHv","setTemplate","2371175iEtYZX","uiLanguage","17290935bctTQo","ck-revision-history-sidebar__time-period__revisions","_revisionActions","85422HyOIFL","ck-revision-history-sidebar__time-period","startDate","addRevision","remove","span","25VZVDGc","removeRevision","ck-revision-history-sidebar__time-period__label","342tSzaOP","revisionViews","locale"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=197]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(674559===-parseInt(e(208))/1*(-parseInt(e(202))/2)+-parseInt(e(225))/3+-parseInt(e(215))/4+parseInt(e(197))/5+-parseInt(e(211))/6*(parseInt(e(226))/7)+parseInt(e(224))/8+parseInt(e(199))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[bo(204)];[bo(212)];[bo(201)];[bo(216)];constructor(t,e,i,n){const s=bo;super(t);const r=vo(e,this[s(213)][s(198)])[s(221)];this[s(204)]=e,this[s(212)]=this[s(222)](),this[s(201)]=i,this[s(216)]=n,this[s(212)][s(217)](s(219)).to(this),this[s(212)][s(217)](s(220)).to(this),this[s(227)]({tag:s(223),attributes:{class:["ck",s(203)]},children:[{tag:s(207),attributes:{class:["ck",s(210)]},children:[{text:r}]},{tag:s(223),attributes:{class:["ck",s(200)]},children:this[s(212)]}]})}[bo(205)](t){const e=bo,i=new Ke(this[e(213)],t,this[e(201)],this[e(216)]);this[e(212)][e(218)](i)}[bo(209)](t){const e=bo,i=this[e(212)][e(214)](e=>e.id===t.id);this[e(212)][e(206)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Vt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=No();return(To=function(t,e){return i[t-=437]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(962533===-parseInt(e(446))/1+-parseInt(e(441))/2*(parseInt(e(442))/3)+-parseInt(e(449))/4+parseInt(e(444))/5+parseInt(e(438))/6+parseInt(e(453))/7*(parseInt(e(437))/8)+parseInt(e(450))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(440)]=_t.IconHistory,this[e(452)]({tag:e(443),attributes:{class:["ck",e(445),e(447)]},children:[i,{tag:e(451),attributes:{class:["ck",e(439)]},children:[at(t,e(448))]}]})}}function No(){const t=["setTemplate","10816274SzBcvo","8cNqcCP","1031394FWjVkL","ck-revision-history-sidebar__header__label","content","74cnMOQr","77019sYFvxn","div","2007025JYzvYy","ck-reset_all","502416fTEHXM","ck-revision-history-sidebar__header","Revision history","7395980ctUheR","19308231cvEPXg","span"];return(No=function(){return t})()}var Ao=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Vt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Eo;function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=270]})(t,e)}function Vo(){const t=["get","revisionSelected","ck-revision-history-sidebar","revisionViews","find","_revisions","createdAt","1162588AbmAOB","highlight","unhighlight","ck-rounded-corners","5RzmBhn","removeRevision","1592162jHiFFp","select","1072urSsAz","setTemplate","bindTemplate","getTime","_revisionActions","_getTimePeriodViewByStartDate","map","_addRevision","190071qplEKO","revisionSetName","deselect","addRevision","uiLanguage","locale","highlightRevisions","4IirwqB","_requireRevisionName","render","selectRevision","some","fire","ck-revision-history-sidebar__timeline","delegate","remove","15980041VEUcxB","set","createCollection","flat","ck-reset","startDate","10znRUbi","add","_removeRevision","224853kHiOtD","div","isEnabled","ck-disabled","timePeriodViews","setName","287eShsvK","7965192QPXaAq"];return(Vo=function(){return t})()}!function(t){const e=Eo,i=t();for(;;)try{if(869932===-parseInt(e(314))/1+-parseInt(e(320))/2+-parseInt(e(299))/3*(-parseInt(e(281))/4)+-parseInt(e(318))/5*(-parseInt(e(306))/6)+parseInt(e(305))/7*(-parseInt(e(322))/8)+-parseInt(e(274))/9*(parseInt(e(296))/10)+parseInt(e(290))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends It.View{[Mo(303)];[Mo(312)];[Mo(270)];[Mo(282)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(324)];this[s(303)]=this[s(292)](),this[s(303)][s(288)](s(321)).to(this),this[s(303)][s(288)](s(304)).to(this),this[s(312)]=e,this[s(270)]=i,this[s(282)]=n,this.on(s(321),(t,e)=>{const i=s;this[i(286)](i(308),e)}),this.on(s(304),(t,e)=>{const i=s;this[i(286)](i(275),e)}),this[s(291)](s(301),!1),this[s(323)]({tag:s(300),attributes:{class:["ck",s(294),s(317),s(309)]},children:[new xo(t),{tag:s(300),attributes:{class:["ck",s(287),r.if(s(301),s(302),t=>!t)]},children:this[s(303)]}]})}[Mo(283)](){const t=Mo;super[t(283)]();for(const e of this[t(312)])this[t(273)](e);this[t(312)].on(t(297),(e,i)=>{this[t(273)](i)}),this[t(312)].on(t(289),(e,i)=>{this[t(298)](i)})}get[Mo(310)](){const t=Mo;return this[t(303)][t(272)](e=>e[t(310)][t(272)](t=>t))[t(293)]()}[Mo(284)](t){const e=Mo;for(const i of this[e(310)])t&&t.id===i.id?i[e(321)]():i[e(276)]()}[Mo(280)](t){const e=Mo;for(const i of this[e(310)])t[e(285)](({id:t})=>t===i.id)?i[e(315)]():i[e(316)]()}[Mo(273)](t){const e=Mo,i=vo(t[e(313)],this[e(279)][e(278)])[e(295)];let n=this[e(303)][e(307)](0);n&&n[e(295)][e(325)]()===i[e(325)]()||(n=new Io(this[e(279)],i,this[e(270)],this[e(282)]),this[e(303)][e(297)](n)),n[e(277)](t)}[Mo(298)](t){const e=Mo,i=vo(t[e(313)],this[e(279)][e(278)])[e(295)];this[e(271)](i)[e(319)](t)}[Mo(271)](t){const e=Mo;return this[e(303)][e(311)](i=>i[e(295)][e(325)]()===t[e(325)]())}}const Co=Fo;function Fo(t,e){const i=Po();return(Fo=function(t,e){return i[t-=447]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(934083===-parseInt(e(487))/1+-parseInt(e(459))/2*(parseInt(e(462))/3)+-parseInt(e(478))/4+parseInt(e(461))/5*(-parseInt(e(456))/6)+-parseInt(e(448))/7+parseInt(e(451))/8*(-parseInt(e(515))/9)+parseInt(e(472))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends G.Plugin{[Co(504)];[Co(469)];[Co(486)];static[Co(481)]=[Co(480),Co(518),Co(477)];static[Co(509)]=function(){const t=Co;return{compareAgainstSelected:{name:t(476),action:({plugins:e},i)=>{const n=t,s=e[n(528)](ue),r=s[n(450)];let o=s[n(488)][n(529)],a=i.id;r[n(492)](o)>r[n(492)](a)&&([o,a]=[a,o]),s[n(506)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(528)](ue);return!(s[n(450)][n(499)](s[n(488)])[n(470)]>2||i[n(479)])}},restoreRevision:{name:t(463),action:(e,{id:i})=>{const n=t;e[n(523)][n(528)](n(473))[n(517)](i)},isVisible:({plugins:e},i)=>!!e[t(528)](ue)[t(450)][t(489)](i.id)},nameRevision:{name:t(454),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(528)](ue),o=r[s(450)][s(449)](i);r[s(506)](i,o),n[s(510)](),n[s(484)][s(498)]()}}}}();static get[Co(526)](){return Co(502)}static get[Co(455)](){return!0}static get[Co(453)](){return!0}static get[Co(468)](){return[ue]}constructor(t){const e=Co;super(t),this[e(504)]=t[e(460)][e(528)](ue),this[e(469)]=this[e(504)][e(450)],this[e(486)]=null}[Co(494)](){const t=Co,e=this[t(469)][t(524)],i=this[t(467)](),n=this[t(507)][t(523)][t(528)](t(527));this[t(486)]=new Do(this[t(507)][t(522)],e,i,this[t(507)][t(523)][t(528)](t(496))),this[t(486)].on(t(490),this[t(474)][t(512)](this)),this[t(486)].on(t(457),this[t(447)][t(512)](this)),this[t(486)][t(512)](t(514)).to(this[t(504)]),this[t(486)][t(513)].on(t(485),(e,i)=>{const n=t;i[n(505)].on(n(485),(t,e)=>{const i=n;e[i(512)](i(514),i(519)).to(this[i(504)])})}),this[t(486)][t(500)](),this[t(458)](this[t(507)][t(520)],t(497),this[t(501)][t(512)](this)),this[t(458)](this[t(504)],t(482),this[t(493)][t(512)](this)),n[t(471)](this[t(486)][t(511)])}[Co(483)](){const t=Co;this[t(486)][t(511)][t(508)](),this[t(486)][t(483)]()}[Co(501)](){const t=Co,e=this[t(469)][t(464)](0);if(e){const i=this[t(469)][t(449)](e.id);this[t(504)][t(506)](e,i)}}[Co(474)](t,e){const i=Co,n=this[i(469)][i(464)](e.id),s=this[i(469)][i(449)](n.id);this[i(504)][i(506)](n,s)}[Co(447)](t,e){const i=Co;this[i(469)][i(464)](e.id)[i(466)](e[i(465)])}[Co(493)](t,e,i){const n=Co,s=this[n(469)][n(499)](i);s[n(470)]>2?(this[n(486)][n(475)](s),this[n(486)][n(495)](null)):(this[n(486)][n(475)]([]),this[n(486)][n(495)](s[0]))}[Co(467)](){const t=Co,e=this[t(507)],i=jo[t(509)],n=e[t(523)][t(528)](t(525))||jo[t(481)];if(n[t(470)])return n[t(516)](n=>{const s=t,r=s(503)==typeof n?Object[s(452)]({},i[n]):n;return r[s(521)]=r[s(521)][s(512)](this,e),r[s(491)]&&(r[s(491)]=r[s(491)][s(512)](this,e)),r})}}function Po(){const t=["revisionSetName","listenTo","86hiUnpr","plugins","5pWAlLY","37779CitMKX","Restore this revision","getRevision","name","setName","_createRevisionActions","requires","_revisionsRepository","length","appendChild","76808240OMkYfb","revisionHistory","_handleRevisionSelected","highlightRevisions","Compare against selected","nameRevision","3681132IvvyeE","isSelected","compareAgainstSelected","defaultRevisionActions","change:diff","destroy","fieldView","add","_sidebarView","899799MOayCe","diff","getLaterVisibleRevision","revisionSelected","isVisible","getIndex","_handleDiffChange","init","selectRevision","revisionHistory.requireRevisionName","ready","select","getRevisionsInDiff","render","_handleEditorDataReady","RevisionsSidebar","string","_revisionViewer","revisionViews","compare","editor","remove","availableRevisionActions","focus","element","bind","timePeriodViews","isEnabled","174591cmqqnj","map","restoreRevisionCallback","restoreRevision","isReady","data","action","locale","config","_revisions","revisionHistory.revisionActions","pluginName","revisionHistory.viewerSidebarContainer","get","newRevisionId","_handleRevisionSetName","10375610XmfmHy","getEarlierVisibleRevision","repository","648Fuaxog","assign","isPremiumPlugin","Name this revision","isOfficialPlugin","7989666cDiBXW"];return(Po=function(){return t})()}const Lo=zo;function zo(t,e){const i=Wo();return(zo=function(t,e){return i[t-=185]})(t,e)}function Wo(){const t=["restore","1791059TwQcBx","3598962CamlEO","replace","destroy","view","get","isActive","63tzzVTX","1634144PuUKNq","getRoot","setEditableElement","attachDomRoot","rootName","init","157452CTISKB","fillFromConfig","editing","document","bind","editable","detachDomRoot","fire","editor","limiterElement","_toolbarConfig","element","_initToolbar","stickyPanel","_elementReplacer","288351fCAcNC","isFocused","2804152FQpqgs","config","_view","toolbar","viewportTopOffset","focusTracker","addToolbar","305RcMkqI","5189262SrOGnX","viewportOffset","ready","render","name","componentFactory"];return(Wo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(907445===-parseInt(e(187))/1+parseInt(e(188))/2+parseInt(e(226))/3+-parseInt(e(218))/4+-parseInt(e(225))/5*(parseInt(e(201))/6)+parseInt(e(216))/7+parseInt(e(195))/8*(parseInt(e(194))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends It.EditorUI{[Lo(220)];[Lo(211)];[Lo(215)];get[Lo(191)](){return this[Lo(220)]}constructor(e,i){const n=Lo;super(e),this[n(220)]=i,this[n(211)]=(0,It.normalizeToolbarConfig)(e[n(219)][n(192)](n(221))),this[n(215)]=new t.ElementReplacer}get[Lo(212)](){const t=Lo;return this[t(191)][t(212)]}[Lo(200)](t){const e=Lo,i=this[e(209)],n=this[e(191)],s=i[e(203)][e(191)],r=n[e(206)],o=s[e(204)][e(196)]();r[e(230)]=o[e(199)],n[e(229)]();const a=r[e(212)];this[e(197)](r[e(230)],a),n[e(206)][e(205)](e(217)).to(this[e(223)]),s[e(198)](a),this[e(215)][e(189)](t,this[e(212)]),this[e(213)](),this[e(208)](e(228))}[Lo(190)](){const t=Lo;super[t(190)]();const e=this[t(191)],i=this[t(209)][t(203)][t(191)];this[t(215)][t(186)](),i[t(207)](e[t(206)][t(230)]),e[t(190)]()}[Lo(213)](){const t=Lo,e=this[t(191)];e[t(214)][t(205)](t(193)).to(this[t(223)],t(217)),e[t(214)][t(210)]=e[t(212)],e[t(214)][t(205)](t(222)).to(this,t(227),({top:t})=>t),e[t(221)][t(202)](this[t(211)],this[t(185)]),this[t(224)](e[t(221)])}}var Ho=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Vt();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var qo=$o;function $o(t,e){var i=Bo();return($o=function(t,e){return i[t-=334]})(t,e)}function Bo(){var t=["144824oTYBoO","content","editable","697656gdErwd","112508RRDiwC","5148SvYnCA","628vfkeAD","154hlBCWm","38570MhtzYk","shouldToolbarGroupWhenFull","1016210pfhDGk","top","add","63EFVYeE","toolbar","1079805OKESbG","_editable","450666kjRwtb","15KUiPvs","render","stickyPanel","main"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(773439===-parseInt(e(338))/1+parseInt(e(340))/2*(-parseInt(e(341))/3)+parseInt(e(351))/4*(-parseInt(e(353))/5)+parseInt(e(348))/6+-parseInt(e(352))/7*(-parseInt(e(345))/8)+parseInt(e(336))/9*(-parseInt(e(355))/10)+-parseInt(e(349))/11*(-parseInt(e(350))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[qo(339)];[qo(343)];[qo(337)];get[qo(347)](){return this[qo(339)]}constructor(t,e,i={}){var n=qo;super(t),this[n(343)]=new It.StickyPanelView(t),this[n(337)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(354)]}),this[n(339)]=new It.InlineEditableUIView(t,e)}[qo(342)](){var t=qo;super[t(342)](),this[t(343)][t(346)][t(335)](this[t(337)]),this[t(334)][t(335)](this[t(343)]),this[t(344)][t(335)](this[t(347)])}}const Jo=Go;function Go(t,e){const i=Xo();return(Go=function(t,e){return i[t-=252]})(t,e)}!function(t){const e=Go,i=t();for(;;)try{if(330840===-parseInt(e(279))/1+-parseInt(e(262))/2*(parseInt(e(257))/3)+parseInt(e(260))/4*(parseInt(e(267))/5)+parseInt(e(263))/6*(-parseInt(e(276))/7)+parseInt(e(273))/8+-parseInt(e(268))/9+parseInt(e(278))/10*(parseInt(e(264))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xo);class Ko extends((0,G.ElementApiMixin)(G.Editor)){[Jo(253)];get ui(){return this[Jo(253)]}constructor(t,e){const i=Jo;super(e),this[i(271)]=t,this[i(261)][i(269)][i(274)]();const n=new Yo(this[i(256)],this[i(259)][i(265)],{shouldToolbarGroupWhenFull:!0});this[i(253)]=new Uo(this,n)}[Jo(252)](){const t=Jo;return this[t(258)](),this.ui[t(252)](),super[t(252)]()}static async[Jo(254)](t,e){const i=Jo,n=new this(t,e);return await n[i(255)](),await n.ui[i(270)](t),await n[i(272)][i(270)](n[i(277)][i(266)](i(275))||""),n[i(280)](i(281)),n}}function Xo(){const t=["model","29534kWMjLG","244908uvmKso","77bNynWC","view","get","4405fTyaWs","3917160ZtYLYA","document","init","sourceElement","data","2036944mZWHXG","createRoot","initialData","77mkgqcV","config","1988300MqAxgZ","287168UnHuOi","fire","ready","destroy","_ui","create","initPlugins","locale","105QYeCHF","updateSourceElement","editing","1692HvPznY"];return(Xo=function(){return t})()}const Qo=ta;function ta(t,e){const i=ea();return(ta=function(t,e){return i[t-=427]})(t,e)}function ea(){const t=["detachRoot","rootName","Autosave","isAttached","loadRevisionData","removeMarker","_enhanceShowRevisionViewerCallback","from","insert","DocumentOutlineUI","_update","getRevisionDocumentData","598994wkyOyO","6748064ihUBpQ","plugins","createdAt","getUser","refreshVisibility","restoreRevision","set","revisionHistory.viewerContainer","setAttribute","end","lazyRoots","revision-history-viewer-opened","_recalculatePageBreaks","long","exitToEditing","revisionHistory.restoreRevisionCallback","isEnabled","roots","save","style","creator","model","join","create","getRevisionRootsAttributes","repository","isReady","$graveyard","locale","adapter","Annotations","RevisionHistoryUtils","toLocaleDateString","toVersion","hide","isAnonymous","revisionHistory","selection","uiLanguage","has","isOpen","_getRevisionViewerEditorConfig","translations","RevisionViewer","_showRevisionViewer","users","init","revisionHistory.closeRevisionViewerCallback","149514xsslRt","data","getMarkersGroup","catch","editor","_restoreRevision","keys","RestrictedEditingMode","enqueueChange","enableReadOnlyMode","get","addRevisionData","_enhanceCloseRevisionViewerCallback","39385gGQQdx","getAttributeKeys","508VKwJib","includes","revisionHistory.requireRevisionName","push","saveRevision","error","getRevisions","then","Users","revision-history-missing-configuration","PaginationLookup","element","restrictedEditingException","parse","disableReadOnlyMode","showRevisionViewerCallback","toJSON","createRangeIn","toLocaleTimeString","DocumentOutline","numeric","document","closeRevisionViewerCallback","Restored","RevisionTracker","fromCharCode","3106845apVEbM","_closeRevisionViewer","change","getRoot","isPremiumPlugin","_viewerEditor","addUser","_cleanUp","none","map","isReadOnly","getRevision","view","fromVersion","RevisionViewerIntegration","changesNavigation","remove","revisionHistory.editorContainer","isRevisionViewerOpen","toolbar","indexOf","requires","display","name","addRoot","removeAttribute","bind","RevisionHistoryUI","804804AJZuUw","markers","update","define","result","isOfficialPlugin","pluginName","setSelection","RevisionsRepository","revisionHistory.viewerEditorElement","Dialog","commands","removeSelectionAttribute","block","revisionHistory.showRevisionViewerCallback","4485999vQgbpK","RevisionHistory","refreshPositioning","config","destroy"];return(ea=function(){return t})()}!function(t){const e=ta,i=t();for(;;)try{if(577591===parseInt(e(570))/1+parseInt(e(452))/2+-parseInt(e(542))/3+-parseInt(e(516))/4*(parseInt(e(514))/5)+parseInt(e(501))/6+parseInt(e(435))/7+parseInt(e(453))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);const ia=[Qo(569),Qo(508)];class na extends G.Plugin{[Qo(574)];static get[Qo(576)](){return Qo(556)}static get[Qo(575)](){return!0}static get[Qo(546)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(551)](t=>String[e(541)](t))[e(475)]("")}super(t),this[e(574)]=e(462),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class sa extends G.Plugin{[Qo(547)];static get[Qo(576)](){return Qo(436)}static get[Qo(575)](){return!0}static get[Qo(546)](){return!0}static get[Qo(563)](){return[vt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(505)][i(438)][i(511)](i(489)))throw new t.CKEditorError(i(525),this);this[i(547)]=null,this[i(459)](i(560),!1),this[i(505)][i(438)][i(573)](i(434),t=>this[i(497)]({...t,translations:this[i(505)][i(481)][i(495)]})),this[i(505)][i(438)][i(573)](i(500),t=>this[i(543)](t)),this[i(505)][i(438)][i(573)](i(468),t=>this[i(506)](t)),this[i(505)][i(438)][i(573)](i(518),!1),this[i(446)](),this[i(513)]()}set[Qo(482)](t){const e=Qo;this[e(505)][e(454)][e(511)](e(540))[e(482)]=t}get[Qo(482)](){const t=Qo;return this[t(505)][t(454)][t(511)](t(540))[t(482)]}[Qo(512)](t){const e=Qo;return this[e(505)][e(454)][e(511)](e(540))[e(512)](t)}[Qo(553)](t){const e=Qo;return this[e(505)][e(454)][e(511)](e(428))[e(553)](t)}[Qo(522)](t){const e=Qo;return this[e(505)][e(454)][e(511)](e(428))[e(522)](t||{toJSON:!1})}[Qo(494)](){const e=Qo,i=this[e(505)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(454)][e(511)](e(540)),r=i[e(454)][e(511)](e(524))[e(498)];return n[e(561)]=[e(467),e(458),e(557)],delete n[e(463)],n[e(454)][e(519)](na,ue,Ne,class extends G.Plugin{static get[e(563)](){return[ue,e(524)]}[e(499)](){const n=e,o=this[n(505)][n(454)][n(511)](n(524));for(const t of r)t[n(488)]||o[n(456)](t.id)||o[n(548)](t);const a=s[n(478)][n(522)]();let c=null;const u=this[n(505)][n(454)][n(511)](n(496));u[n(482)]=s[n(482)],u[n(568)](n(469)).to(s),this[n(505)][n(431)][n(511)](n(458))[n(568)](n(469)).to(i,n(552),t=>!t);for(const e of a){const i=null===e[n(473)];if(i&&e[n(486)]===e[n(555)])continue;const r=e[n(532)]();u[n(512)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(450)](r,o);else if(!o){const e=a[u(532)]();e.id=(0,t.uid)(),s[u(520)](e,a[u(486)])[u(523)](t=>{c=t})}}else e[u(450)](r,o)})}}},jo),n}[Qo(446)](){const t=Qo,e=this[t(505)][t(438)][t(511)](t(489))[t(531)];this[t(505)][t(438)][t(459)](t(434),async()=>{const i=t;this[i(505)][i(510)](i(464));const n=this[i(505)][i(454)][i(511)](i(540));if(this[i(505)][i(454)][i(492)](i(442))){const t=this[i(505)][i(454)][i(511)](i(442));await t[i(471)]()}else await n[i(572)]();if(this[i(505)][i(454)][i(492)](i(526))&&this[i(505)][i(454)][i(511)](i(526))[i(465)](),this[i(505)][i(454)][i(492)](i(430))){const t=this[i(505)][i(454)][i(511)](i(430));t[i(493)]&&t[i(487)]()}const s=this[i(494)]();return e(s)[i(523)](t=>{const e=i;return this[e(547)]=t,this[e(505)][e(454)][e(492)](e(483))&&this[e(505)][e(454)][e(511)](e(483))[e(457)](),this[e(505)][e(454)][e(492)](e(535))&&(this[e(505)][e(454)][e(511)](e(449))[e(554)][e(527)][e(472)][e(564)]=e(550)),t})[i(504)](t=>(console[i(521)](t),this[i(505)][i(530)](i(464)),null))})}[Qo(513)](){const t=Qo,e=this[t(505)][t(438)][t(511)](t(489))[t(538)];this[t(505)][t(438)][t(459)](t(500),()=>(this[t(505)][t(454)][t(492)](t(526))&&this[t(505)][t(454)][t(511)](t(526))[t(465)](),this[t(505)][t(454)][t(492)](t(535))&&(this[t(505)][t(454)][t(511)](t(449))[t(554)][t(527)][t(472)][t(564)]=""),this[t(547)][t(454)][t(511)](t(496))[t(549)](),e(this[t(547)])[t(523)](()=>{const e=t;if(this[e(505)][e(530)](e(464)),this[e(547)]=null,this[e(505)][e(454)][e(492)](e(483))){const t=this[e(505)][e(454)][e(511)](e(483));t[e(457)](),t[e(437)]()}})))}[Qo(497)](t){const e=Qo,i=this[e(505)][e(438)][e(511)](e(559)),n=this[e(505)][e(438)][e(511)](e(460)),s=this[e(505)][e(438)][e(511)](e(429));return Ko[e(476)](s,t)[e(523)](t=>(n[e(472)][e(564)]=e(433),i[e(472)][e(564)]=e(550),this[e(560)]=!0,t))}[Qo(543)](t){const e=Qo,i=this[e(505)][e(438)][e(511)](e(559));return this[e(505)][e(438)][e(511)](e(460))[e(472)][e(564)]=e(550),i[e(472)][e(564)]="",this[e(560)]=!1,t[e(439)]()}async[Qo(506)](t){const e=Qo,i=this[e(505)],n=this[e(547)][e(454)][e(511)](e(496)),s=i[e(454)][e(511)](e(540)),r=i[e(454)][e(511)](e(484)),o=n[e(478)][e(553)](t);let a,c,u;try{await r[e(444)](o,this[e(482)]),a=r[e(451)](o),c=r[e(477)](o)}catch(t){return void console[e(521)](t)}i[e(474)][e(544)](t=>{const n=e;for(const e of Array[n(447)](i[n(474)][n(571)][n(503)](n(528))))t[n(445)](e)}),n[e(479)]=!1,i[e(474)][e(509)](t=>{const n=e;t[n(427)](null),t[n(432)](i[n(474)][n(537)][n(490)][n(515)]());const s=Object[n(507)](a);for(const e of i[n(474)][n(537)][n(470)])n(480)!=e[n(441)]&&e[n(443)]()&&!s[n(517)](e[n(441)])&&t[n(440)](e);for(const e of s){let s=i[n(474)][n(537)][n(545)](e);s&&s[n(443)]()||(s=t[n(566)](e));const r=c[e],o=Object[n(507)](r),u=a[e];for(const e of s[n(515)]())o[n(517)](e)||t[n(567)](e,s);for(const i of o)t[n(461)](i,c[e][i],s);t[n(558)](t[n(533)](s)),t[n(448)](i[n(502)][n(529)](u,s),s,0)}});const l=at(i[e(481)],e(539));return u=o[e(565)]?-1==o[e(565)][e(562)](l)?l+": "+o[e(565)]:o[e(565)]:l+": "+o[e(455)][e(485)](i[e(481)][e(491)],{month:e(466),day:e(536)})+", "+o[e(455)][e(534)](i[e(481)][e(491)],{hour:e(536),minute:e(536)}),await s[e(520)]({name:u}),n[e(479)]=!0,i[e(438)][e(511)](e(489))[e(538)]()}}function ra(){var t=["1757236gJEvrK","2782692ANrewt","18jGOGlO","7955dPQMaM","1245449rcECVc","6094536GuZTDE","2748zopUdJ","4613672yAcPbb","198808UxBjFh"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=353]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(866526===-parseInt(e(357))/1+parseInt(e(353))/2+-parseInt(e(355))/3*(-parseInt(e(361))/4)+-parseInt(e(356))/5*(-parseInt(e(359))/6)+parseInt(e(360))/7+-parseInt(e(358))/8+parseInt(e(354))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},262: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)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},433: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}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},545: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)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673: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}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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}},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:()=>Ht,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Ko,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>jo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,A),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,n,s,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&V(n,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/;function j(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(L.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function W(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function z(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function U(t,e,i){return function(t,e,i,n){if(null==t&&!W(t))return t;const s=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:W(i)?i:C(s[e+1])?[]:{}}D(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,z(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}function $(){const t=["4946628QyvNYd","map","model","fire","350HuoOrR","1585000hpvteO","5092104KqKBqS","attributes","creatorId","name","64996tLdtGp","toJSON","2940273uvLZes","removeAttribute","diffData","_update","toVersion","authorsIds","creator","authors","set","27542976YrKeig","createdAt","setName","setAttribute","3303394IiyCSl","fromVersion"];return($=function(){return t})()}const B=Y;function Y(t,e){const i=$();return(Y=function(t,e){return i[t-=219]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(890714===-parseInt(e(245))/1+-parseInt(e(238))/2+-parseInt(e(219))/3+-parseInt(e(223))/4*(-parseInt(e(244))/5)+parseInt(e(240))/6+parseInt(e(225))/7+parseInt(e(234))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class J extends((0,t.ObservableMixin)()){id;[B(231)];[B(232)];[B(227)];[B(229)];[B(239)];[B(242)];constructor(e){const i=B;super(),this.id=e.id||(0,t.uid)(),this[i(231)]=e[i(231)]||null,this[i(232)]=e[i(232)]||[],this[i(227)]=e[i(227)]||null,this[i(229)]=e[i(229)]||0,this[i(239)]=e[i(239)]||0,this[i(233)](i(222),e[i(222)]||""),this[i(233)](i(235),e[i(235)]||new Date),this[i(233)](i(220),e[i(220)]||{})}[B(236)](t){this[B(228)]({name:t})}[B(237)](t,e){const i=B,n=R(this[i(220)]);U(n,t,e),this[i(228)]({attributes:n})}[B(226)](t){const e=B,i=R(this[e(220)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return q(t,z(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(228)]({attributes:i})}[B(228)](t,e=!1){const i=B;let n=!1;const s={id:this.id},r=[i(222),i(235),i(227),i(232),i(220),i(229),i(239),i(221)];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(232)]&&(s[i(230)]=s[i(232)][i(241)](t=>t.id),delete s[i(232)]),this[i(243)](i(228),s,e))}[B(224)](){const t=B;return{id:this.id,name:this[t(222)],creatorId:this[t(231)]?this[t(231)].id:null,authorsIds:this[t(232)][t(241)](t=>t.id),diffData:this[t(227)],createdAt:this[t(235)],attributes:this[t(220)],fromVersion:this[t(239)],toVersion:this[t(229)]}}}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-=271]})(t,e)}function et(){const t=["later","427244sywhDh","536307MIKpqp","713778pgooXW","toJSON","join","addRevision","RevisionsRepository","isNaN","length","getRevisionsInDiff","5xMxFsq","newRevisionId","20skHGFr","Users","isOfficialPlugin","data","plugins","createdAt","fromCharCode","reverse","creatorId","href","isPremiumPlugin","getEarlierVisibleRevision","getIndex","createRevision","map","6033336bVePLe","afterInit","515879qEeOGO","name","oldRevisionId","pluginName","diffData","toVersion","add","_revisions","attributes","get","earlier","from","getRevisions","fromVersion","getLaterVisibleRevision","4102CHLaVF","getRevisionsIterator","requires","editor","1358415bWChIA","getUser","authorsIds","push","getRevision"];return(et=function(){return t})()}!function(t){const e=tt,i=t();for(;;)try{if(648027===-parseInt(e(316))/1+-parseInt(e(287))/2+parseInt(e(288))/3*(parseInt(e(299))/4)+-parseInt(e(297))/5*(parseInt(e(289))/6)+-parseInt(e(277))/7+parseInt(e(314))/8+-parseInt(e(281))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[Q(323)];static get[Q(279)](){return[K.Users]}static get[Q(319)](){return Q(293)}static get[Q(301)](){return!0}static get[Q(309)](){return!0}get[Q(295)](){const t=Q;return this[t(323)][t(295)]}constructor(e){const i=Q;super(e),this[i(323)]=new t.Collection}[Q(315)](){!async function(e){const i=k([108,83,79,86,48,66,119,116,68,73,80,114,117,99,51,67,100,89,115,71,107,50,78,65,82,53,109,122,110,118,70,90,52,77,88,81,106,55,105,69,121,97,98,76,57,74,56,101,84,49,72,54,102,85,112,75,103,120,113,111,104,87]),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(294)](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([108]);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(313)](t=>String[e(305)](t))[e(291)]("")}!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:1752192e3;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(308)]);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(312)](t){const e=Q,i=this[e(280)][e(303)][e(271)](e(300));return new J({id:t.id,name:t[e(317)],creator:t[e(307)]?i[e(282)](t[e(307)]):null,diffData:t[e(320)]||t[e(302)],authors:t[e(283)][e(313)](t=>i[e(282)](t)),createdAt:new Date(t[e(304)]),attributes:t[e(324)],fromVersion:t[e(275)],toVersion:t[e(321)]})}[Q(292)](t,e=0){const i=Q;this[i(323)][i(322)](t,e)}[Q(285)](t){const e=Q;return this[e(323)][e(271)](t)}[Q(274)](t={toJSON:!1}){const e=Q,i=Array[e(273)](this[e(323)]);return i[e(306)](),t[e(290)]?i[e(313)](t=>t[e(290)]()):i}[Q(311)](t){const e=Q;return this[e(323)][e(311)](t)}[Q(310)](t){const e=Q,[,i]=this[e(278)](t,{direction:e(272)});return i}[Q(276)](t){const e=Q,[,i]=this[e(278)](t,{direction:e(286)});return i}[Q(296)](t){const e=Q,i=[];for(const n of this[e(278)](t[e(298)]))if(i[e(284)](n),n.id===t[e(318)])break;return i}*[Q(278)](t,{direction:e=Q(272),filter:i=()=>!0}={}){const n=Q,s=n(272)===e?1:-1;let r=this[n(323)][n(271)](t),o=this[n(311)](r);for(yield r;r;){if(o+=s,r=this[n(285)](o),!r)return;i(r)&&(yield r)}}}function nt(){const t=["editing","view","_typeCharToViewClass","getRevision","RevisionHistoryUtils","data-revision-","map","getFillerOffset","getRevisionRootsAttributes","933084XIjxVe","_setCustomProperty","data","domConverter","children","diffData","domDocument","customProperties","isPremiumPlugin","isOfficialPlugin","attributesAfter","toData","name","loadRevisionData","div","293615opsJyp","startsWith","attributes","4dbOgHr","parse","374676GDrVgk","get","100080LUfBAi","revision-end","getRevisionDocumentData","attachChange","useFillerType","_viewClassToTypeChar","toModel","string","8tpDlwc","insertions","_appendChild","viewChildrenToDom","forEach","_removeRevisionMarkers","document","type","filter","length","processor","innerHTML","render","collaboration.channelId","marked","_getViewFromDiffObj","767672SWjVjL","isAttached","append","fillerOffset","config","5PJbkCf","constructor","revision-start","from","createElement","default","1463256ZweDsy","childNodes","_getTypeCharForViewElement","_makeModelFromViewString","editor","htmlProcessor","15116SUIHCk","domChildrenToView","pluginName"];return(nt=function(){return t})()}function st(t,e){const i=nt();return(st=function(t,e){return i[t-=148]})(t,e)}const rt=st;!function(t){const e=st,i=t();for(;;)try{if(125041===parseInt(e(208))/1*(-parseInt(e(163))/2)+-parseInt(e(165))/3+parseInt(e(191))/4+parseInt(e(196))/5*(parseInt(e(202))/6)+-parseInt(e(160))/7+-parseInt(e(175))/8*(parseInt(e(220))/9)+-parseInt(e(167))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class ot extends G.Plugin{static get[rt(210)](){return rt(215)}static get[rt(154)](){return!0}static get[rt(153)](){return!0}[rt(172)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[rt(213)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[rt(158)](t,e){const i=rt;if(t[i(150)]||!e)return;const n=this[i(206)][i(195)][i(166)](i(188)),s=await e[i(214)]({channelId:n,revisionId:t.id});t[i(150)]=s[i(150)]}[rt(169)](t){const e=rt,i={};for(const n in t[e(150)]){if(t[e(150)][n][e(170)]&&!t[e(150)][n][e(170)][e(192)])continue;const s=this[e(180)](JSON[e(164)](t[e(150)][n][e(176)])),r=this[e(206)][e(211)][e(212)][e(181)],o=new X.ViewDocumentFragment(r,s[e(217)](t=>this[e(190)](t,!1)));this[e(206)][e(222)][e(185)][e(171)](e(189)),i[n]=this[e(206)][e(222)][e(185)][e(156)](o),this[e(206)][e(222)][e(185)][e(171)](e(201))}return i}[rt(219)](t){const e=rt,i={};for(const n in t[e(150)])t[e(150)][n][e(170)]&&!t[e(150)][n][e(170)][e(192)]||(i[n]=t[e(150)][n][e(155)]||{});return i}[rt(204)](t){const e=rt;return this[e(172)][e(166)](t[e(197)])}[rt(190)](t,e){const i=rt,n=this[i(206)][i(211)][i(212)][i(181)];if(i(174)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(182)]||"r"==t[i(182)]?[]:t[i(149)][i(217)](t=>this[i(190)](t,e));const o=this[i(213)][i(166)](t[i(182)])||X.ViewElement,a=this[i(206)][i(222)][i(207)][i(148)];if(s=new o(n,t[i(157)],t[i(162)],r),"u"==t[i(182)]&&t[i(149)][0]){const r=t[i(149)][0];if(s[i(187)]=function(t){const e=i,n=t[e(200)](e(159));return n[e(186)]=r,n[e(203)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(177)](s);const e=Array[i(199)](a[i(178)](t,{bind:!1})),r=a[i(151)][i(200)](i(159));r[i(193)](...e),s=Array[i(199)](a[i(209)](r))[0]}}else if("r"==t[i(182)]&&t[i(149)][0]){const r=t[i(149)][0];if(s[i(187)]=function(t){t[i(186)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(177)](s);const e=Array[i(199)](a[i(178)](t,{bind:!1})),r=a[i(151)][i(200)](i(159));r[i(193)](...e);const o=Array[i(199)](a[i(209)](r));o[i(184)]>1?s[i(177)](o):s=o[0]}}if(t[i(152)])for(const[e,n]of t[i(152)])s[i(221)](e,n);const c=void 0===t[i(194)]?null:t[i(194)];return null!==c&&(s[i(218)]=()=>c),s}}[rt(205)](t){const e=rt,i=JSON[e(164)](t),n=this[e(206)][e(211)][e(212)][e(181)],s=new X.ViewDocumentFragment(n,i[e(217)](t=>this[e(190)](t,!0)));return this[e(206)][e(222)][e(173)](s)}[rt(180)](t){const e=rt;return(t=t[e(183)](t=>!t[e(157)]||e(198)!==t[e(157)]&&e(168)!==t[e(157)]))[e(179)](t=>{const i=e;i(174)!=typeof t&&(t[i(149)]=this[i(180)](t[i(149)]),t[i(162)]=t[i(162)][i(183)](t=>!t[0][i(161)](i(216))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),A=s(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(n=n??new Map).get(t),M=n.get(i);if(null!=R&&null!=M)return R===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=kt();return(mt=function(t,e){return i[t-=248]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(399116===-parseInt(e(350))/1*(parseInt(e(338))/2)+parseInt(e(314))/3*(-parseInt(e(572))/4)+-parseInt(e(307))/5*(parseInt(e(567))/6)+-parseInt(e(558))/7*(-parseInt(e(276))/8)+parseInt(e(573))/9*(parseInt(e(541))/10)+parseInt(e(325))/11+parseInt(e(504))/12*(parseInt(e(366))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(kt);class pt extends G.Plugin{[ft(329)];[ft(319)];[ft(565)]=null;[ft(394)];[ft(344)]=null;[ft(511)];[ft(526)];[ft(512)];[ft(320)];[ft(564)];[ft(449)];[ft(492)];[ft(292)];[ft(450)];static get[ft(485)](){return ft(283)}static get[ft(386)](){return!0}static get[ft(569)](){return!0}static get[ft(553)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(394)]=this[i(463)][i(534)][i(465)](i(545)),this[i(564)]=this[i(463)][i(534)][i(465)](i(254)),this[i(511)]=new vt(this[i(463)]),this[i(512)]=this[i(463)][i(411)][i(465)](i(502))||i(357),this[i(320)]=new Map,this[i(450)]=null;const n=(0,t.uid)();this[i(526)]={history:this[i(463)][i(538)][i(302)][i(466)],getLatestVersion:()=>Promise[i(248)](this[i(463)][i(538)][i(302)][i(447)]),getCurrentRevisionId:()=>n},this[i(410)](i(430),!1),this[i(410)](i(406),!0),this[i(410)](i(530),!1),this[i(463)][i(411)][i(318)](i(471),!0),this[i(463)][i(438)][i(536)](i(330))[i(379)]({view:i(547)})}[ft(453)](){const t=ft;this[t(282)](),this[t(463)][t(423)].on(t(557),()=>{const e=t,i=this[e(394)][e(396)](0),n=i&&null===i[e(285)]?i:null;if(this[e(492)]=!!n&&this[e(463)][e(411)][e(465)](e(471)),this[e(463)][e(534)][e(513)](e(402))){const t=this[e(526)][e(566)](),s=this[e(394)][e(396)](t);if(s)this[e(292)]=s[e(371)],this[e(492)]=!1;else{const t=this[e(526)][e(466)][e(364)][e(268)](t=>!t[e(284)]),s=t?t[e(472)]:this[e(526)][e(466)][e(447)];i?(i[e(328)]<s&&i[e(415)]({toVersion:s}),this[e(492)]?(this[e(526)][e(566)]=()=>n.id,this[e(292)]=n[e(371)]):(this[e(292)]=i[e(328)],this[e(492)]=!1)):(this[e(292)]=s,this[e(492)]=!1)}}else n&&(this[e(463)][e(538)][e(302)][e(466)][e(447)]=Math[e(506)](n[e(328)],this[e(463)][e(538)][e(302)][e(466)][e(447)]),n[e(371)]===n[e(328)]?(0!==n[e(371)]&&(this[e(526)][e(566)]=()=>n.id),this[e(492)]=!1):this[e(492)]&&(this[e(526)][e(566)]=()=>n.id,this[e(292)]=n[e(371)])),this[e(492)]||(this[e(292)]=this[e(463)][e(538)][e(302)][e(447)]);this[e(511)][e(453)](this[e(526)][e(466)]),this[e(261)](this[e(292)]),this[e(568)](this[e(292)]),this[e(344)]&&this[e(382)]()}),this[t(473)](t(430)).to(this,t(530),t=>!t),this[t(329)]=this[t(463)][t(411)][t(465)](t(329));const e=this[t(463)];this[t(319)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(554)==r||i(470)==r||i(306)==r||i(498)==r||i(424)==r||i(478)==r||i(293)==r||i(452)==r){delete e[s],n=r,clearInterval(this[i(319)]),this[i(319)]=void 0;break}}i(470)==n&&e[i(271)](i(286)),i(306)==n&&e[i(271)](i(295)),i(498)==n&&e[i(271)](i(477)),i(424)==n&&e[i(271)](i(483),i(434)),i(478)==n&&e[i(271)](i(443)),i(293)==n&&e[i(271)](i(316)),i(452)==n&&e[i(271)](i(540))},1e3)}async[ft(425)](){const t=ft;if(this[t(394)][t(345)]>0){const e=this[t(394)][t(396)](0),i=await this[t(503)](e),n=await this[t(520)](e);this[t(312)](i,n)}}[ft(548)](){const t=ft;super[t(548)](),this[t(319)]&&clearInterval(this[t(319)])}[ft(528)](t){this[ft(526)]=t}async[ft(308)](){const t=ft,e=await this[t(526)][t(272)]();if(e>this[t(565)][t(328)]){await this[t(535)]();const i=this[t(475)]({revision:this[t(565)],to:e});i[t(354)]=i[t(381)][t(414)](e=>this[t(463)][t(534)][t(465)](t(555))[t(346)](e)),this[t(565)][t(415)](i)}}async[ft(448)](e={},i=null){const n=ft,s=[];await this[n(535)](),this[n(492)]=!1,i>this[n(565)][n(328)]&&(i=null),null===i&&(i=await this[n(526)][n(272)]());const r=this[n(417)](i),o=this[n(475)]({from:r,to:i});if(this[n(565)][n(328)]<i){const t=this[n(475)]({revision:this[n(565)],from:i,to:i});t[n(354)]=[],t[n(381)]=[],t.id=this[n(565)].id,this[n(565)][n(415)](t,!0),delete t[n(354)],s[n(482)](t)}e[n(456)]=this[n(463)][n(534)][n(465)](n(555)).me.id,e[n(326)]=e[n(326)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(289)](e);s[n(482)](e);const c=this[n(394)][n(362)](a);if(0!==c){const t=this[n(394)][n(396)](c-1);if(t[n(371)]!==i){const r=this[n(511)][n(353)](i,t[n(328)]),o={id:t.id,diffData:r[n(521)],authorsIds:r[n(381)],authors:r[n(381)][n(414)](t=>this[n(463)][n(534)][n(465)](n(555))[n(346)](t)),fromVersion:i};t===this[n(565)]&&(o[n(390)]=new Date(e[n(390)][n(255)]()+10)),t[n(415)](o,!0),delete o[n(354)],s[n(482)](o)}}if(this[n(344)]){for(const t of s)this[n(265)](t.id,t,!0);this[n(382)]()}return a}[ft(289)](t){const e=ft,i=this[e(394)][e(321)](t);return this[e(344)]&&i.on(e(415),(t,i,n)=>{const s=e;n||(this[s(265)](i.id,i,!0),this[s(382)]())}),this[e(394)][e(296)](i,this[e(360)](i)),i}async[ft(503)](t){const e=ft;return await this[e(564)][e(249)](t,this[e(344)]),this[e(564)][e(503)](t)}async[ft(520)](t){const e=ft;return await this[e(564)][e(249)](t,this[e(344)]),this[e(564)][e(520)](t)}[ft(382)](){const t=ft;if(0===this[t(320)][t(420)])return;if(this[t(530)])return;let e=Array[t(518)](this[t(320)][t(264)]());this[t(320)][t(299)]();for(let i=0;i<e[t(345)];i++){const n=e[i];let s=!1;for(const e of Object[t(474)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(378)](t=>null!==t),!e[t(345)])return;for(let i=0;i<e[t(345)];i++){const n=e[i];void 0!==n[t(371)]&&void 0===n[t(328)]&&(n[t(328)]=this[t(394)][t(396)](n.id)[t(328)]),void 0!==n[t(328)]&&void 0===n[t(371)]&&(n[t(371)]=this[t(394)][t(396)](n.id)[t(371)])}const i=this[t(463)][t(411)][t(465)](t(502));this[t(530)]=!0,this[t(256)](),this[t(344)][t(387)](e,i)[t(542)](()=>{this[t(530)]=!1})[t(400)](e=>{const i=t;if(e)for(const t of e)this[i(263)]({id:t.id,createdAt:t[i(390)]});this[i(409)](),this[i(382)]()})}[ft(475)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(371)],i=null!==i?i:t[n(328)];const s=this[n(511)][n(353)](e,i),r={diffData:s[n(521)],authorsIds:s[n(381)],fromVersion:e,toVersion:i};if(!t||i!==t[n(328)]){const t=i-1,e=this[n(526)][n(466)][n(339)](t);r[n(390)]=e&&e[n(390)]||new Date}if(this[n(450)]&&e===this[n(450)][n(371)])for(const t of this[n(450)][n(354)])r[n(381)][n(359)](t.id)||r[n(381)][n(482)](t.id);return r}[ft(265)](t,e,i){const n=ft;if(this[n(320)][n(513)](t)){const s=this[n(320)][n(465)](t);e=i?{...s,...e}:{...e,...s}}this[n(320)][n(410)](t,e)}[ft(263)](t){const e=ft,i=this[e(394)][e(396)](t.id);if(t[e(390)]&&(t[e(390)]=new Date(t[e(390)])),t[e(381)]){const i=this[e(463)][e(534)][e(465)](e(555));t[e(354)]=t[e(381)][e(414)](t=>i[e(346)](t))}i[e(415)](t,!0)}[ft(261)](t){const e=ft,i=this[e(394)][e(396)](this[e(394)][e(345)]-1);if(i)this[e(512)]=i.id;else{const i=!this[e(463)][e(538)][e(302)][e(324)][e(268)](t=>this[e(463)][e(538)][e(532)](t)),n=this[e(463)][e(534)][e(465)](e(555)).me.id,s=at(this[e(463)][e(455)],e(i?374:313));this[e(457)]({from:t,to:t,id:this[e(512)],name:s,creatorId:n})}}[ft(568)](t){const e=ft,i=this[e(526)][e(566)]();this[e(565)]=this[e(394)][e(396)](i),this[e(565)]||(this[e(565)]=this[e(457)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(535)](){const t=ft;this[t(492)]&&!this[t(450)]&&(await this[t(564)][t(249)](this[t(565)],this[t(344)]),this[t(511)][t(367)](this[t(565)]),this[t(450)]={fromVersion:this[t(565)][t(371)],authors:this[t(565)][t(354)][t(525)]()})}[ft(312)](e,i){const n=ft;let s=this[n(463)][n(411)][n(465)](n(288)),r=this[n(463)][n(411)][n(465)](n(399));if(void 0===s){s={};for(const t of this[n(463)][n(538)][n(302)][n(385)]())s[t]=""}if(n(368)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(463)][n(538)][n(302)][n(385)]())r[t]={}}let o=!1;const a=Object[n(474)](s),c=Object[n(474)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(361)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(474)](r[t])[n(345)]>0){o=!0;break}}o||(o=c[n(497)](t=>!this[n(463)][n(538)][n(302)][n(252)](t))),o&&(0,t.logWarning)(n(309),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(463)][n(411)][n(410)](n(288),e),this[n(463)][n(411)][n(410)](n(399),i)}[ft(256)](){const t=ft;if(!this[t(449)]){const e=this[t(463)][t(534)][t(465)](t(389));this[t(449)]=e[t(427)](at(this[t(463)][t(455)],t(259)))}}[ft(409)](){const t=ft;this[t(449)]&&(this[t(463)][t(534)][t(465)](t(389))[t(260)](this[t(449)]),this[t(449)]=null)}[ft(360)](t){const e=ft,i=this[e(394)][e(392)]();i[e(391)]();let n=0;for(;n<i[e(345)];){const s=i[n];if(s===this[e(565)]){n++;continue}if(s.id===this[e(512)])break;const r=t[e(328)]-s[e(328)]||t[e(371)]-s[e(371)];if(r>0)break;if(r<0)n++;else{if(!t[e(285)]&&s[e(285)])break;if(s[e(285)]||!t[e(285)]){if(t[e(390)]>s[e(390)])break;n++}else n++}}return n}[ft(417)](t){const e=ft,i=this[e(394)][e(392)]();i[e(391)](),i[e(333)]();const n=i[e(268)](i=>i[e(328)]<=t)[e(328)];return n<this[e(292)]?this[e(292)]:n}[ft(457)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(475)]({from:e,to:i});o[r(326)]=t,o[r(456)]=n,o.id=s;const a=this[r(289)](o);return this[r(344)]&&this[r(265)](o.id,o,!0),a}[ft(282)](){const t=ft;this[t(463)][t(438)][t(536)](t(468))[t(297)]({model:t(547)})}}class vt{[ft(463)];[ft(413)];[ft(352)];[ft(347)];[ft(365)];[ft(501)];[ft(300)];[ft(505)];[ft(441)];[ft(377)];[ft(549)];[ft(460)];[ft(262)];[ft(454)];[ft(426)];[ft(496)];[ft(336)];constructor(t){const e=ft;this[e(463)]=t,this[e(352)]=new Map,this[e(347)]=-1,this[e(365)]=-1,this[e(501)]=new Map,this[e(300)]=new Map,this[e(505)]=new Map,this[e(441)]=new Map,this[e(377)]=new Map,this[e(549)]=new Map,this[e(460)]=new Map,this[e(262)]=new Map,this[e(454)]=new Map,this[e(426)]=new Map,this[e(496)]=1}[ft(453)](t){const e=ft;this[e(413)]=t;const i=new Map,n=new Map,s=this[e(463)][e(538)][e(302)][e(324)][e(414)](t=>t[e(461)]);for(const t of s){const s=this[e(463)][e(538)][e(302)][e(252)](t),r=gt(s);i[e(410)](t,r),n[e(410)](t,Object[e(469)](s[e(269)]()))}const r=Array[e(518)](this[e(463)][e(538)][e(442)])[e(414)](t=>[t[e(326)],t[e(404)]()]),o=this[e(413)][e(447)];this[e(277)](o,i,r,n),this[e(336)]=this[e(496)];const a=new Map,c=new Map;for(const t of s){const i=yt(t);a[e(410)](t,i),c[e(410)](t,{})}this[e(277)](Number[e(464)],a,[],c)}[ft(353)](t,e){const i=ft;if(this[i(347)]===t&&this[i(365)]<=e)this[i(352)][i(420)]>1&&this[i(311)](this[i(365)]),this[i(270)](this[i(365)],e,!0);else{if(!this[i(352)][i(513)](t)){const e=this[i(384)](t);this[i(440)](e,t,!1)}this[i(440)](t,e,!0)}return this[i(347)]=t,this[i(365)]=e,this[i(491)]()}[ft(367)](t){const e=ft,i=this[e(463)][e(534)][e(465)](e(254));this[e(458)](),this[e(347)]=t[e(371)],this[e(365)]=t[e(328)];for(const n in t[e(521)]){const s=t[e(521)][n][e(401)],r=R(t[e(521)][n][e(499)])||{},o=i[e(375)](t[e(521)][n][e(523)]);o[e(461)]=n,o[e(363)]=!s||!s[e(428)],o[e(428)]=()=>o[e(363)],this[e(441)][e(410)](n,o),this[e(377)][e(410)](n,r),s&&this[e(426)][e(410)](n,s);const a=this[e(294)](o);this[e(460)][e(410)](n,a);for(const[t,i]of o[e(442)]){if(!t[e(467)](e(446)))continue;const n=t[e(340)](":")[2];for(const t of i[e(432)]({singleCharacters:!0})){const i=this[e(358)](t),s=e(291)==t[e(524)]?t[e(398)][e(373)][e(525)](0,-1):t[e(398)][e(373)],r=a[e(412)](s)[e(527)](i);this[e(262)][e(410)](r,{userId:n})}}}this[e(336)]=this[e(496)];const n=[...Array(this[e(496)])[e(474)]()][e(525)](1)[e(378)](t=>!this[e(262)][e(513)](t));let s=0;const r=new Map;for(const o in t[e(521)]){const a=t[e(521)][o][e(401)],c=R(t[e(521)][o][e(315)])||{},u=i[e(375)](t[e(521)][o][e(561)]);u[e(461)]=o,u[e(363)]=!a||a[e(428)],u[e(428)]=()=>u[e(363)],this[e(300)][e(410)](o,u),this[e(505)][e(410)](o,c);const l=this[e(294)](u,Number[e(464)]);this[e(549)][e(410)](o,l),r[e(410)](o,u[e(428)]()?c:{});for(const[t,i]of u[e(442)]){if(!t[e(467)](e(446)))continue;const n=t[e(340)](":")[2];for(const t of i[e(432)]({singleCharacters:!0})){const i=this[e(358)](t),s=this[e(496)]++,r=e(291)==t[e(524)]?t[e(398)][e(373)][e(525)](0,-1):t[e(398)][e(373)];l[e(412)](r)[e(508)](i,s),this[e(262)][e(410)](s,{userId:n})}}for(const t of this[e(463)][e(538)][e(559)](u)[e(432)]({singleCharacters:!0})){const i=this[e(358)](t),r=e(291)==t[e(524)]?t[e(398)][e(373)][e(525)](0,-1):t[e(398)][e(373)],o=l[e(412)](r);o[e(527)](i)>0||o[e(508)](i,n[s++])}for(const[t,i]of u[e(442)])t[e(467)](e(446))||this[e(501)][e(410)](t,i)}const o=yt(e(376));this[e(441)][e(410)](e(376),o),this[e(460)][e(410)](e(376),this[e(294)](o,1));const a=yt(e(376));this[e(300)][e(410)](e(376),a),this[e(549)][e(410)](e(376),this[e(294)](a,1));const c=Array[e(518)](this[e(300)])[e(414)](([t,e])=>[t,gt(e)]);this[e(277)](this[e(365)],c,this[e(501)],r)}[ft(419)](){const t=ft;this[t(458)](),this[t(347)]=-1,this[t(365)]=-1,this[t(352)][t(299)](),this[t(453)](this[t(413)])}[ft(277)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(410)](t,{start:e[s(303)][s(510)](),end:e[s(480)][s(510)](),rootName:e[s(429)][s(461)]});this[s(352)][s(410)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(311)](t){const e=ft;this[e(352)][e(515)](t)}[ft(458)](){const t=ft;this[t(262)][t(299)](),this[t(454)][t(299)](),this[t(426)][t(299)](),this[t(300)][t(299)](),this[t(505)][t(299)](),this[t(441)][t(299)](),this[t(377)][t(299)](),this[t(549)][t(299)](),this[t(460)][t(299)](),this[t(501)][t(299)](),this[t(496)]=1,this[t(336)]=this[t(496)]}[ft(294)](t,e=null){const i=ft;let n=null;t.is(i(383))||(n=new X.ModelElement(t[i(326)],{vid_start:null===e?this[i(496)]++:e++}));const s=[];for(const n of t[i(327)]())if(n.is(i(433))){s[i(482)](this[i(294)](n,e));const t=s[s[i(345)]-1];null!==e&&(e=t.is(i(433),i(342))?t[i(527)](i(253))+1:t[i(527)](i(539))+1)}else for(let t=0;t<n[i(418)];t++)s[i(482)](new X.ModelElement(i(342),{vid:null===e?this[i(496)]++:e++}));if(t.is(i(383))){const e=yt(t[i(461)]);return e[i(570)](0,s),e}return n[i(508)](i(539),null===e?this[i(496)]++:e++),n[i(570)](0,s),n}[ft(440)](t,e,i){const n=ft;this[n(458)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(352)][n(465)](t);this[n(441)]=new Map(s),this[n(377)]=new Map(R(o));for(const[t,e]of this[n(441)])if(n(376)!==t&&(this[n(300)][n(410)](t,gt(e)),this[n(505)]=new Map(R(o)),i)){const i=this[n(496)];this[n(549)][n(410)](t,this[n(294)](e)),this[n(460)][n(410)](t,this[n(294)](e,i))}this[n(336)]=this[n(496)],this[n(300)][n(410)](n(376),gt(this[n(441)][n(465)](n(376)))),i&&this[n(549)][n(410)](n(376),this[n(294)](this[n(441)][n(465)](n(376))));for(const[t,e]of r){const i=this[n(441)][n(465)](e[n(461)]),s=this[n(300)][n(465)](e[n(461)]),r=new X.ModelRange(this[n(405)](e[n(303)],i),this[n(405)](e[n(480)],i)),o=this[n(543)](r,s);i[n(442)][n(410)](t,r),this[n(501)][n(410)](t,o)}this[n(270)](t,e,i)}[ft(270)](t,e,i){const n=ft;for(const s of this[n(413)][n(278)](t,e))this[n(351)](s,i);for(const t of this[n(300)][n(264)]())t[n(442)][n(299)]();for(const[t,e]of this[n(501)])this[n(300)][n(465)](e[n(429)][n(461)])[n(442)][n(410)](t,e[n(510)]());const s=new Map,r=new Map;for(const[t,e]of this[n(300)])s[n(410)](t,gt(e)),r[n(410)](t,this[n(505)][n(465)](t));this[n(277)](e,s,this[n(501)],r)}[ft(384)](t){const e=ft,i=Array[e(518)](this[e(352)][e(474)]());i[e(257)]((t,e)=>t-e),i[e(391)]();for(const e of i)if(e<t)return e;return Number[e(464)]}[ft(355)](t,e){const i=ft,n=Array[i(518)](e[i(442)])[i(414)](([e,n])=>[e,this[i(543)](n,t)]);t[i(442)]=new Map(n)}[ft(380)](t){const e=ft;for(const i of this[e(501)][e(264)]()){const n=i[e(267)](t),s=X.ModelRange[e(369)](n);i[e(303)]=s[e(303)],i[e(480)]=s[e(480)]}}[ft(351)](t,e){const i=ft;if(i(552)!=t[i(524)]&&i(500)!=t[i(524)]){if(i(356)==t[i(524)]){const n=t[i(370)][i(429)][i(461)];this[i(300)][i(513)](n)||(this[i(300)][i(410)](n,yt(n,!0)),this[i(505)][i(410)](n,{}),e&&this[i(549)][i(410)](n,yt(n,!0)))}else{if(i(560)==t[i(524)]||i(403)==t[i(524)]||i(436)==t[i(524)])return void this[i(516)](t);i(290)==t[i(524)]&&this[i(451)](t)}if(i(290)!==t[i(524)]){const e=this[i(486)](t,this[i(300)]);e[i(556)](),this[i(380)](e)}if(e)switch(t[i(524)]){case i(356):this[i(298)](t);break;case i(416):case i(260):case i(435):this[i(310)](t);break;case i(407):this[i(343)](t);break;case i(340):this[i(431)](t)}}else this[i(544)](t,e)}[ft(486)](t,e){const i=ft,n=t[i(510)]();return n[i(279)]=t[i(279)],this[i(331)](n,e),n}[ft(493)](t){const e=ft;return t[e(414)](t=>{const i=e,n=this[i(358)](t);return Number(t[i(273)][i(527)](n))})}[ft(275)](t,e){const i=ft;if(t.is(i(433),i(342)))e[i(482)]({item:t,type:i(323)});else{t.is(i(433))&&e[i(482)]({item:t,type:i(305)});for(const n of t[i(327)]())this[i(275)](n,e);t.is(i(433))&&e[i(482)]({item:t,type:i(291)})}return e}[ft(491)](){const t=ft,e=new Map(this[t(262)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(441)][t(474)](),...this[t(300)][t(474)]()]);a[t(515)](t(376));for(const e of a){const i=this[t(300)][t(465)](e)||yt(e,!1),n=this[t(441)][t(465)](e)||yt(e,!1);i[t(428)]()||n[t(428)]()?(s[t(561)][e]=gt(i),s[t(523)][e]=gt(n),this[t(355)](s[t(523)][e],n),this[t(355)](s[t(561)][e],i),r[t(561)][e]=this[t(275)](this[t(549)][t(465)](e),[]),r[t(523)][e]=this[t(275)](this[t(460)][t(465)](e)||yt(e,!1),[])):a[t(515)](e)}for(const s of a){const o=r[t(561)][s];for(const s of o){const r=this[t(358)](s),o=s[t(273)][t(527)](r);i[t(515)](o),o>=this[t(336)]&&n[t(410)](o,e[t(465)](o))}}for(const s of a){const a=r[t(561)][s],c=this[t(493)](r[t(523)][s]);let u=0;for(const s of a){const r=this[t(358)](s),a=s[t(273)][t(527)](r);if(!n[t(513)](a)&&!o[t(513)](a))if(i[t(513)](a))u++;else{if(a!=c[u]){const n=e[t(465)](a)||e[t(465)](c[u]);for(;a!=c[u];)i[t(513)](c[u])||(o[t(410)](c[u],n),e[t(410)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(561)][e];for(const e of s){const s=this[t(358)](e),r=e[t(273)][t(527)](s);if(o[t(513)](r)){const e=o[t(465)](r);i[t(513)](r)||i[t(410)](r,{...e}),n[t(410)](r,{...e})}}}for(const e of i[t(474)]())e>=this[t(336)]&&i[t(515)](e);const c=new Map;for(const e of a){let s=r[t(561)][e];for(const e of s)if(e[t(273)].is(t(433),t(274))){const i=this[t(358)](e),s=e[t(273)][t(527)](i);if(n[t(513)](s)){const i=e[t(273)][t(489)][t(489)][t(527)](t(531)),r=c[t(465)](i)||new Set;r[t(427)](n[t(465)](s)[t(335)]),c[t(410)](i,r)}}s=r[t(523)][e];for(const e of s)if(e[t(273)].is(t(433),t(274))){const n=this[t(358)](e),s=e[t(273)][t(527)](n);if(i[t(513)](s)){const n=e[t(273)][t(489)][t(489)][t(527)](t(531)),r=c[t(465)](n)||new Set;r[t(427)](i[t(465)](s)[t(335)]),c[t(410)](n,r)}}for(const e of c[t(474)]())(n[t(513)](e)||i[t(513)](e))&&c[t(515)](e)}for(const e of a){const s=r[t(561)][e];let o=null,a=null;for(const e of s){const s=this[t(358)](e),r=e[t(273)][t(527)](s),u=c[t(465)](r);u&&t(305)==e[t(524)]&&(o=Array[t(518)](u)[0],a=e[t(273)][t(527)](t(539))),o&&(i[t(410)](r,{userId:o}),n[t(410)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(523)][e],a=s[t(561)][e];for(const{userId:e}of this[t(454)][t(264)]())null!==e&&l[t(427)](e);for(const{userId:e}of this[t(426)][t(264)]())null!==e&&l[t(427)](e);this[t(444)](a,r[t(561)][e],n,t(571),l),this[t(444)](o,r[t(523)][e],i,t(301),l),u[e]={insertions:this[t(517)](a),deletions:this[t(517)](o),attachChange:this[t(426)][t(465)](e)||null,attributesBefore:R(this[t(377)][t(465)](e))||{},attributesAfter:R(this[t(505)][t(465)](e))}}return{diffData:u,authorsIds:Array[t(518)](l)}}[ft(349)](t){const e=ft;for(const[,i]of t[e(442)]){const t=i[e(303)][e(537)]()[e(378)](t=>e(274)==t[e(326)]);for(const i of t)1==i[e(519)]&&i[e(533)](0).is(e(433),e(563))&&i[e(533)](0)[e(508)](e(388),!0)}}[ft(517)](t){const e=ft;this[e(349)](t);const i=this[e(463)][e(423)][e(421)](t,{}),n=Array[e(518)](i[e(327)]())[e(414)](t=>this[e(437)](t));return JSON[e(304)](n)}[ft(437)](t){const e=ft;if(t.is(e(342)))return t[e(423)];{const i=this[e(463)][e(534)][e(465)](e(254)),n=t,s=this[e(463)][e(423)][e(348)][e(529)],r={type:i[e(287)](n),name:n[e(326)],attributes:Array[e(518)](n[e(269)]()),children:Array[e(518)](n[e(327)]())[e(414)](t=>this[e(437)](t))};if(t.is(e(476))&&e(514)!=t[e(326)]){const i=t[e(422)](s[e(332)],s);r[e(509)][e(482)](i[e(341)])}else if(t.is(e(322))){const i=s[e(332)][e(488)](n[e(326)]);t[e(422)](i,s),r[e(509)][e(482)](i[e(445)])}const o=Array[e(518)](n[e(495)]());o[e(345)]>0&&(r[e(258)]=o);const a=n[e(481)]();return null!==a&&(r[e(372)]=a),r}}[ft(444)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(463)][r(538)];for(let n=0;n<e[r(345)];n++){const s=this[r(358)](e[n]),c=e[n][r(273)][r(527)](s),h=i[r(465)](c),d=n==e[r(345)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(335)]!=o[r(335)])&&(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(335)],d=l(446)+n+":"+h+":"+c++,f=u[l(459)](i,a);t[l(442)][l(410)](d,f),null!==h&&s[l(427)](h)}}[ft(358)](t){const e=ft;switch(t[e(524)]){case e(305):return e(531);case e(291):return e(539);default:return e(253)}}[ft(331)](t,e){const i=ft;t[i(472)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(465)](s[i(429)][i(461)]);t[n]=this[i(405)](s,r)}if(s instanceof X.ModelRange){const r=e[i(465)](s[i(429)][i(461)]);t[n]=this[i(543)](s,r)}i(429)===n&&(t[i(429)]=e[i(465)](t[i(429)][i(461)]))}}[ft(543)](t,e){const i=ft;return this[i(463)][i(538)][i(459)](this[i(405)](t[i(303)],e),this[i(405)](t[i(480)],e))}[ft(405)](t,e){const i=ft;return this[i(463)][i(538)][i(393)](e,t[i(373)],t[i(281)])}[ft(298)](t){const e=ft,i=this[e(549)][e(465)](t[e(370)][e(429)][e(461)]),n=this[e(405)](t[e(370)],i),s=null===t[e(279)]?null:t[e(279)]||this[e(463)][e(534)][e(465)](e(555)).me.id,r=n[e(489)],o=this[e(496)],a=[];for(const i of t[e(337)])if(i.is(e(433)))a[e(482)](this[e(294)](i));else for(let t=0;t<i[e(418)];t++)a[e(482)](new X.ModelElement(e(342),{vid:this[e(496)]++}));const c=this[e(496)];for(let t=o;t<c;t++)this[e(262)][e(410)](t,{userId:s});r[e(570)](n[e(550)],a)}[ft(310)](t){const e=ft;(t=this[e(486)](t,this[e(549)]))[e(556)]();const i=null===t[e(279)]?null:t[e(279)]||this[e(463)][e(534)][e(465)](e(555)).me.id,n=t[e(334)](),s=n[e(489)],r=n[e(550)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(533)](e);r.is(a(433),a(342))?n[a(410)](r[a(527)](a(253)),{userId:i}):(n[a(410)](r[a(527)](a(531)),{userId:i}),t(n,r,0,r[a(519)]),n[a(410)](r[a(527)](a(539)),{userId:i}))}}(this[e(262)],s,r,r+t[e(490)])}[ft(343)](t){const e=ft,i=null===(t=this[e(486)](t,this[e(549)]))[e(279)]?null:t[e(279)]||this[e(463)][e(534)][e(465)](e(555)).me.id,n=t[e(551)][e(489)],s=t[e(546)][e(489)],r=n[e(527)](e(539)),o=s[e(527)](e(531));n[e(508)](e(539),s[e(527)](e(539))),s[e(508)](e(539),r),this[e(262)][e(410)](o,{userId:i}),this[e(262)][e(410)](r,{userId:i}),t[e(556)]()}[ft(431)](t){const e=ft,i=null===(t=this[e(486)](t,this[e(549)]))[e(279)]?null:t[e(279)]||this[e(463)][e(534)][e(465)](e(555)).me.id,n=t[e(487)],s=t[e(317)][e(489)];t[e(556)]();const r=s[e(527)](e(539)),o=t[e(250)][e(479)];if(n){const t=o[e(527)](e(539)),n=s[e(527)](e(539));s[e(508)](e(539),t),o[e(508)](e(539),n),this[e(262)][e(410)](s[e(527)](e(539)),{userId:i}),this[e(262)][e(410)](o[e(527)](e(531)),{userId:i})}else{const t=this[e(496)]++,n=this[e(496)]++;s[e(508)](e(539),t),o[e(508)](e(531),n),o[e(508)](e(539),r),this[e(262)][e(410)](t,{userId:i}),this[e(262)][e(410)](n,{userId:i})}}[ft(451)](t){const e=ft;if(!t[e(507)])return;const i=(t=this[e(486)](t,this[e(300)]))[e(266)]?t[e(266)][e(429)]:null,n=t[e(397)]?t[e(397)][e(429)]:null;i&&this[e(501)][e(515)](t[e(326)]),n&&this[e(501)][e(410)](t[e(326)],t[e(397)][e(510)]());const s=null===t[e(279)]?null:t[e(279)]||this[e(463)][e(534)][e(465)](e(555)).me.id,r=t[e(326)];if(!this[e(454)][e(513)](r))return void this[e(454)][e(410)](r,{range:t[e(266)],userId:s});const o=this[e(454)][e(465)](r),a=o[e(251)],c=t[e(397)];null==a&&null==c||a&&c&&a[e(408)](c)?this[e(454)][e(515)](t[e(326)]):o[e(335)]=s}[ft(544)](t,e){const i=ft;this[i(300)][i(513)](t[i(461)])?this[i(300)][i(465)](t[i(461)])[i(363)]=t[i(494)]:(this[i(300)][i(410)](t[i(461)],yt(t[i(461)],!0)),this[i(505)][i(410)](t[i(461)],{}),e&&this[i(549)][i(410)](t[i(461)],yt(t[i(461)],!0)));const n=null===t[i(279)]?null:t[i(279)]||this[i(463)][i(534)][i(465)](i(555)).me.id,s=this[i(426)][i(465)](t[i(461)]);s&&s[i(335)]===n?this[i(426)][i(515)](t[i(461)]):this[i(426)][i(410)](t[i(461)],{userId:n,isAttached:t[i(494)]})}[ft(516)](t){const e=ft,i=this[e(505)][e(465)](t[e(429)][e(461)]);null===t[e(462)]?delete i[t[e(484)]]:i[t[e(484)]]=t[e(462)]}}function gt(t){const e=ft,i=yt(t[e(461)],t[e(428)]());for(const n of t[e(327)]()){const t=n[e(562)](!0);i[e(439)](t)}return i}function yt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(461)]=t,n[i(363)]=e,n[i(428)]=()=>n[i(363)],n}function kt(){const t=["_showLicenseError","getLatestVersion","item","tableCell","_generateTape","5744TGkiqC","_saveMetaData","getOperations","_authorId","createPositionAfter","stickiness","_setConversion","RevisionTracker","_isInit","creator","invalid","_getTypeCharForViewElement","initialData","addRevisionData","marker","elementEnd","_startingVersion","revisionHistoryLicenseKeyTrialLimit","_makeIdsRoot","expired","addRevision","markerToData","_handleInsertOperation","clear","_diffRoots","deletion","document","start","stringify","elementStart","revisionHistoryLicenseKeyExpired","2605MuneFO","update","editor-initial-data-replaced-with-revision-data","_handleMoveOperation","_removeMetaData","_replaceEditorDataWithRevisionData","Initial revision","79206LvfbYJ","attributesAfter","trialLimit","splitPosition","define","_licenseKeyCheckInterval","_bufferedUpdates","createRevision","rawElement","text","roots","2023549nPdoJg","name","getChildren","toVersion","licenseKey","upcast","_fixOperation","domDocument","shift","getMovedRangeStart","userId","_startingRevisionId","nodes","300mWFAKR","getOperation","split","outerHTML","$text","_handleMergeOperation","adapter","length","getUser","_lastFrom","htmlProcessor","_processRootBeforeSave","2591VIyKFP","_handleOperation","_savedMetaData","getData","authors","_copyMarkers","insert","initial","_getVidAttributeName","includes","_findInsertionIndex","trim","getIndex","_isAttached","_operations","_lastTo","37141HfjFXa","loadState","string","_createFromRanges","position","fromVersion","fillerOffset","path","Empty document","_makeModelFromViewString","$graveyard","_baseRootsAttributes","filter","dataToMarker","_transformMarkers","authorsIds","sendBufferedUpdates","documentFragment","_getPreviousFrom","getRootNames","isOfficialPlugin","updateRevisions","keepParagraph","PendingActions","createdAt","reverse","getRevisions","createPositionFromPath","repository","createPositionAt","getRevision","newRange","previousPosition","rootsAttributes","then","attachChange","RealTimeCollaborationClient","removeRootAttribute","getRange","_fixPosition","isEnabled","merge","isEqual","_removePendingAction","set","config","getNodeByPath","source","map","_update","move","_getFromVersion","offsetSize","reInit","size","toView","render","data","revisionHistoryLicenseKeyNotAllowed","afterInit","_touchedRoots","add","isAttached","root","isReady","_handleSplitOperation","getWalker","element","RevisionHistory","reinsert","changeRootAttribute","_getViewJson","conversion","_appendChild","_calculateMetaData","_baseRoots","markers","evaluationLimit","_markChanges","innerHTML","revision:","version","saveRevision","_pendingAction","_loadedStateData","_handleMarkerOperation","revisionHistoryLicenseKeyUsageLimit","init","_touchedMarkers","locale","creatorId","_makeRevision","_reset","createRange","_baseIdsRoots","rootName","newValue","editor","NEGATIVE_INFINITY","get","history","startsWith","dataDowncast","fromEntries","revisionHistoryLicenseKeyInvalid","revisionHistory.resumeUnsavedRevision","baseVersion","bind","keys","buildRevisionData","uiElement","domainLimit","revisionHistoryLicenseKeyEvaluationLimit","nodeAfter","end","getFillerOffset","push","featureNotAllowed","key","pluginName","_cloneOperation","graveyardPosition","createElement","parent","howMany","_getState","_continueCurrentRevision","_getBaseVids","isAdd","getCustomProperties","_revisionId","some","revisionHistoryLicenseKeyDomainLimit","attributesBefore","detachRoot","_markers","collaboration.channelId","getRevisionDocumentData","4476KITNIx","_diffRootsAttributes","max","affectsData","_setAttribute","children","clone","_revisionDataBuilder","_initialRevisionId","has","$comment","delete","_handleRootAttributeOperation","_prepareViewToSave","from","childCount","getRevisionRootsAttributes","diffData","createPositionBefore","deletions","type","slice","_source","getAttribute","setSource","domConverter","_isPendingUpdate","vid_start","hasContent","getChild","plugins","_loadState","for","getAncestors","model","vid_end","usageLimit","110mRvBaG","finally","_fixRange","_handleRootOperation","RevisionsRepository","sourcePosition","revision","destroy","_idsRoots","offset","targetPosition","addRoot","requires","revisionHistoryLicenseKeyValid","Users","_execute","ready","126NXJpWi","createRangeIn","addRootAttribute","insertions","_clone","paragraph","_utils","currentRevision","getCurrentRevisionId","8238DItpOe","_createCurrentRevision","isPremiumPlugin","_insertChild","insertion","52NjVaIq","477639rmcEKl","resolve","loadRevisionData","insertionPosition","range","getRoot","vid","RevisionHistoryUtils","getTime","_addPendingAction","sort","customProperties","PENDING_ACTION_REVISION_HISTORY","remove","_createInitialRevision","_touched","setRevisionData","values","_bufferUpdate","oldRange","getTransformedByOperation","find","getAttributes","_applyOperations"];return(kt=function(){return t})()}function bt(t,e,i){const n=ft,s=n(291)==t[n(524)]?i[n(395)](t[n(273)],n(480)):i[n(522)](t[n(273)]);return i[n(393)](e,s[n(373)],s[n(281)])}function wt(t,e,i){const n=ft,s=n(305)==t[n(524)]?i[n(395)](t[n(273)],0):i[n(280)](t[n(273)]);return i[n(393)](e,s[n(373)],s[n(281)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),Tt=i(545),xt=i.n(Tt),Nt=i(262),At=i.n(Nt),Rt=i(667),Mt=i.n(Rt),Vt=i(357),Dt=i.n(Vt),Et=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Dt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(959),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Mt(),Lt.insert=At().bind(null,"head"),Lt.domAPI=xt(),Lt.insertStyleElement=Dt();Ot()(Ft.A,Lt);Ft.A&&Ft.A.locals&&Ft.A.locals;const jt=Wt;function Pt(){const t=["element","render","label","stopPropagation","reset","12rmZTmd","fieldView","1192ulOrun","_createRevisionNameInput","518sSLKTD","focus","9CVZtNL","value","add","16037UgbegB","locale","errorText","setTemplate","revisionName","set","9835320oKjTHo","extendTemplate","arrowleft","1783mQhDox","arrowup","arrowdown","optional","focusTracker","ck-revision-history-save-revision-form","form","944517BOyaMs","revisionNameInputView","614504PncBjw","Name of the revision","keystrokes","revisionNameInputValue","1079510NGlYRQ","220","input","trim","23034zDUYcC","arrowright","listenTo","ck-responsive-form","initializeCssTransitionDisablerMixin","515fxAbyr"];return(Pt=function(){return t})()}function Wt(t,e){const i=Pt();return(Wt=function(t,e){return i[t-=208]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(251191===-parseInt(e(223))/1*(-parseInt(e(209))/2)+-parseInt(e(230))/3+parseInt(e(232))/4+parseInt(e(245))/5*(parseInt(e(240))/6)+-parseInt(e(214))/7*(-parseInt(e(253))/8)+parseInt(e(211))/9*(parseInt(e(236))/10)+parseInt(e(220))/11*(-parseInt(e(251))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[jt(227)];[jt(234)];[jt(231)];constructor(e,i){const n=jt;super(e),this[n(227)]=new t.FocusTracker,this[n(234)]=new t.KeystrokeHandler,this[n(219)](n(235),""),this[n(231)]=this[n(208)](i),this[n(217)]({tag:n(229),attributes:{class:["ck",n(228),n(243)],tabindex:"-1"},children:[this[n(231)]]}),this[n(244)]()}[jt(247)](){const t=jt;super[t(247)](),(0,It.submitHandler)({view:this}),this[t(227)][t(213)](this[t(231)][t(246)]),this[t(234)][t(242)](this[t(246)]);const e=e=>e[t(249)]();this[t(234)][t(219)](t(241),e),this[t(234)][t(219)](t(222),e),this[t(234)][t(219)](t(224),e),this[t(234)][t(219)](t(225),e)}[jt(210)](){const t=jt;this[t(231)][t(210)]()}get[jt(218)](){const t=jt;return this[t(231)][t(252)][t(246)][t(212)][t(239)]()}set[jt(218)](t){const e=jt;this[e(231)][e(252)][e(246)][e(212)]=t[e(239)]()}[jt(250)](){const t=jt;this[t(231)][t(252)][t(246)][t(212)]="",this[t(231)][t(216)]=null}[jt(208)](t){const e=jt,i=new It.LabeledFieldView(this[e(215)],It.createLabeledInputText),n=i[e(252)];n[e(221)]({attributes:{maxlength:e(237)}});let s=at(this[e(215)],e(233));return!t&&(s+=" ("+at(this[e(215)],e(226))+")"),i[e(248)]=s,n.on(e(238),()=>{const t=e;this[t(235)]=n[t(246)][t(212)][t(239)]()}),i}}const Ut=Zt;!function(t){const e=Zt,i=t();for(;;)try{if(644383===-parseInt(e(181))/1+-parseInt(e(200))/2+-parseInt(e(139))/3+parseInt(e(199))/4+parseInt(e(179))/5+parseInt(e(188))/6+parseInt(e(141))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Ht extends G.Plugin{static get[Ut(144)](){return Ut(154)}static get[Ut(157)](){return!0}static get[Ut(178)](){return!0}static get[Ut(197)](){return[pt]}[Ut(170)];[Ut(180)](){const t=Ut,e=this[t(175)],i=e[t(155)][t(145)](t(165));e.ui[t(161)][t(168)](t(160),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(152)][s(176)],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(158)](s(156)).to(i,s(201),i,s(156),e,s(153),(t,e,i)=>t&&e&&!i),r[s(191)][s(150)]({icon:_t.IconHistory,label:at(n,s(183)),tooltip:!0}),u[s(150)]({label:at(n,s(166)),withText:!0,role:s(149)}),u[s(158)](s(156)).to(i,s(201),i,s(156),e,s(153),(t,e,i)=>t&&e&&!i),u.on(s(138),()=>this[s(186)]()),h[s(150)]({label:at(n,s(140)),withText:!0,role:s(149)}),h[s(158)](s(156)).to(i,s(201),e,s(153),(t,e)=>t&&!e),h.on(s(138),()=>{const t=s;e[t(203)][t(145)](t(160))[t(185)](),r[t(172)]=!1,e[t(177)][t(173)][t(196)]()}),c[s(176)][s(168)](u),l[s(176)][s(168)](h),a[s(143)]=s(142),a[s(195)][s(147)]([c,l]),o[s(168)](a),r}),e.ui[t(161)][t(168)](t(159),()=>this[t(189)]())}[Ut(189)](){const t=Ut,e=this[t(175)],i=e[t(184)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(191)][t(150)]({icon:_t.IconHistory,label:at(i,t(183))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(150)]({label:at(i,t(166))}),o[t(192)](t(138)).to(n),o.on(t(138),()=>{this[t(186)]()}),r[t(176)][t(168)](o),s[t(195)][t(168)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(150)]({label:at(i,t(140))}),c[t(192)](t(138)).to(n),c.on(t(138),()=>{const i=t;e[i(203)][i(145)](i(160))[i(185)]()}),a[t(176)][t(168)](c),s[t(195)][t(168)](a),n[t(152)][t(176)][t(168)](s),n}[Ut(186)](){const t=Ut,e=this[t(175)],i=e[t(184)],n=e[t(155)][t(145)](t(182)),s=e[t(155)][t(145)](t(165));function r(s){const r=t;e[r(203)][r(145)](r(202))&&""===s[r(167)]?s[r(163)][r(190)]=at(i,r(193)):(e[r(155)][r(145)](pt)[r(151)]({name:s[r(167)]}),n[r(148)]())}this[t(170)]||(this[t(146)](),this[t(170)].on(t(174),()=>r(this[t(170)]))),this[t(170)][t(169)](),n[t(194)]({id:t(164),title:at(i,t(166)),isModal:!0,content:this[t(170)],actionButtons:[{label:at(e[t(184)],t(198)),withText:!0,onExecute:()=>n[t(148)]()},{label:at(e[t(184)],t(162)),class:t(187),withText:!0,onCreate(i){const n=t;i[n(158)](n(156)).to(s,n(201),s,n(156),e,n(153),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(170)])}]})}[Ut(146)](){const t=Ut,e=this[t(175)],i=e[t(184)];this[t(170)]=new zt(i,e[t(203)][t(145)](t(202))),this[t(170)][t(171)]()}}function Zt(t,e){const i=qt();return(Zt=function(t,e){return i[t-=138]})(t,e)}function qt(){const t=["3639648JmvivC","Open revision history","2187486UJwPjG","menu","role","pluginName","get","_createSaveRevisionFormView","addMany","hide","menuitem","set","saveRevision","panelView","isReadOnly","RevisionHistoryUI","plugins","isEnabled","isOfficialPlugin","bind","menuBar:revisionHistory","revisionHistory","componentFactory","Accept","revisionNameInputView","revisionSave","RevisionTracker","Save current revision","revisionName","add","reset","_saveRevisionFormView","render","isOpen","view","submit","editor","children","editing","isPremiumPlugin","5343370Lywrph","init","143396qrYruK","Dialog","Revision history","locale","showRevisionViewerCallback","_showDialog","ck-button-action","7497390qcfmDM","_registerMenuComponent","errorText","buttonView","delegate","The revision name cannot be empty.","show","items","focus","requires","Cancel","1877828cMEwDZ","2198398SwWDBz","isReady","revisionHistory.requireRevisionName","config","execute"];return(qt=function(){return t})()}const $t=Yt;function Bt(){const t=["638fXElOx","bindTemplate","add","isSuggestion","element","changeId","author","ck-annotation","2155644OxLdUb","16ywUlHv","ck-revision-change__label","focus","name","div","data","ck-revision-change","setTemplate","Added by","ck-revision-change__","_model","3795272ybsQkj","Removed by","2953278ZhmwDM","4290864FHqjqS","5HXpgWI","type","Suggested by","42KLUMkS","91322eNBDbL","57911EaZFUf","span","633260LSBWZY","set"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=207]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(868125===-parseInt(e(230))/1*(parseInt(e(228))/2)+parseInt(e(209))/3+parseInt(e(221))/4*(-parseInt(e(225))/5)+-parseInt(e(224))/6+parseInt(e(229))/7+-parseInt(e(210))/8*(parseInt(e(223))/9)+parseInt(e(232))/10*(parseInt(e(234))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt extends It.View{[$t(239)];[$t(220)];constructor(t,e){const i=$t;super(t),this[i(220)]=e,this[i(239)]=e.id;const n=this[i(235)],s=at(t,e[i(215)][i(237)]?i(227):i(236)==e[i(226)]?i(218):i(222));this[i(233)](i(226),e[i(226)]),this[i(217)]({tag:i(214),attributes:{class:[i(208),i(216),n.to(i(226),t=>i(219)+t)],tabindex:-1},children:[{tag:i(231),children:[{tag:i(231),attributes:{class:[i(211)]},children:[{text:s}]},{text:" "+e[i(207)][i(213)]}]}]})}[$t(212)](){const t=$t;this[t(238)][t(212)]()}}function Gt(){var t=["51mNgpZP","data","11223eeSKpu","type","createdAt","set","toJSON","2805084uMMpow","1112lXYjXQ","rootName","19178350XzXacY","38416UjygCr","author","335702AkkZxf","427275VWgpLx","6MSxAsV","3975734UnDTlR"];return(Gt=function(){return t})()}var Kt=Xt;function Xt(t,e){var i=Gt();return(Xt=function(t,e){return i[t-=206]})(t,e)}!function(t){for(var e=Xt,i=t();;)try{if(398980===parseInt(e(206))/1+-parseInt(e(221))/2*(parseInt(e(210))/3)+-parseInt(e(217))/4+-parseInt(e(207))/5*(parseInt(e(208))/6)+-parseInt(e(209))/7+-parseInt(e(218))/8*(parseInt(e(212))/9)+parseInt(e(220))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Qt extends((0,t.ObservableMixin)()){id;[Kt(222)];[Kt(213)];[Kt(211)];[Kt(219)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(222)]=e[i(222)],this[i(213)]=e[i(213)],this[i(211)]=e[i(211)]||{},this[i(219)]=e[i(219)],this[i(215)](i(214),e[i(214)])}[Kt(216)](){var t=Kt;return{id:this.id,authorId:this[t(222)].id,type:this[t(213)],data:this[t(211)],createdAt:this[t(214)]}}}function te(t,e){const i=ee();return(te=function(t,e){return i[t-=143]})(t,e)}function ee(){const t=["9RptFVB","1490XWRXBk","newRevisionId","532uAmMrW","455316DkdZhf","2128632BfJHdj","11hvFNik","2674winlnY","_setChanges","oldRevisionId","4568ROedlu","50355QKOizB","changes","67642jAXwZl","105oSpDSv","2544335fcTbgI","add"];return(ee=function(){return t})()}const ie=te;!function(t){const e=te,i=t();for(;;)try{if(517210===-parseInt(e(143))/1*(-parseInt(e(156))/2)+-parseInt(e(157))/3*(-parseInt(e(146))/4)+-parseInt(e(158))/5+-parseInt(e(147))/6+-parseInt(e(150))/7*(parseInt(e(153))/8)+parseInt(e(154))/9*(parseInt(e(144))/10)+-parseInt(e(149))/11*(-parseInt(e(148))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class ne{[ie(145)];[ie(152)];[ie(155)];constructor(e,i){const n=ie;this[n(145)]=e,this[n(152)]=i,this[n(155)]=new t.Collection}[ie(151)](t){const e=ie;for(const i of t)this[e(155)][e(159)](i)}}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Dt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ce;function ae(){const t=["unbindElementFromMarkerName","RevisionsRepository","element:pre","_processTape","4990280CGncyl","deletions","high","string","_changeView","mouseover","ck-suggestion-marker--active","adapter","getClientRects","change:activeView","remove","removeMarker:revision-suggestion","isIncorrect","_markMismatchedRemovedTags","isObject","isRemoveSuggestion","markerNameToElements","revision:","shift","markers","nextPosition","isSuggestion","updatePosition","_joinTapes","_makeTape","schema","checkAttribute","ck-suggestion-marker-split","attributesBefore","concat","_utils","ck-suggestion-marker","delete","isCollapsed","changes","end","POSITIVE_INFINITY","currentChangeNumber","493290foPcix","2902458pagTQj","getRevisionDocumentData","destroy","revision-viewer","isRemoved","document","roots","isLimit","isPremiumPlugin","attributes","revisionHistory","_refreshStartEndIndex","diff","requires","enqueueChange","change:isReady","change","text","ck-revision-history-root-remove","ck-revision-history-root--active","elementToAttribute","deletion","element","from","isAddSuggestion","downcastDispatcher","editing","revision-suggestion","_balloon","plugins","distance","activeChange","dataToMarker","addRoot","enableReadOnlyMode","editingDowncast","detachRoot","merge","modelRange","authors","isContent","consume","revision","_fixObsoleteTags","name","_appendChild","isEqual","ck-editor__editable__overlay","compare","elementEnd","isAtStart","selection","createUIElement","listenTo","commands","findIndex","1024BreqbJ","newRevisionId","isAtEnd","softBreak","range","vid_end","WidgetToolbarRepository","vid","data-change-id","startIndex","elementStart","span","next","push","markersStart","_sortAndFilterDiffChanges","-new","getIndex","suggestion:","isInline","editor","ck-revision-history-root-","_setDistance","getItems","isOnRoot","wrap","change:isEnabled","_threeWayMerge","restoreRevisionCallback","_setChanges","markersEnd","code","right","isBlock","refresh","RevisionHistoryUtils","nextSibling","suggestion","find","object","domConverter","sort","getRootNames","type","repository","_getRevisionsRange","bind","addMarker:revision","_changeIdToChange","filter","map","markerName","isAttached","error","loadRevisionData","config","test","getDomRoot","mapper","endIndex","all","pop","_markSuggestions","isReady","has","execute","pluginName","comment","RevisionViewer","insertions","change:numberOfChanges","set","1064ZrSVzc","showNextChange","removeMarker:revision","ck-suggestion-marker-merge","_getViewForChange","target","ck-suggestion-preview-marker-","addMarker:revision-suggestion:insertion","toViewElement","toViewRange","resolve","oldRevisionId","data","return","revision-suggestion:","changeId","dataDowncast","userId","removeAttribute","addMarker:revision-suggestion:deletion","isNavigationMode","affectsData","isBefore","_cleanUp","getRoot","getWalker","ck-suggestion-preview-marker","_revisions","previousPosition","offsetSize","activeView","conversion","reconvertMarker","keys","135rbfvbd","catch","forceDisabled","getCustomProperty","_markMarkers","numberOfChanges","getAttributes","start","bindElementToMarker","pairId","markerRange","low","level","parent","_removeMissingPairs","_step","removeClass","revisionHistoryLabel","addHighlight","observeMarkers","_activeViewTarget","_initInteractions","split","revision-comment:","slice","_makeModelFromTape","index","_findChangeIdFromDomTarget","createPositionFromPath","ck-revision-history-root-add","init","addRevisionData","_update","_makeModelFromViewString","length","nodeAfter","upcast","_data","forward","hasClass","revisionHistoryAttachChange","mapViewToDom","398635TOPmET","for","createRangeIn","createRevision","diffData","locale","markerToHighlight","showPreviousChange","removeMarker","splice","forEach","markerToData","indexOf","get","8565cUNDxk","values","maxOffset","attribute:vid","isAfter","item","then","getLaterVisibleRevision","insertion","viewItem","writer","mousedown","add","consumable","addRevision","first","isEnabled","addClass","backward","attributesAfter","_cleanMarkers","startsWith","isAdded","left","view","getAttribute","3264gYzfAK","insert","side","ck-suggestion-marker-","stop","createAttributeElement","unshift","2889166eFXnSA","isOfficialPlugin","highest","setAttribute","restoreRevision","_removeUnsupportedChanges","getRevisionRootsAttributes","hasAttribute","_markInsertions","done","showStack","rootName","vid_start","model","toViewPosition","top","getRevision","includes","createRange","abs","createPositionBefore","getChild","change:activeChange","bottom","_setConversion","flat","domEvent","uiElement","clear","_getChangeFromId","attachChange","_getDiff"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=479]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(431554===-parseInt(e(695))/1+-parseInt(e(619))/2*(-parseInt(e(735))/3)+-parseInt(e(547))/4*(-parseInt(e(709))/5)+-parseInt(e(491))/6+parseInt(e(742))/7+parseInt(e(778))/8+parseInt(e(653))/9*(-parseInt(e(490))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(591)];[oe(785)]=null;[oe(482)];[oe(673)];[oe(782)];[oe(595)];[oe(519)];static get[oe(613)](){return oe(615)}static get[oe(743)](){return!0}static get[oe(499)](){return!0}static get[oe(504)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(591)]=this[e(567)][e(520)][e(708)](e(775)),this[e(482)]=this[e(567)][e(520)][e(708)](e(582)),this[e(618)](e(522),null),this[e(618)](e(649),null),this[e(673)]=null,this[e(618)](e(503),null),this[e(618)](e(610),!1),this[e(618)](e(725),!0),this.on(e(573),(t,i,n)=>{const s=e;this[s(522)]=null,this[s(649)]=null,this[s(567)][s(517)][s(733)][s(507)](t=>{const e=s;for(const i of this[e(567)][e(517)][e(733)][e(496)][e(497)])n?t[e(669)](e(538),i):t[e(726)](e(538),i)})}),this[e(593)](e(639)).to(this,e(522),t=>null!==t),this[e(593)](e(489)).to(this,e(610),this,e(503),this,e(522),(t,i,n)=>t&&n?i[e(486)][e(564)](n):0),this[e(593)](e(658)).to(this,e(610),this,e(503),(t,i)=>t?i[e(486)][e(687)]:0),this[e(782)]=null,this[e(595)]=new Map,this[e(519)]=this[e(567)][e(520)][e(708)](It.ContextualBalloon)}[oe(683)](){const t=oe,e=this[t(567)],i=new de(e,{direction:t(727)}),n=new de(e,{direction:t(691)});e[t(545)][t(721)](t(702),i),e[t(545)][t(721)](t(620),n),e[t(545)][t(721)](t(746),new he(e)),this.on(t(617),()=>{const e=t;i[e(581)](),n[e(581)]()}),this[t(766)](),this[t(674)](),e[t(525)](t(494)),e[t(520)][t(611)](t(553))&&e[t(520)][t(708)](t(553))[t(655)](t(494))}async[oe(492)](t){const e=oe;return await this[e(482)][e(601)](t,this[e(785)]),this[e(482)][e(492)](t)}async[oe(748)](t){const e=oe;return await this[e(482)][e(601)](t,this[e(785)]),this[e(482)][e(748)](t)}async[oe(539)](t,e,i=!1){const n=oe;if(!this[n(725)])return;const s=this[n(503)],r=this[n(591)],o=n(781)==typeof t?r[n(758)](t):t,a=n(781)==typeof e?r[n(758)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(503)]&&this[n(503)][n(548)]===c&&this[n(503)][n(630)]===u)return Promise[n(629)]();this[n(610)]=!1,this[n(649)]=null,this[n(522)]=null,this[n(503)]=new ne(c,u);const l=this[n(592)](o,a,!0)[n(597)](t=>this[n(482)][n(601)](t,this[n(785)]));return l[n(560)](new Promise(t=>{setTimeout(t,20)})),Promise[n(607)](l)[n(715)](()=>{const t=n;if(!this[t(725)])return;this[t(642)]();const e=this[t(773)](c,u);for(const i of e[t(486)])this[t(595)][t(618)](i.id,i);this[t(567)][t(755)][t(505)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(567)][n(755)][n(496)][n(589)]())i[n(527)](t);for(const t of Object[n(652)](e[n(755)])){const s=i[n(524)](t);for(const r of Object[n(652)](e[n(500)][t]))i[n(745)](r,e[n(500)][t][r],s);i[n(736)](e[n(755)][t],s,0)}}),this[t(503)][t(576)](this[t(562)](e[t(486)])),this[t(610)]=!0})[n(654)](t=>{const e=n;console[e(600)](t),this[e(642)](),s&&(this[e(503)]=s),this[e(610)]=!0})}[oe(684)](t,e){const i=oe,n=this[i(591)][i(698)](t);return n.on(i(685),(t,i,s)=>e(i,s,n)),this[i(591)][i(723)](n),n}[oe(642)](){const t=oe;this[t(522)]=null,this[t(729)](),this[t(782)]&&this[t(782)][t(493)](),this[t(782)]=null,this[t(595)][t(770)](),this[t(567)][t(755)][t(505)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(567)][i(755)][i(496)][i(589)]())e[i(527)](t)})}[oe(562)](t){const e=oe,i=[],n=new Map;for(const t of this[e(567)][e(755)][e(496)][e(589)]()){const s=this[e(567)][e(517)][e(733)][e(604)](t);if(!s)continue;const r=s[e(786)]()[e(714)](0);r&&(i[e(560)](t),n[e(618)](t,r))}return i[e(588)]((t,i)=>{const s=e,r=n[s(708)](t),o=n[s(708)](i);return r.y-o.y||r.x-o.x}),(t=t[e(596)](t=>i[e(759)](t[e(753)])))[e(588)]((t,n)=>i[e(707)](t[e(753)])-i[e(707)](n[e(753)])),t}[oe(802)](t){const e=oe,i=Array[e(514)](t[e(797)])[e(596)](([t,i])=>t[e(730)](e(795))&&!i[e(485)]),n=Array[e(514)](this[e(567)][e(755)][e(697)](t)[e(644)]({singleCharacters:!0}));if(0!=i[e(687)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(675)](":");if(s[e(487)][e(537)](t[e(798)])&&i[e(796)](),(t[e(647)][e(537)](s[e(660)])||t[e(647)][e(713)](s[e(660)]))&&(e(717)==r?t[e(731)]={userId:o}:e(512)==r&&(t[e(495)]={userId:o})),0==i[e(687)])break}return n}[oe(502)](t){const e=oe,i=new Map;for(let n=0;n<t[e(687)];n++)e(508)===t[n][e(590)]?(t[n][e(714)][e(556)]=n,t[n][e(714)][e(606)]=n):(e(557)===t[n][e(590)]?t[n][e(714)][e(556)]=n:e(540)===t[n][e(590)]&&(t[n][e(714)][e(606)]=n),i[e(618)](t[n].id,n));for(const n of i[e(710)]())e(557)===t[n][e(590)]?t[n][e(714)][e(606)]=i[e(708)](t[n][e(662)]):e(540)===t[n][e(590)]&&(t[n][e(714)][e(556)]=i[e(708)](t[n][e(662)]))}[oe(777)](t){const e=oe;for(let i=0;i<t[e(687)];i++){if(e(557)===t[i][e(590)])t[i][e(714)][e(556)]=i;else if(e(540)===t[i][e(590)]){t[i][e(714)][e(606)]=i;const n=t[i][e(714)][e(556)];t[n][e(662)]=t[i].id,t[i][e(662)]=t[n].id}else t[i][e(714)][e(556)]=i,t[i][e(714)][e(606)]=i,t[i][e(662)]=null;t[i][e(561)]||(t[i][e(561)]=[],t[i][e(577)]=[])}}[oe(750)](t,e){const i=oe,n=t[i(596)](t=>!t[i(731)]);for(let t=0;t<e[i(687)];t++)e[t][i(731)]&&(n[t][i(731)]=e[t][i(731)])}[oe(773)](t,e=null){const i=oe,n=this[i(591)][i(758)](t),s=e?this[i(591)][i(758)](e):null,r=this[i(592)](n,s),o=r[r[i(687)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(687)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(652)](e[i(699)]))if(e[i(699)][t][i(772)]){const n=e[i(699)][t][i(772)];n[i(599)]?(u[i(721)](t),l[i(611)](t)&&l[i(708)](t)[i(636)]==n[i(636)]?l[i(484)](t):l[i(618)](t,n)):l[i(611)](t)?(u[i(484)](t),l[i(484)](t)):(u[i(721)](t),l[i(618)](t,n))}else u[i(721)](t)}for(const t of u){const e=l[i(611)](t)&&!l[i(708)](t)[i(599)];let n=e?r[i(687)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(699)][t]){const n=e?o[i(699)][t][i(480)]:o[i(699)][t][i(728)];c[i(500)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(755)]={};for(const e of t[i(530)])a[i(618)](e.id,e);for(const e of u){const n=t[i(699)][e]?t[i(699)][e][i(616)]:"[]",s=t[i(699)][e]?t[i(699)][e][i(779)]:"[]";t[i(755)][e]={insertions:this[i(482)][i(686)](n),deletions:this[i(482)][i(686)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(514)](n[i(755)][t][i(616)][i(797)])[i(596)](([t])=>!t[i(730)](i(795))));let h=0;for(const o of r){const r=this[i(802)](o[i(755)][t][i(616)]);o==n?(e=r,s=e[i(687)],e[i(705)](t=>{t.id=h++}),this[i(777)](e)):this[i(750)](e,r);const a=e[i(596)](t=>!t[i(731)])[i(597)](t=>t.id);let c=0;const l=this[i(802)](o[i(755)][t][i(779)]);l[i(705)](t=>{t[i(495)]?t.id=s++:t.id=a[c++]}),this[i(777)](l),this[i(569)](e,i(731)),this[i(569)](l,i(495)),o==n&&this[i(657)](e,u),e=this[i(801)](e,l),this[i(502)](e),this[i(569)](e,i(495))}e=e[i(596)](t=>!(t[i(731)]&&t[i(495)]));const d=new Map(o[i(755)][t][i(779)][i(797)]),f=new Set(u[i(652)]());for(const t of d[i(652)]())f[i(484)](t);this[i(609)](e,f),this[i(534)](e),e=this[i(667)](e),e=this[i(791)](e),e=this[i(747)](e);const{root:m,changes:p}=this[i(678)](e,a,t);c[i(755)][t]=m;const v=l[i(708)](t);if(v){const e=a[i(708)](v[i(636)]),n=new Qt({author:e,type:v[i(599)]?i(721):i(788),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(741)](n),c[i(500)][t][i(693)]=n.id}c[i(486)]=c[i(486)][i(481)](p)}return c}[oe(657)](t,e){const i=oe;for(let n=0;n<t[i(687)];n++)for(const[s,r]of e)!r[i(485)]&&r[i(660)][i(537)](t[n][i(647)])&&t[n][i(561)][i(560)](s),r[i(487)][i(537)](t[n][i(798)])&&t[n][i(577)][i(560)](s)}[oe(801)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(687)]||r<e[i(687)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(560)](o);else if(a[i(495)]&&o[i(731)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(574)](t,s,e,r);n=n[i(481)](o),s=a,r=c}else a[i(495)]?(r++,n[i(560)](a)):(s++,n[i(560)](o))}return n}[oe(609)](t,e){const i=oe,n=[];for(let o=0;o<t[i(687)];o++){for(let r=0;r<t[o][i(561)][i(687)];r++){const a=t[o][i(561)][r];if(!e[i(611)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(518)!=c||i(717)!=u&&i(512)!=u||(n[i(741)]({type:u,name:a,userId:l}),t[o][i(561)][i(704)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(577)][i(687)];r++){const a=t[o][i(577)][r];if(!e[i(611)](a))continue;const{group:c,type:u}=s(a);if(i(518)!=c||i(717)!=u&&i(512)!=u)continue;t[o][i(577)][i(704)](r,1),r--;const l=n[i(546)](t=>t[i(535)]==a);l>-1&&n[i(704)](l,1)}}function s(t){const e=i,n=t[e(675)](":");return{group:n[0],type:n[1],subType:n[e(687)]>=5?n[2]:null,id:n[e(687)]<5?n[2]:n[3],authorId:n[e(687)]<5?n[3]:n[4],markerCount:6==n[e(687)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(687)];i++){if(t[e(731)]&&e(717)==n[i][e(590)]&&t[e(731)][e(636)]==n[i][e(636)])return t[e(515)]=n[i],void delete t[e(731)];if(!t[e(731)]&&!t[e(495)]&&e(512)==n[i][e(590)])return void(t[e(793)]=n[i])}}}[oe(569)](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(618)](o.id,n);for(let n=0;n<t[i(687)];n++){if(i(495)==e&&t[n][i(731)]||i(731)==e&&t[n][i(495)])continue;if(i(508)==t[n][i(590)]){t[n][i(521)]=0;continue}const s=r[i(708)](t[n][i(662)]),o=r[i(708)](t[n].id);t[n][i(521)]=s-o}}[oe(592)](t,e,i=!1){const n=oe,s=[];let r=this[n(591)][n(564)](t),o=this[n(591)][n(564)](e);for(-1==o&&(o=this[n(591)][n(646)][n(687)],i=!1);r<o;)s[n(560)](this[n(591)][n(758)](r)),r++;return i&&s[n(560)](this[n(591)][n(758)](r)),s}[oe(574)](t,e,i,n){const s=oe,r=this[s(567)][s(755)][s(803)];let o=e;for(;t[o]&&t[o][s(731)];)o++;let a=n;for(;i[a]&&i[a][s(495)];)a++;u(t,e,o),u(i,n,a);const c=i[s(677)](n,a)[s(481)](t[s(677)](e,o));return c[s(588)]((t,e)=>t[s(737)]!=e[s(737)]?t[s(737)]-e[s(737)]:t[s(665)]!=e[s(665)]?t[s(665)]-e[s(665)]:t[s(521)]!=e[s(521)]?e[s(521)]-t[s(521)]:!!t[s(731)]!=!!e[s(731)]?-1==t[s(737)]||0==t[s(737)]?t[s(731)]?-1:1:t[s(731)]?1:-1:t[s(679)]-e[s(679)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(488)],c=!0;for(let s=e;s<i;s++)if(r[n(566)](t[s][n(714)])||(c=!1),t[s][n(714)][n(556)]<e&&(o=s),t[s][n(714)][n(606)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(737)]=s<=o?-1:s<a?0:1,t[s][n(679)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(521)]?t[i][n(665)]=u:(u++,t[i][n(665)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(737)]&&(t[s][n(665)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(521)]?t[e][n(665)]=u:(u--,t[e][n(665)]=u,u--)}}[oe(534)](t){const e=oe,i=new Map,n=this[e(567)][e(755)][e(803)];for(let s=1;s<t[e(687)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(508)==c[e(590)])continue;if(c[e(590)]!=u[e(590)])continue;if(!n[e(580)](u[e(714)])||n[e(498)](u[e(714)]))continue;if(!n[e(580)](c[e(714)])||n[e(498)](c[e(714)]))continue;if((t[s][e(731)]||t[s][e(515)])&&t[s-1][e(495)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(495)]||!t[s-1][e(731)]&&!t[s-1][e(515)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(665)]==o[e(665)],h=Math[e(761)](r[e(665)])<Math[e(761)](o[e(665)])&&0==o[e(521)];(l||h)&&(i[e(618)](o.id,r.id),t[e(704)](a,1),s--,r[e(731)]=!1)}for(let n=0;n<t[e(687)];n++)i[e(611)](t[n][e(662)])&&(t[n][e(662)]=i[e(708)](t[n][e(662)]))}[oe(667)](t){const e=oe,i=new Set(t[e(597)](t=>t.id));for(let n=0;n<t[e(687)];n++)i[e(611)](t[n][e(662)])||0==t[n][e(521)]||(t[n][e(790)]=!0);return t[e(596)](t=>!t[e(790)])}[oe(791)](t){const e=oe,i=new Set;for(let n=0;n<t[e(687)];n++){if(i[e(611)](t[n].id)&&t[n][e(495)]&&(t[n][e(790)]=!0),t[n][e(790)])continue;if(0==t[n][e(521)])continue;if(e(557)!=t[n][e(590)])continue;if(null==t[n][e(662)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(662)];)e(557)==t[s][e(590)]?r++:e(540)==t[s][e(590)]&&r--,s++;if(0!=r)if(t[n][e(495)])t[n][e(790)]=!0;else for(;s!=n;)t[s][e(495)]&&0!=t[s][e(521)]&&(t[s][e(790)]=!0,i[e(721)](t[s][e(662)])),s--}return t[e(596)](t=>!t[e(790)])}[oe(747)](t){const e=oe,i=this[e(567)][e(755)][e(803)];for(let n=0;n<t[e(687)];n++){if(!(t[n][e(731)]||t[n][e(515)]||t[n][e(495)]||t[n][e(793)]))continue;if(0==t[n][e(521)])continue;const s=t[n][e(714)];i[e(580)](s)||i[e(498)](s)||(t[n][e(731)]&&delete t[n][e(731)],t[n][e(515)]&&delete t[n][e(515)],t[n][e(793)]&&delete t[n][e(793)],t[n][e(495)]&&(t[n][e(790)]=!0))}return t[e(596)](t=>!t[e(790)])}[oe(678)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(567)][n(755)],c=a[n(803)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(687)];e++)if(n(557)===t[e][n(590)]){t[e][n(647)]=a[n(681)](s,f);const i=new X.ModelElement(t[e][n(714)][n(535)],t[e][n(714)][n(659)]());u[0][n(536)](i),f[n(560)](0),u[n(741)](i),t[e][n(798)]=a[n(681)](s,f)}else n(540)===t[e][n(590)]?(u[n(796)](),t[e][n(647)]=a[n(681)](s,f),f[n(608)](),f[f[n(687)]-1]++,t[e][n(798)]=a[n(681)](s,f)):(t[e][n(647)]=a[n(681)](s,f),d?d[n(690)]+=t[e][n(714)][n(631)]:d=new X.ModelText(t[e][n(714)][n(631)],t[e][n(714)][n(659)]()),t[e+1]&&n(508)===t[e+1][n(590)]&&v(d,t[e+1][n(714)])||(u[0][n(536)](d),d=null),f[f[n(687)]-1]+=t[e][n(714)][n(648)],t[e][n(798)]=a[n(681)](s,f));for(let e=0;e<t[n(687)];e++){const i=t[e][n(647)],s=t[e][n(798)];for(const s of t[e][n(561)])o[n(618)](s,{start:i,end:null});m(n(793),e,i,s),m(n(515),e,i,s),m(n(495),e,i,s),m(n(731),e,i,s);for(const i of t[e][n(577)]){const t=o[n(708)](i);t?t[n(487)]=s:o[n(618)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(567)][n(755)][n(760)](e[n(660)],e[n(487)]);s[n(797)][n(618)](t,i)}return r[n(588)]((t,e)=>{const i=n,r=s[i(797)][i(708)](i(795)+t.id),o=s[i(797)][i(708)](i(795)+e.id);return r[i(660)][i(641)](o[i(660)])?-1:r[i(660)][i(713)](o[i(660)])?1:r[i(487)][i(641)](o[i(487)])?-1:r[i(487)][i(713)](o[i(487)])?1:i(721)===t[i(590)]?-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(636)]:null,d=i===t[o(687)]-1,f=h[e][0],m=c[o(792)](t[i][o(714)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(487)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(636)]!==u&&(l[e][o(487)]=s,f&&f[o(636)]===l[e][o(636)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(557)!==t[i][o(590)]||f&&f[o(636)]===u||h[e][o(741)]({userId:u,object:t[i][o(714)],change:l[e]}),o(540)===t[i][o(590)]&&f&&f[o(586)]===t[i][o(714)]&&(h[e][o(796)](),l[e]=f[o(507)])),l[e]&&d&&(l[e][o(487)]=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(714)],f=a[h(803)][h(580)](d)&&!a[h(803)][h(498)](d),m=t[h(688)]==o[h(666)]&&o[h(541)];if(f&&m)return;const p=a[h(760)](t,o),v=e[h(708)](u),g=new Qt({author:v,type:h(731)==l||h(515)==l?h(721):h(788),data:{isSuggestion:h(515)==l||h(793)==l},createdAt:new Date,rootName:i});r[h(560)](g),s[h(797)][h(618)](h(795)+g.id,p)}function v(t,e){const i=n,s=t[i(659)](),r=e[i(659)]();for(const t of s){if(t[1]!==e[i(734)](t[0]))return!1;r[i(559)]()}return r[i(559)]()[i(751)]}}[oe(766)](){const t=oe;this[t(567)][t(650)][t(696)](t(689))[t(523)]({view:t(533)}),this[t(567)][t(650)][t(696)](t(526))[t(701)]({model:t(533),view:e=>{const i=t,n=e[i(598)][i(675)](":")[1],s=this[i(771)](n);if(!s)return null;const r=i(721)==s[i(590)]?i(717):i(512),o=[i(483),i(738)+r];return s[i(631)][i(799)]&&o[i(560)](i(738)+r+i(563)),this[i(522)]==s&&o[i(560)](i(784)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(567)][t(650)][t(696)](t(689))[t(721)](e=>{const i=t;e.on(i(776),(t,e,n)=>{const s=i,r=e[s(718)][s(763)](0);if(!r||!r.is(s(513),s(578)))return;if(!n[s(722)][s(532)](r,{attributes:[s(754),s(552)]}))return;const o=e[s(529)][s(660)][s(688)];n[s(719)][s(745)](s(754),r[s(734)](s(754)),o),n[s(719)][s(745)](s(552),r[s(734)](s(552)),o)},{priority:i(664)})}),this[t(567)][t(650)][t(696)](t(689))[t(721)](e=>{const i=t;e.on(i(513),(t,e,n)=>{const s=i;if(!n[s(722)][s(532)](e[s(718)],{attributes:[s(754),s(552)]}))return;if(e[s(529)][s(485)])return;const r=e[s(529)][s(660)][s(688)];r[s(749)](s(754))||r[s(749)](s(554))||(n[s(719)][s(745)](s(754),e[s(718)][s(734)](s(754)),r),n[s(719)][s(745)](s(552),e[s(718)][s(734)](s(552)),r))},{priority:i(664)})}),this[t(567)][t(650)][t(696)](t(689))[t(511)]({view:{name:t(558),attributes:{vid:!0}},model:{key:t(554),value:e=>e[t(734)](t(554))}}),this[t(567)][t(755)][t(803)].on(t(804),(e,[,i])=>{const n=t;[n(754),n(552),n(554)][n(759)](i)&&(e[n(632)]=!0,e[n(739)]())},{priority:t(744)}),this[t(567)][t(650)][t(696)](t(635))[t(721)](e=>{const i=t;e.on(i(712),(t,e,n)=>{const s=i;if(" "!=e[s(714)][s(631)]||e[s(714)][s(666)][s(711)]>1)return;if(!n[s(722)][s(532)](e[s(714)],t[s(535)]))return;const r=n[s(719)],o=n[s(605)][s(628)](e[s(551)]);r[s(572)](o,r[s(740)](s(558)))})}),this[t(567)][t(650)][t(696)](t(635))[t(706)]({model:t(533)}),this[t(567)][t(517)][t(516)].on(t(594),function(e){const i=t,n=e[i(520)][i(708)](i(615));return(t,s,r)=>{const o=i,a=s[o(598)][o(675)](":")[1],c=n[o(771)](a);if(!c)return null;const u=o(721)==c[o(590)]?o(675):o(528);if(!r[o(722)][o(603)](s[o(663)],t[o(535)]))return;const l=s[o(663)][o(644)](),h=s[o(663)][o(660)],d=e[o(755)][o(803)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(714)];p=p||d[o(531)](e);const i=r[o(605)][o(627)](e);if(i&&i[o(656)](o(671)))return;o(540)==t[o(590)]&&d[o(580)](e)&&!d[o(498)](e)&&(e[o(583)]||h[o(549)]?f&&f[o(666)]==e||(f=e,g(t[o(647)]),v=!0):m=m||t[o(647)])}function g(t){const e=o,i=r[e(719)][e(543)](e(558),{class:e(738)+u}),a=r[e(605)][e(756)](t);c[e(631)][e(799)]&&r[e(719)][e(726)](e(738)+u+e(563),i),n[e(522)]==c&&r[e(719)][e(726)](e(784),i),r[e(719)][e(736)](a,i),r[e(605)][e(661)](i,s[e(598)])}p||v||!m||g(m)}}(this[t(567)]),{priority:t(780)}),this[t(567)][t(517)][t(516)].on(t(621),(e,i,n)=>{const s=t,r=n[s(605)][s(794)](i[s(598)]);if(r)for(const t of r)(t[s(692)](s(479))||t[s(692)](s(622)))&&(n[s(605)][s(774)](t,i[s(598)]),n[s(719)][s(788)](t))},{priority:t(780)}),this[t(567)][t(517)][t(516)].on(t(594),(e,i,n)=>{const s=t,r=i[s(598)][s(675)](":")[1],o=this[s(771)](r);if(!o)return null;const a=s(721)==o[s(590)]?s(675):s(528);if(n[s(722)][s(603)](i[s(663)],e[s(535)]))for(const t of i[s(663)][s(570)]()){if(!t.is(s(513),s(550)))continue;const e=n[s(719)][s(543)](s(558),{class:s(738)+a}),r=n[s(605)][s(756)](this[s(567)][s(755)][s(762)](t));o[s(631)][s(799)]&&n[s(719)][s(726)](s(738)+a+s(563),e),this[s(522)]==o&&n[s(719)][s(726)](s(784),e),n[s(719)][s(736)](r,e),n[s(605)][s(661)](e,i[s(598)])}},{priority:t(780)}),this[t(567)][t(755)][t(496)].on(t(507),()=>{const e=t;this[e(567)][e(517)][e(733)][e(507)](t=>{const i=e;for(const e of this[i(567)][i(755)][i(496)][i(589)]()){const n=this[i(567)][i(755)][i(496)][i(643)](e),s=this[i(567)][i(517)][i(733)][i(496)][i(643)](e);if(s){const e=n[i(734)](i(693));if(t[i(637)](i(555),s),t[i(669)](i(682),s),t[i(669)](i(509),s),t[i(669)](i(510),s),e){const n=this[i(771)](e);if(!n)return null;t[i(745)](i(555),e,s),t[i(726)](i(568)+n[i(590)],s),this[i(522)]==n&&t[i(726)](i(510),s)}}}})}),this[t(567)][t(650)][t(696)](t(689))[t(523)]({view:t(614),model:e=>t(676)+e,converterPriority:t(744)}),this[t(567)][t(650)][t(696)](t(689))[t(523)]({view:t(584),model:e=>t(633)+e,converterPriority:t(744)}),this[t(567)][t(650)][t(696)](t(635))[t(706)]({model:t(518),view:e=>({name:t(565)+e,group:t(518)}),converterPriority:t(744)}),this[t(567)][t(650)][t(696)](t(526))[t(701)]({model:t(518),view:e=>{const i=t,n=e[i(598)][i(675)](":")[1];return i(717)!=n&&i(512)!=n?null:{classes:[i(645),i(625)+n]}}}),this[t(567)][t(517)][t(516)].on(t(638),le(this[t(567)],t(528)),{priority:t(780)}),this[t(567)][t(517)][t(516)].on(t(626),le(this[t(567)],t(675)),{priority:t(780)}),this[t(567)][t(517)][t(516)].on(t(789),(e,i,n)=>{const s=t,r=n[s(605)][s(794)](i[s(598)]);if(r)for(const t of r)t.is(s(769))&&(n[s(605)][s(774)](t,i[s(598)]),n[s(719)][s(788)](t))},{priority:t(780)})}[oe(771)](t){const e=oe;return this[e(595)][e(708)](t)}[oe(623)](t){const e=oe;return this[e(782)]&&this[e(782)][e(493)](),this[e(782)]=new Jt(this[e(567)][e(700)],t),this[e(782)]}[oe(674)](){const t=oe;this[t(567)][t(755)][t(496)][t(542)][t(672)](t(533)),this.on(t(787),(e,i,n,s)=>{const r=t;s&&this[r(519)][r(788)](s),n&&(this[r(519)][r(721)]({view:n,stackId:r(670),position:{target:()=>{const t=r,e=this[t(567)][t(517)],i=this[t(771)](n[t(634)]);let s;if(i[t(631)][t(571)]){const n=e[t(733)][t(604)](i[t(753)]);s=Array[t(514)](n[t(786)]())}else{const i=this[t(567)][t(755)][t(797)][t(708)](t(795)+n[t(634)]);s=Array[t(514)](e[t(605)][t(794)](i[t(535)]))[t(597)](i=>e[t(733)][t(587)][t(694)](i))[t(597)](e=>Array[t(514)](e[t(786)]()))[t(767)]()}return this[t(673)]&&s[t(585)](e=>e[t(757)]-3<=this[t(673)].y&&e[t(765)]+3>=this[t(673)].y&&e[t(732)]-3<=this[t(673)].x&&e[t(579)]+3>=this[t(673)].x)||s[0]}}}),this[r(519)][r(752)](r(670)))}),this.on(t(764),(e,i,n,s)=>{const r=t;this[r(649)]=n?this[r(623)](n):null,this[r(567)][r(755)][r(507)](()=>{const t=r,e=this[t(567)][t(517)];s&&(s[t(631)][t(571)]?e[t(733)][t(507)](i=>{const n=t;i[n(669)](n(510),e[n(733)][n(496)][n(643)](s[n(753)]))}):e[t(651)](t(795)+s.id)),n&&(n[t(631)][t(571)]?e[t(733)][t(507)](i=>{const s=t;i[s(726)](s(510),e[s(733)][s(496)][s(643)](n[s(753)]))}):e[t(651)](t(795)+n.id))})}),this[t(544)](this[t(567)][t(517)][t(733)][t(496)],t(783),(e,i)=>{const n=t;if(this[n(522)])return;const s=this[n(680)](i[n(624)]),r=this[n(595)][n(708)](s);r?(this[n(673)]={x:i[n(768)].x,y:i[n(768)].y},this[n(649)]=this[n(623)](r)):(this[n(673)]=null,this[n(649)]=null)}),this[t(544)](this[t(567)][t(517)][t(733)][t(496)],t(720),(e,i)=>{const n=t,s=this[n(680)](i[n(624)]),r=this[n(595)][n(708)](s);r?(this[n(673)]={x:i[n(768)].x,y:i[n(768)].y},r===this[n(522)]?this[n(519)][n(800)]():this[n(522)]=r):(this[n(673)]=null,this[n(522)]=null)})}[oe(680)](t){const e=oe;do{const i=t[e(734)](e(555));if(i)return i;t=t[e(666)]}while(t);return null}[oe(729)](){const t=oe;this[t(567)][t(755)][t(507)](e=>{const i=t;for(const t of this[i(567)][i(755)][i(797)])e[i(703)](t)})}}function le(t,e){return(i,n,s)=>{const r=ce;if(!s[r(722)][r(603)](n[r(663)],i[r(535)]))return;const o=n[r(663)][r(644)](),a=n[r(663)][r(660)],c=t[r(755)][r(803)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(714)];h=h||c[r(531)](e);const i=s[r(605)][r(627)](e);if(i&&i[r(656)](r(671)))return;r(540)==t[r(590)]&&c[r(580)](e)&&!c[r(498)](e)&&(e[r(583)]||a[r(549)]?u&&u[r(666)]==e||(u=e,f(t[r(647)]),d=!0):l=l||t[r(647)])}function f(t){const i=r,o=s[i(605)][i(756)](t),a=s[i(719)][i(543)](i(558),{class:i(625)+e});s[i(719)][i(736)](o,a),s[i(605)][i(661)](a,n[i(598)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(520)][e(708)](ue);this[e(640)]=!1,this[e(544)](i,e(506),()=>this[e(581)]()),this[e(544)](i,e(573),()=>this[e(581)]())}[oe(612)](){const t=oe,e=this[t(567)],i=e[t(520)][t(708)](ue),n=i[t(610)]?i[t(503)][t(548)]:null;e[t(602)][t(708)](t(501))[t(575)](n)}[oe(581)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(567)][t(520)][t(708)](ue),r=s&&n[t(716)](s[t(548)]);this[t(725)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(668)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(520)][i(708)](ue);this[i(640)]=!1,this[i(668)]=i(691)===e?1:-1,this[i(544)](n,i(506),()=>this[i(581)]()),this[i(544)](n,i(573),()=>this[i(581)]()),this[i(544)](n,i(764),()=>this[i(581)]())}[oe(612)](){const e=oe,i=this[e(567)],n=i[e(520)][e(708)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(522)]=s?n[e(503)][e(486)][e(708)](r+this[e(668)]):n[e(503)][e(486)][e(724)],n[e(522)][e(631)][e(571)])o=i[e(517)][e(733)][e(604)](n[e(522)][e(753)]);else{const t=i[e(755)][e(797)][e(708)](e(795)+n[e(522)].id);o=(0,K.getMarkerDomElement)(i[e(517)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(581)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(567)][t(520)][t(708)](ue);this[t(725)]=!!(r&&s&&n)&&(!e||(1===this[t(668)]?i<n-1:i>0))}}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=431]})(t,e)}function ve(){const t=["1607110oeywpd","forward","currentChangeNumber","2431781vkVMXd","170304xXinjC","div","numberOfChanges","bind","setTemplate","_statusText","ck-revision-history-ui","set","1188PeRazQ","isReady","isForwardNavigationEnabled","10NixDyg","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation","ck-revision-history-ui__changes-navigation__navigation","backward","606064JRcUOg","15684NXyayl","EDIT_X_OF_Y_REVISIONS","fire","ck-hidden","Total","bindTemplate","3393PYQAsF","No changes","29004LjrDPf","_isStatusLabelVisible","Loading...","execute","ck-revision-history-ui__changes-navigation__label","77WIRlqv","Show next change","isBackwardNavigationEnabled","6siKlJq","1592NzTVqj","35QvQThI","Show previous change","isEnabled","isNavigationMode","NUMBER_OF_CHANGES","X_OF_Y_CHANGES","span"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(169050===-parseInt(e(470))/1*(-parseInt(e(452))/2)+parseInt(e(468))/3*(-parseInt(e(451))/4)+parseInt(e(431))/5+-parseInt(e(435))/6*(-parseInt(e(465))/7)+-parseInt(e(469))/8*(parseInt(e(443))/9)+-parseInt(e(446))/10*(-parseInt(e(434))/11)+-parseInt(e(460))/12*(parseInt(e(458))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(457)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(442)](e(473),!1),this[e(442)](e(444),!1),this[e(442)](e(433),0),this[e(442)](e(437),0),this[e(442)](e(445),!1),this[e(442)](e(467),!1),this[e(438)](e(461)).to(this,e(444),this,e(437),(t,e)=>t&&e>0),this[e(438)](e(440)).to(this,e(444),this,e(433),this,e(437),this,e(473),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(462));if(!s)return at(t,o(459));const a=at(t,o(474),s);return r?at(t,o(475),[n+1,s]):a}),n[e(442)]({label:at(t,e(471)),tooltip:!0,icon:_t.IconChevronUp}),s[e(442)]({label:at(t,e(466)),tooltip:!0,icon:_t.IconChevronDown}),n[e(438)](e(472)).to(this,e(467)),s[e(438)](e(472)).to(this,e(445)),n.on(e(463),()=>this[e(454)](e(463),e(450))),s.on(e(463),()=>this[e(454)](e(463),e(432))),this[e(439)]({tag:e(436),attributes:{class:["ck",e(441),e(448)]},children:[{tag:e(476),attributes:{class:[e(447)]},children:[{tag:e(476),attributes:{class:[e(464),i.if(e(461),e(455),t=>!t)]},children:[{text:i.to(e(473),i=>i?at(t,e(453))+": ":at(t,e(456))+": ")}]},{text:i.to(e(440))}]},new It.ToolbarSeparatorView,{tag:e(436),attributes:{class:[e(449)]},children:[n,s]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(t,e){const i=_e();return(be=function(t,e){return i[t-=191]})(t,e)}const we=be;function _e(){const t=["document","hide","10952MkIQrV","1675200WChHee","editing","editor","ck-editor__editable__loading-overlay","2TElqoo","RevisionViewerLoadingOverlay","isOfficialPlugin","view","isPremiumPlugin","3477944uXRVXo","1886181chWGYI","addClass","470642cgtSAD","207BudmAI","show","change","595505cLPUiJ","removeClass","4364878ZghNjy","42NJLOvN","pluginName","roots"];return(_e=function(){return t})()}!function(t){const e=be,i=t();for(;;)try{if(647627===parseInt(e(205))/1+parseInt(e(197))/2*(parseInt(e(203))/3)+parseInt(e(202))/4+-parseInt(e(209))/5*(parseInt(e(212))/6)+-parseInt(e(211))/7+-parseInt(e(192))/8*(parseInt(e(206))/9)+parseInt(e(193))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const Ie=we(196);class Se extends G.Plugin{static get[we(213)](){return we(198)}static get[we(199)](){return!0}static get[we(201)](){return!0}[we(207)](){const t=we,e=this[t(195)][t(194)][t(200)];e[t(208)](i=>{const n=t;for(const t of e[n(215)][n(214)])i[n(204)](Ie,t)})}[we(191)](){const t=we,e=this[t(195)][t(194)][t(200)];e[t(208)](i=>{const n=t;for(const t of e[n(215)][n(214)])i[n(210)](Ie,t)})}}const Oe=xe;function Te(){const t=["restoreRevision","plugins","execute","isReady","init","config","get","add","bind","hide","3330790khOasy","1412186llYTsh","commands","editor","isEnabled","set","291263jDUMpx","change:isReady","closeRevisionViewerCallback","listenTo","Restore this revision","RevisionViewerUI","isPremiumPlugin","numberOfChanges","3cPYeFT","forward","1057175MQVrya","ck-revision-history-ui__back-to-editing","8712304bRGdxS","isForwardNavigationEnabled","isBackwardNavigationEnabled","isNavigationMode","changesNavigation","show","revisionHistory","12RzGiIK","486770Cdflvt","isOfficialPlugin","Back to editing","showNextChange","exitToEditing","showPreviousChange","11320199cHxvVU","pluginName","60rvWXew","componentFactory","currentChangeNumber","4aeyOAb","9ElbyYq","requires"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=146]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(555370===-parseInt(e(162))/1+-parseInt(e(147))/2*(-parseInt(e(160))/3)+parseInt(e(183))/4*(parseInt(e(172))/5)+-parseInt(e(180))/6*(-parseInt(e(152))/7)+parseInt(e(164))/8+parseInt(e(184))/9*(parseInt(e(146))/10)+parseInt(e(178))/11*(-parseInt(e(171))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(179)](){return Oe(157)}static get[Oe(173)](){return!0}static get[Oe(158)](){return!0}static get[Oe(185)](){return[ue,Se]}[Oe(190)](){const t=Oe,e=this[t(149)],i=e[t(187)][t(192)](ue),n=e[t(187)][t(192)](Se);e.ui[t(181)][t(193)](t(176),i=>{const n=t,s=new It.ButtonView(i);return s[n(151)]({label:at(i,n(174)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(163)}),this[n(155)](s,n(188),()=>{const t=n;e[t(191)][t(192)](t(170))[t(154)]()}),s}),e.ui[t(181)][t(193)](t(186),i=>{const n=t,s=new It.ButtonView(i);return s[n(151)]({label:at(i,n(156)),withText:!0,tooltip:!0}),s[n(194)](n(150)).to(e[n(148)][n(192)](n(186))),this[n(155)](s,n(188),()=>e[n(188)](n(186))),s}),e.ui[t(181)][t(193)](t(168),n=>{const s=t,r=new ge(n),o=e[s(148)][s(192)](s(177)),a=e[s(148)][s(192)](s(175));return r[s(194)](s(166)).to(o,s(150)),r[s(194)](s(165)).to(a,s(150)),r[s(194)](s(189),s(182),s(159),s(167)).to(i),this[s(155)](r,s(188),(t,i)=>{const n=s;e[n(188)](n(161)===i?n(175):n(177))}),r}),n[t(169)](),i.on(t(153),(e,i,s)=>{const r=t;s?n[r(195)]():n[r(169)]()})}}var Ae=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Dt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ve;function Ve(t,e){const i=Ee();return(Ve=function(t,e){return i[t-=186]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(958033===parseInt(e(205))/1+-parseInt(e(189))/2*(parseInt(e(190))/3)+-parseInt(e(201))/4*(parseInt(e(209))/5)+-parseInt(e(193))/6*(-parseInt(e(198))/7)+-parseInt(e(200))/8+parseInt(e(204))/9+-parseInt(e(202))/10*(-parseInt(e(197))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Me(192)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(212)];this[i(210)]({label:at(t,i(186)),_tooltipString:""}),this[i(214)][i(187)]=at(t,i(206)),this[i(211)]({tag:i(195),attributes:{class:[i(216)],"data-cke-tooltip-text":n.to(i(191)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(213)}})}[Me(208)](){const e=Me;super[e(208)](),this[e(192)]=new t.ResizeObserver(this[e(214)][e(199)],()=>this[e(217)]()),this[e(194)](this[e(214)],e(188),()=>this[e(217)]())}[Me(203)](){const t=Me;super[t(203)](),this[t(192)]&&this[t(192)][t(203)]()}[Me(217)](){const t=Me,e=this[t(214)][t(199)];this[t(191)]=e[t(196)]>e[t(215)]&&e[t(207)]||""}}function Ee(){const t=["set","extendTemplate","bindTemplate","ck-tooltip_multi-line","fieldView","clientWidth","ck-revision-history-sidebar__revision-name","_updateTooltipText","Revision name","placeholder","input","827314PvsjGR","6EBTLOk","_tooltipString","_resizeObserver","40884YdsZWh","listenTo","span","scrollWidth","371899yeOsDg","399TqbNpv","element","8468632fTOxCr","4dVqWcE","790wsYtXq","destroy","7534458ybqjME","773533huuToF","Enter the revision name","value","render","9130390pQMuJu"];return(Ee=function(){return t})()}var Ce=i(249),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Le(t,e){const i=Pe();return(Le=function(t,e){return i[t-=374]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(653937===-parseInt(e(389))/1+parseInt(e(388))/2+-parseInt(e(376))/3*(-parseInt(e(385))/4)+parseInt(e(374))/5*(parseInt(e(377))/6)+parseInt(e(375))/7*(parseInt(e(393))/8)+-parseInt(e(390))/9+-parseInt(e(378))/10)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(391)]({content:_t.IconUser,viewBox:n(392)});const r=["ck",n(382)];i&&r[n(383)](n(380));const o=[{tag:n(394),attributes:{class:["ck",n(384)],title:at(t,n(i?379:386))},children:[s,e[n(387)]]}];this[n(381)]({tag:"li",attributes:{class:r},children:o})}}function Pe(){const t=["53063hfPqYw","2969973LcPzJY","set","0 0 11 10","134200FZyjiJ","span","1630CiaiHw","252fKcJMA","141raGfho","10710SgvUQq","21750110uliEGM","Revision creator","ck-revision-history-sidebar__revision-author_creator","setTemplate","ck-revision-history-sidebar__revision-author","push","ck-revision-history-sidebar__revision-author__name","104332Lynpon","Revision author","name","1600594bwvkkF"];return(Pe=function(){return t})()}function We(t,e){var i=ze();return(We=function(t,e){return i[t-=236]})(t,e)}function ze(){var t=["numeric","3769227SNAwla","209630YyMiKd","24iNasXd","toLocaleDateString","4216219zAzovh","27UquyFF","9272240MkzLgw","toLocaleTimeString","long","6pUOpya","433342xNwfkK","67916cYIBcV","4473565rNdVMu"];return(ze=function(){return t})()}!function(t){for(var e=We,i=t();;)try{if(782499===-parseInt(e(240))/1+-parseInt(e(245))/2+-parseInt(e(249))/3*(-parseInt(e(241))/4)+parseInt(e(242))/5*(parseInt(e(239))/6)+parseInt(e(248))/7+parseInt(e(246))/8*(-parseInt(e(244))/9)+parseInt(e(236))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var Ue=i(11),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=At().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Dt();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=366]})(t,e)}function qe(){const t=["items","map","bind","isActionsDropdownOpen","Compare against selected","isOpen","find","add","menuitem","139124egSeIh","button","listenTo","ck-revision-history-sidebar__revision__actions","Name this revision","action","change:isActionsDropdownOpen","isEnabled","7556274aHsTkj","model","children","buttonView","ck-on","extendTemplate","600286KqhCjO","_action","set","3417743cJVzwU","panelPosition","stopPropagation","source","isVisible","menu","isReady","24304527NkkWAC","function","12uVmcLN","listView","execute","24VizdvC","798852mMUVYw","Restore this revision","1211305cWTcgo","name","bindTemplate","first","Show more items","class","locale"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(856471===parseInt(e(371))/1+-parseInt(e(385))/2+-parseInt(e(397))/3*(-parseInt(e(401))/4)+parseInt(e(403))/5+-parseInt(e(379))/6+-parseInt(e(388))/7*(parseInt(e(400))/8)+parseInt(e(395))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Dt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Je;function Je(t,e){const i=Ke();return(Je=function(t,e){return i[t-=145]})(t,e)}!function(t){const e=Je,i=t();for(;;)try{if(393902===parseInt(e(204))/1*(-parseInt(e(207))/2)+-parseInt(e(148))/3*(parseInt(e(203))/4)+parseInt(e(182))/5+parseInt(e(155))/6*(parseInt(e(152))/7)+-parseInt(e(194))/8+parseInt(e(187))/9+-parseInt(e(151))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ke);class Ge extends((0,K.ConfirmMixin)(It.View)){id;[Ye(206)];[Ye(171)];[Ye(177)];[Ye(209)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(153)],a=function(t,e){const i=r,n=Array[i(149)](e[i(166)])[i(157)](t=>t!=e[i(190)]);return e[i(190)]&&n[i(185)](e[i(190)]),n[i(173)](n=>new je(t,n,n==e[i(190)]))}(e,i);this.id=i.id,this[r(177)]=i,this[r(209)]=s,this[r(193)](r(158),r(146)).to(i),this[r(193)](r(178)).to(this,r(146),t=>{return i=e[r(179)],(n=t)[(s=We)(247)](i,{month:s(238),day:s(243)})+", "+n[s(237)](i,{hour:s(243),minute:s(243)});var i,n,s}),this[r(201)](r(180),!1),this[r(201)](r(170),!1),this[r(201)](r(168),!1),this[r(201)](r(160),!1),this[r(201)](r(198),!1),this[r(206)]=new De(e,It.createLabeledInputText),this[r(206)][r(195)][r(202)]({attributes:{maxlength:r(167)}}),this[r(206)][r(195)][r(193)](r(181)).to(this,r(158),t=>t||this[r(178)]),this[r(206)][r(193)](r(198)).to(this,r(180),this,r(198),(t,e)=>t&&e),this[r(171)]=n&&n[r(188)]?function(e,i){const n=Ze,s=e[n(405)],r=e[n(409)],o=(0,It.createDropdown)(r);o[n(389)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(409)],s={"Compare against selected":at(n,i(366)),"Name this revision":at(n,i(375)),"Restore this revision":at(n,i(402))};return e[i(411)](t=>{const e=i,n=s[t[e(404)]];return n&&n!==t[e(404)]&&(t[e(404)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(372),model:new It.UIModel({label:t[s(404)],class:t[s(408)],withText:!0,role:s(370),_action:t[s(376)]})};i[s(380)][s(412)](s(378)).to(e,s(413),i=>s(396)!=typeof t[s(378)]||!i||t[s(378)](e)),o[s(369)](i)}return o}(e,i);return e[n(412)](n(413)).to(o,n(367)),o[n(382)][n(387)]({label:at(r,n(407)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(384)]({attributes:{class:[n(374),s.if(n(413),n(383))]},on:{click:s.to(t=>t[n(390)]())}}),o.on(n(399),t=>{const i=n;e[i(394)]&&i(396)==typeof t[i(391)][i(386)]&&t[i(391)][i(386)](e)}),(0,It.addListToDropdown)(o,a,{role:n(393)}),o[n(373)](e,n(377),(t,s,r)=>{const a=n;if(r)for(const t of o[a(398)][a(410)]){const n=t[a(381)][a(406)],s=i[a(368)](t=>t[a(376)]===n[a(386)])[a(392)];t[a(392)]=void 0===s||s(e)}}),o}(this,n):"",this[r(171)]&&this[r(171)][r(193)](r(198)).to(this),this[r(169)]({tag:r(174),attributes:{class:["ck",r(189),r(156),o.if(r(183),r(186))]},children:[{tag:r(174),attributes:{class:["ck",r(189),r(172),o.if(r(198),r(176),t=>!t),o.if(r(180),r(150)),o.if(r(170),r(147)),o.if(r(168),r(196))]},children:[this[r(206)],{tag:r(145),attributes:{class:["ck",r(199)]},children:[{text:o.to(r(178))}]},{tag:r(174),attributes:{class:["ck",r(175)]},children:[{tag:"ul",attributes:{class:["ck",r(197)]},children:a}]},this[r(171)]],on:{click:o.to(t=>{const e=r;t[e(191)][e(154)](e(184))||this[e(160)]&&this[e(198)]&&this[e(163)](e(162),{id:this.id})})}}]})}[Ye(192)](){const t=Ye;super[t(192)]();const e=this[t(206)][t(195)][t(165)];this[t(205)](e,t(208),()=>{const i=t;this[i(209)]&&!e[i(181)]||this[i(163)](i(164),{id:this.id,name:e[i(181)]}),e[i(181)]||(e[i(181)]=this[i(158)]?this[i(158)]:this[i(178)])})}[Ye(162)](){this[Ye(180)]=!0}[Ye(200)](){this[Ye(180)]=!1}[Ye(161)](){this[Ye(170)]=!0}[Ye(159)](){this[Ye(170)]=!1}}function Ke(){const t=["445866btGCkY","ck-revision-history-sidebar__revision-wrapper","filter","name","unhighlight","isReady","highlight","select","fire","setName","element","authors","220","isActionsDropdownOpen","setTemplate","isHighlighted","revisionActionsView","ck-revision-history-sidebar__revision","map","div","ck-revision-history-sidebar__revision__controls-wrapper","ck-disabled","_revision","_createdAtFormatted","uiLanguage","isSelected","value","3059395CQksHx","isConfirm",".ck-thread__remove-confirm","unshift","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","3308643WXHjhU","length","ck-reset","creator","srcElement","render","bind","3821056LSTnRk","fieldView","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision-authors","isEnabled","ck-revision-history-sidebar__revision__date","deselect","set","extendTemplate","740iPuHsS","1375OjKpnb","listenTo","revisionNameView","374KrKvHa","change","_requireRevisionName","span","createdAt","ck-revision-history-sidebar__revision_highlighted","3018NnRgLK","from","ck-revision-history-sidebar__revision_selected","3335360asWsCS","63TOaEPW","bindTemplate","closest"];return(Ke=function(){return t})()}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class 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},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Di extends Mi{static get instance(){return null===Vi&&(Vi=new Di),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class Li extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Li(t)),e}static resetCache(){Fi.clear(),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=Li.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:Dn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let ji={};const Pi=new Map;function Wi(t,e={}){const i=JSON.stringify([t,e]);let n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const zi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=zi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),zi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Un(this.floor?Math.floor(t):$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&&Li.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=Wi(e,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class 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=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=Wn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),zi.clear(),Ui.clear(),Zi.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=Wi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=Wi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===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,Wn(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return Bi(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new 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=ji[i];return n||(n=new Intl.ListFormat(t,e),ji[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ln()?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 Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class en extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function nn(t,e){if(Dn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||Li.create(t)}return En(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Di.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=Wn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Xi.resetCache(),Li.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 An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!Dn(t.localWeekday)||!Dn(t.localWeekNumber)||!Dn(t.localWeekYear)){if(!Dn(t.weekday)||!Dn(t.weekNumber)||!Dn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Dn(t.localWeekday)||(t.weekday=t.localWeekday),Dn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Dn(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Mn(t){const e=Cn(t.year),i=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 Vn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=zn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=zn(i,0,59),a=zn(n,0,59),c=zn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Dn(t){return void 0===t}function En(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ln(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function jn(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Wn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!zn(t.firstDay,1,7)||!zn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hn(t){return Dn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Dn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Dn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Xn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Un(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Hn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Vs=Ts("year","ordinal"),Ds=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Es=RegExp(`(?: ${Ds.source})?`);function Cs(t,e,i){const n=t[e];return Dn(n)?i: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 Ls(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function js(t,e){return[{},t[e]?Li.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),Ws=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function zs(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?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 Zs=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Hs(e,s,n,i,r,o,a);let f;return f=c?Us[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bs=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ys=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function 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))?)?/,Rs),Xs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Qs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,Ls,js),ir=Ss(Ms,Fs,Ls,js),nr=Ss(Vs,Fs,Ls,js),sr=Ss(Fs,Ls,js);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Es),ar=Is(Ds),cr=Ss(Fs,Ls,js);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Dn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(Dn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||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,[Ws,zs])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ps,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ni(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Dn(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=$n(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Pn(e.values,t)||Pn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;En(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else En(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Li.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:Ln()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Lr{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,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 Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=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;Dn(t.z)||(i=Li.create(t.z)),Dn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Dn(t.q)||(t.M=3*(t.q-1)+1),Dn(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Dn(t.u)||(t.S=qn(t.u));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 jr(t,e,i){return new Lr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const Wr="Invalid DateTime",zr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(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+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Xi.fromObject(e);let s,r;if(Dn(t.year))s=gn.now();else{for(const e of no)Dn(t[e])&&(t[e]=to[e]);const e=Mn(t)||Vn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Dn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Dn(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=En(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Xi.fromObject(e)}):fo.invalid(Ur(s))}static fromMillis(t,e={}){if(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(Ur(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=Dn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Dn(s.ordinal),l=!Dn(s.year),h=!Dn(s.month)||!Dn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Dn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=zn(t.weekNumber,1,Xn(t.weekYear,e,i)),r=zn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=zn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Vn(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?An(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[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),[Zs,qs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=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}=jr(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=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?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=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(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!Dn(e.weekYear)||!Dn(e.weekNumber)||!Dn(e.weekday),r=!Dn(e.ordinal),o=!Dn(e.year),a=!Dn(e.month)||!Dn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):Dn(e.ordinal)?(l={...this.toObject(),...e},Dn(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=An({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Wr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):Wr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return jr(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 Lr(s,t)}static fromFormatParser(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=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 Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&En(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=186]})(t,e)}function vo(){const t=["3LYRHUZ","toRelativeCalendar","monthLong","1910344QfZBuw","7994kXoNOW","local","day","287326VQtVKC","year","2096AjdyUJ","4942737axGFwU","hasSame","5SPvkLq","weekdayLong","week","setLocale","month","14528750HwKpPP","toJSDate","492315Jihhgl","fromJSDate","1182462qdAOZM","startOf","minus"];return(vo=function(){return t})()}function go(t,e){const i=po,n=fo[i(195)](t)[i(190)](e),s=fo[i(204)](),r=s[i(198)]({days:1})[i(197)](i(205));let o,a;return n[i(186)](s,i(205))?(o=n[i(197)](i(205))[i(193)](),a=n[i(200)]()):n[i(186)](r,i(205))?(o=r[i(193)](),a=n[i(200)]()):n[i(186)](s,i(189))?(o=n[i(197)](i(189))[i(193)](),a=n[i(188)]||""):n[i(186)](s,i(207))?(o=n[i(197)](i(191))[i(193)](),a=n[i(201)]||""):(o=n[i(197)](i(207))[i(193)](),a=String(n[i(207)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(278467===parseInt(e(194))/1+parseInt(e(206))/2*(-parseInt(e(199))/3)+-parseInt(e(202))/4+parseInt(e(187))/5*(-parseInt(e(196))/6)+-parseInt(e(203))/7*(parseInt(e(208))/8)+-parseInt(e(209))/9+parseInt(e(192))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(45),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=438]})(t,e)}function _o(){const t=["removeRevision","ck-revision-history-sidebar__time-period__label","ck-revision-history-sidebar__time-period__revisions","7564240gItQpd","div","14kixHEY","_requireRevisionName","1562jgmCwV","setTemplate","20980abxiOx","remove","add","locale","startDate","ck-revision-history-sidebar__time-period","delegate","1338034ShnDhm","find","revisionViews","141395cOqEoS","1006984SxVyhv","1206202elnura","3HNkfFJ","30gxiDFE","localizedPeriodName","uiLanguage","_revisionActions","addRevision","span","setName","createCollection","17563797jRrJkz","select"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(982971===parseInt(e(442))/1+parseInt(e(447))/2*(-parseInt(e(448))/3)+-parseInt(e(462))/4+-parseInt(e(445))/5*(-parseInt(e(449))/6)+-parseInt(e(464))/7*(parseInt(e(446))/8)+parseInt(e(457))/9+-parseInt(e(468))/10*(-parseInt(e(466))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(439)];[bo(444)];[bo(452)];[bo(465)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(438)][s(451)])[s(450)];this[s(439)]=e,this[s(444)]=this[s(456)](),this[s(452)]=i,this[s(465)]=n,this[s(444)][s(441)](s(458)).to(this),this[s(444)][s(441)](s(455)).to(this),this[s(467)]({tag:s(463),attributes:{class:["ck",s(440)]},children:[{tag:s(454),attributes:{class:["ck",s(460)]},children:[{text:r}]},{tag:s(463),attributes:{class:["ck",s(461)]},children:this[s(444)]}]})}[bo(453)](t){const e=bo,i=new Ge(this[e(438)],t,this[e(452)],this[e(465)]);this[e(444)][e(470)](i)}[bo(459)](t){const e=bo,i=this[e(444)][e(443)](e=>e.id===t.id);this[e(444)][e(469)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=373]})(t,e)}function xo(){const t=["1362mjBEAs","setTemplate","Revision history","div","span","350QJqmfu","11270704WwVLga","510228fDzVsZ","9950hgTtJI","9jqYIiQ","496164zZdsEj","6GnGOZl","4266878hpUNKL","content","ck-revision-history-sidebar__header__label","ck-reset_all","ck-revision-history-sidebar__header","253URQuRa","630uEoqOW","3876905pJQWtc"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(798417===parseInt(e(387))/1*(parseInt(e(392))/2)+-parseInt(e(376))/3*(parseInt(e(377))/4)+parseInt(e(386))/5*(-parseInt(e(378))/6)+-parseInt(e(379))/7+parseInt(e(373))/8+parseInt(e(385))/9*(-parseInt(e(375))/10)+-parseInt(e(384))/11*(-parseInt(e(374))/12))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(380)]=_t.IconHistory,this[e(388)]({tag:e(390),attributes:{class:["ck",e(382),e(383)]},children:[i,{tag:e(391),attributes:{class:["ck",e(381)]},children:[at(t,e(389))]}]})}}var Ao=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Dt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Vo;function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=305]})(t,e)}function Do(){const t=["4422102ouwGxo","isEnabled","find","revisionSelected","div","some","ck-revision-history-sidebar__timeline","selectRevision","addRevision","558691VgmNKr","18914687TOnZOQ","revisionSetName","map","createCollection","_revisions","ck-reset","revisionViews","5186430HMyZxO","_revisionActions","delegate","403XwdzLY","setName","highlightRevisions","_addRevision","_requireRevisionName","getTime","5XllyTa","_getTimePeriodViewByStartDate","unhighlight","6026940ieLcWH","timePeriodViews","87eACWwi","setTemplate","ck-disabled","deselect","select","_removeRevision","set","render","ck-revision-history-sidebar","62708CGXchx","flat","createdAt","bindTemplate","get","removeRevision","fire","40HSgfYi","add","ck-rounded-corners","uiLanguage","locale","startDate","remove","1942zLhLmf","highlight"];return(Do=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(493691===parseInt(e(329))/1*(parseInt(e(307))/2)+-parseInt(e(340))/3*(parseInt(e(349))/4)+-parseInt(e(335))/5*(parseInt(e(309))/6)+parseInt(e(318))/7*(-parseInt(e(356))/8)+parseInt(e(326))/9+-parseInt(e(338))/10+parseInt(e(319))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends It.View{[Mo(339)];[Mo(323)];[Mo(327)];[Mo(333)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(352)];this[s(339)]=this[s(322)](),this[s(339)][s(328)](s(344)).to(this),this[s(339)][s(328)](s(330)).to(this),this[s(323)]=e,this[s(327)]=i,this[s(333)]=n,this.on(s(344),(t,e)=>{const i=s;this[i(355)](i(312),e)}),this.on(s(330),(t,e)=>{const i=s;this[i(355)](i(320),e)}),this[s(346)](s(310),!1),this[s(341)]({tag:s(313),attributes:{class:["ck",s(324),s(358),s(348)]},children:[new No(t),{tag:s(313),attributes:{class:["ck",s(315),r.if(s(310),s(342),t=>!t)]},children:this[s(339)]}]})}[Mo(347)](){const t=Mo;super[t(347)]();for(const e of this[t(323)])this[t(332)](e);this[t(323)].on(t(357),(e,i)=>{this[t(332)](i)}),this[t(323)].on(t(306),(e,i)=>{this[t(345)](i)})}get[Mo(325)](){const t=Mo;return this[t(339)][t(321)](e=>e[t(325)][t(321)](t=>t))[t(350)]()}[Mo(316)](t){const e=Mo;for(const i of this[e(325)])t&&t.id===i.id?i[e(344)]():i[e(343)]()}[Mo(331)](t){const e=Mo;for(const i of this[e(325)])t[e(314)](({id:t})=>t===i.id)?i[e(308)]():i[e(337)]()}[Mo(332)](t){const e=Mo,i=go(t[e(351)],this[e(360)][e(359)])[e(305)];let n=this[e(339)][e(353)](0);n&&n[e(305)][e(334)]()===i[e(334)]()||(n=new Io(this[e(360)],i,this[e(327)],this[e(333)]),this[e(339)][e(357)](n)),n[e(317)](t)}[Mo(345)](t){const e=Mo,i=go(t[e(351)],this[e(360)][e(359)])[e(305)];this[e(336)](i)[e(354)](t)}[Mo(336)](t){const e=Mo;return this[e(339)][e(311)](i=>i[e(305)][e(334)]()===t[e(334)]())}}const Co=Lo;function Fo(){const t=["2108440LSyoLS","161497iSsYil","editor","_revisionViewer","Compare against selected","isSelected","newRevisionId","revisionViews","revisionHistory","getEarlierVisibleRevision","nameRevision","map","config","getIndex","defaultRevisionActions","data","isReady","isEnabled","245xXLoKu","listenTo","repository","RevisionsSidebar","revisionHistory.viewerSidebarContainer","add","_revisions","_handleEditorDataReady","availableRevisionActions","ready","string","27888Nafnpe","2tjoOhm","getLaterVisibleRevision","plugins","restoreRevisionCallback","getRevision","compareAgainstSelected","focus","selectRevision","isOfficialPlugin","setName","104692JZJKMt","assign","revisionSetName","revisionSelected","isPremiumPlugin","destroy","locale","change:diff","_handleRevisionSelected","appendChild","requires","1078cPTUnR","remove","get","revisionHistory.revisionActions","_handleDiffChange","fieldView","restoreRevision","bind","select","init","34032nAfNcu","1551330UClBnt","render","length","element","isVisible","_createRevisionActions","Name this revision","highlightRevisions","312411bfqqBq","_sidebarView","action","24VoSgFf","16saDbmj","pluginName","Restore this revision","getRevisionsInDiff","name","_handleRevisionSetName","_revisionsRepository","compare","revisionHistory.requireRevisionName","diff","timePeriodViews"];return(Fo=function(){return t})()}function Lo(t,e){const i=Fo();return(Lo=function(t,e){return i[t-=460]})(t,e)}!function(t){const e=Lo,i=t();for(;;)try{if(187380===parseInt(e(508))/1+parseInt(e(537))/2*(-parseInt(e(492))/3)+-parseInt(e(536))/4*(parseInt(e(525))/5)+-parseInt(e(495))/6*(-parseInt(e(462))/7)+parseInt(e(496))/8*(parseInt(e(484))/9)+-parseInt(e(507))/10+-parseInt(e(473))/11*(-parseInt(e(483))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class jo extends G.Plugin{[Co(510)];[Co(502)];[Co(493)];static[Co(521)]=[Co(542),Co(479),Co(517)];static[Co(533)]=function(){const t=Co;return{compareAgainstSelected:{name:t(511),action:({plugins:e},i)=>{const n=t,s=e[n(475)](ue),r=s[n(527)];let o=s[n(505)][n(513)],a=i.id;r[n(520)](o)>r[n(520)](a)&&([o,a]=[a,o]),s[n(503)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(475)](ue);return!(s[n(527)][n(499)](s[n(505)])[n(486)]>2||i[n(512)])}},restoreRevision:{name:t(498),action:(e,{id:i})=>{const n=t;e[n(519)][n(475)](n(515))[n(540)](i)},isVisible:({plugins:e},i)=>!!e[t(475)](ue)[t(527)][t(538)](i.id)},nameRevision:{name:t(490),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(475)](ue),o=r[s(527)][s(516)](i);r[s(503)](i,o),n[s(543)](),n[s(478)][s(481)]()}}}}();static get[Co(497)](){return Co(528)}static get[Co(460)](){return!0}static get[Co(466)](){return!0}static get[Co(472)](){return[ue]}constructor(t){const e=Co;super(t),this[e(510)]=t[e(539)][e(475)](ue),this[e(502)]=this[e(510)][e(527)],this[e(493)]=null}[Co(482)](){const t=Co,e=this[t(502)][t(531)],i=this[t(489)](),n=this[t(509)][t(519)][t(475)](t(529));this[t(493)]=new Eo(this[t(509)][t(468)],e,i,this[t(509)][t(519)][t(475)](t(504))),this[t(493)].on(t(465),this[t(470)][t(480)](this)),this[t(493)].on(t(464),this[t(501)][t(480)](this)),this[t(493)][t(480)](t(524)).to(this[t(510)]),this[t(493)][t(506)].on(t(530),(e,i)=>{const n=t;i[n(514)].on(n(530),(t,e)=>{const i=n;e[i(480)](i(524),i(523)).to(this[i(510)])})}),this[t(493)][t(485)](),this[t(526)](this[t(509)][t(522)],t(534),this[t(532)][t(480)](this)),this[t(526)](this[t(510)],t(469),this[t(477)][t(480)](this)),n[t(471)](this[t(493)][t(487)])}[Co(467)](){const t=Co;this[t(493)][t(487)][t(474)](),this[t(493)][t(467)]()}[Co(532)](){const t=Co,e=this[t(502)][t(541)](0);if(e){const i=this[t(502)][t(516)](e.id);this[t(510)][t(503)](e,i)}}[Co(470)](t,e){const i=Co,n=this[i(502)][i(541)](e.id),s=this[i(502)][i(516)](n.id);this[i(510)][i(503)](n,s)}[Co(501)](t,e){const i=Co;this[i(502)][i(541)](e.id)[i(461)](e[i(500)])}[Co(477)](t,e,i){const n=Co,s=this[n(502)][n(499)](i);s[n(486)]>2?(this[n(493)][n(491)](s),this[n(493)][n(544)](null)):(this[n(493)][n(491)]([]),this[n(493)][n(544)](s[0]))}[Co(489)](){const t=Co,e=this[t(509)],i=jo[t(533)],n=e[t(519)][t(475)](t(476))||jo[t(521)];if(n[t(486)])return n[t(518)](n=>{const s=t,r=s(535)==typeof n?Object[s(463)]({},i[n]):n;return r[s(494)]=r[s(494)][s(480)](this,e),r[s(488)]&&(r[s(488)]=r[s(488)][s(480)](this,e)),r})}}const Po=zo;function Wo(){const t=["get","detachDomRoot","viewportOffset","ready","restore","render","_view","stickyPanel","addToolbar","editable","attachDomRoot","18aNJjZN","rootName","isFocused","element","name","setEditableElement","replace","_toolbarConfig","fire","7078484FUMZHX","limiterElement","init","viewportTopOffset","3762056STxHoR","1423655sQtMOj","config","focusTracker","211492MzODne","componentFactory","toolbar","editor","fillFromConfig","bind","isActive","23650872KWatbP","863736EwgZKu","document","view","260946IWdpFo","_elementReplacer","editing","destroy","getRoot","_initToolbar"];return(Wo=function(){return t})()}function zo(t,e){const i=Wo();return(zo=function(t,e){return i[t-=230]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(880782===parseInt(e(248))/1+parseInt(e(256))/2+parseInt(e(259))/3+-parseInt(e(244))/4+-parseInt(e(245))/5*(parseInt(e(231))/6)+-parseInt(e(240))/7+parseInt(e(255))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends It.EditorUI{[Po(271)];[Po(238)];[Po(260)];get[Po(258)](){return this[Po(271)]}constructor(e,i){const n=Po;super(e),this[n(271)]=i,this[n(238)]=(0,It.normalizeToolbarConfig)(e[n(246)][n(265)](n(250))),this[n(260)]=new t.ElementReplacer}get[Po(234)](){const t=Po;return this[t(258)][t(234)]}[Po(242)](t){const e=Po,i=this[e(251)],n=this[e(258)],s=i[e(261)][e(258)],r=n[e(274)],o=s[e(257)][e(263)]();r[e(235)]=o[e(232)],n[e(270)]();const a=r[e(234)];this[e(236)](r[e(235)],a),n[e(274)][e(253)](e(233)).to(this[e(247)]),s[e(230)](a),this[e(260)][e(237)](t,this[e(234)]),this[e(264)](),this[e(239)](e(268))}[Po(262)](){const t=Po;super[t(262)]();const e=this[t(258)],i=this[t(251)][t(261)][t(258)];this[t(260)][t(269)](),i[t(266)](e[t(274)][t(235)]),e[t(262)]()}[Po(264)](){const t=Po,e=this[t(258)];e[t(272)][t(253)](t(254)).to(this[t(247)],t(233)),e[t(272)][t(241)]=e[t(234)],e[t(272)][t(253)](t(243)).to(this,t(267),({top:t})=>t),e[t(250)][t(252)](this[t(238)],this[t(249)]),this[t(273)](e[t(250)])}}var Ho=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Dt();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var qo=Bo;function $o(){var t=["832930iLAQep","35637QLajhf","toolbar","_editable","editable","render","7614211ZAWvld","471CLrePC","1414692pXmucd","shouldToolbarGroupWhenFull","552arOYDP","4516AzSfSz","top","501918rOJDIb","add","1921086MGUFys","main","5bwfUta","stickyPanel","1phcbHI","content"];return($o=function(){return t})()}function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=412]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(265313===parseInt(e(431))/1*(parseInt(e(425))/2)+parseInt(e(419))/3*(-parseInt(e(423))/4)+-parseInt(e(429))/5*(-parseInt(e(420))/6)+parseInt(e(413))/7*(parseInt(e(422))/8)+parseInt(e(427))/9+parseInt(e(412))/10+-parseInt(e(418))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[qo(415)];[qo(430)];[qo(414)];get[qo(416)](){return this[qo(415)]}constructor(t,e,i={}){var n=qo;super(t),this[n(430)]=new It.StickyPanelView(t),this[n(414)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(421)]}),this[n(415)]=new It.InlineEditableUIView(t,e)}[qo(417)](){var t=qo;super[t(417)](),this[t(430)][t(432)][t(426)](this[t(414)]),this[t(424)][t(426)](this[t(430)]),this[t(428)][t(426)](this[t(416)])}}const Jo=Go;function Go(t,e){const i=Xo();return(Go=function(t,e){return i[t-=334]})(t,e)}!function(t){const e=Go,i=t();for(;;)try{if(249004===-parseInt(e(337))/1*(-parseInt(e(348))/2)+-parseInt(e(336))/3+parseInt(e(357))/4+-parseInt(e(350))/5*(-parseInt(e(343))/6)+parseInt(e(355))/7+parseInt(e(346))/8+parseInt(e(358))/9*(-parseInt(e(342))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xo);class Ko extends((0,G.ElementApiMixin)(G.Editor)){[Jo(334)];get ui(){return this[Jo(334)]}constructor(t,e){const i=Jo;super(e),this[i(362)]=t,this[i(359)][i(361)][i(352)]();const n=new Yo(this[i(354)],this[i(339)][i(351)],{shouldToolbarGroupWhenFull:!0});this[i(334)]=new Uo(this,n)}[Jo(340)](){const t=Jo;return this[t(349)](),this.ui[t(340)](),super[t(340)]()}static async[Jo(360)](t,e){const i=Jo,n=new this(t,e);return await n[i(353)](),await n.ui[i(341)](t),await n[i(338)][i(341)](n[i(344)][i(347)](i(356))||""),n[i(335)](i(345)),n}}function Xo(){const t=["118023NvXfka","4722FNUkXE","data","editing","destroy","init","130UftMJN","728844mHOtLL","config","ready","1944336lwaAqd","get","102rEkBml","updateSourceElement","10voaJEl","view","createRoot","initPlugins","locale","2538396LRYFYP","initialData","488088IMJecm","639081AyPXGU","model","create","document","sourceElement","_ui","fire"];return(Xo=function(){return t})()}const Qo=ta;function ta(t,e){const i=na();return(ta=function(t,e){return i[t-=196]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(162125===-parseInt(e(325))/1+-parseInt(e(272))/2+-parseInt(e(227))/3*(parseInt(e(212))/4)+-parseInt(e(250))/5+parseInt(e(295))/6+-parseInt(e(297))/7+parseInt(e(270))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(na);const ea=[Qo(243),Qo(257)];class ia extends G.Plugin{[Qo(296)];static get[Qo(249)](){return Qo(301)}static get[Qo(299)](){return!0}static get[Qo(274)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(273)](t=>String[e(225)](t))[e(244)]("")}super(t),this[e(296)]=e(215),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(){const t=["get","adapter","init","toVersion","6652272giIGsW","isRevisionViewerOpen","159734eyZKar","map","isPremiumPlugin","RevisionHistory","create","revisionHistory","revisionHistory.viewerContainer","revisionHistory.editorContainer","_closeRevisionViewer","isOpen","editor","locale","getMarkersGroup","change","uiLanguage","push","catch","destroy","bind","changesNavigation","isAnonymous","selection","saveRevision","379806TyZAaj","result","1081031LGvqwX","refreshVisibility","isOfficialPlugin","style","RevisionViewerIntegration","Restored","from","RevisionsRepository","setSelection","getRevisionDocumentData","_recalculatePageBreaks","display","DocumentOutline","indexOf","loadRevisionData","isReady","Users","PaginationLookup","toJSON","addUser","save","none","isReadOnly","Annotations","model","requires","addRoot","enableReadOnlyMode","37957zTEeWY","name","showRevisionViewerCallback","remove","define","users","set","fromVersion","disableReadOnlyMode","refreshPositioning","revisionHistory.requireRevisionName","isAttached","createRangeIn","_getRevisionViewerEditorConfig","_showRevisionViewer","enqueueChange","_enhanceShowRevisionViewerCallback","RevisionHistoryUtils","restrictedEditingException","revisionHistory.showRevisionViewerCallback","long","Dialog","roots","getRevisions","has","detachRoot","restoreRevision","addRevisionData","DocumentOutlineUI","revisionHistory.restoreRevisionCallback","removeMarker","keys","Autosave","toLocaleDateString","repository","document","getUser","20BpQKbA","block","commands","end","markers","revision-history-missing-configuration","closeRevisionViewerCallback","includes","creator","_restoreRevision","getRevision","toLocaleTimeString","_cleanUp","fromCharCode","removeSelectionAttribute","140271rxjzbY","plugins","$graveyard","numeric","isEnabled","revisionHistory.closeRevisionViewerCallback","data","error","getAttributeKeys","_update","revision-history-viewer-opened","setAttribute","createdAt","toolbar","RevisionViewer","view","RevisionHistoryUI","join","hide","exitToEditing","parse","lazyRoots","pluginName","1133340RtKWZD","element","getRevisionRootsAttributes","update","rootName","then","config","RestrictedEditingMode","translations","RevisionTracker","getRoot","revisionHistory.viewerEditorElement","removeAttribute","_viewerEditor","_enhanceCloseRevisionViewerCallback","insert"];return(na=function(){return t})()}class sa extends G.Plugin{[Qo(263)];static get[Qo(249)](){return Qo(275)}static get[Qo(299)](){return!0}static get[Qo(274)](){return!0}static get[Qo(322)](){return[pt,Ht]}constructor(e){const i=Qo;if(super(e),!this[i(282)][i(256)][i(266)](i(277)))throw new t.CKEditorError(i(217),this);this[i(263)]=null,this[i(331)](i(271),!1),this[i(282)][i(256)][i(329)](i(344),t=>this[i(339)]({...t,translations:this[i(282)][i(283)][i(258)]})),this[i(282)][i(256)][i(329)](i(232),t=>this[i(280)](t)),this[i(282)][i(256)][i(329)](i(204),t=>this[i(221)](t)),this[i(282)][i(256)][i(329)](i(335),!1),this[i(341)](),this[i(264)]()}set[Qo(267)](t){const e=Qo;this[e(282)][e(228)][e(266)](e(259))[e(267)]=t}get[Qo(267)](){const t=Qo;return this[t(282)][t(228)][t(266)](t(259))[t(267)]}[Qo(202)](t){const e=Qo;return this[e(282)][e(228)][e(266)](e(259))[e(202)](t)}[Qo(222)](t){const e=Qo;return this[e(282)][e(228)][e(266)](e(304))[e(222)](t)}[Qo(198)](t){const e=Qo;return this[e(282)][e(228)][e(266)](e(304))[e(198)](t||{toJSON:!1})}[Qo(338)](){const e=Qo,i=this[e(282)],n=(0,K.sanitizeEditorConfig)(i,ea),s=i[e(228)][e(266)](e(259)),r=i[e(228)][e(266)](e(313))[e(330)];return n[e(240)]=[e(246),e(201),e(291)],delete n[e(248)],n[e(228)][e(287)](ia,ue,Ne,class extends G.Plugin{static get[e(322)](){return[ue,e(313)]}[e(268)](){const n=e,o=this[n(282)][n(228)][n(266)](n(313));for(const t of r)t[n(292)]||o[n(211)](t.id)||o[n(316)](t);const a=s[n(209)][n(198)]();let c=null;const u=this[n(282)][n(228)][n(266)](n(241));u[n(267)]=s[n(267)],u[n(290)](n(231)).to(s),this[n(282)][n(214)][n(266)](n(201))[n(290)](n(231)).to(i,n(319),t=>!t);for(const e of a){const i=null===e[n(220)];if(i&&e[n(269)]===e[n(332)])continue;const r=e[n(315)]();u[n(202)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(236)](r,o);else if(!o){const e=a[u(315)]();e.id=(0,t.uid)(),s[u(294)](e,a[u(269)])[u(255)](t=>{c=t})}}else e[u(236)](r,o)})}}},jo),n}[Qo(341)](){const t=Qo,e=this[t(282)][t(256)][t(266)](t(277))[t(327)];this[t(282)][t(256)][t(331)](t(344),async()=>{const i=t;this[i(282)][i(324)](i(237));const n=this[i(282)][i(228)][i(266)](i(259));if(this[i(282)][i(228)][i(199)](i(207))){const t=this[i(282)][i(228)][i(266)](i(207));await t[i(317)]()}else await n[i(253)]();if(this[i(282)][i(228)][i(199)](i(314))&&this[i(282)][i(228)][i(266)](i(314))[i(307)](),this[i(282)][i(228)][i(199)](i(196))){const t=this[i(282)][i(228)][i(266)](i(196));t[i(281)]&&t[i(245)]()}const s=this[i(338)]();return e(s)[i(255)](t=>{const e=i;return this[e(263)]=t,this[e(282)][e(228)][e(199)](e(320))&&this[e(282)][e(228)][e(266)](e(320))[e(298)](),this[e(282)][e(228)][e(199)](e(309))&&(this[e(282)][e(228)][e(266)](e(203))[e(242)][e(251)][e(300)][e(308)]=e(318)),t})[i(288)](t=>(console[i(234)](t),this[i(282)][i(333)](i(237)),null))})}[Qo(264)](){const t=Qo,e=this[t(282)][t(256)][t(266)](t(277))[t(218)];this[t(282)][t(256)][t(331)](t(232),()=>(this[t(282)][t(228)][t(199)](t(314))&&this[t(282)][t(228)][t(266)](t(314))[t(307)](),this[t(282)][t(228)][t(199)](t(309))&&(this[t(282)][t(228)][t(266)](t(203))[t(242)][t(251)][t(300)][t(308)]=""),this[t(263)][t(228)][t(266)](t(241))[t(224)](),e(this[t(263)])[t(255)](()=>{const e=t;if(this[e(282)][e(333)](e(237)),this[e(263)]=null,this[e(282)][e(228)][e(199)](e(320))){const t=this[e(282)][e(228)][e(266)](e(320));t[e(298)](),t[e(334)]()}})))}[Qo(339)](t){const e=Qo,i=this[e(282)][e(256)][e(266)](e(279)),n=this[e(282)][e(256)][e(266)](e(278)),s=this[e(282)][e(256)][e(266)](e(261));return Ko[e(276)](s,t)[e(255)](t=>(n[e(300)][e(308)]=e(213),i[e(300)][e(308)]=e(318),this[e(271)]=!0,t))}[Qo(280)](t){const e=Qo,i=this[e(282)][e(256)][e(266)](e(279));return this[e(282)][e(256)][e(266)](e(278))[e(300)][e(308)]=e(318),i[e(300)][e(308)]="",this[e(271)]=!1,t[e(289)]()}async[Qo(221)](t){const e=Qo,i=this[e(282)],n=this[e(263)][e(228)][e(266)](e(241)),s=i[e(228)][e(266)](e(259)),r=i[e(228)][e(266)](e(342)),o=n[e(209)][e(222)](t);let a,c,u;try{await r[e(311)](o,this[e(267)]),a=r[e(306)](o),c=r[e(252)](o)}catch(t){return void console[e(234)](t)}i[e(321)][e(285)](t=>{const n=e;for(const e of Array[n(303)](i[n(321)][n(216)][n(284)](n(343))))t[n(205)](e)}),n[e(312)]=!1,i[e(321)][e(340)](t=>{const n=e;t[n(305)](null),t[n(226)](i[n(321)][n(210)][n(293)][n(235)]());const s=Object[n(206)](a);for(const e of i[n(321)][n(210)][n(197)])n(229)!=e[n(254)]&&e[n(336)]()&&!s[n(219)](e[n(254)])&&t[n(200)](e);for(const e of s){let s=i[n(321)][n(210)][n(260)](e);s&&s[n(336)]()||(s=t[n(323)](e));const r=c[e],o=Object[n(206)](r),u=a[e];for(const e of s[n(235)]())o[n(219)](e)||t[n(262)](e,s);for(const i of o)t[n(238)](i,c[e][i],s);t[n(328)](t[n(337)](s)),t[n(265)](i[n(233)][n(247)](u,s),s,0)}});const l=at(i[e(283)],e(302));return u=o[e(326)]?-1==o[e(326)][e(310)](l)?l+": "+o[e(326)]:o[e(326)]:l+": "+o[e(239)][e(208)](i[e(283)][e(286)],{month:e(345),day:e(230)})+", "+o[e(239)][e(223)](i[e(283)][e(286)],{hour:e(230),minute:e(230)}),await s[e(294)]({name:u}),n[e(312)]=!0,i[e(256)][e(266)](e(277))[e(218)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=392]})(t,e)}function oa(){var t=["708141kiTKyt","261038oLWibQ","8FZpHkh","800853xodYZj","2124477KakpYp","1120iVUPSu","14832CEenEL","2UHRAcH","90jmBdXa","62722BqssRJ","73680MqHqkE"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(271601===-parseInt(e(392))/1+-parseInt(e(398))/2*(parseInt(e(394))/3)+-parseInt(e(401))/4+-parseInt(e(399))/5*(-parseInt(e(397))/6)+-parseInt(e(402))/7+parseInt(e(393))/8*(parseInt(e(395))/9)+parseInt(e(396))/10*(parseInt(e(400))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|