@ckeditor/ckeditor5-revision-history 46.0.1-alpha.1 → 46.0.1-alpha.11
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.css +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
- package/theme/revisionssidebar/revisionssidebarheader.css +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 s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-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 s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},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 s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},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 s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},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,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},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 s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>he,Revision:()=>Y,RevisionHistory:()=>na,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>nt,RevisionTracker:()=>vt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Fo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",x="[object Float64Array]";function N(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=N(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,N(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(N(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=N(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),T(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),T(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),T(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,T(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),T(e,t,i,s,R),e}return t}function T(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=N(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return N(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return T(e,t),e}case u:{const e={};return T(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function A(t){return R(t)}function M(t){return"__proto__"===t}function E(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&E(s,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const L=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function F(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)||!L.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function U(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function W(t,e,i){return function(t,e,i,s){if(null==t&&!z(t))return t;const n=F(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?U(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=P(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[e+1])?[]:{}}V(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function 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 s=t[e];return void 0===s?H(e)?Z(t,U(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}function $(t,e){const i=J();return($=function(t,e){return i[t-=177]})(t,e)}const B=$;!function(t){const e=$,i=t();for(;;)try{if(158121===-parseInt(e(179))/1+parseInt(e(186))/2+parseInt(e(202))/3+parseInt(e(178))/4*(parseInt(e(182))/5)+parseInt(e(193))/6*(parseInt(e(181))/7)+-parseInt(e(199))/8+-parseInt(e(195))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class Y extends((0,t.ObservableMixin)()){id;[B(200)];[B(180)];[B(177)];[B(188)];[B(192)];[B(204)];constructor(e){const i=B;super(),this.id=e.id||(0,t.uid)(),this[i(200)]=e[i(200)]||null,this[i(180)]=e[i(180)]||[],this[i(177)]=e[i(177)]||null,this[i(188)]=e[i(188)]||0,this[i(192)]=e[i(192)]||0,this[i(194)](i(201),e[i(201)]||""),this[i(194)](i(183),e[i(183)]||new Date),this[i(194)](i(191),e[i(191)]||{})}[B(203)](t){this[B(187)]({name:t})}[B(189)](t,e){const i=B,s=A(this[i(191)]);W(s,t,e),this[i(187)]({attributes:s})}[B(198)](t){const e=B,i=A(this[e(191)]);(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,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(187)]({attributes:i})}[B(187)](t,e=!1){const i=B;let s=!1;const n={id:this.id},r=[i(201),i(183),i(177),i(180),i(191),i(188),i(192),i(190)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(180)]&&(n[i(184)]=n[i(180)][i(185)](t=>t.id),delete n[i(180)]),this[i(197)](i(187),n,e))}[B(196)](){const t=B;return{id:this.id,name:this[t(201)],creatorId:this[t(200)]?this[t(200)].id:null,authorsIds:this[t(180)][t(185)](t=>t.id),diffData:this[t(177)],createdAt:this[t(183)],attributes:this[t(191)],fromVersion:this[t(192)],toVersion:this[t(188)]}}}function J(){const t=["map","418544dVhlCP","_update","toVersion","setAttribute","creatorId","attributes","fromVersion","9030LvPBAr","set","1346499NnvKrI","toJSON","fire","removeAttribute","567600KLXANm","creator","name","831162puoyIy","setName","model","diffData","9236SKjqpX","277008PeHBdY","authors","777ZJtGzx","5lUqsSJ","createdAt","authorsIds"];return(J=function(){return t})()}var G=i(782),K=i(211),X=i(783);const Q=et;function tt(){const t=["10087dsjmhK","getRevisionsInDiff","toJSON","join","812UWgpEN","839241CKCuYp","isOfficialPlugin","push","pluginName","name","from","reverse","get","RevisionsRepository","getRevisions","5830350iJHMbU","diffData","data","earlier","_revisions","fromCharCode","1257210vWKHUX","getRevision","map","toVersion","newRevisionId","getRevisionsIterator","addRevision","55768BbdPBC","requires","Users","getUser","33tsKysE","afterInit","createRevision","authorsIds","120AaAZJr","editor","oldRevisionId","getEarlierVisibleRevision","fromVersion","attributes","creatorId","124fuVlZg","getLaterVisibleRevision","later","href","createdAt","add","194272DUrfEw","isPremiumPlugin","isNaN","5464540NPyBeh","plugins","getIndex","length"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=497]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(749894===-parseInt(e(505))/1*(-parseInt(e(548))/2)+-parseInt(e(526))/3+parseInt(e(498))/4*(-parseInt(e(541))/5)+parseInt(e(520))/6+-parseInt(e(509))/7*(parseInt(e(533))/8)+-parseInt(e(510))/9+-parseInt(e(501))/10*(-parseInt(e(537))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[Q(524)];static get[Q(534)](){return[K.Users]}static get[Q(513)](){return Q(518)}static get[Q(511)](){return!0}static get[Q(499)](){return!0}get[Q(504)](){const t=Q;return this[t(524)][t(504)]}constructor(e){const i=Q;super(e),this[i(524)]=new t.Collection}[Q(538)](){!async function(e){const i=k([87,80,113,56,88,49,85,89,104,90,103,83,72,112,111,114,82,119,122,71,110,55,86,76,117,51,109,54,120,116,52,81,97,100,101,67,78,105,73,74,108,106,121,68,50,66,98,115,53,69,118,99,84,102,65,75,107,48,77,57,79,70]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=et;for(const e in window)if(window[k([78,117,109,98,101,114])][i(500)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([87]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=et;return t[e(528)](t=>String[e(525)](t))[e(508)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:175392e4;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=et,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(551)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>n[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[Q(539)](t){const e=Q,i=this[e(542)][e(502)][e(517)](e(535));return new Y({id:t.id,name:t[e(514)],creator:t[e(547)]?i[e(536)](t[e(547)]):null,diffData:t[e(521)]||t[e(522)],authors:t[e(540)][e(528)](t=>i[e(536)](t)),createdAt:new Date(t[e(552)]),attributes:t[e(546)],fromVersion:t[e(545)],toVersion:t[e(529)]})}[Q(532)](t,e=0){const i=Q;this[i(524)][i(497)](t,e)}[Q(527)](t){const e=Q;return this[e(524)][e(517)](t)}[Q(519)](t={toJSON:!1}){const e=Q,i=Array[e(515)](this[e(524)]);return i[e(516)](),t[e(507)]?i[e(528)](t=>t[e(507)]()):i}[Q(503)](t){const e=Q;return this[e(524)][e(503)](t)}[Q(544)](t){const e=Q,[,i]=this[e(531)](t,{direction:e(523)});return i}[Q(549)](t){const e=Q,[,i]=this[e(531)](t,{direction:e(550)});return i}[Q(506)](t){const e=Q,i=[];for(const s of this[e(531)](t[e(530)]))if(i[e(512)](s),s.id===t[e(543)])break;return i}*[Q(531)](t,{direction:e=Q(523),filter:i=()=>!0}={}){const s=Q,n=s(523)===e?1:-1;let r=this[s(524)][s(517)](t),o=this[s(503)](r);for(yield r;r;){if(o+=n,r=this[s(527)](o),!r)return;i(r)&&(yield r)}}}const st=rt;!function(t){const e=rt,i=t();for(;;)try{if(380276===parseInt(e(523))/1*(parseInt(e(522))/2)+parseInt(e(510))/3*(-parseInt(e(487))/4)+-parseInt(e(459))/5+-parseInt(e(485))/6+parseInt(e(462))/7+-parseInt(e(496))/8+-parseInt(e(503))/9*(-parseInt(e(495))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class nt extends G.Plugin{static get[st(501)](){return st(473)}static get[st(491)](){return!0}static get[st(482)](){return!0}[st(453)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(458)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(477)](t,e){const i=st;if(t[i(520)]||!e)return;const s=this[i(471)][i(517)][i(502)](i(490)),n=await e[i(474)]({channelId:s,revisionId:t.id});t[i(520)]=n[i(520)]}[st(480)](t){const e=st,i={};for(const s in t[e(520)]){if(t[e(520)][s][e(455)]&&!t[e(520)][s][e(455)][e(492)])continue;const n=this[e(516)](JSON[e(512)](t[e(520)][s][e(454)])),r=this[e(471)][e(506)][e(507)][e(460)],o=new X.ViewDocumentFragment(r,n[e(494)](t=>this[e(457)](t,!1)));this[e(471)][e(500)][e(514)][e(509)](e(456)),i[s]=this[e(471)][e(500)][e(514)][e(504)](o),this[e(471)][e(500)][e(514)][e(509)](e(484))}return i}[st(508)](t){const e=st,i={};for(const s in t[e(520)])t[e(520)][s][e(455)]&&!t[e(520)][s][e(455)][e(492)]||(i[s]=t[e(520)][s][e(489)]||{});return i}[st(519)](t){const e=st;return this[e(453)][e(502)](t[e(524)])}[st(457)](t,e){const i=st,s=this[i(471)][i(506)][i(507)][i(460)];if(i(470)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(498)]||"r"==t[i(498)]?[]:t[i(461)][i(494)](t=>this[i(457)](t,e));const o=this[i(458)][i(502)](t[i(498)])||X.ViewElement,a=this[i(471)][i(500)][i(483)][i(467)];if(n=new o(s,t[i(499)],t[i(476)],r),"u"==t[i(498)]&&t[i(461)][0]){const r=t[i(461)][0];if(n[i(511)]=function(t){const e=i,s=t[e(486)](e(465));return s[e(478)]=r,s[e(466)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(515)](n);const e=Array[i(521)](a[i(479)](t,{bind:!1})),r=a[i(463)][i(486)](i(465));r[i(475)](...e),n=Array[i(521)](a[i(472)](r))[0]}}else if("r"==t[i(498)]&&t[i(461)][0]){const r=t[i(461)][0];if(n[i(511)]=function(t){t[i(478)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(515)](n);const e=Array[i(521)](a[i(479)](t,{bind:!1})),r=a[i(463)][i(486)](i(465));r[i(475)](...e);const o=Array[i(521)](a[i(472)](r));o[i(493)]>1?n[i(515)](o):n=o[0]}}if(t[i(488)])for(const[e,s]of t[i(488)])n[i(497)](e,s);const c=void 0===t[i(451)]?null:t[i(451)];return null!==c&&(n[i(513)]=()=>c),n}}[st(518)](t){const e=st,i=JSON[e(512)](t),s=this[e(471)][e(506)][e(507)][e(460)],n=new X.ViewDocumentFragment(s,i[e(494)](t=>this[e(457)](t,!0)));return this[e(471)][e(500)][e(525)](n)}[st(516)](t){const e=st;return(t=t[e(469)](t=>!t[e(499)]||e(464)!==t[e(499)]&&e(452)!==t[e(499)]))[e(468)](t=>{const i=e;i(470)!=typeof t&&(t[i(461)]=this[i(516)](t[i(461)]),t[i(476)]=t[i(476)][i(469)](t=>!t[0][i(481)](i(505))))}),t}}function rt(t,e){const i=ot();return(rt=function(t,e){return i[t-=451]})(t,e)}function ot(){const t=["attributes","loadRevisionData","innerHTML","viewChildrenToDom","getRevisionDocumentData","startsWith","isPremiumPlugin","htmlProcessor","default","2519022UjCfmP","createElement","881556YOxosE","customProperties","attributesAfter","collaboration.channelId","isOfficialPlugin","isAttached","length","map","10vgGQkX","3099848PvpaHN","_setCustomProperty","type","name","data","pluginName","get","18387315UMeLwz","toData","data-revision-","editing","view","getRevisionRootsAttributes","useFillerType","6oMEXgr","render","parse","getFillerOffset","processor","_appendChild","_removeRevisionMarkers","config","_makeModelFromViewString","_getTypeCharForViewElement","diffData","from","48594SCAQEf","2JqVqyX","constructor","toModel","fillerOffset","revision-end","_viewClassToTypeChar","insertions","attachChange","marked","_getViewFromDiffObj","_typeCharToViewClass","2439755LoNiYe","document","children","172858tXIVKZ","domDocument","revision-start","div","childNodes","domConverter","forEach","filter","string","editor","domChildrenToView","RevisionHistoryUtils","getRevision","append"];return(ot=function(){return t})()}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,N){if(Object.is(t,i))return!0;let T=n(t),R=n(i);if(T===u&&(T=v),R===u&&(R=v),T!==R)return!1;switch(T){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 A=(s=s??new Map).get(t),M=s.get(i);if(null!=A&&null!=M)return A===i;s.set(t,i),s.set(i,t);try{switch(T){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,N))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,N));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,N))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),s,N);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(new Uint8Array(t),new Uint8Array(i),s,N);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,N)||ct(t)&&ct(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,s,N))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=pt;function mt(){const t=["Initial revision","_revisionId","_clone","getOperation","getRange","2727846AZLycK","define","_makeIdsRoot","baseVersion","document","roots","finally","_bufferedUpdates","editor","_cloneOperation","children","RevisionsRepository","editor-initial-data-replaced-with-revision-data","_transformMarkers","usageLimit","_applyOperations","includes","filter","set","end","setRevisionData","item","createPositionFromPath","root","830211CNfYpo","collaboration.channelId","reInit","_getBaseVids","stickiness","revisionHistoryLicenseKeyNotAllowed","expired","_utils","_update","RealTimeCollaborationClient","_revisionDataBuilder","getChild","_continueCurrentRevision","pluginName","_getViewJson","_setConversion","_baseRootsAttributes","plugins","NEGATIVE_INFINITY","getData","deletion","_createInitialRevision","_isPendingUpdate","destroy","getAttribute","Empty document","newValue","toVersion","_getVidAttributeName","revision","_authorId","_handleMergeOperation","_getPreviousFrom","model","getNodeByPath","_markers","_setAttribute","bind","getCurrentRevisionId","invalid","vid_start","_generateTape","getIndex","elementStart","_idsRoots","PendingActions","source","createPositionAt","offset","addRevision","offsetSize","_insertChild","name","insert","isPremiumPlugin","clear","getFillerOffset","attributesBefore","then","PENDING_ACTION_REVISION_HISTORY","RevisionTracker","buildRevisionData","previousPosition","loadState","revisionHistoryLicenseKeyValid","conversion","detachRoot","_baseIdsRoots","createElement","userId","_fixRange","_removePendingAction","$graveyard","ready","_bufferUpdate","_calculateMetaData","Users","dataToMarker","documentFragment","sourcePosition","getRoot","targetPosition","sendBufferedUpdates","getLatestVersion","createdAt","_fixPosition","updateRevisions","RevisionHistory","createPositionBefore","_pendingAction","graveyardPosition","get","outerHTML","htmlProcessor","removeRootAttribute","_initialRevisionId","getRevision","licenseKey","key","_isAttached","trialLimit","from","_replaceEditorDataWithRevisionData","getChildren","remove","rootsAttributes","isReady","_handleOperation","start","splitPosition","merge","_touchedRoots","size","_touched","affectsData","text","_reset","isEqual","_lastTo","_saveMetaData","_makeModelFromViewString","update","871783DwOYOq","paragraph","resolve","_prepareViewToSave","createRevision","oldRange","revisionHistoryLicenseKeyExpired","_startingRevisionId","afterInit","isAdd","_getTypeCharForViewElement","5jaASaH","initialData","insertion","nodeAfter","evaluationLimit","fromEntries","_markChanges","_isInit","string","_removeMetaData","clone","delete","fromVersion","_fixOperation","find","getCustomProperties","_loadState","length","history","range","markerToData","_handleRootAttributeOperation","stringify","_createFromRanges","3065092xusRLH","_baseRoots","isEnabled","getOperations","config","adapter","creatorId","_diffRootsAttributes","_handleSplitOperation","getMovedRangeStart","element","_source","revisionHistoryLicenseKeyEvaluationLimit","1083046jwCIVe","revisionHistoryLicenseKeyUsageLimit","getTime","getWalker","_operations","170vlLQTI","_loadedStateData","marker","_getState","getRevisions","_processRootBeforeSave","isAttached","attributesAfter","childCount","slice","_addPendingAction","diffData","newRange","locale","featureNotAllowed","1kOgSGV","_diffRoots","toView","hasContent","requires","_showLicenseError","fillerOffset","$comment","tableCell","version","values","_startingVersion","isOfficialPlugin","_makeRevision","has","getRevisionRootsAttributes","6BKtKKN","getAncestors","createPositionAfter","revisionHistoryLicenseKeyInvalid","type","_appendChild","elementEnd","some","_handleInsertOperation","authorsIds","keys","_touchedMarkers","nodes","repository","keepParagraph","addRoot","_handleRootOperation","domDocument","uiElement","reinsert","render","add","_handleMoveOperation","getRootNames","revisionHistoryLicenseKeyDomainLimit","vid","insertionPosition","max","domainLimit","position","creator","howMany","authors","_getFromVersion","2951280gtKJme","upcast","push","saveRevision","domConverter","shift","setSource","_createCurrentRevision","_handleMarkerOperation","init","_copyMarkers","insertions","parent","getRevisionDocumentData","revisionHistory.resumeUnsavedRevision","currentRevision","changeRootAttribute","map","_licenseKeyCheckInterval","deletions","move","for","$text","getUser","innerHTML","_lastFrom","rootName","addRevisionData","trim","customProperties","initial","data","addRootAttribute","_savedMetaData","startsWith","sort","createRange","1339779BidaXI","dataDowncast","attachChange","getAttributes","markers","_execute","path","revision:","_findInsertionIndex","createRangeIn","vid_end","split","getTransformedByOperation","rawElement","RevisionHistoryUtils","loadRevisionData","revisionHistoryLicenseKeyTrialLimit","reverse"];return(mt=function(){return t})()}function pt(t,e){const i=mt();return(pt=function(t,e){return i[t-=294]})(t,e)}!function(t){const e=pt,i=t();for(;;)try{if(431913===parseInt(e(365))/1*(-parseInt(e(345))/2)+-parseInt(e(499))/3+-parseInt(e(332))/4*(-parseInt(e(308))/5)+parseInt(e(381))/6*(-parseInt(e(452))/7)+-parseInt(e(415))/8+-parseInt(e(475))/9+-parseInt(e(350))/10*(-parseInt(e(297))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class vt extends G.Plugin{[ft(596)];[ft(433)];[ft(430)]=null;[ft(394)];[ft(337)]=null;[ft(509)];[ft(343)];[ft(594)];[ft(482)];[ft(506)];[ft(588)];[ft(511)];[ft(376)];[ft(351)];static get[ft(512)](){return ft(559)}static get[ft(377)](){return!0}static get[ft(553)](){return!0}static get[ft(369)](){return[K.Users,it,nt,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(394)]=this[i(483)][i(516)][i(590)](i(486)),this[i(506)]=this[i(483)][i(516)][i(590)](i(466)),this[i(509)]=new gt(this[i(483)]),this[i(594)]=this[i(483)][i(336)][i(590)](i(500))||i(445),this[i(482)]=new Map,this[i(351)]=null;const s=(0,t.uid)();this[i(343)]={history:this[i(483)][i(532)][i(479)][i(326)],getLatestVersion:()=>Promise[i(299)](this[i(483)][i(532)][i(479)][i(374)]),getCurrentRevisionId:()=>s},this[i(493)](i(605),!1),this[i(493)](i(334),!0),this[i(493)](i(521),!1),this[i(483)][i(336)][i(476)](i(429),!0),this[i(483)][i(564)][i(436)](i(416))[i(576)]({view:i(528)})}[ft(424)](){const t=ft;this[t(514)](),this[t(483)][t(446)].on(t(572),()=>{const e=t,i=this[e(394)][e(595)](0),s=i&&null===i[e(411)]?i:null;if(this[e(511)]=!!s&&this[e(483)][e(336)][e(590)](e(429)),this[e(483)][e(516)][e(379)](e(508))){const t=this[e(343)][e(537)](),n=this[e(394)][e(595)](t);if(n)this[e(376)]=n[e(320)],this[e(511)]=!1;else{const t=this[e(343)][e(326)][e(349)][e(322)](t=>!t[e(315)]),n=t?t[e(478)]:this[e(343)][e(326)][e(374)];i?(i[e(526)]<n&&i[e(507)]({toVersion:n}),this[e(511)]?(this[e(343)][e(537)]=()=>s.id,this[e(376)]=s[e(320)]):(this[e(376)]=i[e(526)],this[e(511)]=!1)):(this[e(376)]=n,this[e(511)]=!1)}}else s&&(this[e(483)][e(532)][e(479)][e(326)][e(374)]=Math[e(408)](s[e(526)],this[e(483)][e(532)][e(479)][e(326)][e(374)]),s[e(320)]===s[e(526)]?(0!==s[e(320)]&&(this[e(343)][e(537)]=()=>s.id),this[e(511)]=!1):this[e(511)]&&(this[e(343)][e(537)]=()=>s.id,this[e(376)]=s[e(320)])),this[e(511)]||(this[e(376)]=this[e(483)][e(532)][e(479)][e(374)]);this[e(509)][e(424)](this[e(343)][e(326)]),this[e(520)](this[e(376)]),this[e(422)](this[e(376)]),this[e(337)]&&this[e(581)]()}),this[t(536)](t(605)).to(this,t(521),t=>!t),this[t(596)]=this[t(483)][t(336)][t(590)](t(596));const e=this[t(483)];this[t(433)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(563)==r||i(384)==r||i(303)==r||i(405)==r||i(504)==r||i(344)==r||i(468)==r||i(346)==r){delete e[n],s=r,clearInterval(this[i(433)]),this[i(433)]=void 0;break}}i(384)==s&&e[i(370)](i(538)),i(303)==s&&e[i(370)](i(505)),i(405)==s&&e[i(370)](i(409)),i(504)==s&&e[i(370)](i(364),i(586)),i(344)==s&&e[i(370)](i(312)),i(468)==s&&e[i(370)](i(599)),i(346)==s&&e[i(370)](i(489))},1e3)}async[ft(305)](){const t=ft;if(this[t(394)][t(325)]>0){const e=this[t(394)][t(595)](0),i=await this[t(428)](e),s=await this[t(380)](e);this[t(601)](i,s)}}[ft(522)](){const t=ft;super[t(522)](),this[t(433)]&&clearInterval(this[t(433)])}[ft(421)](t){this[ft(343)]=t}async[ft(296)](){const t=ft,e=await this[t(343)][t(582)]();if(e>this[t(430)][t(526)]){await this[t(324)]();const i=this[t(560)]({revision:this[t(430)],to:e});i[t(413)]=i[t(390)][t(432)](e=>this[t(483)][t(516)][t(590)](t(575))[t(438)](e)),this[t(430)][t(507)](i)}}async[ft(418)](e={},i=null){const s=ft,n=[];await this[s(324)](),this[s(511)]=!1,i>this[s(430)][s(526)]&&(i=null),null===i&&(i=await this[s(343)][s(582)]());const r=this[s(414)](i),o=this[s(560)]({from:r,to:i});if(this[s(430)][s(526)]<i){const t=this[s(560)]({revision:this[s(430)],from:i,to:i});t[s(413)]=[],t[s(390)]=[],t.id=this[s(430)].id,this[s(430)][s(507)](t,!0),delete t[s(413)],n[s(417)](t)}e[s(338)]=this[s(483)][s(516)][s(590)](s(575)).me.id,e[s(551)]=e[s(551)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(442)](e);n[s(417)](e);const c=this[s(394)][s(541)](a);if(0!==c){const t=this[s(394)][s(595)](c-1);if(t[s(320)]!==i){const r=this[s(509)][s(518)](i,t[s(526)]),o={id:t.id,diffData:r[s(361)],authorsIds:r[s(390)],authors:r[s(390)][s(432)](t=>this[s(483)][s(516)][s(590)](s(575))[s(438)](t)),fromVersion:i};t===this[s(430)]&&(o[s(583)]=new Date(e[s(583)][s(347)]()+10)),t[s(507)](o,!0),delete o[s(413)],n[s(417)](o)}}if(this[s(337)]){for(const t of n)this[s(573)](t.id,t,!0);this[s(581)]()}return a}[ft(442)](t){const e=ft,i=this[e(394)][e(301)](t);return this[e(337)]&&i.on(e(507),(t,i,s)=>{const n=e;s||(this[n(573)](i.id,i,!0),this[n(581)]())}),this[e(394)][e(548)](i,this[e(460)](i)),i}async[ft(428)](t){const e=ft;return await this[e(506)][e(467)](t,this[e(337)]),this[e(506)][e(428)](t)}async[ft(380)](t){const e=ft;return await this[e(506)][e(467)](t,this[e(337)]),this[e(506)][e(380)](t)}[ft(581)](){const t=ft;if(0===this[t(482)][t(611)])return;if(this[t(521)])return;let e=Array[t(600)](this[t(482)][t(375)]());this[t(482)][t(554)]();for(let i=0;i<e[t(325)];i++){const s=e[i];let n=!1;for(const e of Object[t(391)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(492)](t=>null!==t),!e[t(325)])return;for(let i=0;i<e[t(325)];i++){const s=e[i];void 0!==s[t(320)]&&void 0===s[t(526)]&&(s[t(526)]=this[t(394)][t(595)](s.id)[t(526)]),void 0!==s[t(526)]&&void 0===s[t(320)]&&(s[t(320)]=this[t(394)][t(595)](s.id)[t(320)])}const i=this[t(483)][t(336)][t(590)](t(500));this[t(521)]=!0,this[t(360)](),this[t(337)][t(585)](e,i)[t(481)](()=>{this[t(521)]=!1})[t(557)](e=>{const i=t;if(e)for(const t of e)this[i(495)]({id:t.id,createdAt:t[i(583)]});this[i(570)](),this[i(581)]()})}[ft(560)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(320)],i=null!==i?i:t[s(526)];const n=this[s(509)][s(518)](e,i),r={diffData:n[s(361)],authorsIds:n[s(390)],fromVersion:e,toVersion:i};if(!t||i!==t[s(526)]){const t=i-1,e=this[s(343)][s(326)][s(473)](t);r[s(583)]=e&&e[s(583)]||new Date}if(this[s(351)]&&e===this[s(351)][s(320)])for(const t of this[s(351)][s(413)])r[s(390)][s(491)](t.id)||r[s(390)][s(417)](t.id);return r}[ft(573)](t,e,i){const s=ft;if(this[s(482)][s(379)](t)){const n=this[s(482)][s(590)](t);e=i?{...n,...e}:{...e,...n}}this[s(482)][s(493)](t,e)}[ft(495)](t){const e=ft,i=this[e(394)][e(595)](t.id);if(t[e(583)]&&(t[e(583)]=new Date(t[e(583)])),t[e(390)]){const i=this[e(483)][e(516)][e(590)](e(575));t[e(413)]=t[e(390)][e(432)](t=>i[e(438)](t))}i[e(507)](t,!0)}[ft(520)](t){const e=ft,i=this[e(394)][e(595)](this[e(394)][e(325)]-1);if(i)this[e(594)]=i.id;else{const i=!this[e(483)][e(532)][e(479)][e(480)][e(322)](t=>this[e(483)][e(532)][e(368)](t)),s=this[e(483)][e(516)][e(590)](e(575)).me.id,n=at(this[e(483)][e(363)],e(i?524:470));this[e(378)]({from:t,to:t,id:this[e(594)],name:n,creatorId:s})}}[ft(422)](t){const e=ft,i=this[e(343)][e(537)]();this[e(430)]=this[e(394)][e(595)](i),this[e(430)]||(this[e(430)]=this[e(378)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(324)](){const t=ft;this[t(511)]&&!this[t(351)]&&(await this[t(506)][t(467)](this[t(430)],this[t(337)]),this[t(509)][t(562)](this[t(430)]),this[t(351)]={fromVersion:this[t(430)][t(320)],authors:this[t(430)][t(413)][t(359)]()})}[ft(601)](e,i){const s=ft;let n=this[s(483)][s(336)][s(590)](s(309)),r=this[s(483)][s(336)][s(590)](s(604));if(void 0===n){n={};for(const t of this[s(483)][s(532)][s(479)][s(404)]())n[t]=""}if(s(316)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(483)][s(532)][s(479)][s(404)]())r[t]={}}let o=!1;const a=Object[s(391)](n),c=Object[s(391)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(443)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(391)](r[t])[s(325)]>0){o=!0;break}}o||(o=c[s(388)](t=>!this[s(483)][s(532)][s(479)][s(579)](t))),o&&(0,t.logWarning)(s(487),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(483)][s(336)][s(493)](s(309),e),this[s(483)][s(336)][s(493)](s(604),i)}[ft(360)](){const t=ft;if(!this[t(588)]){const e=this[t(483)][t(516)][t(590)](t(544));this[t(588)]=e[t(402)](at(this[t(483)][t(363)],t(558)))}}[ft(570)](){const t=ft;this[t(588)]&&(this[t(483)][t(516)][t(590)](t(544))[t(603)](this[t(588)]),this[t(588)]=null)}[ft(460)](t){const e=ft,i=this[e(394)][e(354)]();i[e(469)]();let s=0;for(;s<i[e(325)];){const n=i[s];if(n===this[e(430)]){s++;continue}if(n.id===this[e(594)])break;const r=t[e(526)]-n[e(526)]||t[e(320)]-n[e(320)];if(r>0)break;if(r<0)s++;else{if(!t[e(411)]&&n[e(411)])break;if(n[e(411)]||!t[e(411)]){if(t[e(583)]>n[e(583)])break;s++}else s++}}return s}[ft(414)](t){const e=ft,i=this[e(394)][e(354)]();i[e(469)](),i[e(420)]();const s=i[e(322)](i=>i[e(526)]<=t)[e(526)];return s<this[e(376)]?this[e(376)]:s}[ft(378)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(560)]({from:e,to:i});o[r(551)]=t,o[r(338)]=s,o.id=n;const a=this[r(442)](o);return this[r(337)]&&this[r(573)](o.id,o,!0),a}[ft(514)](){const t=ft;this[t(483)][t(564)][t(436)](t(453))[t(328)]({model:t(528)})}}class gt{[ft(483)];[ft(545)];[ft(448)];[ft(440)];[ft(617)];[ft(534)];[ft(366)];[ft(339)];[ft(333)];[ft(515)];[ft(543)];[ft(566)];[ft(612)];[ft(392)];[ft(610)];[ft(471)];[ft(304)];constructor(t){const e=ft;this[e(483)]=t,this[e(448)]=new Map,this[e(440)]=-1,this[e(617)]=-1,this[e(534)]=new Map,this[e(366)]=new Map,this[e(339)]=new Map,this[e(333)]=new Map,this[e(515)]=new Map,this[e(543)]=new Map,this[e(566)]=new Map,this[e(612)]=new Map,this[e(392)]=new Map,this[e(610)]=new Map,this[e(471)]=1}[ft(424)](t){const e=ft;this[e(545)]=t;const i=new Map,s=new Map,n=this[e(483)][e(532)][e(479)][e(480)][e(432)](t=>t[e(441)]);for(const t of n){const n=this[e(483)][e(532)][e(479)][e(579)](t),r=yt(n);i[e(493)](t,r),s[e(493)](t,Object[e(313)](n[e(455)]()))}const r=Array[e(600)](this[e(483)][e(532)][e(456)])[e(432)](t=>[t[e(551)],t[e(474)]()]),o=this[e(545)][e(374)];this[e(294)](o,i,r,s),this[e(304)]=this[e(471)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(493)](t,i),c[e(493)](t,{})}this[e(294)](Number[e(517)],a,[],c)}[ft(518)](t,e){const i=ft;if(this[i(440)]===t&&this[i(617)]<=e)this[i(448)][i(611)]>1&&this[i(317)](this[i(617)]),this[i(490)](this[i(617)],e,!0);else{if(!this[i(448)][i(379)](t)){const e=this[i(531)](t);this[i(574)](e,t,!1)}this[i(574)](t,e,!0)}return this[i(440)]=t,this[i(617)]=e,this[i(353)]()}[ft(562)](t){const e=ft,i=this[e(483)][e(516)][e(590)](e(466));this[e(615)](),this[e(440)]=t[e(320)],this[e(617)]=t[e(526)];for(const s in t[e(361)]){const n=t[e(361)][s][e(454)],r=A(t[e(361)][s][e(556)])||{},o=i[e(295)](t[e(361)][s][e(434)]);o[e(441)]=s,o[e(598)]=!n||!n[e(356)],o[e(356)]=()=>o[e(598)],this[e(333)][e(493)](s,o),this[e(515)][e(493)](s,r),n&&this[e(610)][e(493)](s,n);const a=this[e(477)](o);this[e(566)][e(493)](s,a);for(const[t,i]of o[e(456)]){if(!t[e(449)](e(459)))continue;const s=t[e(463)](":")[2];for(const t of i[e(348)]({singleCharacters:!0})){const i=this[e(527)](t),n=e(387)==t[e(385)]?t[e(561)][e(458)][e(359)](0,-1):t[e(561)][e(458)],r=a[e(533)](n)[e(523)](i);this[e(612)][e(493)](r,{userId:s})}}}this[e(304)]=this[e(471)];const s=[...Array(this[e(471)])[e(391)]()][e(359)](1)[e(492)](t=>!this[e(612)][e(379)](t));let n=0;const r=new Map;for(const o in t[e(361)]){const a=t[e(361)][o][e(454)],c=A(t[e(361)][o][e(357)])||{},u=i[e(295)](t[e(361)][o][e(426)]);u[e(441)]=o,u[e(598)]=!a||a[e(356)],u[e(356)]=()=>u[e(598)],this[e(366)][e(493)](o,u),this[e(339)][e(493)](o,c);const l=this[e(477)](u,Number[e(517)]);this[e(543)][e(493)](o,l),r[e(493)](o,u[e(356)]()?c:{});for(const[t,i]of u[e(456)]){if(!t[e(449)](e(459)))continue;const s=t[e(463)](":")[2];for(const t of i[e(348)]({singleCharacters:!0})){const i=this[e(527)](t),n=this[e(471)]++,r=e(387)==t[e(385)]?t[e(561)][e(458)][e(359)](0,-1):t[e(561)][e(458)];l[e(533)](r)[e(535)](i,n),this[e(612)][e(493)](n,{userId:s})}}for(const t of this[e(483)][e(532)][e(461)](u)[e(348)]({singleCharacters:!0})){const i=this[e(527)](t),r=e(387)==t[e(385)]?t[e(561)][e(458)][e(359)](0,-1):t[e(561)][e(458)],o=l[e(533)](r);o[e(523)](i)>0||o[e(535)](i,s[n++])}for(const[t,i]of u[e(456)])t[e(449)](e(459))||this[e(534)][e(493)](t,i)}const o=kt(e(571));this[e(333)][e(493)](e(571),o),this[e(566)][e(493)](e(571),this[e(477)](o,1));const a=kt(e(571));this[e(366)][e(493)](e(571),a),this[e(543)][e(493)](e(571),this[e(477)](a,1));const c=Array[e(600)](this[e(366)])[e(432)](([t,e])=>[t,yt(e)]);this[e(294)](this[e(617)],c,this[e(534)],r)}[ft(501)](){const t=ft;this[t(615)](),this[t(440)]=-1,this[t(617)]=-1,this[t(448)][t(554)](),this[t(424)](this[t(545)])}[ft(294)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(493)](t,{start:e[n(607)][n(318)](),end:e[n(494)][n(318)](),rootName:e[n(498)][n(441)]});this[n(448)][n(493)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(317)](t){const e=ft;this[e(448)][e(319)](t)}[ft(615)](){const t=ft;this[t(612)][t(554)](),this[t(392)][t(554)](),this[t(610)][t(554)](),this[t(366)][t(554)](),this[t(339)][t(554)](),this[t(333)][t(554)](),this[t(515)][t(554)](),this[t(543)][t(554)](),this[t(566)][t(554)](),this[t(534)][t(554)](),this[t(471)]=1,this[t(304)]=this[t(471)]}[ft(477)](t,e=null){const i=ft;let s=null;t.is(i(577))||(s=new X.ModelElement(t[i(551)],{vid_start:null===e?this[i(471)]++:e++}));const n=[];for(const s of t[i(602)]())if(s.is(i(342))){n[i(417)](this[i(477)](s,e));const t=n[n[i(325)]-1];null!==e&&(e=t.is(i(342),i(437))?t[i(523)](i(406))+1:t[i(523)](i(462))+1)}else for(let t=0;t<s[i(549)];t++)n[i(417)](new X.ModelElement(i(437),{vid:null===e?this[i(471)]++:e++}));if(t.is(i(577))){const e=kt(t[i(441)]);return e[i(550)](0,n),e}return s[i(535)](i(462),null===e?this[i(471)]++:e++),s[i(550)](0,n),s}[ft(574)](t,e,i){const s=ft;this[s(615)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(448)][s(590)](t);this[s(333)]=new Map(n),this[s(515)]=new Map(A(o));for(const[t,e]of this[s(333)])if(s(571)!==t&&(this[s(366)][s(493)](t,yt(e)),this[s(339)]=new Map(A(o)),i)){const i=this[s(471)];this[s(543)][s(493)](t,this[s(477)](e)),this[s(566)][s(493)](t,this[s(477)](e,i))}this[s(304)]=this[s(471)],this[s(366)][s(493)](s(571),yt(this[s(333)][s(590)](s(571)))),i&&this[s(543)][s(493)](s(571),this[s(477)](this[s(333)][s(590)](s(571))));for(const[t,e]of r){const i=this[s(333)][s(590)](e[s(441)]),n=this[s(366)][s(590)](e[s(441)]),r=new X.ModelRange(this[s(584)](e[s(607)],i),this[s(584)](e[s(494)],i)),o=this[s(569)](r,n);i[s(456)][s(493)](t,r),this[s(534)][s(493)](t,o)}this[s(490)](t,e,i)}[ft(490)](t,e,i){const s=ft;for(const n of this[s(545)][s(335)](t,e))this[s(606)](n,i);for(const t of this[s(366)][s(375)]())t[s(456)][s(554)]();for(const[t,e]of this[s(534)])this[s(366)][s(590)](e[s(498)][s(441)])[s(456)][s(493)](t,e[s(318)]());const n=new Map,r=new Map;for(const[t,e]of this[s(366)])n[s(493)](t,yt(e)),r[s(493)](t,this[s(339)][s(590)](t));this[s(294)](e,n,this[s(534)],r)}[ft(531)](t){const e=ft,i=Array[e(600)](this[e(448)][e(391)]());i[e(450)]((t,e)=>t-e),i[e(469)]();for(const e of i)if(e<t)return e;return Number[e(517)]}[ft(425)](t,e){const i=ft,s=Array[i(600)](e[i(456)])[i(432)](([e,s])=>[e,this[i(569)](s,t)]);t[i(456)]=new Map(s)}[ft(488)](t){const e=ft;for(const i of this[e(534)][e(375)]()){const s=i[e(464)](t),n=X.ModelRange[e(331)](s);i[e(607)]=n[e(607)],i[e(494)]=n[e(494)]}}[ft(606)](t,e){const i=ft;if(i(396)!=t[i(385)]&&i(565)!=t[i(385)]){if(i(552)==t[i(385)]){const s=t[i(410)][i(498)][i(441)];this[i(366)][i(379)](s)||(this[i(366)][i(493)](s,kt(s,!0)),this[i(339)][i(493)](s,{}),e&&this[i(543)][i(493)](s,kt(s,!0)))}else{if(i(447)==t[i(385)]||i(593)==t[i(385)]||i(431)==t[i(385)])return void this[i(329)](t);i(352)==t[i(385)]&&this[i(423)](t)}if(i(352)!==t[i(385)]){const e=this[i(484)](t,this[i(366)]);e[i(457)](),this[i(488)](e)}if(e)switch(t[i(385)]){case i(552):this[i(389)](t);break;case i(435):case i(603):case i(400):this[i(403)](t);break;case i(609):this[i(530)](t);break;case i(463):this[i(340)](t)}}else this[i(397)](t,e)}[ft(484)](t,e){const i=ft,s=t[i(318)]();return s[i(529)]=t[i(529)],this[i(321)](s,e),s}[ft(502)](t){const e=ft;return t[e(432)](t=>{const i=e,s=this[i(527)](t);return Number(t[i(496)][i(523)](s))})}[ft(540)](t,e){const i=ft;if(t.is(i(342),i(437)))e[i(417)]({item:t,type:i(614)});else{t.is(i(342))&&e[i(417)]({item:t,type:i(542)});for(const s of t[i(602)]())this[i(540)](s,e);t.is(i(342))&&e[i(417)]({item:t,type:i(387)})}return e}[ft(353)](){const t=ft,e=new Map(this[t(612)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(333)][t(391)](),...this[t(366)][t(391)]()]);a[t(319)](t(571));for(const e of a){const i=this[t(366)][t(590)](e)||kt(e,!1),s=this[t(333)][t(590)](e)||kt(e,!1);i[t(356)]()||s[t(356)]()?(n[t(426)][e]=yt(i),n[t(434)][e]=yt(s),this[t(425)](n[t(434)][e],s),this[t(425)](n[t(426)][e],i),r[t(426)][e]=this[t(540)](this[t(543)][t(590)](e),[]),r[t(434)][e]=this[t(540)](this[t(566)][t(590)](e)||kt(e,!1),[])):a[t(319)](e)}for(const n of a){const o=r[t(426)][n];for(const n of o){const r=this[t(527)](n),o=n[t(496)][t(523)](r);i[t(319)](o),o>=this[t(304)]&&s[t(493)](o,e[t(590)](o))}}for(const n of a){const a=r[t(426)][n],c=this[t(502)](r[t(434)][n]);let u=0;for(const n of a){const r=this[t(527)](n),a=n[t(496)][t(523)](r);if(!s[t(379)](a)&&!o[t(379)](a))if(i[t(379)](a))u++;else{if(a!=c[u]){const s=e[t(590)](a)||e[t(590)](c[u]);for(;a!=c[u];)i[t(379)](c[u])||(o[t(493)](c[u],s),e[t(493)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(426)][e];for(const e of n){const n=this[t(527)](e),r=e[t(496)][t(523)](n);if(o[t(379)](r)){const e=o[t(590)](r);i[t(379)](r)||i[t(493)](r,{...e}),s[t(493)](r,{...e})}}}for(const e of i[t(391)]())e>=this[t(304)]&&i[t(319)](e);const c=new Map;for(const e of a){let n=r[t(426)][e];for(const e of n)if(e[t(496)].is(t(342),t(373))){const i=this[t(527)](e),n=e[t(496)][t(523)](i);if(s[t(379)](n)){const i=e[t(496)][t(427)][t(427)][t(523)](t(539)),r=c[t(590)](i)||new Set;r[t(402)](s[t(590)](n)[t(568)]),c[t(493)](i,r)}}n=r[t(434)][e];for(const e of n)if(e[t(496)].is(t(342),t(373))){const s=this[t(527)](e),n=e[t(496)][t(523)](s);if(i[t(379)](n)){const s=e[t(496)][t(427)][t(427)][t(523)](t(539)),r=c[t(590)](s)||new Set;r[t(402)](i[t(590)](n)[t(568)]),c[t(493)](s,r)}}for(const e of c[t(391)]())(s[t(379)](e)||i[t(379)](e))&&c[t(319)](e)}for(const e of a){const n=r[t(426)][e];let o=null,a=null;for(const e of n){const n=this[t(527)](e),r=e[t(496)][t(523)](n),u=c[t(590)](r);u&&t(542)==e[t(385)]&&(o=Array[t(600)](u)[0],a=e[t(496)][t(523)](t(462))),o&&(i[t(493)](r,{userId:o}),s[t(493)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(434)][e],a=n[t(426)][e];for(const{userId:e}of this[t(392)][t(375)]())null!==e&&l[t(402)](e);for(const{userId:e}of this[t(610)][t(375)]())null!==e&&l[t(402)](e);this[t(314)](a,r[t(426)][e],s,t(310),l),this[t(314)](o,r[t(434)][e],i,t(519),l),u[e]={insertions:this[t(300)](a),deletions:this[t(300)](o),attachChange:this[t(610)][t(590)](e)||null,attributesBefore:A(this[t(515)][t(590)](e))||{},attributesAfter:A(this[t(339)][t(590)](e))}}return{diffData:u,authorsIds:Array[t(600)](l)}}[ft(355)](t){const e=ft;for(const[,i]of t[e(456)]){const t=i[e(607)][e(382)]()[e(492)](t=>e(373)==t[e(551)]);for(const i of t)1==i[e(358)]&&i[e(510)](0).is(e(342),e(298))&&i[e(510)](0)[e(535)](e(395),!0)}}[ft(300)](t){const e=ft;this[e(355)](t);const i=this[e(483)][e(446)][e(367)](t,{}),s=Array[e(600)](i[e(602)]())[e(432)](t=>this[e(513)](t));return JSON[e(330)](s)}[ft(513)](t){const e=ft;if(t.is(e(437)))return t[e(446)];{const i=this[e(483)][e(516)][e(590)](e(466)),s=t,n=this[e(483)][e(446)][e(592)][e(419)],r={type:i[e(307)](s),name:s[e(551)],attributes:Array[e(600)](s[e(455)]()),children:Array[e(600)](s[e(602)]())[e(432)](t=>this[e(513)](t))};if(t.is(e(399))&&e(372)!=t[e(551)]){const i=t[e(401)](n[e(398)],n);r[e(485)][e(417)](i[e(591)])}else if(t.is(e(465))){const i=n[e(398)][e(567)](s[e(551)]);t[e(401)](i,n),r[e(485)][e(417)](i[e(439)])}const o=Array[e(600)](s[e(323)]());o[e(325)]>0&&(r[e(444)]=o);const a=s[e(555)]();return null!==a&&(r[e(371)]=a),r}}[ft(314)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(483)][r(532)];for(let s=0;s<e[r(325)];s++){const n=this[r(527)](e[s]),c=e[s][r(496)][r(523)](n),h=i[r(590)](c),d=s==e[r(325)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(568)]!=o[r(568)])&&(l(h,bt(a,t,u),bt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,bt(a,t,u),wt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(568)],d=l(459)+s+":"+h+":"+c++,f=u[l(451)](i,a);t[l(456)][l(493)](d,f),null!==h&&n[l(402)](h)}}[ft(527)](t){const e=ft;switch(t[e(385)]){case e(542):return e(539);case e(387):return e(462);default:return e(406)}}[ft(321)](t,e){const i=ft;t[i(478)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(590)](n[i(498)][i(441)]);t[s]=this[i(584)](n,r)}if(n instanceof X.ModelRange){const r=e[i(590)](n[i(498)][i(441)]);t[s]=this[i(569)](n,r)}i(498)===s&&(t[i(498)]=e[i(590)](t[i(498)][i(441)]))}}[ft(569)](t,e){const i=ft;return this[i(483)][i(532)][i(451)](this[i(584)](t[i(607)],e),this[i(584)](t[i(494)],e))}[ft(584)](t,e){const i=ft;return this[i(483)][i(532)][i(497)](e,t[i(458)],t[i(503)])}[ft(389)](t){const e=ft,i=this[e(543)][e(590)](t[e(410)][e(498)][e(441)]),s=this[e(584)](t[e(410)],i),n=null===t[e(529)]?null:t[e(529)]||this[e(483)][e(516)][e(590)](e(575)).me.id,r=s[e(427)],o=this[e(471)],a=[];for(const i of t[e(393)])if(i.is(e(342)))a[e(417)](this[e(477)](i));else for(let t=0;t<i[e(549)];t++)a[e(417)](new X.ModelElement(e(437),{vid:this[e(471)]++}));const c=this[e(471)];for(let t=o;t<c;t++)this[e(612)][e(493)](t,{userId:n});r[e(550)](s[e(547)],a)}[ft(403)](t){const e=ft;(t=this[e(484)](t,this[e(543)]))[e(457)]();const i=null===t[e(529)]?null:t[e(529)]||this[e(483)][e(516)][e(590)](e(575)).me.id,s=t[e(341)](),n=s[e(427)],r=s[e(547)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(510)](e);r.is(a(342),a(437))?s[a(493)](r[a(523)](a(406)),{userId:i}):(s[a(493)](r[a(523)](a(539)),{userId:i}),t(s,r,0,r[a(358)]),s[a(493)](r[a(523)](a(462)),{userId:i}))}}(this[e(612)],n,r,r+t[e(412)])}[ft(530)](t){const e=ft,i=null===(t=this[e(484)](t,this[e(543)]))[e(529)]?null:t[e(529)]||this[e(483)][e(516)][e(590)](e(575)).me.id,s=t[e(580)][e(427)],n=t[e(578)][e(427)],r=s[e(523)](e(462)),o=n[e(523)](e(539));s[e(535)](e(462),n[e(523)](e(462))),n[e(535)](e(462),r),this[e(612)][e(493)](o,{userId:i}),this[e(612)][e(493)](r,{userId:i}),t[e(457)]()}[ft(340)](t){const e=ft,i=null===(t=this[e(484)](t,this[e(543)]))[e(529)]?null:t[e(529)]||this[e(483)][e(516)][e(590)](e(575)).me.id,s=t[e(589)],n=t[e(608)][e(427)];t[e(457)]();const r=n[e(523)](e(462)),o=t[e(407)][e(311)];if(s){const t=o[e(523)](e(462)),s=n[e(523)](e(462));n[e(535)](e(462),t),o[e(535)](e(462),s),this[e(612)][e(493)](n[e(523)](e(462)),{userId:i}),this[e(612)][e(493)](o[e(523)](e(539)),{userId:i})}else{const t=this[e(471)]++,s=this[e(471)]++;n[e(535)](e(462),t),o[e(535)](e(539),s),o[e(535)](e(462),r),this[e(612)][e(493)](t,{userId:i}),this[e(612)][e(493)](s,{userId:i})}}[ft(423)](t){const e=ft;if(!t[e(613)])return;const i=(t=this[e(484)](t,this[e(366)]))[e(302)]?t[e(302)][e(498)]:null,s=t[e(362)]?t[e(362)][e(498)]:null;i&&this[e(534)][e(319)](t[e(551)]),s&&this[e(534)][e(493)](t[e(551)],t[e(362)][e(318)]());const n=null===t[e(529)]?null:t[e(529)]||this[e(483)][e(516)][e(590)](e(575)).me.id,r=t[e(551)];if(!this[e(392)][e(379)](r))return void this[e(392)][e(493)](r,{range:t[e(302)],userId:n});const o=this[e(392)][e(590)](r),a=o[e(327)],c=t[e(362)];null==a&&null==c||a&&c&&a[e(616)](c)?this[e(392)][e(319)](t[e(551)]):o[e(568)]=n}[ft(397)](t,e){const i=ft;this[i(366)][i(379)](t[i(441)])?this[i(366)][i(590)](t[i(441)])[i(598)]=t[i(306)]:(this[i(366)][i(493)](t[i(441)],kt(t[i(441)],!0)),this[i(339)][i(493)](t[i(441)],{}),e&&this[i(543)][i(493)](t[i(441)],kt(t[i(441)],!0)));const s=null===t[i(529)]?null:t[i(529)]||this[i(483)][i(516)][i(590)](i(575)).me.id,n=this[i(610)][i(590)](t[i(441)]);n&&n[i(568)]===s?this[i(610)][i(319)](t[i(441)]):this[i(610)][i(493)](t[i(441)],{userId:s,isAttached:t[i(306)]})}[ft(329)](t){const e=ft,i=this[e(339)][e(590)](t[e(498)][e(441)]);null===t[e(525)]?delete i[t[e(597)]]:i[t[e(597)]]=t[e(525)]}}function yt(t){const e=ft,i=kt(t[e(441)],t[e(356)]());for(const s of t[e(602)]()){const t=s[e(472)](!0);i[e(386)](t)}return i}function kt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(441)]=t,s[i(598)]=e,s[i(356)]=()=>s[i(598)],s}function bt(t,e,i){const s=ft,n=s(387)==t[s(385)]?i[s(546)](t[s(496)],s(494)):i[s(587)](t[s(496)]);return i[s(497)](e,n[s(458)],n[s(503)])}function wt(t,e,i){const s=ft,n=s(542)==t[s(385)]?i[s(546)](t[s(496)],0):i[s(383)](t[s(496)]);return i[s(497)](e,n[s(458)],n[s(503)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),xt=i(545),Nt=i.n(xt),Tt=i(262),Rt=i.n(Tt),At=i(667),Mt=i.n(At),Et=i(357),Vt=i.n(Et),Dt=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=Nt(),Ct.insertStyleElement=Vt();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Lt=i(959),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Rt().bind(null,"head"),jt.domAPI=Nt(),jt.insertStyleElement=Vt();Ot()(Lt.A,jt);Lt.A&&Lt.A.locals&&Lt.A.locals;const Ft=zt;function Pt(){const t=["1288076lvcwow","7WvKKQx","_createRevisionNameInput","initializeCssTransitionDisablerMixin","8778768ZyoRfG","636695ZsSNEY","render","arrowleft","form","input","arrowright","extendTemplate","value","listenTo","220","optional","stopPropagation","set","label","536358ErQkTE","ck-responsive-form","revisionName","focusTracker","trim","reset","arrowup","errorText","element","Name of the revision","arrowdown","locale","1188498CLFTXv","setTemplate","13152080tjdLfE","focus","4vtBlfr","keystrokes","add","6449013ZRUSlM","fieldView","revisionNameInputView","30lkscGz","revisionNameInputValue","ck-revision-history-save-revision-form"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=130]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(591407===parseInt(e(171))/1+-parseInt(e(143))/2*(-parseInt(e(139))/3)+parseInt(e(152))/4+-parseInt(e(157))/5*(-parseInt(e(149))/6)+parseInt(e(153))/7*(-parseInt(e(156))/8)+parseInt(e(146))/9+-parseInt(e(141))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Ut extends((0,It.CssTransitionDisablerMixin)(It.View)){[Ft(130)];[Ft(144)];[Ft(148)];constructor(e,i){const s=Ft;super(e),this[s(130)]=new t.FocusTracker,this[s(144)]=new t.KeystrokeHandler,this[s(169)](s(150),""),this[s(148)]=this[s(154)](i),this[s(140)]({tag:s(160),attributes:{class:["ck",s(151),s(172)],tabindex:"-1"},children:[this[s(148)]]}),this[s(155)]()}[Ft(158)](){const t=Ft;super[t(158)](),(0,It.submitHandler)({view:this}),this[t(130)][t(145)](this[t(148)][t(135)]),this[t(144)][t(165)](this[t(135)]);const e=e=>e[t(168)]();this[t(144)][t(169)](t(162),e),this[t(144)][t(169)](t(159),e),this[t(144)][t(169)](t(133),e),this[t(144)][t(169)](t(137),e)}[Ft(142)](){const t=Ft;this[t(148)][t(142)]()}get[Ft(173)](){const t=Ft;return this[t(148)][t(147)][t(135)][t(164)][t(131)]()}set[Ft(173)](t){const e=Ft;this[e(148)][e(147)][e(135)][e(164)]=t[e(131)]()}[Ft(132)](){const t=Ft;this[t(148)][t(147)][t(135)][t(164)]="",this[t(148)][t(134)]=null}[Ft(154)](t){const e=Ft,i=new It.LabeledFieldView(this[e(138)],It.createLabeledInputText),s=i[e(147)];s[e(163)]({attributes:{maxlength:e(166)}});let n=at(this[e(138)],e(136));return!t&&(n+=" ("+at(this[e(138)],e(167))+")"),i[e(170)]=n,s.on(e(161),()=>{const t=e;this[t(150)]=s[t(135)][t(164)][t(131)]()}),i}}const Wt=Zt;function Ht(){const t=["571525joukOR","revisionNameInputView","set","add","delegate","3851256LHGoeC","_registerMenuComponent","locale","Revision history","requires","hide","pluginName","menu","Accept","3572248dgOTYP","275DxONfN","config","saveRevision","_saveRevisionFormView","10071153wmYNvw","plugins","reset","buttonView","10zCqwNG","isPremiumPlugin","showRevisionViewerCallback","isOfficialPlugin","role","Open revision history","menuBar:revisionHistory","show","render","editor","716910Nzxwig","revisionHistory.requireRevisionName","init","children","RevisionTracker","31956WxRMnO","Dialog","focus","items","The revision name cannot be empty.","bind","isOpen","submit","componentFactory","addMany","Cancel","revisionHistory","_createSaveRevisionFormView","revisionSave","983786IhGQJq","execute","_showDialog","Save current revision","editing","panelView","isEnabled","revisionName","get","7UhKkEo","isReadOnly","errorText","view","ck-button-action","isReady","menuitem","RevisionHistoryUI"];return(Ht=function(){return t})()}function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=401]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(324939===parseInt(e(442))/1+-parseInt(e(425))/2+-parseInt(e(406))/3+-parseInt(e(411))/4*(parseInt(e(457))/5)+-parseInt(e(447))/6+parseInt(e(434))/7*(parseInt(e(456))/8)+parseInt(e(461))/9*(parseInt(e(465))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends G.Plugin{static get[Wt(453)](){return Wt(441)}static get[Wt(468)](){return!0}static get[Wt(466)](){return!0}static get[Wt(451)](){return[vt]}[Wt(460)];[Wt(408)](){const t=Wt,e=this[t(405)],i=e[t(462)][t(433)](t(410));e.ui[t(419)][t(445)](t(422),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(430)][n(409)],a=new It.ListView(s),c=new It.ListItemView(s),u=new It.ButtonView(s),l=new It.ListItemView(s),h=new It.ButtonView(s);return r[n(416)](n(431)).to(i,n(439),i,n(431),e,n(435),(t,e,i)=>t&&e&&!i),r[n(464)][n(444)]({icon:_t.IconHistory,label:at(s,n(450)),tooltip:!0}),u[n(444)]({label:at(s,n(428)),withText:!0,role:n(440)}),u[n(416)](n(431)).to(i,n(439),i,n(431),e,n(435),(t,e,i)=>t&&e&&!i),u.on(n(426),()=>this[n(427)]()),h[n(444)]({label:at(s,n(401)),withText:!0,role:n(440)}),h[n(416)](n(431)).to(i,n(439),e,n(435),(t,e)=>t&&!e),h.on(n(426),()=>{const t=n;e[t(458)][t(433)](t(422))[t(467)](),r[t(417)]=!1,e[t(429)][t(437)][t(413)]()}),c[n(409)][n(445)](u),l[n(409)][n(445)](h),a[n(469)]=n(454),a[n(414)][n(420)]([c,l]),o[n(445)](a),r}),e.ui[t(419)][t(445)](t(402),()=>this[t(448)]())}[Wt(448)](){const t=Wt,e=this[t(405)],i=e[t(449)],s=new It.MenuBarMenuView(i),n=new It.MenuBarMenuListView(i);s[t(464)][t(444)]({icon:_t.IconHistory,label:at(i,t(450))});const r=new It.MenuBarMenuListItemView(i,s),o=new It.MenuBarMenuListItemButtonView(i);o[t(444)]({label:at(i,t(428))}),o[t(446)](t(426)).to(s),o.on(t(426),()=>{this[t(427)]()}),r[t(409)][t(445)](o),n[t(414)][t(445)](r);const a=new It.MenuBarMenuListItemView(i,s),c=new It.MenuBarMenuListItemButtonView(i);return c[t(444)]({label:at(i,t(401))}),c[t(446)](t(426)).to(s),c.on(t(426),()=>{const i=t;e[i(458)][i(433)](i(422))[i(467)]()}),a[t(409)][t(445)](c),n[t(414)][t(445)](a),s[t(430)][t(409)][t(445)](n),s}[Wt(427)](){const t=Wt,e=this[t(405)],i=e[t(449)],s=e[t(462)][t(433)](t(412)),n=e[t(462)][t(433)](t(410));function r(n){const r=t;e[r(458)][r(433)](r(407))&&""===n[r(432)]?n[r(443)][r(436)]=at(i,r(415)):(e[r(462)][r(433)](vt)[r(459)]({name:n[r(432)]}),s[r(452)]())}this[t(460)]||(this[t(423)](),this[t(460)].on(t(418),()=>r(this[t(460)]))),this[t(460)][t(463)](),s[t(403)]({id:t(424),title:at(i,t(428)),isModal:!0,content:this[t(460)],actionButtons:[{label:at(e[t(449)],t(421)),withText:!0,onExecute:()=>s[t(452)]()},{label:at(e[t(449)],t(455)),class:t(438),withText:!0,onCreate(i){const s=t;i[s(416)](s(431)).to(n,s(439),n,s(431),e,s(435),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(460)])}]})}[Wt(423)](){const t=Wt,e=this[t(405)],i=e[t(449)];this[t(460)]=new Ut(i,e[t(458)][t(433)](t(407))),this[t(460)][t(404)]()}}const $t=Bt;function Bt(t,e){const i=Jt();return(Bt=function(t,e){return i[t-=238]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(399926===-parseInt(e(248))/1+-parseInt(e(258))/2*(-parseInt(e(251))/3)+parseInt(e(270))/4*(parseInt(e(266))/5)+parseInt(e(245))/6*(-parseInt(e(261))/7)+-parseInt(e(243))/8*(parseInt(e(267))/9)+parseInt(e(242))/10*(-parseInt(e(254))/11)+parseInt(e(246))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Yt extends It.View{[$t(264)];[$t(271)];constructor(t,e){const i=$t;super(t),this[i(271)]=e,this[i(264)]=e.id;const s=this[i(269)],n=at(t,e[i(255)][i(249)]?i(244):i(268)==e[i(256)]?i(252):i(259));this[i(260)](i(256),e[i(256)]),this[i(247)]({tag:i(239),attributes:{class:[i(257),i(241),s.to(i(256),t=>i(253)+t)],tabindex:-1},children:[{tag:i(240),children:[{tag:i(240),attributes:{class:[i(263)]},children:[{text:n}]},{text:" "+e[i(262)][i(250)]}]}]})}[$t(238)](){const t=$t;this[t(265)][t(238)]()}}function Jt(){const t=["data","type","ck-annotation","8114GHDhbQ","Removed by","set","28bVeaGe","author","ck-revision-change__label","changeId","element","436265KjeCyQ","18jltvhY","add","bindTemplate","4ZvtBPI","_model","focus","div","span","ck-revision-change","130qrvOXr","3076952zkcqfC","Suggested by","521736QiELid","19421388gVqmTQ","setTemplate","587237cUIsUn","isSuggestion","name","570Elfmhk","Added by","ck-revision-change__","315029ScGuvw"];return(Jt=function(){return t})()}var Gt=Xt;!function(t){for(var e=Xt,i=t();;)try{if(342277===parseInt(e(491))/1*(-parseInt(e(484))/2)+parseInt(e(486))/3+-parseInt(e(485))/4+-parseInt(e(493))/5*(parseInt(e(489))/6)+parseInt(e(480))/7+-parseInt(e(488))/8+parseInt(e(482))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Kt extends((0,t.ObservableMixin)()){id;[Gt(487)];[Gt(478)];[Gt(492)];[Gt(481)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(487)]=e[i(487)],this[i(478)]=e[i(478)],this[i(492)]=e[i(492)]||{},this[i(481)]=e[i(481)],this[i(483)](i(490),e[i(490)])}[Gt(479)](){var t=Gt;return{id:this.id,authorId:this[t(487)].id,type:this[t(478)],data:this[t(492)],createdAt:this[t(490)]}}}function Xt(t,e){var i=Qt();return(Xt=function(t,e){return i[t-=478]})(t,e)}function Qt(){var t=["type","toJSON","2975238Dpfxsz","rootName","9901305knlJvQ","set","4oCRnbG","2479004hYGCws","72411EgGLsz","author","3594440IhahRb","42xcbNIJ","createdAt","28647ehqMAG","data","57635OpJOUR"];return(Qt=function(){return t})()}const te=ie;function ee(){const t=["4WuchRv","990532TAjwom","changes","oldRevisionId","4949IoJFtw","4nvRbxH","6846VxUsFP","5090NNSOXM","13779oguHLf","11008019oCqHcG","add","newRevisionId","927024fcobZy","_setChanges","3437735JkGKhJ","457113dArdcs"];return(ee=function(){return t})()}function ie(t,e){const i=ee();return(ie=function(t,e){return i[t-=375]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(699358===parseInt(e(384))/1+-parseInt(e(388))/2*(parseInt(e(382))/3)+-parseInt(e(383))/4*(parseInt(e(381))/5)+-parseInt(e(389))/6*(-parseInt(e(387))/7)+parseInt(e(379))/8+-parseInt(e(375))/9*(-parseInt(e(390))/10)+-parseInt(e(376))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class se{[te(378)];[te(386)];[te(385)];constructor(e,i){const s=te;this[s(378)]=e,this[s(386)]=i,this[s(385)]=new t.Collection}[te(380)](t){const e=te;for(const i of t)this[e(385)][e(377)](i)}}var ne=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=Nt(),re.insertStyleElement=Vt();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ae;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=313]})(t,e)}function ce(){const t=["comment","vid_start","isReady","sort","object","isCollapsed","getRevisionDocumentData","56sGRMfB","POSITIVE_INFINITY","removeMarker:revision-suggestion","isAtEnd","_cleanMarkers","pairId","requires","level","detachRoot","createUIElement","setAttribute","revision-comment:","_update","addMarker:revision-suggestion:insertion","getRootNames","attribute:vid","toViewPosition","repository","flat","userId","roots","findIndex","high","revision-suggestion:","_findChangeIdFromDomTarget","editingDowncast","vid","isBlock","isAddSuggestion","_changeView","slice","elementStart","_makeModelFromViewString","document","isLimit","WidgetToolbarRepository","commands","attributesBefore","_activeViewTarget","then","abs","startIndex","addRevisionData","rootName","change:activeChange","elementEnd","currentChangeNumber","nextPosition","_makeModelFromTape","addClass","isOnRoot","forward","_fixObsoleteTags","bindElementToMarker","nextSibling","deletions","maxOffset","deletion","softBreak","previousPosition","isAttached","all","attributes","removeClass","resolve","target","concat","includes","restoreRevision","toViewElement","isIncorrect","ck-suggestion-marker-","1411824EuIPdt","_makeTape","1298CilaRH","isInline","keys","attributesAfter","getRoot","_removeMissingPairs","checkAttribute","set","indexOf","_markInsertions","enqueueChange","75QgKrwi","isSuggestion","change:activeView","_appendChild","side","text","_step","changes","markers","config","range","getAttributes","_changeIdToChange","string","consumable","createRangeIn","authors","isAfter","viewItem","ck-editor__editable__overlay","_processTape","removeMarker","restoreRevisionCallback","plugins","error","insertions","isEqual","markerNameToElements","_markSuggestions","conversion","_revisions","createAttributeElement","showStack","mapper","vid_end","newRevisionId","first","execute","code","length","shift","changeId","locale","element:pre","span","suggestion:","loadRevisionData","RevisionViewer","isOfficialPlugin","change:numberOfChanges","view","ck-suggestion-preview-marker","clear","init","showPreviousChange","next","oldRevisionId","_setChanges","785373TjNcMH","getAttribute","enableReadOnlyMode","isContent","activeView","8000uvfvaX","getChild","pluginName","208024fwzvJf","destroy","listenTo","consume","hasAttribute","isRemoveSuggestion","showNextChange","mousedown","remove","378ZNPAVk","reconvertMarker","for","_joinTapes","307053RVNUxK","item","createRange","revision-suggestion","ck-suggestion-marker-merge","unshift","_setDistance","element","return","_getViewForChange","_setConversion","ck-suggestion-preview-marker-","dataDowncast","isRemoved","modelRange","revision-viewer","_getRevisionsRange","done","isPremiumPlugin","backward","4058RiNnFg","revision:","_initInteractions","nodeAfter","createRevision","ck-revision-history-root-add","markerToHighlight","observeMarkers","data-change-id","find","parent","removeMarker:revision","diff","addRoot","_refreshStartEndIndex","diffData","filter","ck-suggestion-marker-split","from","selection","getClientRects","_balloon","top","adapter","ck-revision-history-root-","createPositionBefore","activeChange","affectsData","_data","endIndex","add","_markMarkers","offsetSize","184khZzuI","change:isReady","has","change","RevisionsRepository","right","revision","end","push","low","insertion","split","markersStart","markerToData","_markMismatchedRemovedTags","merge","distance","dataToMarker","type","elementToAttribute","start","get","getRevision","_threeWayMerge","startsWith","highest","_getChangeFromId","change:isEnabled","removeAttribute","mouseover","isNavigationMode","stop","-new","suggestion","_cleanUp","writer","unbindElementFromMarkerName","ck-revision-history-root--active","delete","bind","mapViewToDom","_removeUnsupportedChanges","map","updatePosition","_utils","isAdded","values","isAtStart","markersEnd","attachChange","ck-suggestion-marker","addHighlight","getDomRoot","revisionHistoryAttachChange","numberOfChanges","revisionHistory","_getDiff","52bLOESs","downcastDispatcher","test","getLaterVisibleRevision","getWalker","forceDisabled","getItems","compare","schema","RevisionHistoryUtils","model","addMarker:revision","splice","hasClass","revisionHistoryLabel","addRevision","486378WoCYNK","isBefore","domConverter","domEvent","pop","editor","left","markerName","createPositionFromPath","getCustomProperty","refresh","wrap","markerRange","_sortAndFilterDiffChanges","forEach","ck-suggestion-marker--active","index","getIndex","toViewRange","uiElement","addMarker:revision-suggestion:deletion","isObject","name","data","bottom","catch","upcast","isEnabled","editing","insert","getRevisionRootsAttributes","ck-revision-history-root-remove"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(514940===-parseInt(e(605))/1*(parseInt(e(629))/2)+parseInt(e(588))/3+parseInt(e(596))/4*(parseInt(e(530))/5)+parseInt(e(406))/6*(parseInt(e(445))/7)+parseInt(e(333))/8*(-parseInt(e(609))/9)+-parseInt(e(593))/10*(parseInt(e(519))/11)+-parseInt(e(517))/12*(-parseInt(e(390))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends G.Plugin{[oe(462)];[oe(323)]=null;[oe(377)];[oe(483)];[oe(474)];[oe(542)];[oe(321)];static get[oe(595)](){return oe(577)}static get[oe(578)](){return!0}static get[oe(627)](){return!0}static get[oe(451)](){return[K.Users,It.ContextualBalloon,it,nt]}constructor(t){const e=oe;super(t),this[e(462)]=this[e(411)][e(553)][e(354)](e(337)),this[e(377)]=this[e(411)][e(553)][e(354)](e(399)),this[e(526)](e(326),null),this[e(526)](e(592),null),this[e(483)]=null,this[e(526)](e(641),null),this[e(526)](e(440),!1),this[e(526)](e(433),!0),this.on(e(360),(t,i,s)=>{const n=e;this[n(326)]=null,this[n(592)]=null,this[n(411)][n(434)][n(580)][n(336)](t=>{const e=n;for(const i of this[e(411)][e(434)][e(580)][e(478)][e(465)])s?t[e(508)](e(549),i):t[e(494)](e(549),i)})}),this[e(372)](e(363)).to(this,e(326),t=>null!==t),this[e(372)](e(491)).to(this,e(440),this,e(641),this,e(326),(t,i,s)=>t&&s?i[e(537)][e(423)](s):0),this[e(372)](e(387)).to(this,e(440),this,e(641),(t,i)=>t?i[e(537)][e(569)]:0),this[e(474)]=null,this[e(542)]=new Map,this[e(321)]=this[e(411)][e(553)][e(354)](It.ContextualBalloon)}[oe(583)](){const t=oe,e=this[t(411)],i=new de(e,{direction:t(628)}),s=new de(e,{direction:t(496)});e[t(481)][t(330)](t(584),i),e[t(481)][t(330)](t(602),s),e[t(481)][t(330)](t(513),new he(e)),this.on(t(579),()=>{const e=t;i[e(416)](),s[e(416)]()}),this[t(619)](),this[t(631)](),e[t(590)](t(624)),e[t(553)][t(335)](t(480))&&e[t(553)][t(354)](t(480))[t(395)](t(624))}async[oe(444)](t){const e=oe;return await this[e(377)][e(576)](t,this[e(323)]),this[e(377)][e(444)](t)}async[oe(436)](t){const e=oe;return await this[e(377)][e(576)](t,this[e(323)]),this[e(377)][e(436)](t)}async[oe(397)](t,e,i=!1){const s=oe;if(!this[s(433)])return;const n=this[s(641)],r=this[s(462)],o=s(543)==typeof t?r[s(355)](t):t,a=s(543)==typeof e?r[s(355)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(641)]&&this[s(641)][s(565)]===c&&this[s(641)][s(586)]===u)return Promise[s(509)]();this[s(440)]=!1,this[s(592)]=null,this[s(326)]=null,this[s(641)]=new se(c,u);const l=this[s(625)](o,a,!0)[s(375)](t=>this[s(377)][s(576)](t,this[s(323)]));return l[s(341)](new Promise(t=>{setTimeout(t,20)})),Promise[s(506)](l)[s(484)](()=>{const t=s;if(!this[t(433)])return;this[t(367)]();const e=this[t(389)](c,u);for(const i of e[t(537)])this[t(542)][t(526)](i.id,i);this[t(411)][t(400)][t(529)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(411)][s(400)][s(478)][s(459)]())i[s(453)](t);for(const t of Object[s(521)](e[s(400)])){const n=i[s(313)](t);for(const r of Object[s(521)](e[s(507)][t]))i[s(455)](r,e[s(507)][t][r],n);i[s(435)](e[s(400)][t],n,0)}}),this[t(641)][t(587)](this[t(419)](e[t(537)])),this[t(440)]=!0})[s(431)](t=>{const e=s;console[e(554)](t),this[e(367)](),n&&(this[e(641)]=n),this[e(440)]=!0})}[oe(487)](t,e){const i=oe,s=this[i(462)][i(633)](t);return s.on(i(457),(t,i,n)=>e(i,n,s)),this[i(462)][i(405)](s),s}[oe(367)](){const t=oe;this[t(326)]=null,this[t(449)](),this[t(474)]&&this[t(474)][t(597)](),this[t(474)]=null,this[t(542)][t(582)](),this[t(411)][t(400)][t(529)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(411)][i(400)][i(478)][i(459)]())e[i(453)](t)})}[oe(419)](t){const e=oe,i=[],s=new Map;for(const t of this[e(411)][e(400)][e(478)][e(459)]()){const n=this[e(411)][e(434)][e(580)][e(385)](t);if(!n)continue;const r=n[e(320)]()[e(610)](0);r&&(i[e(341)](t),s[e(526)](t,r))}return i[e(441)]((t,i)=>{const n=e,r=s[n(354)](t),o=s[n(354)](i);return r.y-o.y||r.x-o.x}),(t=t[e(316)](t=>i[e(512)](t[e(488)])))[e(441)]((t,s)=>i[e(527)](t[e(488)])-i[e(527)](s[e(488)])),t}[oe(518)](t){const e=oe,i=Array[e(318)](t[e(538)])[e(316)](([t,i])=>t[e(357)](e(630))&&!i[e(443)]),s=Array[e(318)](this[e(411)][e(400)][e(545)](t)[e(394)]({singleCharacters:!0}));if(0!=i[e(569)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(344)](":");if(n[e(340)][e(556)](t[e(492)])&&i[e(570)](),(t[e(504)][e(556)](n[e(353)])||t[e(504)][e(547)](n[e(353)]))&&(e(343)==r?t[e(378)]={userId:o}:e(502)==r&&(t[e(622)]={userId:o})),0==i[e(569)])break}return s}[oe(314)](t){const e=oe,i=new Map;for(let s=0;s<t[e(569)];s++)e(535)===t[s][e(351)]?(t[s][e(610)][e(486)]=s,t[s][e(610)][e(329)]=s):(e(476)===t[s][e(351)]?t[s][e(610)][e(486)]=s:e(490)===t[s][e(351)]&&(t[s][e(610)][e(329)]=s),i[e(526)](t[s].id,s));for(const s of i[e(379)]())e(476)===t[s][e(351)]?t[s][e(610)][e(329)]=i[e(354)](t[s][e(450)]):e(490)===t[s][e(351)]&&(t[s][e(610)][e(486)]=i[e(354)](t[s][e(450)]))}[oe(550)](t){const e=oe;for(let i=0;i<t[e(569)];i++){if(e(476)===t[i][e(351)])t[i][e(610)][e(486)]=i;else if(e(490)===t[i][e(351)]){t[i][e(610)][e(329)]=i;const s=t[i][e(610)][e(486)];t[s][e(450)]=t[i].id,t[i][e(450)]=t[s].id}else t[i][e(610)][e(486)]=i,t[i][e(610)][e(329)]=i,t[i][e(450)]=null;t[i][e(345)]||(t[i][e(345)]=[],t[i][e(381)]=[])}}[oe(528)](t,e){const i=oe,s=t[i(316)](t=>!t[i(378)]);for(let t=0;t<e[i(569)];t++)e[t][i(378)]&&(s[t][i(378)]=e[t][i(378)])}[oe(389)](t,e=null){const i=oe,s=this[i(462)][i(355)](t),n=e?this[i(462)][i(355)](e):null,r=this[i(625)](s,n),o=r[r[i(569)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(569)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(521)](e[i(315)]))if(e[i(315)][t][i(382)]){const s=e[i(315)][t][i(382)];s[i(505)]?(u[i(330)](t),l[i(335)](t)&&l[i(354)](t)[i(464)]==s[i(464)]?l[i(371)](t):l[i(526)](t,s)):l[i(335)](t)?(u[i(371)](t),l[i(371)](t)):(u[i(330)](t),l[i(526)](t,s))}else u[i(330)](t)}for(const t of u){const e=l[i(335)](t)&&!l[i(354)](t)[i(505)];let s=e?r[i(569)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(315)][t]){const s=e?o[i(315)][t][i(482)]:o[i(315)][t][i(522)];c[i(507)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(400)]={};for(const e of t[i(546)])a[i(526)](e.id,e);for(const e of u){const s=t[i(315)][e]?t[i(315)][e][i(555)]:"[]",n=t[i(315)][e]?t[i(315)][e][i(500)]:"[]";t[i(400)][e]={insertions:this[i(377)][i(477)](s),deletions:this[i(377)][i(477)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(318)](s[i(400)][t][i(555)][i(538)])[i(316)](([t])=>!t[i(357)](i(630))));let h=0;for(const o of r){const r=this[i(518)](o[i(400)][t][i(555)]);o==s?(e=r,n=e[i(569)],e[i(420)](t=>{t.id=h++}),this[i(550)](e)):this[i(528)](e,r);const a=e[i(316)](t=>!t[i(378)])[i(375)](t=>t.id);let c=0;const l=this[i(518)](o[i(400)][t][i(500)]);l[i(420)](t=>{t[i(622)]?t.id=n++:t.id=a[c++]}),this[i(550)](l),this[i(615)](e,i(378)),this[i(615)](l,i(622)),o==s&&this[i(331)](e,u),e=this[i(608)](e,l),this[i(314)](e),this[i(615)](e,i(622))}e=e[i(316)](t=>!(t[i(378)]&&t[i(622)]));const d=new Map(o[i(400)][t][i(500)][i(538)]),f=new Set(u[i(521)]());for(const t of d[i(521)]())f[i(371)](t);this[i(558)](e,f),this[i(497)](e),e=this[i(524)](e),e=this[i(347)](e),e=this[i(374)](e);const{root:m,changes:p}=this[i(493)](e,a,t);c[i(400)][t]=m;const v=l[i(354)](t);if(v){const e=a[i(354)](v[i(464)]),s=new Kt({author:e,type:v[i(505)]?i(330):i(604),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(614)](s),c[i(507)][t][i(386)]=s.id}c[i(537)]=c[i(537)][i(511)](p)}return c}[oe(331)](t,e){const i=oe;for(let s=0;s<t[i(569)];s++)for(const[n,r]of e)!r[i(443)]&&r[i(353)][i(556)](t[s][i(504)])&&t[s][i(345)][i(341)](n),r[i(340)][i(556)](t[s][i(492)])&&t[s][i(381)][i(341)](n)}[oe(608)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(569)]||r<e[i(569)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(341)](o);else if(a[i(622)]&&o[i(378)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(356)](t,n,e,r);s=s[i(511)](o),n=a,r=c}else a[i(622)]?(r++,s[i(341)](a)):(n++,s[i(341)](o))}return s}[oe(558)](t,e){const i=oe,s=[];for(let o=0;o<t[i(569)];o++){for(let r=0;r<t[o][i(345)][i(569)];r++){const a=t[o][i(345)][r];if(!e[i(335)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(612)!=c||i(343)!=u&&i(502)!=u||(s[i(614)]({type:u,name:a,userId:l}),t[o][i(345)][i(402)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(381)][i(569)];r++){const a=t[o][i(381)][r];if(!e[i(335)](a))continue;const{group:c,type:u}=n(a);if(i(612)!=c||i(343)!=u&&i(502)!=u)continue;t[o][i(381)][i(402)](r,1),r--;const l=s[i(466)](t=>t[i(428)]==a);l>-1&&s[i(402)](l,1)}}function n(t){const e=i,s=t[e(344)](":");return{group:s[0],type:s[1],subType:s[e(569)]>=5?s[2]:null,id:s[e(569)]<5?s[2]:s[3],authorId:s[e(569)]<5?s[3]:s[4],markerCount:6==s[e(569)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(569)];i++){if(t[e(378)]&&e(343)==s[i][e(351)]&&t[e(378)][e(464)]==s[i][e(464)])return t[e(473)]=s[i],void delete t[e(378)];if(!t[e(378)]&&!t[e(622)]&&e(502)==s[i][e(351)])return void(t[e(601)]=s[i])}}}[oe(615)](t,e){const i=oe;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(526)](o.id,s);for(let s=0;s<t[i(569)];s++){if(i(622)==e&&t[s][i(378)]||i(378)==e&&t[s][i(622)])continue;if(i(535)==t[s][i(351)]){t[s][i(349)]=0;continue}const n=r[i(354)](t[s][i(450)]),o=r[i(354)](t[s].id);t[s][i(349)]=n-o}}[oe(625)](t,e,i=!1){const s=oe,n=[];let r=this[s(462)][s(423)](t),o=this[s(462)][s(423)](e);for(-1==o&&(o=this[s(462)][s(560)][s(569)],i=!1);r<o;)n[s(341)](this[s(462)][s(355)](r)),r++;return i&&n[s(341)](this[s(462)][s(355)](r)),n}[oe(356)](t,e,i,s){const n=oe,r=this[n(411)][n(400)][n(398)];let o=e;for(;t[o]&&t[o][n(378)];)o++;let a=s;for(;i[a]&&i[a][n(622)];)a++;u(t,e,o),u(i,s,a);const c=i[n(475)](s,a)[n(511)](t[n(475)](e,o));return c[n(441)]((t,e)=>t[n(534)]!=e[n(534)]?t[n(534)]-e[n(534)]:t[n(452)]!=e[n(452)]?t[n(452)]-e[n(452)]:t[n(349)]!=e[n(349)]?e[n(349)]-t[n(349)]:!!t[n(378)]!=!!e[n(378)]?-1==t[n(534)]||0==t[n(534)]?t[n(378)]?-1:1:t[n(378)]?1:-1:t[n(422)]-e[n(422)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(446)],c=!0;for(let n=e;n<i;n++)if(r[s(520)](t[n][s(610)])||(c=!1),t[n][s(610)][s(486)]<e&&(o=n),t[n][s(610)][s(329)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(534)]=n<=o?-1:n<a?0:1,t[n][s(422)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(349)]?t[i][s(452)]=u:(u++,t[i][s(452)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(534)]&&(t[n][s(452)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(349)]?t[e][s(452)]=u:(u--,t[e][s(452)]=u,u--)}}[oe(497)](t){const e=oe,i=new Map,s=this[e(411)][e(400)][e(398)];for(let n=1;n<t[e(569)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(535)==c[e(351)])continue;if(c[e(351)]!=u[e(351)])continue;if(!s[e(472)](u[e(610)])||s[e(479)](u[e(610)]))continue;if(!s[e(472)](c[e(610)])||s[e(479)](c[e(610)]))continue;if((t[n][e(378)]||t[n][e(473)])&&t[n-1][e(622)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(622)]||!t[n-1][e(378)]&&!t[n-1][e(473)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(452)]==o[e(452)],h=Math[e(485)](r[e(452)])<Math[e(485)](o[e(452)])&&0==o[e(349)];(l||h)&&(i[e(526)](o.id,r.id),t[e(402)](a,1),n--,r[e(378)]=!1)}for(let s=0;s<t[e(569)];s++)i[e(335)](t[s][e(450)])&&(t[s][e(450)]=i[e(354)](t[s][e(450)]))}[oe(524)](t){const e=oe,i=new Set(t[e(375)](t=>t.id));for(let s=0;s<t[e(569)];s++)i[e(335)](t[s][e(450)])||0==t[s][e(349)]||(t[s][e(515)]=!0);return t[e(316)](t=>!t[e(515)])}[oe(347)](t){const e=oe,i=new Set;for(let s=0;s<t[e(569)];s++){if(i[e(335)](t[s].id)&&t[s][e(622)]&&(t[s][e(515)]=!0),t[s][e(515)])continue;if(0==t[s][e(349)])continue;if(e(476)!=t[s][e(351)])continue;if(null==t[s][e(450)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(450)];)e(476)==t[n][e(351)]?r++:e(490)==t[n][e(351)]&&r--,n++;if(0!=r)if(t[s][e(622)])t[s][e(515)]=!0;else for(;n!=s;)t[n][e(622)]&&0!=t[n][e(349)]&&(t[n][e(515)]=!0,i[e(330)](t[n][e(450)])),n--}return t[e(316)](t=>!t[e(515)])}[oe(374)](t){const e=oe,i=this[e(411)][e(400)][e(398)];for(let s=0;s<t[e(569)];s++){if(!(t[s][e(378)]||t[s][e(473)]||t[s][e(622)]||t[s][e(601)]))continue;if(0==t[s][e(349)])continue;const n=t[s][e(610)];i[e(472)](n)||i[e(479)](n)||(t[s][e(378)]&&delete t[s][e(378)],t[s][e(473)]&&delete t[s][e(473)],t[s][e(601)]&&delete t[s][e(601)],t[s][e(622)]&&(t[s][e(515)]=!0))}return t[e(316)](t=>!t[e(515)])}[oe(493)](t,e,i){const s=oe,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(411)][s(400)],c=a[s(398)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(569)];e++)if(s(476)===t[e][s(351)]){t[e][s(504)]=a[s(414)](n,f);const i=new X.ModelElement(t[e][s(610)][s(428)],t[e][s(610)][s(541)]());u[0][s(533)](i),f[s(341)](0),u[s(614)](i),t[e][s(492)]=a[s(414)](n,f)}else s(490)===t[e][s(351)]?(u[s(570)](),t[e][s(504)]=a[s(414)](n,f),f[s(410)](),f[f[s(569)]-1]++,t[e][s(492)]=a[s(414)](n,f)):(t[e][s(504)]=a[s(414)](n,f),d?d[s(328)]+=t[e][s(610)][s(429)]:d=new X.ModelText(t[e][s(610)][s(429)],t[e][s(610)][s(541)]()),t[e+1]&&s(535)===t[e+1][s(351)]&&v(d,t[e+1][s(610)])||(u[0][s(533)](d),d=null),f[f[s(569)]-1]+=t[e][s(610)][s(332)],t[e][s(492)]=a[s(414)](n,f));for(let e=0;e<t[s(569)];e++){const i=t[e][s(504)],n=t[e][s(492)];for(const n of t[e][s(345)])o[s(526)](n,{start:i,end:null});m(s(601),e,i,n),m(s(473),e,i,n),m(s(622),e,i,n),m(s(378),e,i,n);for(const i of t[e][s(381)]){const t=o[s(354)](i);t?t[s(340)]=n:o[s(526)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(411)][s(400)][s(611)](e[s(353)],e[s(340)]);n[s(538)][s(526)](t,i)}return r[s(441)]((t,e)=>{const i=s,r=n[i(538)][i(354)](i(630)+t.id),o=n[i(538)][i(354)](i(630)+e.id);return r[i(353)][i(407)](o[i(353)])?-1:r[i(353)][i(547)](o[i(353)])?1:r[i(340)][i(407)](o[i(340)])?-1:r[i(340)][i(547)](o[i(340)])?1:i(330)===t[i(351)]?-1:1}),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(464)]:null,d=i===t[o(569)]-1,f=h[e][0],m=c[o(427)](t[i][o(610)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(340)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(464)]!==u&&(l[e][o(340)]=n,f&&f[o(464)]===l[e][o(464)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(476)!==t[i][o(351)]||f&&f[o(464)]===u||h[e][o(614)]({userId:u,object:t[i][o(610)],change:l[e]}),o(490)===t[i][o(351)]&&f&&f[o(442)]===t[i][o(610)]&&(h[e][o(570)](),l[e]=f[o(336)])),l[e]&&d&&(l[e][o(340)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(610)],f=a[h(398)][h(472)](d)&&!a[h(398)][h(479)](d),m=t[h(632)]==o[h(639)]&&o[h(380)];if(f&&m)return;const p=a[h(611)](t,o),v=e[h(354)](u),g=new Kt({author:v,type:h(378)==l||h(473)==l?h(330):h(604),data:{isSuggestion:h(473)==l||h(601)==l},createdAt:new Date,rootName:i});r[h(341)](g),n[h(538)][h(526)](h(630)+g.id,p)}function v(t,e){const i=s,n=t[i(541)](),r=e[i(541)]();for(const t of n){if(t[1]!==e[i(589)](t[0]))return!1;r[i(585)]()}return r[i(585)]()[i(626)]}}[oe(619)](){const t=oe;this[t(411)][t(559)][t(607)](t(432))[t(350)]({view:t(339)}),this[t(411)][t(559)][t(607)](t(470))[t(635)]({model:t(339),view:e=>{const i=t,s=e[i(413)][i(344)](":")[1],n=this[i(359)](s);if(!n)return null;const r=i(330)==n[i(351)]?i(343):i(502),o=[i(383),i(516)+r];return n[i(429)][i(531)]&&o[i(341)](i(516)+r+i(365)),this[i(326)]==n&&o[i(341)](i(421)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(411)][t(559)][t(607)](t(432))[t(330)](e=>{const i=t;e.on(i(573),(t,e,s)=>{const n=i,r=e[n(548)][n(594)](0);if(!r||!r.is(n(616),n(568)))return;if(!s[n(544)][n(599)](r,{attributes:[n(439),n(564)]}))return;const o=e[n(623)][n(353)][n(632)];s[n(368)][n(455)](n(439),r[n(589)](n(439)),o),s[n(368)][n(455)](n(564),r[n(589)](n(564)),o)},{priority:i(342)})}),this[t(411)][t(559)][t(607)](t(432))[t(330)](e=>{const i=t;e.on(i(616),(t,e,s)=>{const n=i;if(!s[n(544)][n(599)](e[n(548)],{attributes:[n(439),n(564)]}))return;if(e[n(623)][n(443)])return;const r=e[n(623)][n(353)][n(632)];r[n(600)](n(439))||r[n(600)](n(471))||(s[n(368)][n(455)](n(439),e[n(548)][n(589)](n(439)),r),s[n(368)][n(455)](n(564),e[n(548)][n(589)](n(564)),r))},{priority:i(342)})}),this[t(411)][t(559)][t(607)](t(432))[t(352)]({view:{name:t(574),attributes:{vid:!0}},model:{key:t(471),value:e=>e[t(589)](t(471))}}),this[t(411)][t(400)][t(398)].on(t(525),(e,[,i])=>{const s=t;[s(439),s(564),s(471)][s(512)](i)&&(e[s(617)]=!0,e[s(364)]())},{priority:t(358)}),this[t(411)][t(559)][t(607)](t(621))[t(330)](e=>{const i=t;e.on(i(460),(t,e,s)=>{const n=i;if(" "!=e[n(610)][n(429)]||e[n(610)][n(639)][n(501)]>1)return;if(!s[n(544)][n(599)](e[n(610)],t[n(428)]))return;const r=s[n(368)],o=s[n(563)][n(424)](e[n(540)]);r[n(417)](o,r[n(561)](n(574)))})}),this[t(411)][t(559)][t(607)](t(621))[t(346)]({model:t(339)}),this[t(411)][t(434)][t(391)].on(t(401),function(e){const i=t,s=e[i(553)][i(354)](i(577));return(t,n,r)=>{const o=i,a=n[o(413)][o(344)](":")[1],c=s[o(359)](a);if(!c)return null;const u=o(330)==c[o(351)]?o(344):o(348);if(!r[o(544)][o(392)](n[o(418)],t[o(428)]))return;const l=n[o(418)][o(394)](),h=n[o(418)][o(353)],d=e[o(400)][o(398)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(610)];p=p||d[o(591)](e);const i=r[o(563)][o(514)](e);if(i&&i[o(415)](o(384)))return;o(490)==t[o(351)]&&d[o(472)](e)&&!d[o(479)](e)&&(e[o(499)]||h[o(448)]?f&&f[o(639)]==e||(f=e,g(t[o(504)]),v=!0):m=m||t[o(504)])}function g(t){const e=o,i=r[e(368)][e(454)](e(574),{class:e(516)+u}),a=r[e(563)][e(461)](t);c[e(429)][e(531)]&&r[e(368)][e(494)](e(516)+u+e(365),i),s[e(326)]==c&&r[e(368)][e(494)](e(421),i),r[e(368)][e(435)](a,i),r[e(563)][e(498)](i,n[e(413)])}p||v||!m||g(m)}}(this[t(411)]),{priority:t(467)}),this[t(411)][t(434)][t(391)].on(t(640),(e,i,s)=>{const n=t,r=s[n(563)][n(557)](i[n(413)]);if(r)for(const t of r)(t[n(403)](n(317))||t[n(403)](n(613)))&&(s[n(563)][n(369)](t,i[n(413)]),s[n(368)][n(604)](t))},{priority:t(467)}),this[t(411)][t(434)][t(391)].on(t(401),(e,i,s)=>{const n=t,r=i[n(413)][n(344)](":")[1],o=this[n(359)](r);if(!o)return null;const a=n(330)==o[n(351)]?n(344):n(348);if(s[n(544)][n(392)](i[n(418)],e[n(428)]))for(const t of i[n(418)][n(396)]()){if(!t.is(n(616),n(503)))continue;const e=s[n(368)][n(454)](n(574),{class:n(516)+a}),r=s[n(563)][n(461)](this[n(411)][n(400)][n(325)](t));o[n(429)][n(531)]&&s[n(368)][n(494)](n(516)+a+n(365),e),this[n(326)]==o&&s[n(368)][n(494)](n(421),e),s[n(368)][n(435)](r,e),s[n(563)][n(498)](e,i[n(413)])}},{priority:t(467)}),this[t(411)][t(400)][t(478)].on(t(336),()=>{const e=t;this[e(411)][e(434)][e(580)][e(336)](t=>{const i=e;for(const e of this[i(411)][i(400)][i(478)][i(459)]()){const s=this[i(411)][i(400)][i(478)][i(523)](e),n=this[i(411)][i(434)][i(580)][i(478)][i(523)](e);if(n){const e=s[i(589)](i(386));if(t[i(361)](i(637),n),t[i(508)](i(634),n),t[i(508)](i(437),n),t[i(508)](i(370),n),e){const s=this[i(359)](e);if(!s)return null;t[i(455)](i(637),e,n),t[i(494)](i(324)+s[i(351)],n),this[i(326)]==s&&t[i(494)](i(370),n)}}}})}),this[t(411)][t(559)][t(607)](t(432))[t(350)]({view:t(438),model:e=>t(456)+e,converterPriority:t(358)}),this[t(411)][t(559)][t(607)](t(432))[t(350)]({view:t(366),model:e=>t(468)+e,converterPriority:t(358)}),this[t(411)][t(559)][t(607)](t(621))[t(346)]({model:t(612),view:e=>({name:t(575)+e,group:t(612)}),converterPriority:t(358)}),this[t(411)][t(559)][t(607)](t(470))[t(635)]({model:t(612),view:e=>{const i=t,s=e[i(413)][i(344)](":")[1];return i(343)!=s&&i(502)!=s?null:{classes:[i(581),i(620)+s]}}}),this[t(411)][t(434)][t(391)].on(t(426),le(this[t(411)],t(348)),{priority:t(467)}),this[t(411)][t(434)][t(391)].on(t(458),le(this[t(411)],t(344)),{priority:t(467)}),this[t(411)][t(434)][t(391)].on(t(447),(e,i,s)=>{const n=t,r=s[n(563)][n(557)](i[n(413)]);if(r)for(const t of r)t.is(n(425))&&(s[n(563)][n(369)](t,i[n(413)]),s[n(368)][n(604)](t))},{priority:t(467)})}[oe(359)](t){const e=oe;return this[e(542)][e(354)](t)}[oe(618)](t){const e=oe;return this[e(474)]&&this[e(474)][e(597)](),this[e(474)]=new Yt(this[e(411)][e(572)],t),this[e(474)]}[oe(631)](){const t=oe;this[t(411)][t(400)][t(478)][t(319)][t(636)](t(339)),this.on(t(532),(e,i,s,n)=>{const r=t;n&&this[r(321)][r(604)](n),s&&(this[r(321)][r(330)]({view:s,stackId:r(404),position:{target:()=>{const t=r,e=this[t(411)][t(434)],i=this[t(359)](s[t(571)]);let n;if(i[t(429)][t(495)]){const s=e[t(580)][t(385)](i[t(488)]);n=Array[t(318)](s[t(320)]())}else{const i=this[t(411)][t(400)][t(538)][t(354)](t(630)+s[t(571)]);n=Array[t(318)](e[t(563)][t(557)](i[t(428)]))[t(375)](i=>e[t(580)][t(408)][t(373)](i))[t(375)](e=>Array[t(318)](e[t(320)]()))[t(463)]()}return this[t(483)]&&n[t(638)](e=>e[t(322)]-3<=this[t(483)].y&&e[t(430)]+3>=this[t(483)].y&&e[t(412)]-3<=this[t(483)].x&&e[t(338)]+3>=this[t(483)].x)||n[0]}}}),this[r(321)][r(562)](r(404)))}),this.on(t(489),(e,i,s,n)=>{const r=t;this[r(592)]=s?this[r(618)](s):null,this[r(411)][r(400)][r(336)](()=>{const t=r,e=this[t(411)][t(434)];n&&(n[t(429)][t(495)]?e[t(580)][t(336)](i=>{const s=t;i[s(508)](s(370),e[s(580)][s(478)][s(523)](n[s(488)]))}):e[t(606)](t(630)+n.id)),s&&(s[t(429)][t(495)]?e[t(580)][t(336)](i=>{const n=t;i[n(494)](n(370),e[n(580)][n(478)][n(523)](s[n(488)]))}):e[t(606)](t(630)+s.id))})}),this[t(598)](this[t(411)][t(434)][t(580)][t(478)],t(362),(e,i)=>{const s=t;if(this[s(326)])return;const n=this[s(469)](i[s(510)]),r=this[s(542)][s(354)](n);r?(this[s(483)]={x:i[s(409)].x,y:i[s(409)].y},this[s(592)]=this[s(618)](r)):(this[s(483)]=null,this[s(592)]=null)}),this[t(598)](this[t(411)][t(434)][t(580)][t(478)],t(603),(e,i)=>{const s=t,n=this[s(469)](i[s(510)]),r=this[s(542)][s(354)](n);r?(this[s(483)]={x:i[s(409)].x,y:i[s(409)].y},r===this[s(326)]?this[s(321)][s(376)]():this[s(326)]=r):(this[s(483)]=null,this[s(326)]=null)})}[oe(469)](t){const e=oe;do{const i=t[e(589)](e(637));if(i)return i;t=t[e(639)]}while(t);return null}[oe(449)](){const t=oe;this[t(411)][t(400)][t(336)](e=>{const i=t;for(const t of this[i(411)][i(400)][i(538)])e[i(551)](t)})}}function le(t,e){return(i,s,n)=>{const r=ae;if(!n[r(544)][r(392)](s[r(418)],i[r(428)]))return;const o=s[r(418)][r(394)](),a=s[r(418)][r(353)],c=t[r(400)][r(398)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(610)];h=h||c[r(591)](e);const i=n[r(563)][r(514)](e);if(i&&i[r(415)](r(384)))return;r(490)==t[r(351)]&&c[r(472)](e)&&!c[r(479)](e)&&(e[r(499)]||a[r(448)]?u&&u[r(639)]==e||(u=e,f(t[r(504)]),d=!0):l=l||t[r(504)])}function f(t){const i=r,o=n[i(563)][i(461)](t),a=n[i(368)][i(454)](i(574),{class:i(620)+e});n[i(368)][i(435)](o,a),n[i(563)][i(498)](a,s[i(413)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(553)][e(354)](ue);this[e(327)]=!1,this[e(598)](i,e(334),()=>this[e(416)]()),this[e(598)](i,e(360),()=>this[e(416)]())}[oe(567)](){const t=oe,e=this[t(411)],i=e[t(553)][t(354)](ue),s=i[t(440)]?i[t(641)][t(565)]:null;e[t(539)][t(354)](t(388))[t(552)](s)}[oe(416)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(411)][t(553)][t(354)](ue),r=n&&s[t(393)](n[t(565)]);this[t(433)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(536)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(553)][i(354)](ue);this[i(327)]=!1,this[i(536)]=i(496)===e?1:-1,this[i(598)](s,i(334),()=>this[i(416)]()),this[i(598)](s,i(360),()=>this[i(416)]()),this[i(598)](s,i(489),()=>this[i(416)]())}[oe(567)](){const e=oe,i=this[e(411)],s=i[e(553)][e(354)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(326)]=n?s[e(641)][e(537)][e(354)](r+this[e(536)]):s[e(641)][e(537)][e(566)],s[e(326)][e(429)][e(495)])o=i[e(434)][e(580)][e(385)](s[e(326)][e(488)]);else{const t=i[e(400)][e(538)][e(354)](e(630)+s[e(326)].id);o=(0,K.getMarkerDomElement)(i[e(434)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(416)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(411)][t(553)][t(354)](ue);this[t(433)]=!!(r&&n&&s)&&(!e||(1===this[t(536)]?i<s-1:i>0))}}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().bind(null,"head"),me.domAPI=Nt(),me.insertStyleElement=Vt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["isEnabled","forward","ck-revision-history-ui__changes-navigation__wrapper","2992293tEEAWd","isBackwardNavigationEnabled","2430150LkpNkL","62812DLoXIt","EDIT_X_OF_Y_REVISIONS","isReady","_statusText","462993GorZDo","No changes","numberOfChanges","isForwardNavigationEnabled","span","2451897JlNKlt","_isStatusLabelVisible","Show previous change","setTemplate","set","execute","Show next change","ck-hidden","628604fzyWlb","div","ck-revision-history-ui__changes-navigation__navigation","bindTemplate","Total","Loading...","8kSLDvi","currentChangeNumber","ck-revision-history-ui","NUMBER_OF_CHANGES","X_OF_Y_CHANGES","backward","ck-revision-history-ui__changes-navigation","5IuAfdo","fire","isNavigationMode","305047vOTcWe","bind","ck-revision-history-ui__changes-navigation__label"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=121]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(252752===-parseInt(e(133))/1+-parseInt(e(142))/2+parseInt(e(146))/3+parseInt(e(159))/4*(parseInt(e(130))/5)+-parseInt(e(141))/6+parseInt(e(151))/7+parseInt(e(123))/8*(parseInt(e(139))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(162)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(155)](e(132),!1),this[e(155)](e(144),!1),this[e(155)](e(124),0),this[e(155)](e(148),0),this[e(155)](e(149),!1),this[e(155)](e(140),!1),this[e(134)](e(152)).to(this,e(144),this,e(148),(t,e)=>t&&e>0),this[e(134)](e(145)).to(this,e(144),this,e(124),this,e(148),this,e(132),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(122));if(!n)return at(t,o(147));const a=at(t,o(126),n);return r?at(t,o(127),[s+1,n]):a}),s[e(155)]({label:at(t,e(153)),tooltip:!0,icon:_t.IconChevronUp}),n[e(155)]({label:at(t,e(157)),tooltip:!0,icon:_t.IconChevronDown}),s[e(134)](e(136)).to(this,e(140)),n[e(134)](e(136)).to(this,e(149)),s.on(e(156),()=>this[e(131)](e(156),e(128))),n.on(e(156),()=>this[e(131)](e(156),e(137))),this[e(154)]({tag:e(160),attributes:{class:["ck",e(125),e(129)]},children:[{tag:e(150),attributes:{class:[e(138)]},children:[{tag:e(150),attributes:{class:[e(135),i.if(e(152),e(158),t=>!t)]},children:[{text:i.to(e(132),i=>i?at(t,e(143))+": ":at(t,e(121))+": ")}]},{text:i.to(e(145))}]},new It.ToolbarSeparatorView,{tag:e(160),attributes:{class:[e(161)]},children:[s,n]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=Nt(),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-=218]})(t,e)}function _e(){const t=["editor","editing","view","isPremiumPlugin","show","4820YKUOkj","2qkrmwK","9139626GvWGkt","change","roots","5897658iIfNAz","1408022xdjdcp","isOfficialPlugin","3460848COjmwC","removeClass","2876mwFKyr","pluginName","RevisionViewerLoadingOverlay","ck-editor__editable__loading-overlay","addClass","hide","337829hEqfBI","1495188rMrQPa","document"];return(_e=function(){return t})()}!function(t){const e=we,i=t();for(;;)try{if(523214===parseInt(e(231))/1*(-parseInt(e(240))/2)+-parseInt(e(232))/3+parseInt(e(225))/4*(parseInt(e(239))/5)+-parseInt(e(220))/6+parseInt(e(221))/7+parseInt(e(223))/8+parseInt(e(241))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const Ie=be(228);class Se extends G.Plugin{static get[be(226)](){return be(227)}static get[be(222)](){return!0}static get[be(237)](){return!0}[be(238)](){const t=be,e=this[t(234)][t(235)][t(236)];e[t(218)](i=>{const s=t;for(const t of e[s(233)][s(219)])i[s(229)](Ie,t)})}[be(230)](){const t=be,e=this[t(234)][t(235)][t(236)];e[t(218)](i=>{const s=t;for(const t of e[s(233)][s(219)])i[s(224)](Ie,t)})}}function Oe(t,e){const i=Te();return(Oe=function(t,e){return i[t-=497]})(t,e)}const xe=Oe;!function(t){const e=Oe,i=t();for(;;)try{if(579952===parseInt(e(501))/1+-parseInt(e(537))/2+-parseInt(e(521))/3+-parseInt(e(540))/4+-parseInt(e(531))/5*(-parseInt(e(528))/6)+-parseInt(e(505))/7*(-parseInt(e(517))/8)+parseInt(e(513))/9*(parseInt(e(514))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[xe(516)](){return xe(543)}static get[xe(508)](){return!0}static get[xe(525)](){return!0}static get[xe(541)](){return[ue,Se]}[xe(511)](){const t=xe,e=this[t(524)],i=e[t(526)][t(503)](ue),s=e[t(526)][t(503)](Se);e.ui[t(532)][t(515)](t(533),i=>{const s=t,n=new It.ButtonView(i);return n[s(498)]({label:at(i,s(538)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(522)}),this[s(500)](n,s(507),()=>{const t=s;e[t(509)][t(503)](t(535))[t(497)]()}),n}),e.ui[t(532)][t(515)](t(506),i=>{const s=t,n=new It.ButtonView(i);return n[s(498)]({label:at(i,s(520)),withText:!0,tooltip:!0}),n[s(544)](s(534)).to(e[s(499)][s(503)](s(506))),this[s(500)](n,s(507),()=>e[s(507)](s(506))),n}),e.ui[t(532)][t(515)](t(542),s=>{const n=t,r=new ge(s),o=e[n(499)][n(503)](n(536)),a=e[n(499)][n(503)](n(529));return r[n(544)](n(518)).to(o,n(534)),r[n(544)](n(530)).to(a,n(534)),r[n(544)](n(519),n(512),n(539),n(504)).to(i),this[n(500)](r,n(507),(t,i)=>{const s=n;e[s(507)](s(527)===i?s(529):s(536))}),r}),s[t(523)](),i.on(t(502),(e,i,n)=>{const r=t;n?s[r(510)]():s[r(523)]()})}}function Te(){const t=["requires","changesNavigation","RevisionViewerUI","bind","closeRevisionViewerCallback","set","commands","listenTo","798649WElphe","change:isReady","get","isNavigationMode","43288yMaIuS","restoreRevision","execute","isOfficialPlugin","config","hide","init","currentChangeNumber","461133lBSSHr","140NtkdPk","add","pluginName","392KXsbIP","isBackwardNavigationEnabled","isReady","Restore this revision","2251338HcYXJQ","ck-revision-history-ui__back-to-editing","show","editor","isPremiumPlugin","plugins","forward","798WGDgOk","showNextChange","isForwardNavigationEnabled","39945YhyFCK","componentFactory","exitToEditing","isEnabled","revisionHistory","showPreviousChange","1778750wKbxYh","Back to editing","numberOfChanges","2646988qdSrtd"];return(Te=function(){return t})()}var Re=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=Nt(),Ae.insertStyleElement=Vt();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;function Me(t,e){const i=Ve();return(Me=function(t,e){return i[t-=372]})(t,e)}const Ee=Me;function Ve(){const t=["_resizeObserver","_tooltipString","element","extendTemplate","Enter the revision name","fieldView","Revision name","destroy","span","ck-tooltip_multi-line","_updateTooltipText","value","input","939272nPHdDd","bindTemplate","169731fzGHCh","render","scrollWidth","placeholder","listenTo","216QUgEuv","690012jBVgkc","338261olLmaU","3WRtNCs","ck-revision-history-sidebar__revision-name","clientWidth","1031926nrMRav","1429565pJgxlA","set","154119heeqAX"];return(Ve=function(){return t})()}!function(t){const e=Me,i=t();for(;;)try{if(278663===parseInt(e(383))/1+parseInt(e(380))/2*(parseInt(e(377))/3)+-parseInt(e(397))/4+parseInt(e(381))/5+parseInt(e(375))/6+-parseInt(e(376))/7+parseInt(e(374))/8*(-parseInt(e(399))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends It.LabeledFieldView{[Ee(384)]=null;constructor(t,e){const i=Ee;super(t,e);const s=this[i(398)];this[i(382)]({label:at(t,i(390)),_tooltipString:""}),this[i(389)][i(372)]=at(t,i(388)),this[i(387)]({tag:i(392),attributes:{class:[i(378)],"data-cke-tooltip-text":s.to(i(385)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(393)}})}[Ee(400)](){const e=Ee;super[e(400)](),this[e(384)]=new t.ResizeObserver(this[e(389)][e(386)],()=>this[e(394)]()),this[e(373)](this[e(389)],e(396),()=>this[e(394)]())}[Ee(391)](){const t=Ee;super[t(391)](),this[t(384)]&&this[t(384)][t(391)]()}[Ee(394)](){const t=Ee,e=this[t(389)][t(386)];this[t(385)]=e[t(401)]>e[t(379)]&&e[t(395)]||""}}var Ce=i(249),Le={attributes:{"data-cke":!0}};Le.setAttributes=Mt(),Le.insert=Rt().bind(null,"head"),Le.domAPI=Nt(),Le.insertStyleElement=Vt();Ot()(Ce.A,Le);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(){const t=["616364LIQtCr","span","10vUSQNB","428583cxTSwg","2143000LEvNcB","72AJjxqC","18oeJWiQ","ck-revision-history-sidebar__revision-author","3212271zsgedQ","ck-revision-history-sidebar__revision-author_creator","8YmuORn","push","ck-revision-history-sidebar__revision-author__name","0 0 11 10","setTemplate","name","Revision creator","3MKjZLH","3338159vCHOiD","1614352lzEEOo","set","Revision author","2qwHbNg","2205177LtLtiD"];return(je=function(){return t})()}function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=267]})(t,e)}!function(t){const e=Fe,i=t();for(;;)try{if(217937===parseInt(e(272))/1*(parseInt(e(267))/2)+-parseInt(e(286))/3*(parseInt(e(288))/4)+-parseInt(e(273))/5+-parseInt(e(275))/6*(-parseInt(e(269))/7)+-parseInt(e(279))/8*(parseInt(e(277))/9)+parseInt(e(271))/10*(-parseInt(e(287))/11)+parseInt(e(274))/12*(parseInt(e(268))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const s=Fe;super(t);const n=new It.IconView;n[s(289)]({content:_t.IconUser,viewBox:s(282)});const r=["ck",s(276)];i&&r[s(280)](s(278));const o=[{tag:s(270),attributes:{class:["ck",s(281)],title:at(t,s(i?285:290))},children:[n,e[s(284)]]}];this[s(283)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=Ue();return(ze=function(t,e){return i[t-=381]})(t,e)}function Ue(){var t=["3505884WBHkJD","2103WggmQY","1aGoVeg","long","toLocaleDateString","5151412UwPYnb","toLocaleTimeString","3696ixssdW","3177695qOeauG","numeric","9ZzPcem","223883mOBUbM","8LfZLFb","193394BZsmTh","5394440RjHqIb"];return(Ue=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(492707===parseInt(e(393))/1*(parseInt(e(389))/2)+parseInt(e(392))/3*(-parseInt(e(383))/4)+parseInt(e(384))/5+parseInt(e(391))/6+parseInt(e(381))/7*(-parseInt(e(388))/8)+-parseInt(e(386))/9*(-parseInt(e(390))/10)+parseInt(e(387))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);var We=i(11),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=Rt().bind(null,"head"),He.domAPI=Nt(),He.insertStyleElement=Vt();Ot()(We.A,He);We.A&&We.A.locals&&We.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=466]})(t,e)}function qe(){const t=["ck-on","Show more items","change:isActionsDropdownOpen","11DZSEMo","map","children","Restore this revision","3126jNszqb","21787550UjRRuo","_action","isEnabled","name","menu","Compare against selected","Name this revision","find","1393894aUMawK","first","ck-revision-history-sidebar__revision__actions","extendTemplate","execute","add","1AQEsiX","4670himvlp","isVisible","bind","26454ZlTrLw","2578814DLSvMu","menuitem","button","model","bindTemplate","items","set","listenTo","3846008QQrxpt","source","16FVwzFU","listView","isReady","isOpen","panelPosition","action","function","buttonView","5061618XyoAjv","isActionsDropdownOpen","stopPropagation","class","locale"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(521595===-parseInt(e(494))/1*(parseInt(e(488))/2)+-parseInt(e(498))/3*(parseInt(e(509))/4)+-parseInt(e(495))/5*(-parseInt(e(479))/6)+-parseInt(e(499))/7+-parseInt(e(507))/8+-parseInt(e(467))/9+-parseInt(e(480))/10*(-parseInt(e(475))/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=Rt().bind(null,"head"),Be.domAPI=Nt(),Be.insertStyleElement=Vt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["uiLanguage","isConfirm","extendTemplate","791qkRmMK","set","4584508MJEiBm","isSelected","1730120wpXtZO","setName","isEnabled","3081438XEbAip",".ck-thread__remove-confirm","unhighlight","revisionActionsView","fire","bindTemplate","1aQMfMP","ck-revision-history-sidebar__actions_dropdown_open","render","isActionsDropdownOpen","fieldView","73640dTvHmK","isReady","element","name","change","deselect","_revision","span","creator","revisionNameView","ck-revision-history-sidebar__revision-authors","unshift","_createdAtFormatted","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setTemplate","value","_requireRevisionName","3uvjRSv","closest","ck-revision-history-sidebar__revision__date","listenTo","length","select","isHighlighted","from","ck-disabled","srcElement","filter","authors","220","782842uBVhPb","map","ck-revision-history-sidebar__revision_selected","createdAt","bind","ck-revision-history-sidebar__revision_highlighted","ck-reset","ck-revision-history-sidebar__revision__controls-wrapper","div","highlight","ck-revision-history-sidebar__revision-wrapper","16833440rleHKh","6802191lKpINA","ck-revision-history-sidebar__revision"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=471]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(597711===-parseInt(e(529))/1*(parseInt(e(499))/2)+-parseInt(e(486))/3*(parseInt(e(518))/4)+-parseInt(e(520))/5+parseInt(e(523))/6+-parseInt(e(516))/7*(-parseInt(e(534))/8)+-parseInt(e(511))/9+parseInt(e(510))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(478)];[Ye(526)];[Ye(475)];[Ye(485)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(528)],a=function(t,e){const i=r,s=Array[i(493)](e[i(497)])[i(496)](t=>t!=e[i(477)]);return e[i(477)]&&s[i(480)](e[i(477)]),s[i(500)](s=>new Pe(t,s,s==e[i(477)]))}(e,i);this.id=i.id,this[r(475)]=i,this[r(485)]=n,this[r(503)](r(472),r(502)).to(i),this[r(503)](r(481)).to(this,r(502),t=>{return i=e[r(513)],(s=t)[(n=ze)(395)](i,{month:n(394),day:n(385)})+", "+s[n(382)](i,{hour:n(385),minute:n(385)});var i,s,n}),this[r(517)](r(519),!1),this[r(517)](r(492),!1),this[r(517)](r(532),!1),this[r(517)](r(535),!1),this[r(517)](r(522),!1),this[r(478)]=new De(e,It.createLabeledInputText),this[r(478)][r(533)][r(515)]({attributes:{maxlength:r(498)}}),this[r(478)][r(533)][r(503)](r(484)).to(this,r(472),t=>t||this[r(481)]),this[r(478)][r(503)](r(522)).to(this,r(519),this,r(522),(t,e)=>t&&e),this[r(526)]=s&&s[r(490)]?function(e,i){const s=Ze,n=e[s(503)],r=e[s(471)],o=(0,It.createDropdown)(r);o[s(513)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ze,s=t[i(471)],n={"Compare against selected":at(s,i(485)),"Name this revision":at(s,i(486)),"Restore this revision":at(s,i(478))};return e[i(476)](t=>{const e=i,s=n[t[e(483)]];return s&&s!==t[e(483)]&&(t[e(483)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(501),model:new It.UIModel({label:t[n(483)],class:t[n(470)],withText:!0,role:n(500),_action:t[n(514)]})};i[n(502)][n(497)](n(482)).to(e,n(468),i=>n(515)!=typeof t[n(482)]||!i||t[n(482)](e)),o[n(493)](i)}return o}(e,i);return e[s(497)](s(468)).to(o,s(512)),o[s(466)][s(505)]({label:at(r,s(473)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(491)]({attributes:{class:[s(490),n.if(s(468),s(472))]},on:{click:n.to(t=>t[s(469)]())}}),o.on(s(492),t=>{const i=s;e[i(511)]&&i(515)==typeof t[i(508)][i(481)]&&t[i(508)][i(481)](e)}),(0,It.addListToDropdown)(o,a,{role:s(484)}),o[s(506)](e,s(474),(t,n,r)=>{const a=s;if(r)for(const t of o[a(510)][a(504)]){const s=t[a(477)][a(489)],n=i[a(487)](t=>t[a(514)]===s[a(481)])[a(496)];t[a(496)]=void 0===n||n(e)}}),o}(this,s):"",this[r(526)]&&this[r(526)][r(503)](r(522)).to(this),this[r(483)]({tag:r(507),attributes:{class:["ck",r(505),r(509),o.if(r(514),r(482))]},children:[{tag:r(507),attributes:{class:["ck",r(505),r(512),o.if(r(522),r(494),t=>!t),o.if(r(519),r(501)),o.if(r(492),r(504)),o.if(r(532),r(530))]},children:[this[r(478)],{tag:r(476),attributes:{class:["ck",r(488)]},children:[{text:o.to(r(481))}]},{tag:r(507),attributes:{class:["ck",r(506)]},children:[{tag:"ul",attributes:{class:["ck",r(479)]},children:a}]},this[r(526)]],on:{click:o.to(t=>{const e=r;t[e(495)][e(487)](e(524))||this[e(535)]&&this[e(522)]&&this[e(527)](e(491),{id:this.id})})}}]})}[Ye(531)](){const t=Ye;super[t(531)]();const e=this[t(478)][t(533)][t(471)];this[t(489)](e,t(473),()=>{const i=t;this[i(485)]&&!e[i(484)]||this[i(527)](i(521),{id:this.id,name:e[i(484)]}),e[i(484)]||(e[i(484)]=this[i(472)]?this[i(472)]:this[i(481)])})}[Ye(491)](){this[Ye(519)]=!0}[Ye(474)](){this[Ye(519)]=!1}[Ye(508)](){this[Ye(492)]=!0}[Ye(525)](){this[Ye(492)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class si extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},xi={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ti={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let 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 Qs(t,e,i)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Li=new Map;class ji extends Mi{static create(t){let e=Li.get(t);return void 0===e&&Li.set(t,e=new ji(t)),e}static resetCache(){Li.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 Qs(t,e,i,this.name)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Es(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Js({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Fi={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let s=Pi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Pi.set(i,s)),s}const Ui=new Map;const Wi=new Map;let 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,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ui.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Ui.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Us(this.floor?Math.floor(t):qs(t,3),this.padTo)}}class Ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=zi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Wi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ps(s)||vs.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),Ui.clear(),Wi.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Xi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=zi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=zi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ps(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,un,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=fo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Bi(this,t,fn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,yn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Fi[i];return s||(s=new Intl.ListFormat(t,e),Fi[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ls()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class ts extends Mi{static get utcInstance(){return null===Qi&&(Qi=new ts(0)),Qi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class es extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function is(t,e){if(Es(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||ji.create(t)}return Vs(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Vi.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=Ps(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Xi.resetCache(),ji.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+($s(t)?ks:ys)[e-1]}function Is(t,e){const i=$s(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ks(c,e,i)):u>Ks(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function xs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function Ns(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ts(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function Rs(t,e){if(!Es(t.localWeekday)||!Es(t.localWeekNumber)||!Es(t.localWeekYear)){if(!Es(t.weekday)||!Es(t.weekNumber)||!Es(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Es(t.localWeekday)||(t.weekday=t.localWeekday),Es(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Es(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function As(t){const e=Ds(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Es(t){return void 0===t}function Vs(t){return"number"==typeof t}function Ds(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ls(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function js(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Fs(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ps(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return Ds(t)&&t>=e&&t<=i}function Us(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ws(t){return Es(t)||null===t||""===t?void 0:parseInt(t,10)}function Hs(t){return Es(t)||null===t||""===t?void 0:parseFloat(t)}function Zs(t){if(!Es(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return $s(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Xs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Qs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(Fs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Us(i,2)}:${Us(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Us(i,2)}${Us(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:Ni,ffff:Ri,F:Ii,FF:Oi,FFF:Ti,FFFF:Ai};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Us(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function xn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ws(e[i+n]);return[s,null,i+n]}}const Nn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Tn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rn=RegExp(`${Tn.source}${`(?:${Nn.source}?(?:\\[(${_n.source})\\])?)?`}`),An=RegExp(`(?:T${Rn.source})?`),Mn=xn("weekYear","weekNumber","weekDay"),En=xn("year","ordinal"),Vn=RegExp(`${Tn.source} ?(?:${Nn.source}|(${_n.source}))?`),Dn=RegExp(`(?: ${Vn.source})?`);function Cn(t,e,i){const s=t[e];return Es(s)?i:Ws(s)}function Ln(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Zs(t[e+3])},null,e+4]}function jn(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Fn(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Pn=RegExp(`^T?${Tn.source}$`),zn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Un(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Hs(i)),months:d(Hs(s)),weeks:d(Hs(n)),days:d(Hs(r)),hours:d(Hs(o)),minutes:d(Hs(a)),seconds:d(Hs(c),"-0"===c),milliseconds:d(Zs(u),h)}]}const Wn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hn(t,e,i,s,n,r,o){const a={year:2===e.length?Xs(Ws(e)):Ws(e),month:an.indexOf(i)+1,day:Ws(s),hour:Ws(n),minute:Ws(r)};return o&&(a.second=Ws(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Zn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Hn(e,n,s,i,r,o,a);let f;return f=c?Wn[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,An),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,An),Qn=In(/(\d{4})-?(\d{3})/,An),tr=In(Rn),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Ln,jn,Fn),ir=Sn(Mn,Ln,jn,Fn),sr=Sn(En,Ln,jn,Fn),nr=Sn(Ln,jn,Fn);const rr=Sn(Ln);const or=In(/(\d{4})-(\d\d)-(\d\d)/,Dn),ar=In(Vn),cr=Sn(Ln,jn,Fn);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Es(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),pr.reduce((i,s)=>{if(Es(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Vs(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[zn,Un])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return On(t,[Pn,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new si(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Es(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=qs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Fs(e.values,t)||Fs(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Vs(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Vs(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:Ls()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function xr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const Nr=`[ ${String.fromCharCode(160)}]`,Tr=new RegExp(Nr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Tr,Nr)}function Ar(t){return t.replace(/\./g,"").replace(Tr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(t))+e}}function Er(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Vr(t){return{regex:t,deser:([t])=>t}}const Dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Lr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Lr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return xr(u);case"yy":case"kk":return xr(h,Xs);case"yyyy":case"kkkk":return xr(r);case"yyyyy":return xr(d);case"yyyyyy":return xr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return xr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return xr(s);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return xr(c);case"ooo":case"SSS":return xr(n);case"u":return Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return xr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Er(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Er(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Vr(/[a-z_+-/]{1,256}?/i);case" ":return Vr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=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 s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Fs(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;Es(t.z)||(i=ji.create(t.z)),Es(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Es(t.q)||(t.M=3*(t.q-1)+1),Es(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Es(t.u)||(t.S=Zs(t.u));const s=Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{});return[s,i,e]}(i):[null,null,void 0];if(Fs(i,"a")&&Fs(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Fr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const zr="Invalid DateTime",Ur=864e13;function Wr(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Os(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Js(t),e,i)}function Jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Js(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Us(t.c.year,i?6:4),e?(s+="-",s+=Us(t.c.month),s+="-",s+=Us(t.c.day)):(s+=Us(t.c.month),s+=Us(t.c.day)),s}function Qr(t,e,i,s,n,r){let o=Us(t.c.hour);return e?(o+=":",o+=Us(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Us(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Us(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Us(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Us(Math.trunc(-t.o/60)),o+=":",o+=Us(Math.trunc(-t.o%60))):(o+="+",o+=Us(Math.trunc(t.o/60)),o+=":",o+=Us(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const s=Xi.fromObject(e);let n,r;if(Es(t.year))n=vs.now();else{for(const e of so)Es(t[e])&&(t[e]=to[e]);const e=As(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Es(i.round)||i.round,n=(t,n)=>{t=qs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=Es(t.ts)?vs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Vs(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Xi.fromObject(e)}):fo.invalid(Wr(n))}static fromMillis(t,e={}){if(Vs(t))return t<-Ur||t>Ur?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Vs(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const s=Xi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rs(n,s),a=vs.now(),c=Es(e.specificOffset)?i.offset(a):e.specificOffset,u=!Es(n.ordinal),l=!Es(n.year),h=!Es(n.month)||!Es(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=Ns(g)):(p=so,v=to);let y=!1;for(const t of p){Es(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ds(t.weekYear),n=zs(t.weekNumber,1,Ks(t.weekYear,e,i)),r=zs(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ds(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):As(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?xs(n,r,o):u?Ts(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Xn,ir],[Qn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zn,qn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[$n,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Es(t)||Es(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Fr(t,e,i);return[s,n,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Lr(wn.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?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?Ns(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return $s(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Yr(i,e,t)}return qr(this,{ts:s,zone:t})}return fo.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=Rs(e,this.loc),n=!Es(e.weekYear)||!Es(e.weekNumber)||!Es(e.weekday),r=!Es(e.ordinal),o=!Es(e.year),a=!Es(e.month)||!Es(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=xs({...Os(this.c,i,s),...e},i,s):Es(e.ordinal)?(l={...this.toObject(),...e},Es(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=Ts({...Ns(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Qr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Kr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Fr(Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Xi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new jr(n,t)}static fromFormatParser(t,e,i={}){if(Es(t)||Es(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return xi}static get DATETIME_FULL(){return Ni}static get DATETIME_FULL_WITH_SECONDS(){return Ti}static get DATETIME_HUGE(){return Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Vs(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=190]})(t,e)}function vo(){const t=["startOf","17346xgiier","10DNBaEU","local","week","year","month","744stUjoE","10103360EKctWj","weekdayLong","5mXfhBS","minus","2869444SIFrPL","toRelativeCalendar","6wpSRDi","27638908UURxSe","403740BIQhHu","toJSDate","day","617330FXdaYY","monthLong","66256RwbBbs","hasSame","fromJSDate","setLocale"];return(vo=function(){return t})()}function go(t,e){const i=po,s=fo[i(194)](t)[i(195)](e),n=fo[i(199)](),r=n[i(207)]({days:1})[i(196)](i(214));let o,a;return s[i(193)](n,i(214))?(o=s[i(196)](i(214))[i(213)](),a=s[i(209)]()):s[i(193)](r,i(214))?(o=r[i(213)](),a=s[i(209)]()):s[i(193)](n,i(200))?(o=s[i(196)](i(200))[i(213)](),a=s[i(205)]||""):s[i(193)](n,i(201))?(o=s[i(196)](i(202))[i(213)](),a=s[i(191)]||""):(o=s[i(196)](i(201))[i(213)](),a=String(s[i(201)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(731289===parseInt(e(190))/1+-parseInt(e(192))/2*(parseInt(e(210))/3)+parseInt(e(208))/4*(-parseInt(e(206))/5)+parseInt(e(203))/6*(-parseInt(e(197))/7)+-parseInt(e(204))/8+-parseInt(e(212))/9*(parseInt(e(198))/10)+parseInt(e(211))/11)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=Rt().bind(null,"head"),ko.domAPI=Nt(),ko.insertStyleElement=Vt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["startDate","294204WrzruD","find","add","revisionViews","ck-revision-history-sidebar__time-period__revisions","addRevision","localizedPeriodName","setName","6348780uqWVbg","uiLanguage","locale","select","ck-revision-history-sidebar__time-period__label","47625YVRORr","delegate","remove","1034656IAxkVW","776KMXGuH","createCollection","4WskLrn","389vkUzsA","_revisionActions","_requireRevisionName","737900kMHkUb","setTemplate","ck-revision-history-sidebar__time-period","removeRevision","span","div","1321250kSBHyX"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=358]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(121985===-parseInt(e(388))/1*(parseInt(e(385))/2)+-parseInt(e(381))/3*(parseInt(e(387))/4)+-parseInt(e(360))/5+parseInt(e(368))/6+-parseInt(e(366))/7+-parseInt(e(384))/8+parseInt(e(376))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[bo(367)];[bo(371)];[bo(358)];[bo(359)];constructor(t,e,i,s){const n=bo;super(t);const r=go(e,this[n(378)][n(377)])[n(374)];this[n(367)]=e,this[n(371)]=this[n(386)](),this[n(358)]=i,this[n(359)]=s,this[n(371)][n(382)](n(379)).to(this),this[n(371)][n(382)](n(375)).to(this),this[n(361)]({tag:n(365),attributes:{class:["ck",n(362)]},children:[{tag:n(364),attributes:{class:["ck",n(380)]},children:[{text:r}]},{tag:n(365),attributes:{class:["ck",n(372)]},children:this[n(371)]}]})}[bo(373)](t){const e=bo,i=new Ke(this[e(378)],t,this[e(358)],this[e(359)]);this[e(371)][e(370)](i)}[bo(363)](t){const e=bo,i=this[e(371)][e(369)](e=>e.id===t.id);this[e(371)][e(383)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=Nt(),Oo.insertStyleElement=Vt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function xo(t,e){const i=No();return(xo=function(t,e){return i[t-=116]})(t,e)}function No(){const t=["20788sSIsfT","ck-revision-history-sidebar__header","495048fCzQES","30547PdieBH","3YDJGbo","ck-revision-history-sidebar__header__label","3580FqrKES","ck-reset_all","471962iXZSiE","117rOtFRz","setTemplate","7022385NCCYxJ","content","49VsUoTH","1653144rXjmNz","Revision history","span","div","2022425poJChn"];return(No=function(){return t})()}!function(t){const e=xo,i=t();for(;;)try{if(394015===parseInt(e(127))/1*(-parseInt(e(131))/2)+parseInt(e(132))/3*(parseInt(e(123))/4)+parseInt(e(122))/5+parseInt(e(118))/6+parseInt(e(117))/7*(parseInt(e(125))/8)+parseInt(e(134))/9+-parseInt(e(129))/10*(parseInt(e(126))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class To extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(116)]=_t.IconHistory,this[e(133)]({tag:e(121),attributes:{class:["ck",e(130),e(124)]},children:[i,{tag:e(120),attributes:{class:["ck",e(128)]},children:[at(t,e(119))]}]})}}var Ro=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=Nt(),Ao.insertStyleElement=Vt();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;const Mo=Eo;function Eo(t,e){const i=Do();return(Eo=function(t,e){return i[t-=206]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(963175===-parseInt(e(213))/1*(-parseInt(e(208))/2)+-parseInt(e(252))/3*(parseInt(e(261))/4)+-parseInt(e(227))/5*(parseInt(e(229))/6)+-parseInt(e(223))/7+parseInt(e(219))/8+-parseInt(e(235))/9*(-parseInt(e(246))/10)+-parseInt(e(209))/11*(-parseInt(e(214))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Vo extends It.View{[Mo(222)];[Mo(241)];[Mo(225)];[Mo(211)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(206)];this[n(222)]=this[n(253)](),this[n(222)][n(256)](n(216)).to(this),this[n(222)][n(256)](n(244)).to(this),this[n(241)]=e,this[n(225)]=i,this[n(211)]=s,this.on(n(216),(t,e)=>{const i=n;this[i(226)](i(231),e)}),this.on(n(244),(t,e)=>{const i=n;this[i(226)](i(233),e)}),this[n(236)](n(238),!1),this[n(258)]({tag:n(207),attributes:{class:["ck",n(255),n(251),n(217)]},children:[new To(t),{tag:n(207),attributes:{class:["ck",n(247),r.if(n(238),n(232),t=>!t)]},children:this[n(222)]}]})}[Mo(234)](){const t=Mo;super[t(234)]();for(const e of this[t(241)])this[t(228)](e);this[t(241)].on(t(259),(e,i)=>{this[t(228)](i)}),this[t(241)].on(t(249),(e,i)=>{this[t(220)](i)})}get[Mo(250)](){const t=Mo;return this[t(222)][t(210)](e=>e[t(250)][t(210)](t=>t))[t(257)]()}[Mo(248)](t){const e=Mo;for(const i of this[e(250)])t&&t.id===i.id?i[e(216)]():i[e(215)]()}[Mo(243)](t){const e=Mo;for(const i of this[e(250)])t[e(230)](({id:t})=>t===i.id)?i[e(239)]():i[e(262)]()}[Mo(228)](t){const e=Mo,i=go(t[e(212)],this[e(221)][e(224)])[e(242)];let s=this[e(222)][e(218)](0);s&&s[e(242)][e(254)]()===i[e(254)]()||(s=new Io(this[e(221)],i,this[e(225)],this[e(211)]),this[e(222)][e(259)](s)),s[e(237)](t)}[Mo(220)](t){const e=Mo,i=go(t[e(212)],this[e(221)][e(224)])[e(242)];this[e(245)](i)[e(260)](t)}[Mo(245)](t){const e=Mo;return this[e(222)][e(240)](i=>i[e(242)][e(254)]()===t[e(254)]())}}function Do(){const t=["608910QyeogM","some","revisionSelected","ck-disabled","revisionSetName","render","2401623VqyBfI","set","addRevision","isEnabled","highlight","find","_revisions","startDate","highlightRevisions","setName","_getTimePeriodViewByStartDate","20WYExbr","ck-revision-history-sidebar__timeline","selectRevision","remove","revisionViews","ck-rounded-corners","3WKhATZ","createCollection","getTime","ck-reset","delegate","flat","setTemplate","add","removeRevision","3041524RMooxh","unhighlight","bindTemplate","div","878joCvcw","39226nobKVd","map","_requireRevisionName","createdAt","2663HoLWaX","72qiaRLw","deselect","select","ck-revision-history-sidebar","get","5393256sjEbRV","_removeRevision","locale","timePeriodViews","4012841ILagVm","uiLanguage","_revisionActions","fire","5THGjCq","_addRevision"];return(Do=function(){return t})()}const Co=jo;function Lo(){const t=["render","Compare against selected","_createRevisionActions","_revisionViewer","change:diff","668414aNVgZr","4631606VPOEjl","_handleRevisionSelected","string","getRevision","revisionSetName","listenTo","revisionHistory.requireRevisionName","select","201xVYPHR","revisionHistory","getLaterVisibleRevision","locale","18486094dxJZYy","requires","destroy","compare","isEnabled","fieldView","element","8530bZEIzi","restoreRevision","highlightRevisions","isSelected","ready","_handleRevisionSetName","_handleEditorDataReady","getIndex","revisionHistory.revisionActions","config","isPremiumPlugin","Restore this revision","selectRevision","3PmqELq","isVisible","plugins","pluginName","9yazhPV","appendChild","init","1850280PQnhlE","assign","diff","isReady","nameRevision","getRevisionsInDiff","isOfficialPlugin","defaultRevisionActions","_revisionsRepository","availableRevisionActions","data","get","newRevisionId","_handleDiffChange","add","revisionSelected","Name this revision","_sidebarView","RevisionsSidebar","action","repository","map","setName","60244dadZWg","3684avYgPn","revisionViews","remove","name","editor","_revisions","bind","length","8117630byAzAk","timePeriodViews","focus","revisionHistory.viewerSidebarContainer","restoreRevisionCallback","compareAgainstSelected","getEarlierVisibleRevision"];return(Lo=function(){return t})()}function jo(t,e){const i=Lo();return(jo=function(t,e){return i[t-=265]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(615532===parseInt(e(269))/1*(-parseInt(e(320))/2)+parseInt(e(329))/3*(parseInt(e(299))/4)+-parseInt(e(340))/5*(-parseInt(e(300))/6)+parseInt(e(321))/7+-parseInt(e(276))/8+parseInt(e(273))/9*(parseInt(e(308))/10)+-parseInt(e(333))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Fo extends G.Plugin{[Co(318)];[Co(284)];[Co(293)];static[Co(283)]=[Co(313),Co(341),Co(280)];static[Co(285)]=function(){const t=Co;return{compareAgainstSelected:{name:t(316),action:({plugins:e},i)=>{const s=t,n=e[s(287)](ue),r=n[s(296)];let o=n[s(278)][s(288)],a=i.id;r[s(347)](o)>r[s(347)](a)&&([o,a]=[a,o]),n[s(336)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(287)](ue);return!(n[s(296)][s(281)](n[s(278)])[s(307)]>2||i[s(343)])}},restoreRevision:{name:t(267),action:(e,{id:i})=>{const s=t;e[s(265)][s(287)](s(330))[s(312)](i)},isVisible:({plugins:e},i)=>!!e[t(287)](ue)[t(296)][t(331)](i.id)},nameRevision:{name:t(292),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(287)](ue),o=r[n(296)][n(314)](i);r[n(336)](i,o),s[n(310)](),s[n(338)][n(328)]()}}}}();static get[Co(272)](){return Co(294)}static get[Co(282)](){return!0}static get[Co(266)](){return!0}static get[Co(334)](){return[ue]}constructor(t){const e=Co;super(t),this[e(318)]=t[e(271)][e(287)](ue),this[e(284)]=this[e(318)][e(296)],this[e(293)]=null}[Co(275)](){const t=Co,e=this[t(284)][t(305)],i=this[t(317)](),s=this[t(304)][t(265)][t(287)](t(311));this[t(293)]=new Vo(this[t(304)][t(332)],e,i,this[t(304)][t(265)][t(287)](t(327))),this[t(293)].on(t(291),this[t(322)][t(306)](this)),this[t(293)].on(t(325),this[t(345)][t(306)](this)),this[t(293)][t(306)](t(337)).to(this[t(318)]),this[t(293)][t(309)].on(t(290),(e,i)=>{const s=t;i[s(301)].on(s(290),(t,e)=>{const i=s;e[i(306)](i(337),i(279)).to(this[i(318)])})}),this[t(293)][t(315)](),this[t(326)](this[t(304)][t(286)],t(344),this[t(346)][t(306)](this)),this[t(326)](this[t(318)],t(319),this[t(289)][t(306)](this)),s[t(274)](this[t(293)][t(339)])}[Co(335)](){const t=Co;this[t(293)][t(339)][t(302)](),this[t(293)][t(335)]()}[Co(346)](){const t=Co,e=this[t(284)][t(324)](0);if(e){const i=this[t(284)][t(314)](e.id);this[t(318)][t(336)](e,i)}}[Co(322)](t,e){const i=Co,s=this[i(284)][i(324)](e.id),n=this[i(284)][i(314)](s.id);this[i(318)][i(336)](s,n)}[Co(345)](t,e){const i=Co;this[i(284)][i(324)](e.id)[i(298)](e[i(303)])}[Co(289)](t,e,i){const s=Co,n=this[s(284)][s(281)](i);n[s(307)]>2?(this[s(293)][s(342)](n),this[s(293)][s(268)](null)):(this[s(293)][s(342)]([]),this[s(293)][s(268)](n[0]))}[Co(317)](){const t=Co,e=this[t(304)],i=Fo[t(285)],s=e[t(265)][t(287)](t(348))||Fo[t(283)];if(s[t(307)])return s[t(297)](s=>{const n=t,r=n(323)==typeof s?Object[n(277)]({},i[s]):s;return r[n(295)]=r[n(295)][n(306)](this,e),r[n(270)]&&(r[n(270)]=r[n(270)][n(306)](this,e)),r})}}function Po(){const t=["stickyPanel","name","_elementReplacer","replace","init","get","1469036FqiGQk","setEditableElement","fire","limiterElement","editing","componentFactory","ready","fillFromConfig","viewportTopOffset","_initToolbar","view","destroy","config","render","_view","11634wFhMww","attachDomRoot","toolbar","bind","editor","992622UJDuVK","rootName","detachDomRoot","10qTAknC","4583216XRrQcs","element","document","262071BDiDVa","restore","viewportOffset","addToolbar","isFocused","263565sulMkE","focusTracker","110PWmJzc","getRoot","isActive","61172bUihgS","editable","3RhuqKt","_toolbarConfig","1112PdTFQY"];return(Po=function(){return t})()}const zo=Uo;function Uo(t,e){const i=Po();return(Uo=function(t,e){return i[t-=402]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(195865===parseInt(e(441))/1+parseInt(e(446))/2+-parseInt(e(448))/3*(-parseInt(e(409))/4)+-parseInt(e(432))/5*(parseInt(e(429))/6)+parseInt(e(424))/7*(-parseInt(e(402))/8)+-parseInt(e(436))/9*(parseInt(e(443))/10)+parseInt(e(433))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Wo extends It.EditorUI{[zo(423)];[zo(449)];[zo(405)];get[zo(419)](){return this[zo(423)]}constructor(e,i){const s=zo;super(e),this[s(423)]=i,this[s(449)]=(0,It.normalizeToolbarConfig)(e[s(421)][s(408)](s(426))),this[s(405)]=new t.ElementReplacer}get[zo(434)](){const t=zo;return this[t(419)][t(434)]}[zo(407)](t){const e=zo,i=this[e(428)],s=this[e(419)],n=i[e(413)][e(419)],r=s[e(447)],o=n[e(435)][e(444)]();r[e(404)]=o[e(430)],s[e(422)]();const a=r[e(434)];this[e(410)](r[e(404)],a),s[e(447)][e(427)](e(440)).to(this[e(442)]),n[e(425)](a),this[e(405)][e(406)](t,this[e(434)]),this[e(418)](),this[e(411)](e(415))}[zo(420)](){const t=zo;super[t(420)]();const e=this[t(419)],i=this[t(428)][t(413)][t(419)];this[t(405)][t(437)](),i[t(431)](e[t(447)][t(404)]),e[t(420)]()}[zo(418)](){const t=zo,e=this[t(419)];e[t(403)][t(427)](t(445)).to(this[t(442)],t(440)),e[t(403)][t(412)]=e[t(434)],e[t(403)][t(427)](t(417)).to(this,t(438),({top:t})=>t),e[t(426)][t(416)](this[t(449)],this[t(414)]),this[t(439)](e[t(426)])}}var Ho=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=Rt().bind(null,"head"),Zo.domAPI=Nt(),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-=311]})(t,e)}function Bo(){var t=["shouldToolbarGroupWhenFull","10188496QiCXxj","add","56622uZvCLW","toolbar","9zhUqcL","top","_editable","63484bxixDA","4fItfZu","258173EOUZRu","4250410uUbuHw","content","917OItqqA","main","render","1195818NaStgv","6659565DIPvYg","stickyPanel","editable"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(863446===parseInt(e(327))/1*(-parseInt(e(326))/2)+-parseInt(e(313))/3+-parseInt(e(325))/4+parseInt(e(314))/5+-parseInt(e(320))/6*(parseInt(e(330))/7)+parseInt(e(318))/8+-parseInt(e(322))/9*(-parseInt(e(328))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[qo(324)];[qo(315)];[qo(321)];get[qo(316)](){return this[qo(324)]}constructor(t,e,i={}){var s=qo;super(t),this[s(315)]=new It.StickyPanelView(t),this[s(321)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(317)]}),this[s(324)]=new It.InlineEditableUIView(t,e)}[qo(312)](){var t=qo;super[t(312)](),this[t(315)][t(329)][t(319)](this[t(321)]),this[t(323)][t(319)](this[t(315)]),this[t(311)][t(319)](this[t(316)])}}const Jo=Go;function Go(t,e){const i=Ko();return(Go=function(t,e){return i[t-=486]})(t,e)}function Ko(){const t=["fire","model","editing","1803920GYDJoX","data","46678NQNsIv","11388533yYHsAx","initPlugins","31JyyFba","locale","document","7HwkqAL","config","ready","4yDIVDi","2758314UPjabQ","destroy","create","1028745yzhEbj","view","sourceElement","initialData","updateSourceElement","_ui","get","49874HEOnSH","1230mJbjph","createRoot","12Lsvviu","297opVRmR","init","57352aIBmJx"];return(Ko=function(){return t})()}!function(t){const e=Go,i=t();for(;;)try{if(363441===-parseInt(e(491))/1*(-parseInt(e(488))/2)+-parseInt(e(501))/3+-parseInt(e(497))/4*(-parseInt(e(486))/5)+-parseInt(e(498))/6*(parseInt(e(494))/7)+parseInt(e(514))/8*(-parseInt(e(512))/9)+-parseInt(e(509))/10*(parseInt(e(508))/11)+parseInt(e(511))/12*(parseInt(e(489))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(506)];get ui(){return this[Jo(506)]}constructor(t,e){const i=Jo;super(e),this[i(503)]=t,this[i(516)][i(493)][i(510)]();const s=new Yo(this[i(492)],this[i(517)][i(502)],{shouldToolbarGroupWhenFull:!0});this[i(506)]=new Wo(this,s)}[Jo(499)](){const t=Jo;return this[t(505)](),this.ui[t(499)](),super[t(499)]()}static async[Jo(500)](t,e){const i=Jo,s=new this(t,e);return await s[i(490)](),await s.ui[i(513)](t),await s[i(487)][i(513)](s[i(495)][i(507)](i(504))||""),s[i(515)](i(496)),s}}const Qo=ta;function ta(t,e){const i=ea();return(ta=function(t,e){return i[t-=255]})(t,e)}function ea(){const t=["enableReadOnlyMode","RevisionHistory","1673Ceqrnj","set","isOpen","revisionHistory.viewerContainer","lazyRoots","isOfficialPlugin","RevisionsRepository","plugins","14113IEWmeE","result","change","remove","fromVersion","creator","_recalculatePageBreaks","translations","define","view","_getRevisionViewerEditorConfig","get","8bUeAap","map","element","_viewerEditor","editor","toolbar","revisionHistory.closeRevisionViewerCallback","setAttribute","addRevisionData","bind","restoreRevision","roots","removeAttribute","end","error","pluginName","push","RevisionViewerIntegration","refreshVisibility","toLocaleTimeString","has","removeMarker","keys","getUser","indexOf","destroy","create","exitToEditing","$graveyard","isAnonymous","init","name","Dialog","toLocaleDateString","isPremiumPlugin","isRevisionViewerOpen","45860NHGpzL","9016fCnhjC","parse","rootName","createdAt","isReady","restrictedEditingException","RevisionViewer","revisionHistory.showRevisionViewerCallback","isEnabled","hide","long","9JJPrvw","RevisionHistoryUtils","revisionHistory.viewerEditorElement","_enhanceCloseRevisionViewerCallback","adapter","_showRevisionViewer","Annotations","getRevisions","7632hlMCLX","getAttributeKeys","config","PaginationLookup","isAttached","repository","catch","update","document","3726Dpfkxo","18nvraEE","display","includes","_cleanUp","createRangeIn","revision-history-viewer-opened","markers","revision-history-missing-configuration","saveRevision","revisionHistory.requireRevisionName","getRevisionRootsAttributes","revisionHistory.editorContainer","_restoreRevision","Autosave","data","Restored","addUser","locale","getMarkersGroup","insert","revisionHistory.restoreRevisionCallback","loadRevisionData","DocumentOutlineUI","block","setSelection","style","_update","closeRevisionViewerCallback","fromCharCode","none","getRoot","RestrictedEditingMode","getRevisionDocumentData","toJSON","toVersion","RevisionTracker","removeSelectionAttribute","refreshPositioning","disableReadOnlyMode","DocumentOutline","isReadOnly","30443kyyfbe","users","Users","enqueueChange","getRevision","then","numeric","from","5333380nEULnv","showRevisionViewerCallback","uiLanguage","changesNavigation","detachRoot","addRoot","18770zELqZL","_enhanceShowRevisionViewerCallback","_closeRevisionViewer","revisionHistory","selection","commands","model","RevisionHistoryUI","join","save","requires","740215XsvspU"];return(ea=function(){return t})()}!function(t){const e=ta,i=t();for(;;)try{if(429509===parseInt(e(395))/1*(parseInt(e(288))/2)+parseInt(e(336))/3*(-parseInt(e(324))/4)+parseInt(e(265))/5*(parseInt(e(354))/6)+-parseInt(e(268))/7*(-parseInt(e(325))/8)+parseInt(e(353))/9*(-parseInt(e(409))/10)+-parseInt(e(276))/11*(-parseInt(e(344))/12)+-parseInt(e(403))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);const ia=[Qo(261),Qo(385)];class sa extends G.Plugin{[Qo(277)];static get[Qo(303)](){return Qo(305)}static get[Qo(273)](){return!0}static get[Qo(322)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(289)](t=>String[e(382)](t))[e(262)]("")}super(t),this[e(277)]=e(301),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class na extends G.Plugin{[Qo(291)];static get[Qo(303)](){return Qo(267)}static get[Qo(273)](){return!0}static get[Qo(322)](){return!0}static get[Qo(264)](){return[vt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(292)][i(346)][i(287)](i(257)))throw new t.CKEditorError(i(361),this);this[i(291)]=null,this[i(269)](i(323),!1),this[i(292)][i(346)][i(284)](i(332),t=>this[i(341)]({...t,translations:this[i(292)][i(371)][i(283)]})),this[i(292)][i(346)][i(284)](i(294),t=>this[i(256)](t)),this[i(292)][i(346)][i(284)](i(374),t=>this[i(366)](t)),this[i(292)][i(346)][i(284)](i(363),!1),this[i(255)](),this[i(339)]()}set[Qo(340)](t){const e=Qo;this[e(292)][e(275)][e(287)](e(389))[e(340)]=t}get[Qo(340)](){const t=Qo;return this[t(292)][t(275)][t(287)](t(389))[t(340)]}[Qo(296)](t){const e=Qo;return this[e(292)][e(275)][e(287)](e(389))[e(296)](t)}[Qo(399)](t){const e=Qo;return this[e(292)][e(275)][e(287)](e(274))[e(399)](t)}[Qo(343)](t){const e=Qo;return this[e(292)][e(275)][e(287)](e(274))[e(343)](t||{toJSON:!1})}[Qo(286)](){const e=Qo,i=this[e(292)],s=(0,K.sanitizeEditorConfig)(i,ia),n=i[e(275)][e(287)](e(389)),r=i[e(275)][e(287)](e(397))[e(396)];return s[e(293)]=[e(315),e(298),e(406)],delete s[e(272)],s[e(275)][e(304)](sa,ue,Ne,class extends G.Plugin{static get[e(264)](){return[ue,e(397)]}[e(318)](){const s=e,o=this[s(292)][s(275)][s(287)](s(397));for(const t of r)t[s(317)]||o[s(311)](t.id)||o[s(370)](t);const a=n[s(349)][s(343)]();let c=null;const u=this[s(292)][s(275)][s(287)](s(331));u[s(340)]=n[s(340)],u[s(297)](s(333)).to(n),this[s(292)][s(259)][s(287)](s(298))[s(297)](s(333)).to(i,s(394),t=>!t);for(const e of a){const i=null===e[s(281)];if(i&&e[s(388)]===e[s(280)])continue;const r=e[s(387)]();u[s(296)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(380)](r,o);else if(!o){const e=a[u(387)]();e.id=(0,t.uid)(),n[u(362)](e,a[u(388)])[u(400)](t=>{c=t})}}else e[u(380)](r,o)})}}},Fo),s}[Qo(255)](){const t=Qo,e=this[t(292)][t(346)][t(287)](t(257))[t(404)];this[t(292)][t(346)][t(269)](t(332),async()=>{const i=t;this[i(292)][i(266)](i(359));const s=this[i(292)][i(275)][i(287)](i(389));if(this[i(292)][i(275)][i(308)](i(367))){const t=this[i(292)][i(275)][i(287)](i(367));await t[i(263)]()}else await s[i(351)]();if(this[i(292)][i(275)][i(308)](i(347))&&this[i(292)][i(275)][i(287)](i(347))[i(282)](),this[i(292)][i(275)][i(308)](i(320))){const t=this[i(292)][i(275)][i(287)](i(320));t[i(270)]&&t[i(334)]()}const n=this[i(286)]();return e(n)[i(400)](t=>{const e=i;return this[e(291)]=t,this[e(292)][e(275)][e(308)](e(342))&&this[e(292)][e(275)][e(287)](e(342))[e(306)](),this[e(292)][e(275)][e(308)](e(393))&&(this[e(292)][e(275)][e(287)](e(376))[e(285)][e(290)][e(379)][e(355)]=e(383)),t})[i(350)](t=>(console[i(302)](t),this[i(292)][i(392)](i(359)),null))})}[Qo(339)](){const t=Qo,e=this[t(292)][t(346)][t(287)](t(257))[t(381)];this[t(292)][t(346)][t(269)](t(294),()=>(this[t(292)][t(275)][t(308)](t(347))&&this[t(292)][t(275)][t(287)](t(347))[t(282)](),this[t(292)][t(275)][t(308)](t(393))&&(this[t(292)][t(275)][t(287)](t(376))[t(285)][t(290)][t(379)][t(355)]=""),this[t(291)][t(275)][t(287)](t(331))[t(357)](),e(this[t(291)])[t(400)](()=>{const e=t;if(this[e(292)][e(392)](e(359)),this[e(291)]=null,this[e(292)][e(275)][e(308)](e(342))){const t=this[e(292)][e(275)][e(287)](e(342));t[e(306)](),t[e(391)]()}})))}[Qo(341)](t){const e=Qo,i=this[e(292)][e(346)][e(287)](e(365)),s=this[e(292)][e(346)][e(287)](e(271)),n=this[e(292)][e(346)][e(287)](e(338));return Xo[e(314)](n,t)[e(400)](t=>(s[e(379)][e(355)]=e(377),i[e(379)][e(355)]=e(383),this[e(323)]=!0,t))}[Qo(256)](t){const e=Qo,i=this[e(292)][e(346)][e(287)](e(365));return this[e(292)][e(346)][e(287)](e(271))[e(379)][e(355)]=e(383),i[e(379)][e(355)]="",this[e(323)]=!1,t[e(313)]()}async[Qo(366)](t){const e=Qo,i=this[e(292)],s=this[e(291)][e(275)][e(287)](e(331)),n=i[e(275)][e(287)](e(389)),r=i[e(275)][e(287)](e(337)),o=s[e(349)][e(399)](t);let a,c,u;try{await r[e(375)](o,this[e(340)]),a=r[e(386)](o),c=r[e(364)](o)}catch(t){return void console[e(302)](t)}i[e(260)][e(278)](t=>{const s=e;for(const e of Array[s(402)](i[s(260)][s(360)][s(372)](s(330))))t[s(309)](e)}),s[e(329)]=!1,i[e(260)][e(398)](t=>{const s=e;t[s(378)](null),t[s(390)](i[s(260)][s(352)][s(258)][s(345)]());const n=Object[s(310)](a);for(const e of i[s(260)][s(352)][s(299)])s(316)!=e[s(327)]&&e[s(348)]()&&!n[s(356)](e[s(327)])&&t[s(407)](e);for(const e of n){let n=i[s(260)][s(352)][s(384)](e);n&&n[s(348)]()||(n=t[s(408)](e));const r=c[e],o=Object[s(310)](r),u=a[e];for(const e of n[s(345)]())o[s(356)](e)||t[s(300)](e,n);for(const i of o)t[s(295)](i,c[e][i],n);t[s(279)](t[s(358)](n)),t[s(373)](i[s(368)][s(326)](u,n),n,0)}});const l=at(i[e(371)],e(369));return u=o[e(319)]?-1==o[e(319)][e(312)](l)?l+": "+o[e(319)]:o[e(319)]:l+": "+o[e(328)][e(321)](i[e(371)][e(405)],{month:e(335),day:e(401)})+", "+o[e(328)][e(307)](i[e(371)][e(405)],{hour:e(401),minute:e(401)}),await n[e(362)]({name:u}),s[e(329)]=!0,i[e(346)][e(287)](e(257))[e(381)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=121]})(t,e)}function oa(){var t=["19KBdQLY","126522YiACXv","504824SONsPc","8bhwNrh","12SGGNhL","35397549CRLjoL","12XWKJpS","2253627XgdxVh","3973109BVLwYj","9182280OrhotY","5005925VBvfCi"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(610104===-parseInt(e(121))/1*(-parseInt(e(122))/2)+parseInt(e(125))/3*(-parseInt(e(123))/4)+-parseInt(e(131))/5+-parseInt(e(127))/6*(parseInt(e(129))/7)+parseInt(e(124))/8*(-parseInt(e(128))/9)+-parseInt(e(130))/10+parseInt(e(126))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-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 s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},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 s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},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 s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},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,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},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 s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>he,Revision:()=>Y,RevisionHistory:()=>na,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>ea,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Fo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function E(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&E(s,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const j=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(F.test(t)||!j.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function H(t,e,i){return function(t,e,i,s){if(null==t&&!z(t))return t;const n=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=P(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[e+1])?[]:{}}V(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function U(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 s=t[e];return void 0===s?U(e)?Z(t,W(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const $=B;function B(t,e){const i=J();return(B=function(t,e){return i[t-=400]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(281483===parseInt(e(427))/1*(parseInt(e(421))/2)+parseInt(e(406))/3+parseInt(e(407))/4+parseInt(e(419))/5+parseInt(e(423))/6+parseInt(e(426))/7+parseInt(e(417))/8*(-parseInt(e(411))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class Y extends((0,t.ObservableMixin)()){id;[$(420)];[$(403)];[$(415)];[$(418)];[$(401)];[$(414)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(420)]=e[i(420)]||null,this[i(403)]=e[i(403)]||[],this[i(415)]=e[i(415)]||null,this[i(418)]=e[i(418)]||0,this[i(401)]=e[i(401)]||0,this[i(402)](i(409),e[i(409)]||""),this[i(402)](i(416),e[i(416)]||new Date),this[i(402)](i(405),e[i(405)]||{})}[$(410)](t){this[$(425)]({name:t})}[$(422)](t,e){const i=$,s=R(this[i(405)]);H(s,t,e),this[i(425)]({attributes:s})}[$(412)](t){const e=$,i=R(this[e(405)]);(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]&&U(e))return q(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(425)]({attributes:i})}[$(425)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(409),i(416),i(415),i(403),i(405),i(418),i(401),i(413)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(403)]&&(n[i(408)]=n[i(403)][i(424)](t=>t.id),delete n[i(403)]),this[i(404)](i(425),n,e))}[$(400)](){const t=$;return{id:this.id,name:this[t(409)],creatorId:this[t(420)]?this[t(420)].id:null,authorsIds:this[t(403)][t(424)](t=>t.id),diffData:this[t(415)],createdAt:this[t(416)],attributes:this[t(405)],fromVersion:this[t(401)],toVersion:this[t(418)]}}}function J(){const t=["7WVLdvy","toJSON","fromVersion","set","authors","fire","attributes","192042DSqjoX","445640BOJoPo","authorsIds","name","setName","11510001Yvjpoi","removeAttribute","creatorId","model","diffData","createdAt","8viOUmZ","toVersion","2007410eOfmRW","creator","51514ftzkwF","setAttribute","2213448eWsTNm","map","_update","3039813YtTJAf"];return(J=function(){return t})()}var G=i(782),K=i(211),X=i(783);function Q(t,e){const i=et();return(Q=function(t,e){return i[t-=284]})(t,e)}const tt=Q;function et(){const t=["createdAt","1645008jIxDCO","add","oldRevisionId","newRevisionId","63HAMwqD","3UuIojE","afterInit","push","24aRezGB","86710bNYYHE","isPremiumPlugin","join","Users","later","isOfficialPlugin","plugins","_revisions","name","toVersion","length","RevisionsRepository","diffData","getIndex","4936sdMwyV","getRevisionsInDiff","creatorId","editor","getRevisionsIterator","earlier","href","getLaterVisibleRevision","attributes","data","toJSON","fromVersion","107700NVigkJ","7szvqiP","209OFLnAH","get","isNaN","134032IGPfHT","map","67535nWtzYo","addRevision","getUser","createRevision","417800pNtIqS","getRevisions","getRevision","from","pluginName","reverse","authorsIds","fromCharCode","requires","getEarlierVisibleRevision"];return(et=function(){return t})()}!function(t){const e=Q,i=t();for(;;)try{if(128273===parseInt(e(312))/1+parseInt(e(335))/2*(parseInt(e(294))/3)+parseInt(e(297))/4*(parseInt(e(331))/5)+-parseInt(e(324))/6*(-parseInt(e(325))/7)+-parseInt(e(329))/8*(-parseInt(e(293))/9)+-parseInt(e(298))/10*(parseInt(e(326))/11)+-parseInt(e(289))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[tt(305)];static get[tt(286)](){return[K.Users]}static get[tt(339)](){return tt(309)}static get[tt(303)](){return!0}static get[tt(299)](){return!0}get[tt(308)](){const t=tt;return this[t(305)][t(308)]}constructor(e){const i=tt;super(e),this[i(305)]=new t.Collection}[tt(295)](){!async function(e){const i=k([56,49,88,100,57,102,72,111,73,55,114,110,121,79,118,105,98,87,86,89,50,112,51,120,103,106,122,119,101,116,76,48,74,85,81,108,109,66,107,117,90,53,70,80,68,54,75,82,84,113,83,104,69,78,77,52,65,67,71,115,97,99]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(328)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([88]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=Q;return t[e(330)](t=>String[e(285)](t))[e(300)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1754611200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(318)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>n[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[tt(334)](t){const e=tt,i=this[e(315)][e(304)][e(327)](e(301));return new Y({id:t.id,name:t[e(306)],creator:t[e(314)]?i[e(333)](t[e(314)]):null,diffData:t[e(310)]||t[e(321)],authors:t[e(284)][e(330)](t=>i[e(333)](t)),createdAt:new Date(t[e(288)]),attributes:t[e(320)],fromVersion:t[e(323)],toVersion:t[e(307)]})}[tt(332)](t,e=0){const i=tt;this[i(305)][i(290)](t,e)}[tt(337)](t){const e=tt;return this[e(305)][e(327)](t)}[tt(336)](t={toJSON:!1}){const e=tt,i=Array[e(338)](this[e(305)]);return i[e(340)](),t[e(322)]?i[e(330)](t=>t[e(322)]()):i}[tt(311)](t){const e=tt;return this[e(305)][e(311)](t)}[tt(287)](t){const e=tt,[,i]=this[e(316)](t,{direction:e(317)});return i}[tt(319)](t){const e=tt,[,i]=this[e(316)](t,{direction:e(302)});return i}[tt(313)](t){const e=tt,i=[];for(const s of this[e(316)](t[e(292)]))if(i[e(296)](s),s.id===t[e(291)])break;return i}*[tt(316)](t,{direction:e=tt(317),filter:i=()=>!0}={}){const s=tt,n=s(317)===e?1:-1;let r=this[s(305)][s(327)](t),o=this[s(311)](r);for(yield r;r;){if(o+=n,r=this[s(337)](o),!r)return;i(r)&&(yield r)}}}const st=nt;function nt(t,e){const i=rt();return(nt=function(t,e){return i[t-=197]})(t,e)}function rt(){const t=["config","getRevisionDocumentData","htmlProcessor","getFillerOffset","getRevision","viewChildrenToDom","324729vwZgBr","revision-end","1503336cPYqoG","3315110SJFtXk","pluginName","from","append","revision-start","52xCVtAY","toModel","domConverter","_typeCharToViewClass","attachChange","data","name","isAttached","get","175YwNmaF","isOfficialPlugin","diffData","RevisionHistoryUtils","processor","children","startsWith","domChildrenToView","insertions","_appendChild","constructor","isPremiumPlugin","customProperties","string","div","11qhcugt","getRevisionRootsAttributes","useFillerType","toData","_makeModelFromViewString","domDocument","innerHTML","forEach","attributes","_viewClassToTypeChar","_getTypeCharForViewElement","331788EBQnhp","map","document","_getViewFromDiffObj","default","data-revision-","length","collaboration.channelId","9ULdNdt","filter","createElement","55525380CaaTVW","type","parse","editing","101fgokWQ","childNodes","render","9734qGMRrO","330285uSjSAE","_setCustomProperty","_removeRevisionMarkers","attributesAfter","marked","loadRevisionData","editor","view","fillerOffset"];return(rt=function(){return t})()}!function(t){const e=nt,i=t();for(;;)try{if(760454===parseInt(e(241))/1*(-parseInt(e(244))/2)+parseInt(e(260))/3*(-parseInt(e(268))/4)+-parseInt(e(245))/5+-parseInt(e(226))/6*(parseInt(e(200))/7)+-parseInt(e(262))/8+-parseInt(e(234))/9*(parseInt(e(263))/10)+-parseInt(e(215))/11*(-parseInt(e(237))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[st(264)](){return st(203)}static get[st(201)](){return!0}static get[st(211)](){return!0}[st(224)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(271)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(250)](t,e){const i=st;if(t[i(202)]||!e)return;const s=this[i(251)][i(254)][i(199)](i(233)),n=await e[i(258)]({channelId:s,revisionId:t.id});t[i(202)]=n[i(202)]}[st(255)](t){const e=st,i={};for(const s in t[e(202)]){if(t[e(202)][s][e(272)]&&!t[e(202)][s][e(272)][e(198)])continue;const n=this[e(247)](JSON[e(239)](t[e(202)][s][e(208)])),r=this[e(251)][e(240)][e(252)][e(228)],o=new X.ViewDocumentFragment(r,n[e(227)](t=>this[e(229)](t,!1)));this[e(251)][e(273)][e(204)][e(217)](e(249)),i[s]=this[e(251)][e(273)][e(204)][e(218)](o),this[e(251)][e(273)][e(204)][e(217)](e(230))}return i}[st(216)](t){const e=st,i={};for(const s in t[e(202)])t[e(202)][s][e(272)]&&!t[e(202)][s][e(272)][e(198)]||(i[s]=t[e(202)][s][e(248)]||{});return i}[st(225)](t){const e=st;return this[e(224)][e(199)](t[e(210)])}[st(229)](t,e){const i=st,s=this[i(251)][i(240)][i(252)][i(228)];if(i(213)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(238)]||"r"==t[i(238)]?[]:t[i(205)][i(227)](t=>this[i(229)](t,e));const o=this[i(271)][i(199)](t[i(238)])||X.ViewElement,a=this[i(251)][i(273)][i(256)][i(270)];if(n=new o(s,t[i(197)],t[i(223)],r),"u"==t[i(238)]&&t[i(205)][0]){const r=t[i(205)][0];if(n[i(243)]=function(t){const e=i,s=t[e(236)](e(214));return s[e(221)]=r,s[e(242)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(209)](n);const e=Array[i(265)](a[i(259)](t,{bind:!1})),r=a[i(220)][i(236)](i(214));r[i(266)](...e),n=Array[i(265)](a[i(207)](r))[0]}}else if("r"==t[i(238)]&&t[i(205)][0]){const r=t[i(205)][0];if(n[i(243)]=function(t){t[i(221)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(209)](n);const e=Array[i(265)](a[i(259)](t,{bind:!1})),r=a[i(220)][i(236)](i(214));r[i(266)](...e);const o=Array[i(265)](a[i(207)](r));o[i(232)]>1?n[i(209)](o):n=o[0]}}if(t[i(212)])for(const[e,s]of t[i(212)])n[i(246)](e,s);const c=void 0===t[i(253)]?null:t[i(253)];return null!==c&&(n[i(257)]=()=>c),n}}[st(219)](t){const e=st,i=JSON[e(239)](t),s=this[e(251)][e(240)][e(252)][e(228)],n=new X.ViewDocumentFragment(s,i[e(227)](t=>this[e(229)](t,!0)));return this[e(251)][e(273)][e(269)](n)}[st(247)](t){const e=st;return(t=t[e(235)](t=>!t[e(197)]||e(267)!==t[e(197)]&&e(261)!==t[e(197)]))[e(222)](t=>{const i=e;i(213)!=typeof t&&(t[i(205)]=this[i(247)](t[i(205)]),t[i(223)]=t[i(223)][i(235)](t=>!t[0][i(206)](i(231))))}),t}}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return E(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,x));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,x)||ct(t)&&ct(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=pt();return(mt=function(t,e){return i[t-=344]})(t,e)}function pt(){const t=["RevisionHistoryUtils","evaluationLimit","createPositionBefore","licenseKey","_getBaseVids","clear","buildRevisionData","insert","_pendingAction","_isPendingUpdate","1541425hczcic","getOperations","_revisionDataBuilder","addRootAttribute","sendBufferedUpdates","currentRevision","sort","getTime","removeRootAttribute","8bibdPm","_copyMarkers","startsWith","map","_removePendingAction","requires","_startingRevisionId","length","string","conversion","detachRoot","featureNotAllowed","createRange","find","_source","_handleMarkerOperation","key","1483200gccDNh","bind","_touched","getCurrentRevisionId","Users","_processRootBeforeSave","_appendChild","has","elementStart","graveyardPosition","toView","552omWKIs","_saveMetaData","getTransformedByOperation","_isInit","isAdd","keepParagraph","range","deletion","RevisionHistory","_createCurrentRevision","getOperation","stickiness","history","_utils","pluginName","roots","documentFragment","revisionHistoryLicenseKeyValid","_execute","invalid","attachChange","trim","_setAttribute","insertionPosition","stringify","remove","hasContent","getRevisionDocumentData","split","revisionHistoryLicenseKeyInvalid","editor","2780649epVblL","for","type","userId","getIndex","vid","_makeModelFromViewString","config","destroy","_authorId","updateRevisions","editor-initial-data-replaced-with-revision-data","_baseIdsRoots","_lastTo","_baseRoots","_touchedMarkers","_insertChild","_fixPosition","size","getAncestors","expired","$text","_initialRevisionId","creatorId","getWalker","_savedMetaData","outerHTML","document","_clone","text","_licenseKeyCheckInterval","start","_diffRootsAttributes","_handleMoveOperation","nodes","getRevisions","44233RIEsDn","dataDowncast","_makeIdsRoot","isEqual","createPositionFromPath","newRange","from","isReady","ready","_revisionId","model","plugins","getRootNames","_cloneOperation","_baseRootsAttributes","merge","position","innerHTML","_fixOperation","_handleRootOperation","isEnabled","set","_touchedRoots","_handleMergeOperation","reinsert","render","createdAt","_diffRoots","finally","isOfficialPlugin","6VDYGYV","getFillerOffset","_findInsertionIndex","addRevisionData","attributesAfter","collaboration.channelId","createPositionAt","_continueCurrentRevision","diffData","_removeMetaData","offsetSize","domainLimit","vid_end","setRevisionData","_idsRoots","_getFromVersion","nodeAfter","define","revisionHistoryLicenseKeyNotAllowed","getAttribute","paragraph","update","offset","createRevision","revisionHistoryLicenseKeyDomainLimit","deletions","vid_start","customProperties","_replaceEditorDataWithRevisionData","_handleInsertOperation","push","_getTypeCharForViewElement","_markChanges","_setConversion","215241wYHeET","_update","getData","addRoot","newValue","getUser","baseVersion","3289yFqEWU","reverse","filter","_getState","slice","domConverter","_transformMarkers","RevisionsRepository","childCount","_getPreviousFrom","item","_getViewJson","_markers","getChildren","tableCell","_generateTape","shift","_fixRange","isPremiumPlugin","_loadedStateData","rootName","getRoot","_createInitialRevision","authors","saveRevision","$graveyard","root","fromEntries","_lastFrom","revisionHistoryLicenseKeyUsageLimit","createRangeIn","elementEnd","parent","version","then","sourcePosition","adapter","init","revision","_createFromRanges","getChild","Initial revision","getRevisionRootsAttributes","createPositionAfter","_calculateMetaData","oldRange","reInit","fillerOffset","source","$comment","_isAttached","values","end","revisionHistoryLicenseKeyTrialLimit","children","_showLicenseError","afterInit","markers","uiElement","data","NEGATIVE_INFINITY","_handleSplitOperation","name","_applyOperations","previousPosition","locale","trialLimit","_operations","changeRootAttribute","move","loadState","_handleOperation","dataToMarker","marker","getRange","initial","isAttached","_addPendingAction","rootsAttributes","loadRevisionData","_bufferUpdate","domDocument","get","markerToData","add","revisionHistoryLicenseKeyExpired","clone","getMovedRangeStart","8500SPDHfi","max","_bufferedUpdates","includes","_handleRootAttributeOperation","createElement","upcast","attributesBefore","creator","splitPosition","PENDING_ACTION_REVISION_HISTORY","toVersion","authorsIds","Empty document","RevisionTracker","setSource","getNodeByPath","insertions","getLatestVersion","usageLimit","PendingActions","repository","some","_makeRevision","_loadState","_prepareViewToSave","resolve","1300910JfAqMy","_getVidAttributeName","rawElement","howMany","htmlProcessor","getRevision","revision:","initialData","_reset","element","fromVersion","_startingVersion","path","revisionHistoryLicenseKeyEvaluationLimit","insertion","getAttributes","addRevision","targetPosition","RealTimeCollaborationClient","getCustomProperties","delete","keys","affectsData","1uIBXGb","revisionHistory.resumeUnsavedRevision"];return(pt=function(){return t})()}!function(t){const e=mt,i=t();for(;;)try{if(557646===-parseInt(e(458))/1*(-parseInt(e(435))/2)+-parseInt(e(638))/3*(parseInt(e(479))/4)+parseInt(e(470))/5*(parseInt(e(604))/6)+-parseInt(e(574))/7*(parseInt(e(507))/8)+parseInt(e(538))/9+-parseInt(e(408))/10*(parseInt(e(645))/11)+parseInt(e(496))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends G.Plugin{[ft(463)];[ft(568)];[ft(475)]=null;[ft(429)];[ft(356)]=null;[ft(472)];[ft(493)];[ft(560)];[ft(410)];[ft(520)];[ft(468)];[ft(611)];[ft(446)];[ft(664)];static get[ft(521)](){return ft(422)}static get[ft(603)](){return!0}static get[ft(663)](){return!0}static get[ft(484)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(429)]=this[i(537)][i(585)][i(402)](i(652)),this[i(520)]=this[i(537)][i(585)][i(402)](i(460)),this[i(472)]=new gt(this[i(537)]),this[i(560)]=this[i(537)][i(545)][i(402)](i(609))||i(395),this[i(410)]=new Map,this[i(664)]=null;const s=(0,t.uid)();this[i(493)]={history:this[i(537)][i(584)][i(565)][i(519)],getLatestVersion:()=>Promise[i(434)](this[i(537)][i(584)][i(565)][i(353)]),getCurrentRevisionId:()=>s},this[i(595)](i(581),!1),this[i(595)](i(594),!0),this[i(595)](i(469),!1),this[i(537)][i(545)][i(621)](i(459),!0),this[i(537)][i(488)][i(539)](i(414))[i(392)]({view:i(358)})}[ft(357)](){const t=ft;this[t(637)](),this[t(537)][t(379)].on(t(582),()=>{const e=t,i=this[e(429)][e(440)](0),s=i&&null===i[e(416)]?i:null;if(this[e(611)]=!!s&&this[e(537)][e(545)][e(402)](e(459)),this[e(537)][e(585)][e(503)](e(453))){const t=this[e(493)][e(499)](),n=this[e(429)][e(440)](t);if(n)this[e(446)]=n[e(445)],this[e(611)]=!1;else{const t=this[e(493)][e(519)][e(387)][e(492)](t=>!t[e(510)]),n=t?t[e(644)]:this[e(493)][e(519)][e(353)];i?(i[e(419)]<n&&i[e(639)]({toVersion:n}),this[e(611)]?(this[e(493)][e(499)]=()=>s.id,this[e(446)]=s[e(445)]):(this[e(446)]=i[e(419)],this[e(611)]=!1)):(this[e(446)]=n,this[e(611)]=!1)}}else s&&(this[e(537)][e(584)][e(565)][e(519)][e(353)]=Math[e(409)](s[e(419)],this[e(537)][e(584)][e(565)][e(519)][e(353)]),s[e(445)]===s[e(419)]?(0!==s[e(445)]&&(this[e(493)][e(499)]=()=>s.id),this[e(611)]=!1):this[e(611)]&&(this[e(493)][e(499)]=()=>s.id,this[e(446)]=s[e(445)])),this[e(611)]||(this[e(446)]=this[e(537)][e(584)][e(565)][e(353)]);this[e(472)][e(357)](this[e(493)][e(519)]),this[e(667)](this[e(446)]),this[e(516)](this[e(446)]),this[e(356)]&&this[e(474)]()}),this[t(497)](t(581)).to(this,t(469),t=>!t),this[t(463)]=this[t(537)][t(545)][t(402)](t(463));const e=this[t(537)];this[t(568)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(524)==r||i(536)==r||i(405)==r||i(628)==r||i(622)==r||i(448)==r||i(373)==r||i(349)==r){delete e[n],s=r,clearInterval(this[i(568)]),this[i(568)]=void 0;break}}i(536)==s&&e[i(375)](i(526)),i(405)==s&&e[i(375)](i(558)),i(628)==s&&e[i(375)](i(615)),i(622)==s&&e[i(375)](i(490),i(515)),i(448)==s&&e[i(375)](i(461)),i(373)==s&&e[i(375)](i(386)),i(349)==s&&e[i(375)](i(427))},1e3)}async[ft(376)](){const t=ft;if(this[t(429)][t(486)]>0){const e=this[t(429)][t(440)](0),i=await this[t(534)](e),s=await this[t(362)](e);this[t(632)](i,s)}}[ft(546)](){const t=ft;super[t(546)](),this[t(568)]&&clearInterval(this[t(568)])}[ft(423)](t){this[ft(493)]=t}async[ft(625)](){const t=ft,e=await this[t(493)][t(426)]();if(e>this[t(475)][t(419)]){await this[t(432)]();const i=this[t(466)]({revision:this[t(475)],to:e});i[t(668)]=i[t(420)][t(482)](e=>this[t(537)][t(585)][t(402)](t(500))[t(643)](e)),this[t(475)][t(639)](i)}}async[ft(344)](e={},i=null){const s=ft,n=[];await this[s(432)](),this[s(611)]=!1,i>this[s(475)][s(419)]&&(i=null),null===i&&(i=await this[s(493)][s(426)]());const r=this[s(619)](i),o=this[s(466)]({from:r,to:i});if(this[s(475)][s(419)]<i){const t=this[s(466)]({revision:this[s(475)],from:i,to:i});t[s(668)]=[],t[s(420)]=[],t.id=this[s(475)].id,this[s(475)][s(639)](t,!0),delete t[s(668)],n[s(634)](t)}e[s(561)]=this[s(537)][s(585)][s(402)](s(500)).me.id,e[s(382)]=e[s(382)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(607)](e);n[s(634)](e);const c=this[s(429)][s(542)](a);if(0!==c){const t=this[s(429)][s(440)](c-1);if(t[s(445)]!==i){const r=this[s(472)][s(640)](i,t[s(419)]),o={id:t.id,diffData:r[s(612)],authorsIds:r[s(420)],authors:r[s(420)][s(482)](t=>this[s(537)][s(585)][s(402)](s(500))[s(643)](t)),fromVersion:i};t===this[s(475)]&&(o[s(600)]=new Date(e[s(600)][s(477)]()+10)),t[s(639)](o,!0),delete o[s(668)],n[s(634)](o)}}if(this[s(356)]){for(const t of n)this[s(400)](t.id,t,!0);this[s(474)]()}return a}[ft(607)](t){const e=ft,i=this[e(429)][e(627)](t);return this[e(356)]&&i.on(e(639),(t,i,s)=>{const n=e;s||(this[n(400)](i.id,i,!0),this[n(474)]())}),this[e(429)][e(451)](i,this[e(606)](i)),i}async[ft(534)](t){const e=ft;return await this[e(520)][e(399)](t,this[e(356)]),this[e(520)][e(534)](t)}async[ft(362)](t){const e=ft;return await this[e(520)][e(399)](t,this[e(356)]),this[e(520)][e(362)](t)}[ft(474)](){const t=ft;if(0===this[t(410)][t(556)])return;if(this[t(469)])return;let e=Array[t(580)](this[t(410)][t(371)]());this[t(410)][t(465)]();for(let i=0;i<e[t(486)];i++){const s=e[i];let n=!1;for(const e of Object[t(456)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(647)](t=>null!==t),!e[t(486)])return;for(let i=0;i<e[t(486)];i++){const s=e[i];void 0!==s[t(445)]&&void 0===s[t(419)]&&(s[t(419)]=this[t(429)][t(440)](s.id)[t(419)]),void 0!==s[t(419)]&&void 0===s[t(445)]&&(s[t(445)]=this[t(429)][t(440)](s.id)[t(445)])}const i=this[t(537)][t(545)][t(402)](t(609));this[t(469)]=!0,this[t(397)](),this[t(356)][t(548)](e,i)[t(602)](()=>{this[t(469)]=!1})[t(354)](e=>{const i=t;if(e)for(const t of e)this[i(617)]({id:t.id,createdAt:t[i(600)]});this[i(483)](),this[i(474)]()})}[ft(466)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(445)],i=null!==i?i:t[s(419)];const n=this[s(472)][s(640)](e,i),r={diffData:n[s(612)],authorsIds:n[s(420)],fromVersion:e,toVersion:i};if(!t||i!==t[s(419)]){const t=i-1,e=this[s(493)][s(519)][s(517)](t);r[s(600)]=e&&e[s(600)]||new Date}if(this[s(664)]&&e===this[s(664)][s(445)])for(const t of this[s(664)][s(668)])r[s(420)][s(411)](t.id)||r[s(420)][s(634)](t.id);return r}[ft(400)](t,e,i){const s=ft;if(this[s(410)][s(503)](t)){const n=this[s(410)][s(402)](t);e=i?{...n,...e}:{...e,...n}}this[s(410)][s(595)](t,e)}[ft(617)](t){const e=ft,i=this[e(429)][e(440)](t.id);if(t[e(600)]&&(t[e(600)]=new Date(t[e(600)])),t[e(420)]){const i=this[e(537)][e(585)][e(402)](e(500));t[e(668)]=t[e(420)][e(482)](t=>i[e(643)](t))}i[e(639)](t,!0)}[ft(667)](t){const e=ft,i=this[e(429)][e(440)](this[e(429)][e(486)]-1);if(i)this[e(560)]=i.id;else{const i=!this[e(537)][e(584)][e(565)][e(522)][e(492)](t=>this[e(537)][e(584)][e(533)](t)),s=this[e(537)][e(585)][e(402)](e(500)).me.id,n=at(this[e(537)][e(385)],e(i?421:361));this[e(431)]({from:t,to:t,id:this[e(560)],name:n,creatorId:s})}}[ft(516)](t){const e=ft,i=this[e(493)][e(499)]();this[e(475)]=this[e(429)][e(440)](i),this[e(475)]||(this[e(475)]=this[e(431)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(432)](){const t=ft;this[t(611)]&&!this[t(664)]&&(await this[t(520)][t(399)](this[t(475)],this[t(356)]),this[t(472)][t(390)](this[t(475)]),this[t(664)]={fromVersion:this[t(475)][t(445)],authors:this[t(475)][t(668)][t(649)]()})}[ft(632)](e,i){const s=ft;let n=this[s(537)][s(545)][s(402)](s(442)),r=this[s(537)][s(545)][s(402)](s(398));if(void 0===n){n={};for(const t of this[s(537)][s(584)][s(565)][s(586)]())n[t]=""}if(s(487)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(537)][s(584)][s(565)][s(586)]())r[t]={}}let o=!1;const a=Object[s(456)](n),c=Object[s(456)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(528)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(456)](r[t])[s(486)]>0){o=!0;break}}o||(o=c[s(430)](t=>!this[s(537)][s(584)][s(565)][s(666)](t))),o&&(0,t.logWarning)(s(549),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(537)][s(545)][s(595)](s(442),e),this[s(537)][s(545)][s(595)](s(398),i)}[ft(397)](){const t=ft;if(!this[t(468)]){const e=this[t(537)][t(585)][t(402)](t(428));this[t(468)]=e[t(404)](at(this[t(537)][t(385)],t(418)))}}[ft(483)](){const t=ft;this[t(468)]&&(this[t(537)][t(585)][t(402)](t(428))[t(532)](this[t(468)]),this[t(468)]=null)}[ft(606)](t){const e=ft,i=this[e(429)][e(573)]();i[e(646)]();let s=0;for(;s<i[e(486)];){const n=i[s];if(n===this[e(475)]){s++;continue}if(n.id===this[e(560)])break;const r=t[e(419)]-n[e(419)]||t[e(445)]-n[e(445)];if(r>0)break;if(r<0)s++;else{if(!t[e(416)]&&n[e(416)])break;if(n[e(416)]||!t[e(416)]){if(t[e(600)]>n[e(600)])break;s++}else s++}}return s}[ft(619)](t){const e=ft,i=this[e(429)][e(573)]();i[e(646)](),i[e(661)]();const s=i[e(492)](i=>i[e(419)]<=t)[e(419)];return s<this[e(446)]?this[e(446)]:s}[ft(431)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(466)]({from:e,to:i});o[r(382)]=t,o[r(561)]=s,o.id=n;const a=this[r(607)](o);return this[r(356)]&&this[r(400)](o.id,o,!0),a}[ft(637)](){const t=ft;this[t(537)][t(488)][t(539)](t(575))[t(403)]({model:t(358)})}}class gt{[ft(537)];[ft(368)];[ft(563)];[ft(348)];[ft(551)];[ft(657)];[ft(601)];[ft(570)];[ft(552)];[ft(588)];[ft(618)];[ft(550)];[ft(498)];[ft(553)];[ft(596)];[ft(583)];[ft(485)];constructor(t){const e=ft;this[e(537)]=t,this[e(563)]=new Map,this[e(348)]=-1,this[e(551)]=-1,this[e(657)]=new Map,this[e(601)]=new Map,this[e(570)]=new Map,this[e(552)]=new Map,this[e(588)]=new Map,this[e(618)]=new Map,this[e(550)]=new Map,this[e(498)]=new Map,this[e(553)]=new Map,this[e(596)]=new Map,this[e(583)]=1}[ft(357)](t){const e=ft;this[e(368)]=t;const i=new Map,s=new Map,n=this[e(537)][e(584)][e(565)][e(522)][e(482)](t=>t[e(665)]);for(const t of n){const n=this[e(537)][e(584)][e(565)][e(666)](t),r=yt(n);i[e(595)](t,r),s[e(595)](t,Object[e(347)](n[e(450)]()))}const r=Array[e(580)](this[e(537)][e(584)][e(377)])[e(482)](t=>[t[e(382)],t[e(394)]()]),o=this[e(368)][e(353)];this[e(508)](o,i,r,s),this[e(485)]=this[e(583)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(595)](t,i),c[e(595)](t,{})}this[e(508)](Number[e(380)],a,[],c)}[ft(640)](t,e){const i=ft;if(this[i(348)]===t&&this[i(551)]<=e)this[i(563)][i(556)]>1&&this[i(613)](this[i(551)]),this[i(383)](this[i(551)],e,!0);else{if(!this[i(563)][i(503)](t)){const e=this[i(654)](t);this[i(364)](e,t,!1)}this[i(364)](t,e,!0)}return this[i(348)]=t,this[i(551)]=e,this[i(648)]()}[ft(390)](t){const e=ft,i=this[e(537)][e(585)][e(402)](e(460));this[e(443)](),this[e(348)]=t[e(445)],this[e(551)]=t[e(419)];for(const s in t[e(612)]){const n=t[e(612)][s][e(527)],r=R(t[e(612)][s][e(415)])||{},o=i[e(544)](t[e(612)][s][e(629)]);o[e(665)]=s,o[e(370)]=!n||!n[e(396)],o[e(396)]=()=>o[e(370)],this[e(552)][e(595)](s,o),this[e(588)][e(595)](s,r),n&&this[e(596)][e(595)](s,n);const a=this[e(576)](o);this[e(550)][e(595)](s,a);for(const[t,i]of o[e(377)]){if(!t[e(481)](e(441)))continue;const s=t[e(535)](":")[2];for(const t of i[e(562)]({singleCharacters:!0})){const i=this[e(436)](t),n=e(351)==t[e(540)]?t[e(384)][e(447)][e(649)](0,-1):t[e(384)][e(447)],r=a[e(424)](n)[e(623)](i);this[e(498)][e(595)](r,{userId:s})}}}this[e(485)]=this[e(583)];const s=[...Array(this[e(583)])[e(456)]()][e(649)](1)[e(647)](t=>!this[e(498)][e(503)](t));let n=0;const r=new Map;for(const o in t[e(612)]){const a=t[e(612)][o][e(527)],c=R(t[e(612)][o][e(608)])||{},u=i[e(544)](t[e(612)][o][e(425)]);u[e(665)]=o,u[e(370)]=!a||a[e(396)],u[e(396)]=()=>u[e(370)],this[e(601)][e(595)](o,u),this[e(570)][e(595)](o,c);const l=this[e(576)](u,Number[e(380)]);this[e(618)][e(595)](o,l),r[e(595)](o,u[e(396)]()?c:{});for(const[t,i]of u[e(377)]){if(!t[e(481)](e(441)))continue;const s=t[e(535)](":")[2];for(const t of i[e(562)]({singleCharacters:!0})){const i=this[e(436)](t),n=this[e(583)]++,r=e(351)==t[e(540)]?t[e(384)][e(447)][e(649)](0,-1):t[e(384)][e(447)];l[e(424)](r)[e(529)](i,n),this[e(498)][e(595)](n,{userId:s})}}for(const t of this[e(537)][e(584)][e(350)](u)[e(562)]({singleCharacters:!0})){const i=this[e(436)](t),r=e(351)==t[e(540)]?t[e(384)][e(447)][e(649)](0,-1):t[e(384)][e(447)],o=l[e(424)](r);o[e(623)](i)>0||o[e(529)](i,s[n++])}for(const[t,i]of u[e(377)])t[e(481)](e(441))||this[e(657)][e(595)](t,i)}const o=kt(e(345));this[e(552)][e(595)](e(345),o),this[e(550)][e(595)](e(345),this[e(576)](o,1));const a=kt(e(345));this[e(601)][e(595)](e(345),a),this[e(618)][e(595)](e(345),this[e(576)](a,1));const c=Array[e(580)](this[e(601)])[e(482)](([t,e])=>[t,yt(e)]);this[e(508)](this[e(551)],c,this[e(657)],r)}[ft(366)](){const t=ft;this[t(443)](),this[t(348)]=-1,this[t(551)]=-1,this[t(563)][t(465)](),this[t(357)](this[t(368)])}[ft(508)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(595)](t,{start:e[n(569)][n(406)](),end:e[n(372)][n(406)](),rootName:e[n(346)][n(665)]});this[n(563)][n(595)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(613)](t){const e=ft;this[e(563)][e(455)](t)}[ft(443)](){const t=ft;this[t(498)][t(465)](),this[t(553)][t(465)](),this[t(596)][t(465)](),this[t(601)][t(465)](),this[t(570)][t(465)](),this[t(552)][t(465)](),this[t(588)][t(465)](),this[t(618)][t(465)](),this[t(550)][t(465)](),this[t(657)][t(465)](),this[t(583)]=1,this[t(485)]=this[t(583)]}[ft(576)](t,e=null){const i=ft;let s=null;t.is(i(523))||(s=new X.ModelElement(t[i(382)],{vid_start:null===e?this[i(583)]++:e++}));const n=[];for(const s of t[i(658)]())if(s.is(i(444))){n[i(634)](this[i(576)](s,e));const t=n[n[i(486)]-1];null!==e&&(e=t.is(i(444),i(559))?t[i(623)](i(543))+1:t[i(623)](i(616))+1)}else for(let t=0;t<s[i(614)];t++)n[i(634)](new X.ModelElement(i(559),{vid:null===e?this[i(583)]++:e++}));if(t.is(i(523))){const e=kt(t[i(665)]);return e[i(554)](0,n),e}return s[i(529)](i(616),null===e?this[i(583)]++:e++),s[i(554)](0,n),s}[ft(364)](t,e,i){const s=ft;this[s(443)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(563)][s(402)](t);this[s(552)]=new Map(n),this[s(588)]=new Map(R(o));for(const[t,e]of this[s(552)])if(s(345)!==t&&(this[s(601)][s(595)](t,yt(e)),this[s(570)]=new Map(R(o)),i)){const i=this[s(583)];this[s(618)][s(595)](t,this[s(576)](e)),this[s(550)][s(595)](t,this[s(576)](e,i))}this[s(485)]=this[s(583)],this[s(601)][s(595)](s(345),yt(this[s(552)][s(402)](s(345)))),i&&this[s(618)][s(595)](s(345),this[s(576)](this[s(552)][s(402)](s(345))));for(const[t,e]of r){const i=this[s(552)][s(402)](e[s(665)]),n=this[s(601)][s(402)](e[s(665)]),r=new X.ModelRange(this[s(555)](e[s(569)],i),this[s(555)](e[s(372)],i)),o=this[s(662)](r,n);i[s(377)][s(595)](t,r),this[s(657)][s(595)](t,o)}this[s(383)](t,e,i)}[ft(383)](t,e,i){const s=ft;for(const n of this[s(368)][s(471)](t,e))this[s(391)](n,i);for(const t of this[s(601)][s(371)]())t[s(377)][s(465)]();for(const[t,e]of this[s(657)])this[s(601)][s(402)](e[s(346)][s(665)])[s(377)][s(595)](t,e[s(406)]());const n=new Map,r=new Map;for(const[t,e]of this[s(601)])n[s(595)](t,yt(e)),r[s(595)](t,this[s(570)][s(402)](t));this[s(508)](e,n,this[s(657)],r)}[ft(654)](t){const e=ft,i=Array[e(580)](this[e(563)][e(456)]());i[e(476)]((t,e)=>t-e),i[e(646)]();for(const e of i)if(e<t)return e;return Number[e(380)]}[ft(480)](t,e){const i=ft,s=Array[i(580)](e[i(377)])[i(482)](([e,s])=>[e,this[i(662)](s,t)]);t[i(377)]=new Map(s)}[ft(651)](t){const e=ft;for(const i of this[e(657)][e(371)]()){const s=i[e(509)](t),n=X.ModelRange[e(359)](s);i[e(569)]=n[e(569)],i[e(372)]=n[e(372)]}}[ft(391)](t,e){const i=ft;if(i(641)!=t[i(540)]&&i(489)!=t[i(540)]){if(i(467)==t[i(540)]){const s=t[i(590)][i(346)][i(665)];this[i(601)][i(503)](s)||(this[i(601)][i(595)](s,kt(s,!0)),this[i(570)][i(595)](s,{}),e&&this[i(618)][i(595)](s,kt(s,!0)))}else{if(i(473)==t[i(540)]||i(478)==t[i(540)]||i(388)==t[i(540)])return void this[i(412)](t);i(393)==t[i(540)]&&this[i(494)](t)}if(i(393)!==t[i(540)]){const e=this[i(587)](t,this[i(601)]);e[i(525)](),this[i(651)](e)}if(e)switch(t[i(540)]){case i(467):this[i(633)](t);break;case i(389):case i(532):case i(598):this[i(571)](t);break;case i(589):this[i(597)](t);break;case i(535):this[i(381)](t)}}else this[i(593)](t,e)}[ft(587)](t,e){const i=ft,s=t[i(406)]();return s[i(547)]=t[i(547)],this[i(592)](s,e),s}[ft(464)](t){const e=ft;return t[e(482)](t=>{const i=e,s=this[i(436)](t);return Number(t[i(655)][i(623)](s))})}[ft(660)](t,e){const i=ft;if(t.is(i(444),i(559)))e[i(634)]({item:t,type:i(567)});else{t.is(i(444))&&e[i(634)]({item:t,type:i(504)});for(const s of t[i(658)]())this[i(660)](s,e);t.is(i(444))&&e[i(634)]({item:t,type:i(351)})}return e}[ft(648)](){const t=ft,e=new Map(this[t(498)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(552)][t(456)](),...this[t(601)][t(456)]()]);a[t(455)](t(345));for(const e of a){const i=this[t(601)][t(402)](e)||kt(e,!1),s=this[t(552)][t(402)](e)||kt(e,!1);i[t(396)]()||s[t(396)]()?(n[t(425)][e]=yt(i),n[t(629)][e]=yt(s),this[t(480)](n[t(629)][e],s),this[t(480)](n[t(425)][e],i),r[t(425)][e]=this[t(660)](this[t(618)][t(402)](e),[]),r[t(629)][e]=this[t(660)](this[t(550)][t(402)](e)||kt(e,!1),[])):a[t(455)](e)}for(const n of a){const o=r[t(425)][n];for(const n of o){const r=this[t(436)](n),o=n[t(655)][t(623)](r);i[t(455)](o),o>=this[t(485)]&&s[t(595)](o,e[t(402)](o))}}for(const n of a){const a=r[t(425)][n],c=this[t(464)](r[t(629)][n]);let u=0;for(const n of a){const r=this[t(436)](n),a=n[t(655)][t(623)](r);if(!s[t(503)](a)&&!o[t(503)](a))if(i[t(503)](a))u++;else{if(a!=c[u]){const s=e[t(402)](a)||e[t(402)](c[u]);for(;a!=c[u];)i[t(503)](c[u])||(o[t(595)](c[u],s),e[t(595)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(425)][e];for(const e of n){const n=this[t(436)](e),r=e[t(655)][t(623)](n);if(o[t(503)](r)){const e=o[t(402)](r);i[t(503)](r)||i[t(595)](r,{...e}),s[t(595)](r,{...e})}}}for(const e of i[t(456)]())e>=this[t(485)]&&i[t(455)](e);const c=new Map;for(const e of a){let n=r[t(425)][e];for(const e of n)if(e[t(655)].is(t(444),t(659))){const i=this[t(436)](e),n=e[t(655)][t(623)](i);if(s[t(503)](n)){const i=e[t(655)][t(352)][t(352)][t(623)](t(630)),r=c[t(402)](i)||new Set;r[t(404)](s[t(402)](n)[t(541)]),c[t(595)](i,r)}}n=r[t(629)][e];for(const e of n)if(e[t(655)].is(t(444),t(659))){const s=this[t(436)](e),n=e[t(655)][t(623)](s);if(i[t(503)](n)){const s=e[t(655)][t(352)][t(352)][t(623)](t(630)),r=c[t(402)](s)||new Set;r[t(404)](i[t(402)](n)[t(541)]),c[t(595)](s,r)}}for(const e of c[t(456)]())(s[t(503)](e)||i[t(503)](e))&&c[t(455)](e)}for(const e of a){const n=r[t(425)][e];let o=null,a=null;for(const e of n){const n=this[t(436)](e),r=e[t(655)][t(623)](n),u=c[t(402)](r);u&&t(504)==e[t(540)]&&(o=Array[t(580)](u)[0],a=e[t(655)][t(623)](t(616))),o&&(i[t(595)](r,{userId:o}),s[t(595)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(629)][e],a=n[t(425)][e];for(const{userId:e}of this[t(553)][t(371)]())null!==e&&l[t(404)](e);for(const{userId:e}of this[t(596)][t(371)]())null!==e&&l[t(404)](e);this[t(636)](a,r[t(425)][e],s,t(449),l),this[t(636)](o,r[t(629)][e],i,t(514),l),u[e]={insertions:this[t(433)](a),deletions:this[t(433)](o),attachChange:this[t(596)][t(402)](e)||null,attributesBefore:R(this[t(588)][t(402)](e))||{},attributesAfter:R(this[t(570)][t(402)](e))}}return{diffData:u,authorsIds:Array[t(580)](l)}}[ft(501)](t){const e=ft;for(const[,i]of t[e(377)]){const t=i[e(569)][e(557)]()[e(647)](t=>e(659)==t[e(382)]);for(const i of t)1==i[e(653)]&&i[e(360)](0).is(e(444),e(624))&&i[e(360)](0)[e(529)](e(512),!0)}}[ft(433)](t){const e=ft;this[e(501)](t);const i=this[e(537)][e(379)][e(506)](t,{}),s=Array[e(580)](i[e(658)]())[e(482)](t=>this[e(656)](t));return JSON[e(531)](s)}[ft(656)](t){const e=ft;if(t.is(e(559)))return t[e(379)];{const i=this[e(537)][e(585)][e(402)](e(460)),s=t,n=this[e(537)][e(379)][e(439)][e(650)],r={type:i[e(635)](s),name:s[e(382)],attributes:Array[e(580)](s[e(450)]()),children:Array[e(580)](s[e(658)]())[e(482)](t=>this[e(656)](t))};if(t.is(e(378))&&e(369)!=t[e(382)]){const i=t[e(599)](n[e(401)],n);r[e(374)][e(634)](i[e(564)])}else if(t.is(e(437))){const i=n[e(401)][e(413)](s[e(382)]);t[e(599)](i,n),r[e(374)][e(634)](i[e(591)])}const o=Array[e(580)](s[e(454)]());o[e(486)]>0&&(r[e(631)]=o);const a=s[e(605)]();return null!==a&&(r[e(367)]=a),r}}[ft(636)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(537)][r(584)];for(let s=0;s<e[r(486)];s++){const n=this[r(436)](e[s]),c=e[s][r(655)][r(623)](n),h=i[r(402)](c),d=s==e[r(486)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(541)]!=o[r(541)])&&(l(h,bt(a,t,u),bt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,bt(a,t,u),wt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(541)],d=l(441)+s+":"+h+":"+c++,f=u[l(491)](i,a);t[l(377)][l(595)](d,f),null!==h&&n[l(404)](h)}}[ft(436)](t){const e=ft;switch(t[e(540)]){case e(504):return e(630);case e(351):return e(616);default:return e(543)}}[ft(592)](t,e){const i=ft;t[i(644)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(402)](n[i(346)][i(665)]);t[s]=this[i(555)](n,r)}if(n instanceof X.ModelRange){const r=e[i(402)](n[i(346)][i(665)]);t[s]=this[i(662)](n,r)}i(346)===s&&(t[i(346)]=e[i(402)](t[i(346)][i(665)]))}}[ft(662)](t,e){const i=ft;return this[i(537)][i(584)][i(491)](this[i(555)](t[i(569)],e),this[i(555)](t[i(372)],e))}[ft(555)](t,e){const i=ft;return this[i(537)][i(584)][i(578)](e,t[i(447)],t[i(518)])}[ft(633)](t){const e=ft,i=this[e(618)][e(402)](t[e(590)][e(346)][e(665)]),s=this[e(555)](t[e(590)],i),n=null===t[e(547)]?null:t[e(547)]||this[e(537)][e(585)][e(402)](e(500)).me.id,r=s[e(352)],o=this[e(583)],a=[];for(const i of t[e(572)])if(i.is(e(444)))a[e(634)](this[e(576)](i));else for(let t=0;t<i[e(614)];t++)a[e(634)](new X.ModelElement(e(559),{vid:this[e(583)]++}));const c=this[e(583)];for(let t=o;t<c;t++)this[e(498)][e(595)](t,{userId:n});r[e(554)](s[e(626)],a)}[ft(571)](t){const e=ft;(t=this[e(587)](t,this[e(618)]))[e(525)]();const i=null===t[e(547)]?null:t[e(547)]||this[e(537)][e(585)][e(402)](e(500)).me.id,s=t[e(407)](),n=s[e(352)],r=s[e(626)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(360)](e);r.is(a(444),a(559))?s[a(595)](r[a(623)](a(543)),{userId:i}):(s[a(595)](r[a(623)](a(630)),{userId:i}),t(s,r,0,r[a(653)]),s[a(595)](r[a(623)](a(616)),{userId:i}))}}(this[e(498)],n,r,r+t[e(438)])}[ft(597)](t){const e=ft,i=null===(t=this[e(587)](t,this[e(618)]))[e(547)]?null:t[e(547)]||this[e(537)][e(585)][e(402)](e(500)).me.id,s=t[e(452)][e(352)],n=t[e(355)][e(352)],r=s[e(623)](e(616)),o=n[e(623)](e(630));s[e(529)](e(616),n[e(623)](e(616))),n[e(529)](e(616),r),this[e(498)][e(595)](o,{userId:i}),this[e(498)][e(595)](r,{userId:i}),t[e(525)]()}[ft(381)](t){const e=ft,i=null===(t=this[e(587)](t,this[e(618)]))[e(547)]?null:t[e(547)]||this[e(537)][e(585)][e(402)](e(500)).me.id,s=t[e(505)],n=t[e(417)][e(352)];t[e(525)]();const r=n[e(623)](e(616)),o=t[e(530)][e(620)];if(s){const t=o[e(623)](e(616)),s=n[e(623)](e(616));n[e(529)](e(616),t),o[e(529)](e(616),s),this[e(498)][e(595)](n[e(623)](e(616)),{userId:i}),this[e(498)][e(595)](o[e(623)](e(630)),{userId:i})}else{const t=this[e(583)]++,s=this[e(583)]++;n[e(529)](e(616),t),o[e(529)](e(630),s),o[e(529)](e(616),r),this[e(498)][e(595)](t,{userId:i}),this[e(498)][e(595)](s,{userId:i})}}[ft(494)](t){const e=ft;if(!t[e(457)])return;const i=(t=this[e(587)](t,this[e(601)]))[e(365)]?t[e(365)][e(346)]:null,s=t[e(579)]?t[e(579)][e(346)]:null;i&&this[e(657)][e(455)](t[e(382)]),s&&this[e(657)][e(595)](t[e(382)],t[e(579)][e(406)]());const n=null===t[e(547)]?null:t[e(547)]||this[e(537)][e(585)][e(402)](e(500)).me.id,r=t[e(382)];if(!this[e(553)][e(503)](r))return void this[e(553)][e(595)](r,{range:t[e(365)],userId:n});const o=this[e(553)][e(402)](r),a=o[e(513)],c=t[e(579)];null==a&&null==c||a&&c&&a[e(577)](c)?this[e(553)][e(455)](t[e(382)]):o[e(541)]=n}[ft(593)](t,e){const i=ft;this[i(601)][i(503)](t[i(665)])?this[i(601)][i(402)](t[i(665)])[i(370)]=t[i(511)]:(this[i(601)][i(595)](t[i(665)],kt(t[i(665)],!0)),this[i(570)][i(595)](t[i(665)],{}),e&&this[i(618)][i(595)](t[i(665)],kt(t[i(665)],!0)));const s=null===t[i(547)]?null:t[i(547)]||this[i(537)][i(585)][i(402)](i(500)).me.id,n=this[i(596)][i(402)](t[i(665)]);n&&n[i(541)]===s?this[i(596)][i(455)](t[i(665)]):this[i(596)][i(595)](t[i(665)],{userId:s,isAttached:t[i(511)]})}[ft(412)](t){const e=ft,i=this[e(570)][e(402)](t[e(346)][e(665)]);null===t[e(642)]?delete i[t[e(495)]]:i[t[e(495)]]=t[e(642)]}}function yt(t){const e=ft,i=kt(t[e(665)],t[e(396)]());for(const s of t[e(658)]()){const t=s[e(566)](!0);i[e(502)](t)}return i}function kt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(665)]=t,s[i(370)]=e,s[i(396)]=()=>s[i(370)],s}function bt(t,e,i){const s=ft,n=s(351)==t[s(540)]?i[s(610)](t[s(655)],s(372)):i[s(462)](t[s(655)]);return i[s(578)](e,n[s(447)],n[s(518)])}function wt(t,e,i){const s=ft,n=s(504)==t[s(540)]?i[s(610)](t[s(655)],0):i[s(363)](t[s(655)]);return i[s(578)](e,n[s(447)],n[s(518)])}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 jt=i(959),Ft={attributes:{"data-cke":!0}};Ft.setAttributes=Mt(),Ft.insert=At().bind(null,"head"),Ft.domAPI=xt(),Ft.insertStyleElement=Vt();Ot()(jt.A,Ft);jt.A&&jt.A.locals&&jt.A.locals;function Lt(t,e){const i=zt();return(Lt=function(t,e){return i[t-=250]})(t,e)}const Pt=Lt;function zt(){const t=["893808SAVNpa","listenTo","add","render","fieldView","keystrokes","extendTemplate","revisionNameInputValue","304773OJLwIE","form","220","set","1437855PoSiGh","revisionName","56wAhlnn","value","Name of the revision","focus","arrowright","_createRevisionNameInput","15BBmfeB","trim","81284ivopkc","initializeCssTransitionDisablerMixin","errorText","optional","setTemplate","ck-revision-history-save-revision-form","locale","497176psgqzH","368882rXbuvD","focusTracker","52872HLFwPy","reset","input","arrowleft","ck-responsive-form","arrowup","arrowdown","label","revisionNameInputView","stopPropagation","element"];return(zt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(194254===-parseInt(e(283))/1+-parseInt(e(275))/2*(-parseInt(e(273))/3)+-parseInt(e(282))/4+parseInt(e(265))/5+-parseInt(e(285))/6+-parseInt(e(261))/7*(-parseInt(e(267))/8)+-parseInt(e(253))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(284)];[Pt(258)];[Pt(250)];constructor(e,i){const s=Pt;super(e),this[s(284)]=new t.FocusTracker,this[s(258)]=new t.KeystrokeHandler,this[s(264)](s(260),""),this[s(250)]=this[s(272)](i),this[s(279)]({tag:s(262),attributes:{class:["ck",s(280),s(289)],tabindex:"-1"},children:[this[s(250)]]}),this[s(276)]()}[Pt(256)](){const t=Pt;super[t(256)](),(0,It.submitHandler)({view:this}),this[t(284)][t(255)](this[t(250)][t(252)]),this[t(258)][t(254)](this[t(252)]);const e=e=>e[t(251)]();this[t(258)][t(264)](t(271),e),this[t(258)][t(264)](t(288),e),this[t(258)][t(264)](t(290),e),this[t(258)][t(264)](t(291),e)}[Pt(270)](){const t=Pt;this[t(250)][t(270)]()}get[Pt(266)](){const t=Pt;return this[t(250)][t(257)][t(252)][t(268)][t(274)]()}set[Pt(266)](t){const e=Pt;this[e(250)][e(257)][e(252)][e(268)]=t[e(274)]()}[Pt(286)](){const t=Pt;this[t(250)][t(257)][t(252)][t(268)]="",this[t(250)][t(277)]=null}[Pt(272)](t){const e=Pt,i=new It.LabeledFieldView(this[e(281)],It.createLabeledInputText),s=i[e(257)];s[e(259)]({attributes:{maxlength:e(263)}});let n=at(this[e(281)],e(269));return!t&&(n+=" ("+at(this[e(281)],e(278))+")"),i[e(292)]=n,s.on(e(287),()=>{const t=e;this[t(260)]=s[t(252)][t(268)][t(274)]()}),i}}const Ht=Zt;function Ut(){const t=["2284399IetvbI","Dialog","revisionHistory","revisionNameInputView","isPremiumPlugin","menuitem","execute","isOpen","isOfficialPlugin","pluginName","saveRevision","8TbLvwQ","Save current revision","_showDialog","961828KCYafu","18QbHgdr","config","1017795scWMIQ","The revision name cannot be empty.","submit","RevisionTracker","_createSaveRevisionFormView","role","Cancel","show","items","menu","menuBar:revisionHistory","revisionSave","plugins","errorText","componentFactory","locale","Open revision history","6wQVOHK","editor","panelView","render","_saveRevisionFormView","init","delegate","Accept","Revision history","hide","4657737tvKpIe","revisionHistory.requireRevisionName","view","5056469HNlTZj","editing","isReadOnly","isEnabled","showRevisionViewerCallback","ck-button-action","6JwDjGX","add","bind","focus","reset","isReady","children","buttonView","set","addMany","4063090zEgESo","RevisionHistoryUI","get","requires","revisionName","_registerMenuComponent","88LUzmvb","7609wPsPMD","120dDKRoW"];return(Ut=function(){return t})()}function Zt(t,e){const i=Ut();return(Zt=function(t,e){return i[t-=328]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(425509===-parseInt(e(346))/1*(parseInt(e(345))/2)+-parseInt(e(382))/3*(parseInt(e(362))/4)+-parseInt(e(365))/5*(parseInt(e(329))/6)+parseInt(e(392))/7*(-parseInt(e(359))/8)+-parseInt(e(363))/9*(-parseInt(e(339))/10)+-parseInt(e(395))/11+parseInt(e(347))/12*(parseInt(e(348))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class qt extends G.Plugin{static get[Ht(357)](){return Ht(340)}static get[Ht(356)](){return!0}static get[Ht(352)](){return!0}static get[Ht(342)](){return[vt]}[Ht(386)];[Ht(387)](){const t=Ht,e=this[t(383)],i=e[t(377)][t(341)](t(368));e.ui[t(379)][t(330)](t(350),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(384)][n(335)],a=new It.ListView(s),c=new It.ListItemView(s),u=new It.ButtonView(s),l=new It.ListItemView(s),h=new It.ButtonView(s);return r[n(331)](n(398)).to(i,n(334),i,n(398),e,n(397),(t,e,i)=>t&&e&&!i),r[n(336)][n(337)]({icon:_t.IconHistory,label:at(s,n(390)),tooltip:!0}),u[n(337)]({label:at(s,n(360)),withText:!0,role:n(353)}),u[n(331)](n(398)).to(i,n(334),i,n(398),e,n(397),(t,e,i)=>t&&e&&!i),u.on(n(354),()=>this[n(361)]()),h[n(337)]({label:at(s,n(381)),withText:!0,role:n(353)}),h[n(331)](n(398)).to(i,n(334),e,n(397),(t,e)=>t&&!e),h.on(n(354),()=>{const t=n;e[t(364)][t(341)](t(350))[t(399)](),r[t(355)]=!1,e[t(396)][t(394)][t(332)]()}),c[n(335)][n(330)](u),l[n(335)][n(330)](h),a[n(370)]=n(374),a[n(373)][n(338)]([c,l]),o[n(330)](a),r}),e.ui[t(379)][t(330)](t(375),()=>this[t(344)]())}[Ht(344)](){const t=Ht,e=this[t(383)],i=e[t(380)],s=new It.MenuBarMenuView(i),n=new It.MenuBarMenuListView(i);s[t(336)][t(337)]({icon:_t.IconHistory,label:at(i,t(390))});const r=new It.MenuBarMenuListItemView(i,s),o=new It.MenuBarMenuListItemButtonView(i);o[t(337)]({label:at(i,t(360))}),o[t(388)](t(354)).to(s),o.on(t(354),()=>{this[t(361)]()}),r[t(335)][t(330)](o),n[t(373)][t(330)](r);const a=new It.MenuBarMenuListItemView(i,s),c=new It.MenuBarMenuListItemButtonView(i);return c[t(337)]({label:at(i,t(381))}),c[t(388)](t(354)).to(s),c.on(t(354),()=>{const i=t;e[i(364)][i(341)](i(350))[i(399)]()}),a[t(335)][t(330)](c),n[t(373)][t(330)](a),s[t(384)][t(335)][t(330)](n),s}[Ht(361)](){const t=Ht,e=this[t(383)],i=e[t(380)],s=e[t(377)][t(341)](t(349)),n=e[t(377)][t(341)](t(368));function r(n){const r=t;e[r(364)][r(341)](r(393))&&""===n[r(343)]?n[r(351)][r(378)]=at(i,r(366)):(e[r(377)][r(341)](vt)[r(358)]({name:n[r(343)]}),s[r(391)]())}this[t(386)]||(this[t(369)](),this[t(386)].on(t(367),()=>r(this[t(386)]))),this[t(386)][t(333)](),s[t(372)]({id:t(376),title:at(i,t(360)),isModal:!0,content:this[t(386)],actionButtons:[{label:at(e[t(380)],t(371)),withText:!0,onExecute:()=>s[t(391)]()},{label:at(e[t(380)],t(389)),class:t(328),withText:!0,onCreate(i){const s=t;i[s(331)](s(398)).to(n,s(334),n,s(398),e,s(397),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(386)])}]})}[Ht(369)](){const t=Ht,e=this[t(383)],i=e[t(380)];this[t(386)]=new Wt(i,e[t(364)][t(341)](t(393))),this[t(386)][t(385)]()}}const $t=Bt;function Bt(t,e){const i=Jt();return(Bt=function(t,e){return i[t-=487]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(801274===parseInt(e(504))/1*(parseInt(e(515))/2)+parseInt(e(505))/3+-parseInt(e(497))/4*(parseInt(e(488))/5)+parseInt(e(498))/6*(-parseInt(e(500))/7)+parseInt(e(518))/8*(parseInt(e(509))/9)+parseInt(e(511))/10*(-parseInt(e(495))/11)+-parseInt(e(496))/12*(-parseInt(e(503))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Yt extends It.View{[$t(487)];[$t(501)];constructor(t,e){const i=$t;super(t),this[i(501)]=e,this[i(487)]=e.id;const s=this[i(512)],n=at(t,e[i(516)][i(521)]?i(494):i(493)==e[i(489)]?i(499):i(502));this[i(490)](i(489),e[i(489)]),this[i(491)]({tag:i(510),attributes:{class:[i(492),i(507),s.to(i(489),t=>i(519)+t)],tabindex:-1},children:[{tag:i(514),children:[{tag:i(514),attributes:{class:[i(513)]},children:[{text:n}]},{text:" "+e[i(508)][i(517)]}]}]})}[$t(506)](){const t=$t;this[t(520)][t(506)]()}}function Jt(){const t=["bindTemplate","ck-revision-change__label","span","7706VrzJNt","data","name","14104ttAyHT","ck-revision-change__","element","isSuggestion","changeId","1180dYysBt","type","set","setTemplate","ck-annotation","add","Suggested by","11YjMeHr","1572QBMTkj","26984EzQHJT","18rAMZhp","Added by","2823107AZBOWi","_model","Removed by","244023WbiOWs","169mJccDD","1724277PzQYsf","focus","ck-revision-change","author","5625FxZCkr","div","11835590esupNx"];return(Jt=function(){return t})()}var Gt=Kt;function Kt(t,e){var i=Xt();return(Kt=function(t,e){return i[t-=470]})(t,e)}function Xt(){var t=["type","292ArdAGi","author","rootName","55116tmOgZS","3282LcBYdF","992ySUkEJ","createdAt","1270TDswez","5815PrAXBp","set","3015528cvDkgh","2194OJasXc","2469CUoJkm","2388111YInHUi","1713453vGSMpP","data","toJSON"];return(Xt=function(){return t})()}!function(t){for(var e=Kt,i=t();;)try{if(573215===parseInt(e(484))/1*(parseInt(e(472))/2)+-parseInt(e(473))/3*(-parseInt(e(479))/4)+-parseInt(e(487))/5*(parseInt(e(483))/6)+parseInt(e(475))/7+parseInt(e(471))/8+-parseInt(e(482))/9*(parseInt(e(486))/10)+parseInt(e(474))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Gt(480)];[Gt(478)];[Gt(476)];[Gt(481)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(480)]=e[i(480)],this[i(478)]=e[i(478)],this[i(476)]=e[i(476)]||{},this[i(481)]=e[i(481)],this[i(470)](i(485),e[i(485)])}[Gt(477)](){var t=Gt;return{id:this.id,authorId:this[t(480)].id,type:this[t(478)],data:this[t(476)],createdAt:this[t(485)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=267]})(t,e)}function ie(){const t=["602nvGKoG","24XWeORk","_setChanges","730EnAkqt","6khHUbz","168745DoecDA","17pbTtCn","8eQYzPA","137917eIxLwT","changes","newRevisionId","8wvNSgs","oldRevisionId","3178MTtoAf","115035WsosGz","548570gxbbJx","add","13581ZmZsIF","1501745eLlBlz"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(114617===parseInt(e(275))/1*(-parseInt(e(282))/2)+-parseInt(e(283))/3*(parseInt(e(280))/4)+parseInt(e(274))/5*(-parseInt(e(273))/6)+-parseInt(e(268))/7*(parseInt(e(276))/8)+parseInt(e(267))/9*(parseInt(e(272))/10)+-parseInt(e(284))/11*(parseInt(e(270))/12)+-parseInt(e(277))/13*(-parseInt(e(269))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class se{[te(279)];[te(281)];[te(278)];constructor(e,i){const s=te;this[s(279)]=e,this[s(281)]=i,this[s(278)]=new t.Collection}[te(271)](t){const e=te;for(const i of t)this[e(278)][e(285)](i)}}var ne=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Vt();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ce;function ae(){const t=["mouseover","forward","observeMarkers","offsetSize","57486HOUUSK","_utils","pluginName","pop","conversion","_getViewForChange","mapper","loadRevisionData","15880bnxoHA","editor","showStack","changeId","attributesBefore","revision","_threeWayMerge","isOfficialPlugin","_joinTapes","removeMarker","_makeTape","destroy","toViewRange","POSITIVE_INFINITY","first","revision-viewer","ck-suggestion-preview-marker","clear","markersStart","_initInteractions","isCollapsed","suggestion:","_setDistance","isRemoveSuggestion","attributesAfter","backward","addMarker:revision","model","getIndex","bindElementToMarker","high","commands","_appendChild","getWalker","object","getDomRoot","removeClass","_getChangeFromId","ck-editor__editable__overlay","_removeMissingPairs","data","attributes","repository","distance","for","start","target","deletion","enqueueChange","stop","currentChangeNumber","RevisionsRepository","pairId","getChild","change:activeChange","createRangeIn","toViewPosition","oldRevisionId","code","splice","isLimit","_activeViewTarget","createPositionBefore","478114ZXKVJD","105194PHcGMK","writer","_cleanUp","_refreshStartEndIndex","done","selection","_markMismatchedRemovedTags","_data","getLaterVisibleRevision","addHighlight","concat","get","revision-comment:","_markInsertions","resolve","ck-suggestion-marker","rootName","reconvertMarker","hasAttribute","toViewElement","_sortAndFilterDiffChanges","_makeModelFromTape","attachChange","data-change-id","diffData","affectsData","error","attribute:vid","push","findIndex","nextSibling","isBefore","isEqual","RevisionHistoryUtils","ck-suggestion-marker--active","catch","dataToMarker","delete","hasClass","text","ck-revision-history-root-add","forceDisabled","isInline","adapter","ck-suggestion-marker-","consumable","getRevisionDocumentData","values","isAtEnd","index","isAfter","vid_start","ck-revision-history-root-","nodeAfter","addRevisionData","_changeView","elementEnd","indexOf","sort","maxOffset","_update","_cleanMarkers","low","revisionHistoryLabel","init","882xpBnep","markersEnd","remove","isAddSuggestion","schema","document","isReady","_makeModelFromViewString","has","isAttached","_processTape","element:pre","WidgetToolbarRepository","left","find","right","restoreRevisionCallback","domConverter","nextPosition","set","isAdded","markerNameToElements","flat","-new","bind","getRevisionRootsAttributes","_getRevisionsRange","revisionHistoryAttachChange","uiElement","parent","_revisions","vid","isObject","markerToHighlight","_markSuggestions","deletions","getRootNames","add","diff","changes","_fixObsoleteTags","removeMarker:revision","getRoot","numberOfChanges","includes","getAttributes","insert","compare","createAttributeElement","change:numberOfChanges","markerToData","detachRoot","end","bottom","execute","change","map","change:isReady","insertion","markerRange","_findChangeIdFromDomTarget","modelRange","startsWith","elementToAttribute","vid_end","unbindElementFromMarkerName","roots","highest","isContent","isNavigationMode","72QNiEfM","authors","change:activeView","from","plugins","side","_changeIdToChange","mousedown","isSuggestion","enableReadOnlyMode","element","top","level","addRoot","getAttribute","createRevision","userId","activeView","abs","createRange","setAttribute","length","span","downcastDispatcher","domEvent","item","ck-suggestion-marker-merge","1xthAHt","showPreviousChange","elementStart","viewItem","return","endIndex","_getDiff","mapViewToDom","createPositionFromPath","checkAttribute","restoreRevision","revisionHistory","revision:","removeMarker:revision-suggestion","markerName","next","updatePosition","newRevisionId","266376xhNMDJ","type","getRevision","markers","removeAttribute","addRevision","getItems","consume","all","test","editing","ck-revision-history-root--active","filter","getClientRects","6394553MZXqim","insertions","activeChange","addClass","_setConversion","ck-revision-history-root-remove","_setChanges","addMarker:revision-suggestion:insertion","requires","isIncorrect","listenTo","refresh","slice","revision-suggestion:","previousPosition","isPremiumPlugin","then","_step","startIndex","suggestion","name","addMarker:revision-suggestion:deletion","_removeUnsupportedChanges","666880hREtto","change:isEnabled","merge","dataDowncast","16XpmLsl","locale","shift","config","upcast","forEach","split","isEnabled","unshift","revision-suggestion","wrap","keys","_balloon","range","RevisionViewer","ck-suggestion-marker-split","isRemoved","isBlock","isOnRoot","comment","createUIElement","editingDowncast","isAtStart","ck-suggestion-preview-marker-","softBreak","showNextChange","_markMarkers","getCustomProperty","string","view"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=165]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(174548===parseInt(e(271))/1*(parseInt(e(436))/2)+parseInt(e(364))/3*(-parseInt(e(244))/4)+parseInt(e(326))/5+parseInt(e(289))/6+-parseInt(e(435))/7*(parseInt(e(330))/8)+parseInt(e(174))/9*(-parseInt(e(372))/10)+parseInt(e(303))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(414)];[oe(479)]=null;[oe(365)];[oe(433)];[oe(491)];[oe(250)];[oe(342)];static get[oe(366)](){return oe(344)}static get[oe(379)](){return!0}static get[oe(318)](){return!0}static get[oe(311)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(414)]=this[e(373)][e(248)][e(447)](e(423)),this[e(365)]=this[e(373)][e(248)][e(447)](e(469)),this[e(193)](e(305),null),this[e(193)](e(261),null),this[e(433)]=null,this[e(193)](e(212),null),this[e(193)](e(180),!1),this[e(193)](e(337),!0),this.on(e(327),(t,i,s)=>{const n=e;this[n(305)]=null,this[n(261)]=null,this[n(373)][n(299)][n(359)][n(229)](t=>{const e=n;for(const i of this[e(373)][e(299)][e(359)][e(179)][e(240)])s?t[e(408)](e(410),i):t[e(306)](e(410),i)})}),this[e(198)](e(243)).to(this,e(305),t=>null!==t),this[e(198)](e(422)).to(this,e(180),this,e(212),this,e(305),(t,i,s)=>t&&s?i[e(213)][e(400)](s):0),this[e(198)](e(217)).to(this,e(180),this,e(212),(t,i)=>t?i[e(213)][e(265)]:0),this[e(491)]=null,this[e(250)]=new Map,this[e(342)]=this[e(373)][e(248)][e(447)](It.ContextualBalloon)}[oe(173)](){const t=oe,e=this[t(373)],i=new de(e,{direction:t(397)}),s=new de(e,{direction:t(361)});e[t(403)][t(211)](t(272),i),e[t(403)][t(211)](t(355),s),e[t(403)][t(211)](t(281),new he(e)),this.on(t(223),()=>{const e=t;i[e(314)](),s[e(314)]()}),this[t(307)](),this[t(391)](),e[t(253)](t(387)),e[t(248)][t(182)](t(186))&&e[t(248)][t(447)](t(186))[t(477)](t(387))}async[oe(482)](t){const e=oe;return await this[e(365)][e(371)](t,this[e(479)]),this[e(365)][e(482)](t)}async[oe(199)](t){const e=oe;return await this[e(365)][e(371)](t,this[e(479)]),this[e(365)][e(199)](t)}async[oe(221)](t,e,i=!1){const s=oe;if(!this[s(337)])return;const n=this[s(212)],r=this[s(414)],o=s(358)==typeof t?r[s(291)](t):t,a=s(358)==typeof e?r[s(291)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(212)]&&this[s(212)][s(288)]===c&&this[s(212)][s(429)]===u)return Promise[s(450)]();this[s(180)]=!1,this[s(261)]=null,this[s(305)]=null,this[s(212)]=new se(c,u);const l=this[s(200)](o,a,!0)[s(230)](t=>this[s(365)][s(371)](t,this[s(479)]));return l[s(464)](new Promise(t=>{setTimeout(t,20)})),Promise[s(297)](l)[s(319)](()=>{const t=s;if(!this[t(337)])return;this[t(438)]();const e=this[t(277)](c,u);for(const i of e[t(213)])this[t(250)][t(193)](i.id,i);this[t(373)][t(399)][t(420)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(373)][s(399)][s(179)][s(210)]())i[s(225)](t);for(const t of Object[s(341)](e[s(399)])){const n=i[s(257)](t);for(const r of Object[s(341)](e[s(413)][t]))i[s(264)](r,e[s(413)][t][r],n);i[s(220)](e[s(399)][t],n,0)}}),this[t(212)][t(309)](this[t(456)](e[t(213)])),this[t(180)]=!0})[s(471)](t=>{const e=s;console[e(462)](t),this[e(438)](),n&&(this[e(212)]=n),this[e(180)]=!0})}[oe(490)](t,e){const i=oe,s=this[i(414)][i(259)](t);return s.on(i(169),(t,i,n)=>e(i,n,s)),this[i(414)][i(294)](s),s}[oe(438)](){const t=oe;this[t(305)]=null,this[t(170)](),this[t(491)]&&this[t(491)][t(383)](),this[t(491)]=null,this[t(250)][t(389)](),this[t(373)][t(399)][t(420)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(373)][i(399)][i(179)][i(210)]())e[i(225)](t)})}[oe(456)](t){const e=oe,i=[],s=new Map;for(const t of this[e(373)][e(399)][e(179)][e(210)]()){const n=this[e(373)][e(299)][e(359)][e(407)](t);if(!n)continue;const r=n[e(302)]()[e(269)](0);r&&(i[e(464)](t),s[e(193)](t,r))}return i[e(167)]((t,i)=>{const n=e,r=s[n(447)](t),o=s[n(447)](i);return r.y-o.y||r.x-o.x}),(t=t[e(301)](t=>i[e(218)](t[e(452)])))[e(167)]((t,s)=>i[e(166)](t[e(452)])-i[e(166)](s[e(452)])),t}[oe(382)](t){const e=oe,i=Array[e(247)](t[e(292)])[e(301)](([t,i])=>t[e(236)](e(283))&&!i[e(392)]),s=Array[e(247)](this[e(373)][e(399)][e(427)](t)[e(405)]({singleCharacters:!0}));if(0!=i[e(265)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(336)](":");if(n[e(226)][e(468)](t[e(192)])&&i[e(332)](),(t[e(317)][e(468)](n[e(417)])||t[e(317)][e(486)](n[e(417)]))&&(e(232)==r?t[e(194)]={userId:o}:e(419)==r&&(t[e(346)]={userId:o})),0==i[e(265)])break}return s}[oe(439)](t){const e=oe,i=new Map;for(let s=0;s<t[e(265)];s++)e(475)===t[s][e(290)]?(t[s][e(269)][e(321)]=s,t[s][e(269)][e(276)]=s):(e(273)===t[s][e(290)]?t[s][e(269)][e(321)]=s:e(165)===t[s][e(290)]&&(t[s][e(269)][e(276)]=s),i[e(193)](t[s].id,s));for(const s of i[e(483)]())e(273)===t[s][e(290)]?t[s][e(269)][e(276)]=i[e(447)](t[s][e(424)]):e(165)===t[s][e(290)]&&(t[s][e(269)][e(321)]=i[e(447)](t[s][e(424)]))}[oe(184)](t){const e=oe;for(let i=0;i<t[e(265)];i++){if(e(273)===t[i][e(290)])t[i][e(269)][e(321)]=i;else if(e(165)===t[i][e(290)]){t[i][e(269)][e(276)]=i;const s=t[i][e(269)][e(321)];t[s][e(424)]=t[i].id,t[i][e(424)]=t[s].id}else t[i][e(269)][e(321)]=i,t[i][e(269)][e(276)]=i,t[i][e(424)]=null;t[i][e(390)]||(t[i][e(390)]=[],t[i][e(175)]=[])}}[oe(449)](t,e){const i=oe,s=t[i(301)](t=>!t[i(194)]);for(let t=0;t<e[i(265)];t++)e[t][i(194)]&&(s[t][i(194)]=e[t][i(194)])}[oe(277)](t,e=null){const i=oe,s=this[i(414)][i(291)](t),n=e?this[i(414)][i(291)](e):null,r=this[i(200)](s,n),o=r[r[i(265)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(265)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(341)](e[i(460)]))if(e[i(460)][t][i(458)]){const s=e[i(460)][t][i(458)];s[i(183)]?(u[i(211)](t),l[i(182)](t)&&l[i(447)](t)[i(260)]==s[i(260)]?l[i(473)](t):l[i(193)](t,s)):l[i(182)](t)?(u[i(473)](t),l[i(473)](t)):(u[i(211)](t),l[i(193)](t,s))}else u[i(211)](t)}for(const t of u){const e=l[i(182)](t)&&!l[i(447)](t)[i(183)];let s=e?r[i(265)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(460)][t]){const s=e?o[i(460)][t][i(376)]:o[i(460)][t][i(396)];c[i(413)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(399)]={};for(const e of t[i(245)])a[i(193)](e.id,e);for(const e of u){const s=t[i(460)][e]?t[i(460)][e][i(304)]:"[]",n=t[i(460)][e]?t[i(460)][e][i(209)]:"[]";t[i(399)][e]={insertions:this[i(365)][i(181)](s),deletions:this[i(365)][i(181)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(247)](s[i(399)][t][i(304)][i(292)])[i(301)](([t])=>!t[i(236)](i(283))));let h=0;for(const o of r){const r=this[i(382)](o[i(399)][t][i(304)]);o==s?(e=r,n=e[i(265)],e[i(335)](t=>{t.id=h++}),this[i(184)](e)):this[i(449)](e,r);const a=e[i(301)](t=>!t[i(194)])[i(230)](t=>t.id);let c=0;const l=this[i(382)](o[i(399)][t][i(209)]);l[i(335)](t=>{t[i(346)]?t.id=n++:t.id=a[c++]}),this[i(184)](l),this[i(394)](e,i(194)),this[i(394)](l,i(346)),o==s&&this[i(356)](e,u),e=this[i(380)](e,l),this[i(439)](e),this[i(394)](e,i(346))}e=e[i(301)](t=>!(t[i(194)]&&t[i(346)]));const d=new Map(o[i(399)][t][i(209)][i(292)]),f=new Set(u[i(341)]());for(const t of d[i(341)]())f[i(473)](t);this[i(208)](e,f),this[i(214)](e),e=this[i(411)](e),e=this[i(442)](e),e=this[i(325)](e);const{root:m,changes:p}=this[i(457)](e,a,t);c[i(399)][t]=m;const v=l[i(447)](t);if(v){const e=a[i(447)](v[i(260)]),s=new Qt({author:e,type:v[i(183)]?i(211):i(176),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(338)](s),c[i(413)][t][i(201)]=s.id}c[i(213)]=c[i(213)][i(446)](p)}return c}[oe(356)](t,e){const i=oe;for(let s=0;s<t[i(265)];s++)for(const[n,r]of e)!r[i(392)]&&r[i(417)][i(468)](t[s][i(317)])&&t[s][i(390)][i(464)](n),r[i(226)][i(468)](t[s][i(192)])&&t[s][i(175)][i(464)](n)}[oe(380)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(265)]||r<e[i(265)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(464)](o);else if(a[i(346)]&&o[i(194)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(378)](t,n,e,r);s=s[i(446)](o),n=a,r=c}else a[i(346)]?(r++,s[i(464)](a)):(n++,s[i(464)](o))}return s}[oe(208)](t,e){const i=oe,s=[];for(let o=0;o<t[i(265)];o++){for(let r=0;r<t[o][i(390)][i(265)];r++){const a=t[o][i(390)][r];if(!e[i(182)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(339)!=c||i(232)!=u&&i(419)!=u||(s[i(338)]({type:u,name:a,userId:l}),t[o][i(390)][i(431)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(175)][i(265)];r++){const a=t[o][i(175)][r];if(!e[i(182)](a))continue;const{group:c,type:u}=n(a);if(i(339)!=c||i(232)!=u&&i(419)!=u)continue;t[o][i(175)][i(431)](r,1),r--;const l=s[i(465)](t=>t[i(323)]==a);l>-1&&s[i(431)](l,1)}}function n(t){const e=i,s=t[e(336)](":");return{group:s[0],type:s[1],subType:s[e(265)]>=5?s[2]:null,id:s[e(265)]<5?s[2]:s[3],authorId:s[e(265)]<5?s[3]:s[4],markerCount:6==s[e(265)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(265)];i++){if(t[e(194)]&&e(232)==s[i][e(290)]&&t[e(194)][e(260)]==s[i][e(260)])return t[e(177)]=s[i],void delete t[e(194)];if(!t[e(194)]&&!t[e(346)]&&e(419)==s[i][e(290)])return void(t[e(395)]=s[i])}}}[oe(394)](t,e){const i=oe;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(193)](o.id,s);for(let s=0;s<t[i(265)];s++){if(i(346)==e&&t[s][i(194)]||i(194)==e&&t[s][i(346)])continue;if(i(475)==t[s][i(290)]){t[s][i(415)]=0;continue}const n=r[i(447)](t[s][i(424)]),o=r[i(447)](t[s].id);t[s][i(415)]=n-o}}[oe(200)](t,e,i=!1){const s=oe,n=[];let r=this[s(414)][s(400)](t),o=this[s(414)][s(400)](e);for(-1==o&&(o=this[s(414)][s(204)][s(265)],i=!1);r<o;)n[s(464)](this[s(414)][s(291)](r)),r++;return i&&n[s(464)](this[s(414)][s(291)](r)),n}[oe(378)](t,e,i,s){const n=oe,r=this[n(373)][n(399)][n(178)];let o=e;for(;t[o]&&t[o][n(194)];)o++;let a=s;for(;i[a]&&i[a][n(346)];)a++;u(t,e,o),u(i,s,a);const c=i[n(315)](s,a)[n(446)](t[n(315)](e,o));return c[n(167)]((t,e)=>t[n(249)]!=e[n(249)]?t[n(249)]-e[n(249)]:t[n(256)]!=e[n(256)]?t[n(256)]-e[n(256)]:t[n(415)]!=e[n(415)]?e[n(415)]-t[n(415)]:!!t[n(194)]!=!!e[n(194)]?-1==t[n(249)]||0==t[n(249)]?t[n(194)]?-1:1:t[n(194)]?1:-1:t[n(485)]-e[n(485)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(385)],c=!0;for(let n=e;n<i;n++)if(r[s(478)](t[n][s(269)])||(c=!1),t[n][s(269)][s(321)]<e&&(o=n),t[n][s(269)][s(276)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(249)]=n<=o?-1:n<a?0:1,t[n][s(485)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(415)]?t[i][s(256)]=u:(u++,t[i][s(256)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(249)]&&(t[n][s(256)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(415)]?t[e][s(256)]=u:(u--,t[e][s(256)]=u,u--)}}[oe(214)](t){const e=oe,i=new Map,s=this[e(373)][e(399)][e(178)];for(let n=1;n<t[e(265)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(475)==c[e(290)])continue;if(c[e(290)]!=u[e(290)])continue;if(!s[e(347)](u[e(269)])||s[e(432)](u[e(269)]))continue;if(!s[e(347)](c[e(269)])||s[e(432)](c[e(269)]))continue;if((t[n][e(194)]||t[n][e(177)])&&t[n-1][e(346)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(346)]||!t[n-1][e(194)]&&!t[n-1][e(177)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(256)]==o[e(256)],h=Math[e(262)](r[e(256)])<Math[e(262)](o[e(256)])&&0==o[e(415)];(l||h)&&(i[e(193)](o.id,r.id),t[e(431)](a,1),n--,r[e(194)]=!1)}for(let s=0;s<t[e(265)];s++)i[e(182)](t[s][e(424)])&&(t[s][e(424)]=i[e(447)](t[s][e(424)]))}[oe(411)](t){const e=oe,i=new Set(t[e(230)](t=>t.id));for(let s=0;s<t[e(265)];s++)i[e(182)](t[s][e(424)])||0==t[s][e(415)]||(t[s][e(312)]=!0);return t[e(301)](t=>!t[e(312)])}[oe(442)](t){const e=oe,i=new Set;for(let s=0;s<t[e(265)];s++){if(i[e(182)](t[s].id)&&t[s][e(346)]&&(t[s][e(312)]=!0),t[s][e(312)])continue;if(0==t[s][e(415)])continue;if(e(273)!=t[s][e(290)])continue;if(null==t[s][e(424)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(424)];)e(273)==t[n][e(290)]?r++:e(165)==t[n][e(290)]&&r--,n++;if(0!=r)if(t[s][e(346)])t[s][e(312)]=!0;else for(;n!=s;)t[n][e(346)]&&0!=t[n][e(415)]&&(t[n][e(312)]=!0,i[e(211)](t[n][e(424)])),n--}return t[e(301)](t=>!t[e(312)])}[oe(325)](t){const e=oe,i=this[e(373)][e(399)][e(178)];for(let s=0;s<t[e(265)];s++){if(!(t[s][e(194)]||t[s][e(177)]||t[s][e(346)]||t[s][e(395)]))continue;if(0==t[s][e(415)])continue;const n=t[s][e(269)];i[e(347)](n)||i[e(432)](n)||(t[s][e(194)]&&delete t[s][e(194)],t[s][e(177)]&&delete t[s][e(177)],t[s][e(395)]&&delete t[s][e(395)],t[s][e(346)]&&(t[s][e(312)]=!0))}return t[e(301)](t=>!t[e(312)])}[oe(457)](t,e,i){const s=oe,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(373)][s(399)],c=a[s(178)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(265)];e++)if(s(273)===t[e][s(290)]){t[e][s(317)]=a[s(279)](n,f);const i=new X.ModelElement(t[e][s(269)][s(323)],t[e][s(269)][s(219)]());u[0][s(404)](i),f[s(464)](0),u[s(338)](i),t[e][s(192)]=a[s(279)](n,f)}else s(165)===t[e][s(290)]?(u[s(332)](),t[e][s(317)]=a[s(279)](n,f),f[s(367)](),f[f[s(265)]-1]++,t[e][s(192)]=a[s(279)](n,f)):(t[e][s(317)]=a[s(279)](n,f),d?d[s(443)]+=t[e][s(269)][s(412)]:d=new X.ModelText(t[e][s(269)][s(412)],t[e][s(269)][s(219)]()),t[e+1]&&s(475)===t[e+1][s(290)]&&v(d,t[e+1][s(269)])||(u[0][s(404)](d),d=null),f[f[s(265)]-1]+=t[e][s(269)][s(363)],t[e][s(192)]=a[s(279)](n,f));for(let e=0;e<t[s(265)];e++){const i=t[e][s(317)],n=t[e][s(192)];for(const n of t[e][s(390)])o[s(193)](n,{start:i,end:null});m(s(395),e,i,n),m(s(177),e,i,n),m(s(346),e,i,n),m(s(194),e,i,n);for(const i of t[e][s(175)]){const t=o[s(447)](i);t?t[s(226)]=n:o[s(193)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(373)][s(399)][s(263)](e[s(417)],e[s(226)]);n[s(292)][s(193)](t,i)}return r[s(167)]((t,e)=>{const i=s,r=n[i(292)][i(447)](i(283)+t.id),o=n[i(292)][i(447)](i(283)+e.id);return r[i(417)][i(467)](o[i(417)])?-1:r[i(417)][i(486)](o[i(417)])?1:r[i(226)][i(467)](o[i(226)])?-1:r[i(226)][i(486)](o[i(226)])?1:i(211)===t[i(290)]?-1:1}),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(260)]:null,d=i===t[o(265)]-1,f=h[e][0],m=c[o(206)](t[i][o(269)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(226)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(260)]!==u&&(l[e][o(226)]=n,f&&f[o(260)]===l[e][o(260)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(273)!==t[i][o(290)]||f&&f[o(260)]===u||h[e][o(338)]({userId:u,object:t[i][o(269)],change:l[e]}),o(165)===t[i][o(290)]&&f&&f[o(406)]===t[i][o(269)]&&(h[e][o(332)](),l[e]=f[o(229)])),l[e]&&d&&(l[e][o(226)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(269)],f=a[h(178)][h(347)](d)&&!a[h(178)][h(432)](d),m=t[h(489)]==o[h(203)]&&o[h(352)];if(f&&m)return;const p=a[h(263)](t,o),v=e[h(447)](u),g=new Qt({author:v,type:h(194)==l||h(177)==l?h(211):h(176),data:{isSuggestion:h(177)==l||h(395)==l},createdAt:new Date,rootName:i});r[h(464)](g),n[h(292)][h(193)](h(283)+g.id,p)}function v(t,e){const i=s,n=t[i(219)](),r=e[i(219)]();for(const t of n){if(t[1]!==e[i(258)](t[0]))return!1;r[i(286)]()}return r[i(286)]()[i(440)]}}[oe(307)](){const t=oe;this[t(373)][t(368)][t(416)](t(334))[t(472)]({view:t(377)}),this[t(373)][t(368)][t(416)](t(351))[t(207)]({model:t(377),view:e=>{const i=t,s=e[i(285)][i(336)](":")[1],n=this[i(409)](s);if(!n)return null;const r=i(211)==n[i(290)]?i(232):i(419),o=[i(451),i(480)+r];return n[i(412)][i(252)]&&o[i(464)](i(480)+r+i(197)),this[i(305)]==n&&o[i(464)](i(470)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(373)][t(368)][t(416)](t(334))[t(211)](e=>{const i=t;e.on(i(185),(t,e,s)=>{const n=i,r=e[n(274)][n(425)](0);if(!r||!r.is(n(254),n(430)))return;if(!s[n(481)][n(296)](r,{attributes:[n(487),n(238)]}))return;const o=e[n(235)][n(417)][n(489)];s[n(437)][n(264)](n(487),r[n(258)](n(487)),o),s[n(437)][n(264)](n(238),r[n(258)](n(238)),o)},{priority:i(171)})}),this[t(373)][t(368)][t(416)](t(334))[t(211)](e=>{const i=t;e.on(i(254),(t,e,s)=>{const n=i;if(!s[n(481)][n(296)](e[n(274)],{attributes:[n(487),n(238)]}))return;if(e[n(235)][n(392)])return;const r=e[n(235)][n(417)][n(489)];r[n(454)](n(487))||r[n(454)](n(205))||(s[n(437)][n(264)](n(487),e[n(274)][n(258)](n(487)),r),s[n(437)][n(264)](n(238),e[n(274)][n(258)](n(238)),r))},{priority:i(171)})}),this[t(373)][t(368)][t(416)](t(334))[t(237)]({view:{name:t(266),attributes:{vid:!0}},model:{key:t(205),value:e=>e[t(258)](t(205))}}),this[t(373)][t(399)][t(178)].on(t(280),(e,[,i])=>{const s=t;[s(487),s(238),s(205)][s(218)](i)&&(e[s(275)]=!0,e[s(421)]())},{priority:t(241)}),this[t(373)][t(368)][t(416)](t(329))[t(211)](e=>{const i=t;e.on(i(463),(t,e,s)=>{const n=i;if(" "!=e[n(269)][n(412)]||e[n(269)][n(203)][n(168)]>1)return;if(!s[n(481)][n(296)](e[n(269)],t[n(323)]))return;const r=s[n(437)],o=s[n(370)][n(384)](e[n(343)]);r[n(340)](o,r[n(222)](n(266)))})}),this[t(373)][t(368)][t(416)](t(329))[t(224)]({model:t(377)}),this[t(373)][t(299)][t(267)].on(t(398),function(e){const i=t,s=e[i(248)][i(447)](i(344));return(t,n,r)=>{const o=i,a=n[o(285)][o(336)](":")[1],c=s[o(409)](a);if(!c)return null;const u=o(211)==c[o(290)]?o(336):o(328);if(!r[o(481)][o(298)](n[o(233)],t[o(323)]))return;const l=n[o(233)][o(405)](),h=n[o(233)][o(417)],d=e[o(399)][o(178)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(269)];p=p||d[o(242)](e);const i=r[o(370)][o(455)](e);if(i&&i[o(357)](o(445)))return;o(165)==t[o(290)]&&d[o(347)](e)&&!d[o(432)](e)&&(e[o(466)]||h[o(484)]?f&&f[o(203)]==e||(f=e,g(t[o(317)]),v=!0):m=m||t[o(317)])}function g(t){const e=o,i=r[e(437)][e(350)](e(266),{class:e(480)+u}),a=r[e(370)][e(428)](t);c[e(412)][e(252)]&&r[e(437)][e(306)](e(480)+u+e(197),i),s[e(305)]==c&&r[e(437)][e(306)](e(470),i),r[e(437)][e(220)](a,i),r[e(370)][e(401)](i,n[e(285)])}p||v||!m||g(m)}}(this[t(373)]),{priority:t(402)}),this[t(373)][t(299)][t(267)].on(t(215),(e,i,s)=>{const n=t,r=s[n(370)][n(195)](i[n(285)]);if(r)for(const t of r)(t[n(474)](n(345))||t[n(474)](n(270)))&&(s[n(370)][n(239)](t,i[n(285)]),s[n(437)][n(176)](t))},{priority:t(402)}),this[t(373)][t(299)][t(267)].on(t(398),(e,i,s)=>{const n=t,r=i[n(285)][n(336)](":")[1],o=this[n(409)](r);if(!o)return null;const a=n(211)==o[n(290)]?n(336):n(328);if(s[n(481)][n(298)](i[n(233)],e[n(323)]))for(const t of i[n(233)][n(295)]()){if(!t.is(n(254),n(354)))continue;const e=s[n(437)][n(350)](n(266),{class:n(480)+a}),r=s[n(370)][n(428)](this[n(373)][n(399)][n(434)](t));o[n(412)][n(252)]&&s[n(437)][n(306)](n(480)+a+n(197),e),this[n(305)]==o&&s[n(437)][n(306)](n(470),e),s[n(437)][n(220)](r,e),s[n(370)][n(401)](e,i[n(285)])}},{priority:t(402)}),this[t(373)][t(399)][t(179)].on(t(229),()=>{const e=t;this[e(373)][e(299)][e(359)][e(229)](t=>{const i=e;for(const e of this[i(373)][i(399)][i(179)][i(210)]()){const s=this[i(373)][i(399)][i(179)][i(216)](e),n=this[i(373)][i(299)][i(359)][i(179)][i(216)](e);if(n){const e=s[i(258)](i(201));if(t[i(293)](i(459),n),t[i(408)](i(476),n),t[i(408)](i(308),n),t[i(408)](i(300),n),e){const s=this[i(409)](e);if(!s)return null;t[i(264)](i(459),e,n),t[i(306)](i(488)+s[i(290)],n),this[i(305)]==s&&t[i(306)](i(300),n)}}}})}),this[t(373)][t(368)][t(416)](t(334))[t(472)]({view:t(349),model:e=>t(448)+e,converterPriority:t(241)}),this[t(373)][t(368)][t(416)](t(334))[t(472)]({view:t(322),model:e=>t(316)+e,converterPriority:t(241)}),this[t(373)][t(368)][t(416)](t(329))[t(224)]({model:t(339),view:e=>({name:t(393)+e,group:t(339)}),converterPriority:t(241)}),this[t(373)][t(368)][t(416)](t(351))[t(207)]({model:t(339),view:e=>{const i=t,s=e[i(285)][i(336)](":")[1];return i(232)!=s&&i(419)!=s?null:{classes:[i(388),i(353)+s]}}}),this[t(373)][t(299)][t(267)].on(t(324),le(this[t(373)],t(328)),{priority:t(402)}),this[t(373)][t(299)][t(267)].on(t(310),le(this[t(373)],t(336)),{priority:t(402)}),this[t(373)][t(299)][t(267)].on(t(284),(e,i,s)=>{const n=t,r=s[n(370)][n(195)](i[n(285)]);if(r)for(const t of r)t.is(n(202))&&(s[n(370)][n(239)](t,i[n(285)]),s[n(437)][n(176)](t))},{priority:t(402)})}[oe(409)](t){const e=oe;return this[e(250)][e(447)](t)}[oe(369)](t){const e=oe;return this[e(491)]&&this[e(491)][e(383)](),this[e(491)]=new Yt(this[e(373)][e(331)],t),this[e(491)]}[oe(391)](){const t=oe;this[t(373)][t(399)][t(179)][t(441)][t(362)](t(377)),this.on(t(246),(e,i,s,n)=>{const r=t;n&&this[r(342)][r(176)](n),s&&(this[r(342)][r(211)]({view:s,stackId:r(172),position:{target:()=>{const t=r,e=this[t(373)][t(299)],i=this[t(409)](s[t(375)]);let n;if(i[t(412)][t(348)]){const s=e[t(359)][t(407)](i[t(452)]);n=Array[t(247)](s[t(302)]())}else{const i=this[t(373)][t(399)][t(292)][t(447)](t(283)+s[t(375)]);n=Array[t(247)](e[t(370)][t(195)](i[t(323)]))[t(230)](i=>e[t(359)][t(191)][t(278)](i))[t(230)](e=>Array[t(247)](e[t(302)]()))[t(196)]()}return this[t(433)]&&n[t(188)](e=>e[t(255)]-3<=this[t(433)].y&&e[t(227)]+3>=this[t(433)].y&&e[t(187)]-3<=this[t(433)].x&&e[t(189)]+3>=this[t(433)].x)||n[0]}}}),this[r(342)][r(374)](r(172)))}),this.on(t(426),(e,i,s,n)=>{const r=t;this[r(261)]=s?this[r(369)](s):null,this[r(373)][r(399)][r(229)](()=>{const t=r,e=this[t(373)][t(299)];n&&(n[t(412)][t(348)]?e[t(359)][t(229)](i=>{const s=t;i[s(408)](s(300),e[s(359)][s(179)][s(216)](n[s(452)]))}):e[t(453)](t(283)+n.id)),s&&(s[t(412)][t(348)]?e[t(359)][t(229)](i=>{const n=t;i[n(306)](n(300),e[n(359)][n(179)][n(216)](s[n(452)]))}):e[t(453)](t(283)+s.id))})}),this[t(313)](this[t(373)][t(299)][t(359)][t(179)],t(360),(e,i)=>{const s=t;if(this[s(305)])return;const n=this[s(234)](i[s(418)]),r=this[s(250)][s(447)](n);r?(this[s(433)]={x:i[s(268)].x,y:i[s(268)].y},this[s(261)]=this[s(369)](r)):(this[s(433)]=null,this[s(261)]=null)}),this[t(313)](this[t(373)][t(299)][t(359)][t(179)],t(251),(e,i)=>{const s=t,n=this[s(234)](i[s(418)]),r=this[s(250)][s(447)](n);r?(this[s(433)]={x:i[s(268)].x,y:i[s(268)].y},r===this[s(305)]?this[s(342)][s(287)]():this[s(305)]=r):(this[s(433)]=null,this[s(305)]=null)})}[oe(234)](t){const e=oe;do{const i=t[e(258)](e(459));if(i)return i;t=t[e(203)]}while(t);return null}[oe(170)](){const t=oe;this[t(373)][t(399)][t(229)](e=>{const i=t;for(const t of this[i(373)][i(399)][i(292)])e[i(381)](t)})}}function le(t,e){return(i,s,n)=>{const r=ce;if(!n[r(481)][r(298)](s[r(233)],i[r(323)]))return;const o=s[r(233)][r(405)](),a=s[r(233)][r(417)],c=t[r(399)][r(178)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(269)];h=h||c[r(242)](e);const i=n[r(370)][r(455)](e);if(i&&i[r(357)](r(445)))return;r(165)==t[r(290)]&&c[r(347)](e)&&!c[r(432)](e)&&(e[r(466)]||a[r(484)]?u&&u[r(203)]==e||(u=e,f(t[r(317)]),d=!0):l=l||t[r(317)])}function f(t){const i=r,o=n[i(370)][i(428)](t),a=n[i(437)][i(350)](i(266),{class:i(353)+e});n[i(437)][i(220)](o,a),n[i(370)][i(401)](a,s[i(285)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(248)][e(447)](ue);this[e(461)]=!1,this[e(313)](i,e(231),()=>this[e(314)]()),this[e(313)](i,e(327),()=>this[e(314)]())}[oe(228)](){const t=oe,e=this[t(373)],i=e[t(248)][t(447)](ue),s=i[t(180)]?i[t(212)][t(288)]:null;e[t(333)][t(447)](t(282))[t(190)](s)}[oe(314)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(373)][t(248)][t(447)](ue),r=n&&s[t(444)](n[t(288)]);this[t(337)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(320)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(248)][i(447)](ue);this[i(461)]=!1,this[i(320)]=i(361)===e?1:-1,this[i(313)](s,i(231),()=>this[i(314)]()),this[i(313)](s,i(327),()=>this[i(314)]()),this[i(313)](s,i(426),()=>this[i(314)]())}[oe(228)](){const e=oe,i=this[e(373)],s=i[e(248)][e(447)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(305)]=n?s[e(212)][e(213)][e(447)](r+this[e(320)]):s[e(212)][e(213)][e(386)],s[e(305)][e(412)][e(348)])o=i[e(299)][e(359)][e(407)](s[e(305)][e(452)]);else{const t=i[e(399)][e(292)][e(447)](e(283)+s[e(305)].id);o=(0,K.getMarkerDomElement)(i[e(299)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(314)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(373)][t(248)][t(447)](ue);this[t(337)]=!!(r&&n&&s)&&(!e||(1===this[t(320)]?i<s-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(t,e){const i=ve();return(pe=function(t,e){return i[t-=128]})(t,e)}function ve(){const t=["_isStatusLabelVisible","backward","Loading...","NUMBER_OF_CHANGES","forward","setTemplate","6JnQPmT","_statusText","ck-hidden","span","currentChangeNumber","1526485MxqrKw","1976768LtKifH","isEnabled","ck-revision-history-ui__changes-navigation","isReady","7587080naHxQi","1049721RHQVam","bindTemplate","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__label","isBackwardNavigationEnabled","No changes","84030ISAgAK","div","EDIT_X_OF_Y_REVISIONS","2850561rwlXqO","7503768TiGFIH","ck-revision-history-ui__changes-navigation__wrapper","isForwardNavigationEnabled","set","Show previous change","Show next change","bind","ck-revision-history-ui__changes-navigation__navigation","fire","X_OF_Y_CHANGES","numberOfChanges","isNavigationMode","execute","Total","88zCusfD"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(664850===parseInt(e(151))/1+-parseInt(e(146))/2+-parseInt(e(157))/3*(-parseInt(e(133))/4)+parseInt(e(145))/5*(-parseInt(e(140))/6)+parseInt(e(160))/7+-parseInt(e(150))/8+parseInt(e(161))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(152)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(164)](e(130),!1),this[e(164)](e(149),!1),this[e(164)](e(144),0),this[e(164)](e(129),0),this[e(164)](e(163),!1),this[e(164)](e(155),!1),this[e(167)](e(134)).to(this,e(149),this,e(129),(t,e)=>t&&e>0),this[e(167)](e(141)).to(this,e(149),this,e(144),this,e(129),this,e(130),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(136));if(!n)return at(t,o(156));const a=at(t,o(137),n);return r?at(t,o(128),[s+1,n]):a}),s[e(164)]({label:at(t,e(165)),tooltip:!0,icon:_t.IconChevronUp}),n[e(164)]({label:at(t,e(166)),tooltip:!0,icon:_t.IconChevronDown}),s[e(167)](e(147)).to(this,e(155)),n[e(167)](e(147)).to(this,e(163)),s.on(e(131),()=>this[e(169)](e(131),e(135))),n.on(e(131),()=>this[e(169)](e(131),e(138))),this[e(139)]({tag:e(158),attributes:{class:["ck",e(153),e(148)]},children:[{tag:e(143),attributes:{class:[e(162)]},children:[{tag:e(143),attributes:{class:[e(154),i.if(e(134),e(142),t=>!t)]},children:[{text:i.to(e(130),i=>i?at(t,e(159))+": ":at(t,e(132))+": ")}]},{text:i.to(e(141))}]},new It.ToolbarSeparatorView,{tag:e(158),attributes:{class:[e(168)]},children:[s,n]}]})}}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=Ie;function we(){const t=["10115476krjrXN","RevisionViewerLoadingOverlay","ck-editor__editable__loading-overlay","editing","editor","document","11WCEjUM","864sCzXJG","removeClass","25516uojREC","605ryhepj","pluginName","isPremiumPlugin","change","isOfficialPlugin","16158610aHLenE","addClass","639byZjaj","hide","60sfDXbz","1smvKxa","53736OckgPs","8236490JdBfgL","roots","view","show","58221gXhLZT","2633104sKZCVq"];return(we=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(885830===-parseInt(e(438))/1*(parseInt(e(417))/2)+parseInt(e(435))/3*(-parseInt(e(427))/4)+parseInt(e(428))/5*(-parseInt(e(439))/6)+-parseInt(e(418))/7+-parseInt(e(425))/8*(-parseInt(e(416))/9)+-parseInt(e(412))/10*(parseInt(e(424))/11)+-parseInt(e(437))/12*(-parseInt(e(433))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(we);const _e=be(420);function Ie(t,e){const i=we();return(Ie=function(t,e){return i[t-=412]})(t,e)}class Se extends G.Plugin{static get[be(429)](){return be(419)}static get[be(432)](){return!0}static get[be(430)](){return!0}[be(415)](){const t=be,e=this[t(422)][t(421)][t(414)];e[t(431)](i=>{const s=t;for(const t of e[s(423)][s(413)])i[s(434)](_e,t)})}[be(436)](){const t=be,e=this[t(422)][t(421)][t(414)];e[t(431)](i=>{const s=t;for(const t of e[s(423)][s(413)])i[s(426)](_e,t)})}}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=380]})(t,e)}function xe(){const t=["isNavigationMode","config","19073360EnbhyW","1083216BemtCZ","15472EjdSdB","238UZKwAi","isForwardNavigationEnabled","ck-revision-history-ui__back-to-editing","isOfficialPlugin","isBackwardNavigationEnabled","Back to editing","pluginName","hide","listenTo","add","set","restoreRevision","isEnabled","editor","268yZbgHS","showNextChange","6147144zDavwd","1grcMgv","exitToEditing","requires","bind","init","changesNavigation","componentFactory","1038326hboONk","numberOfChanges","currentChangeNumber","plugins","show","execute","424485OsSbsq","showPreviousChange","RevisionViewerUI","revisionHistory","closeRevisionViewerCallback","forward","Restore this revision","get","commands","change:isReady","75935cttIYK","isPremiumPlugin","isReady"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(858439===parseInt(e(381))/1*(parseInt(e(388))/2)+parseInt(e(410))/3+parseInt(e(426))/4*(-parseInt(e(404))/5)+-parseInt(e(380))/6+-parseInt(e(412))/7*(-parseInt(e(411))/8)+parseInt(e(394))/9+parseInt(e(409))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(418)](){return Oe(396)}static get[Oe(415)](){return!0}static get[Oe(405)](){return!0}static get[Oe(383)](){return[ue,Se]}[Oe(385)](){const t=Oe,e=this[t(425)],i=e[t(391)][t(401)](ue),s=e[t(391)][t(401)](Se);e.ui[t(387)][t(421)](t(382),i=>{const s=t,n=new It.ButtonView(i);return n[s(422)]({label:at(i,s(417)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(414)}),this[s(420)](n,s(393),()=>{const t=s;e[t(408)][t(401)](t(397))[t(398)]()}),n}),e.ui[t(387)][t(421)](t(423),i=>{const s=t,n=new It.ButtonView(i);return n[s(422)]({label:at(i,s(400)),withText:!0,tooltip:!0}),n[s(384)](s(424)).to(e[s(402)][s(401)](s(423))),this[s(420)](n,s(393),()=>e[s(393)](s(423))),n}),e.ui[t(387)][t(421)](t(386),s=>{const n=t,r=new ge(s),o=e[n(402)][n(401)](n(395)),a=e[n(402)][n(401)](n(427));return r[n(384)](n(416)).to(o,n(424)),r[n(384)](n(413)).to(a,n(424)),r[n(384)](n(406),n(390),n(389),n(407)).to(i),this[n(420)](r,n(393),(t,i)=>{const s=n;e[s(393)](s(399)===i?s(427):s(395))}),r}),s[t(392)](),i.on(t(403),(e,i,n)=>{const r=t;n?s[r(419)]():s[r(392)]()})}}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;function Me(){const t=["set","2129370ZQusEp","3642636ypfYag","clientWidth","destroy","_updateTooltipText","_resizeObserver","ck-tooltip_multi-line","Revision name","_tooltipString","fieldView","bindTemplate","1522404bCqxPH","ck-revision-history-sidebar__revision-name","extendTemplate","scrollWidth","63eQUPBP","Enter the revision name","489672MrOZtf","span","render","element","14rjBLeN","input","placeholder","listenTo","1871uZzgvE","5409fEpRbn","16710mKmOEW","value","4222280GUMxKV"];return(Me=function(){return t})()}const Ee=Ve;function Ve(t,e){const i=Me();return(Ve=function(t,e){return i[t-=100]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(512328===-parseInt(e(125))/1*(parseInt(e(121))/2)+-parseInt(e(100))/3+-parseInt(e(101))/4+parseInt(e(129))/5+-parseInt(e(111))/6+-parseInt(e(115))/7*(-parseInt(e(117))/8)+-parseInt(e(126))/9*(-parseInt(e(127))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class De extends It.LabeledFieldView{[Ee(105)]=null;constructor(t,e){const i=Ee;super(t,e);const s=this[i(110)];this[i(130)]({label:at(t,i(107)),_tooltipString:""}),this[i(109)][i(123)]=at(t,i(116)),this[i(113)]({tag:i(118),attributes:{class:[i(112)],"data-cke-tooltip-text":s.to(i(108)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(106)}})}[Ee(119)](){const e=Ee;super[e(119)](),this[e(105)]=new t.ResizeObserver(this[e(109)][e(120)],()=>this[e(104)]()),this[e(124)](this[e(109)],e(122),()=>this[e(104)]())}[Ee(103)](){const t=Ee;super[t(103)](),this[t(105)]&&this[t(105)][t(103)]()}[Ee(104)](){const t=Ee,e=this[t(109)][t(120)];this[t(108)]=e[t(114)]>e[t(102)]&&e[t(128)]||""}}var Ce=i(249),je={attributes:{"data-cke":!0}};je.setAttributes=Mt(),je.insert=At().bind(null,"head"),je.domAPI=xt(),je.insertStyleElement=Vt();Ot()(Ce.A,je);Ce.A&&Ce.A.locals&&Ce.A.locals;function Fe(){const t=["12214uuQsuK","495570MiKkMy","ck-revision-history-sidebar__revision-author__name","0 0 11 10","ck-revision-history-sidebar__revision-author_creator","320745gAWkGV","707097vQfFof","name","set","73384YypSVY","setTemplate","152fywutX","23670bMTCwo","push","Revision creator","span","1222697TqyQHW","Revision author","ck-revision-history-sidebar__revision-author"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=363]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(189988===-parseInt(e(374))/1+-parseInt(e(369))/2+parseInt(e(375))/3+parseInt(e(380))/4*(parseInt(e(381))/5)+-parseInt(e(370))/6+parseInt(e(366))/7+parseInt(e(378))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);class Pe extends It.View{constructor(t,e,i){const s=Le;super(t);const n=new It.IconView;n[s(377)]({content:_t.IconUser,viewBox:s(372)});const r=["ck",s(368)];i&&r[s(363)](s(373));const o=[{tag:s(365),attributes:{class:["ck",s(371)],title:at(t,s(i?364:367))},children:[n,e[s(376)]]}];this[s(379)]({tag:"li",attributes:{class:r},children:o})}}function ze(){var t=["10RxNqme","58321PrWQCs","7971558ZfsYDv","44yHThdG","long","120LoyvkO","numeric","616025LitUnu","toLocaleDateString","630413SRmnJq","toLocaleTimeString","3765003SofDQe","4148883HjYzoV","1218690eDGJnq"];return(ze=function(){return t})()}function We(t,e){var i=ze();return(We=function(t,e){return i[t-=217]})(t,e)}!function(t){for(var e=We,i=t();;)try{if(699945===parseInt(e(225))/1*(parseInt(e(224))/2)+-parseInt(e(221))/3+parseInt(e(227))/4*(-parseInt(e(217))/5)+parseInt(e(226))/6+-parseInt(e(219))/7*(-parseInt(e(229))/8)+parseInt(e(222))/9+-parseInt(e(223))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var He=i(11),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=Mt(),Ue.insert=At().bind(null,"head"),Ue.domAPI=xt(),Ue.insertStyleElement=Vt();Ot()(He.A,Ue);He.A&&He.A.locals&&He.A.locals;function Ze(){const t=["children","locale","ck-on","Restore this revision","listenTo","295JpvPTw","source","change:isActionsDropdownOpen","bindTemplate","isActionsDropdownOpen","46479XKpLLz","7032886cnCWYM","execute","class","first","panelPosition","extendTemplate","buttonView","isEnabled","model","button","function","map","179082kPTLTR","isVisible","listView","Show more items","Name this revision","Compare against selected","set","stopPropagation","items","bind","146sYMqYa","add","action","name","menuitem","isReady","isOpen","83676ylrvxm","48JkopRS","ck-revision-history-sidebar__revision__actions","_action","menu","21444450nxuOIz","find","4318398fuuwjv","1015007ybDOoE"];return(Ze=function(){return t})()}function qe(t,e){const i=Ze();return(qe=function(t,e){return i[t-=269]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(817613===parseInt(e(294))/1+parseInt(e(279))/2*(-parseInt(e(305))/3)+parseInt(e(286))/4*(parseInt(e(300))/5)+parseInt(e(293))/6+parseInt(e(306))/7+-parseInt(e(287))/8*(-parseInt(e(269))/9)+-parseInt(e(291))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);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=Ge;function Je(){const t=["220","1780ysSupr","closest","ck-revision-history-sidebar__revision","isActionsDropdownOpen","254862jjRlJL","span","ck-revision-history-sidebar__revision__date","isReady","isSelected","highlight","isEnabled","fieldView","map","ck-revision-history-sidebar__actions_dropdown_open","isHighlighted","name","33238juIjlh","select","render","setTemplate","2021748FSQpTG","ck-revision-history-sidebar__revision__controls-wrapper","unshift","set","ck-revision-history-sidebar__revision_selected","isConfirm","fire","value","extendTemplate","setName","ck-revision-history-sidebar__revision-authors","2gxUsOs","creator","uiLanguage","1398jJjMPY","ck-reset","ck-revision-history-sidebar__revision_highlighted","_createdAtFormatted","2537552DnSuVh","div","filter","deselect","createdAt","bindTemplate","bind","_requireRevisionName","length","revisionNameView",".ck-thread__remove-confirm","srcElement","1183870AIxBYm","4865ekLNje","authors","change","unhighlight","_revision","revisionActionsView","ck-disabled","listenTo","from","ck-revision-history-sidebar__revision-wrapper","3573MTUVyt","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","element"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=491]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(257992===-parseInt(e(536))/1*(-parseInt(e(551))/2)+parseInt(e(524))/3+-parseInt(e(540))/4+parseInt(e(505))/5+-parseInt(e(554))/6*(-parseInt(e(506))/7)+parseInt(e(493))/8+-parseInt(e(516))/9*(parseInt(e(520))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(502)];[Ye(511)];[Ye(510)];[Ye(500)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(498)],a=function(t,e){const i=r,s=Array[i(514)](e[i(507)])[i(495)](t=>t!=e[i(552)]);return e[i(552)]&&s[i(542)](e[i(552)]),s[i(532)](s=>new Pe(t,s,s==e[i(552)]))}(e,i);this.id=i.id,this[r(510)]=i,this[r(500)]=n,this[r(499)](r(535),r(497)).to(i),this[r(499)](r(492)).to(this,r(497),t=>{return i=e[r(553)],(s=t)[(n=We)(218)](i,{month:n(228),day:n(230)})+", "+s[n(220)](i,{hour:n(230),minute:n(230)});var i,s,n}),this[r(543)](r(528),!1),this[r(543)](r(534),!1),this[r(543)](r(523),!1),this[r(543)](r(527),!1),this[r(543)](r(530),!1),this[r(502)]=new De(e,It.createLabeledInputText),this[r(502)][r(531)][r(548)]({attributes:{maxlength:r(519)}}),this[r(502)][r(531)][r(499)](r(547)).to(this,r(535),t=>t||this[r(492)]),this[r(502)][r(499)](r(530)).to(this,r(528),this,r(530),(t,e)=>t&&e),this[r(511)]=s&&s[r(501)]?function(e,i){const s=qe,n=e[s(303)],r=e[s(296)],o=(0,It.createDropdown)(r);o[s(310)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=qe,s=t[i(296)],n={"Compare against selected":at(s,i(274)),"Name this revision":at(s,i(273)),"Restore this revision":at(s,i(298))};return e[i(317)](t=>{const e=i,s=n[t[e(282)]];return s&&s!==t[e(282)]&&(t[e(282)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(315),model:new It.UIModel({label:t[n(282)],class:t[n(308)],withText:!0,role:n(283),_action:t[n(281)]})};i[n(314)][n(278)](n(313)).to(e,n(304),i=>n(316)!=typeof t[n(313)]||!i||t[n(313)](e)),o[n(280)](i)}return o}(e,i);return e[s(278)](s(304)).to(o,s(285)),o[s(312)][s(275)]({label:at(r,s(272)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(311)]({attributes:{class:[s(288),n.if(s(304),s(297))]},on:{click:n.to(t=>t[s(276)]())}}),o.on(s(307),t=>{const i=s;e[i(284)]&&i(316)==typeof t[i(301)][i(289)]&&t[i(301)][i(289)](e)}),(0,It.addListToDropdown)(o,a,{role:s(290)}),o[s(299)](e,s(302),(t,n,r)=>{const a=s;if(r)for(const t of o[a(271)][a(277)]){const s=t[a(295)][a(309)],n=i[a(292)](t=>t[a(281)]===s[a(289)])[a(270)];t[a(270)]=void 0===n||n(e)}}),o}(this,s):"",this[r(511)]&&this[r(511)][r(499)](r(530)).to(this),this[r(539)]({tag:r(494),attributes:{class:["ck",r(555),r(515),o.if(r(545),r(517))]},children:[{tag:r(494),attributes:{class:["ck",r(555),r(522),o.if(r(530),r(512),t=>!t),o.if(r(528),r(544)),o.if(r(534),r(491)),o.if(r(523),r(533))]},children:[this[r(502)],{tag:r(525),attributes:{class:["ck",r(526)]},children:[{text:o.to(r(492))}]},{tag:r(494),attributes:{class:["ck",r(541)]},children:[{tag:"ul",attributes:{class:["ck",r(550)]},children:a}]},this[r(511)]],on:{click:o.to(t=>{const e=r;t[e(504)][e(521)](e(503))||this[e(527)]&&this[e(530)]&&this[e(546)](e(537),{id:this.id})})}}]})}[Ye(538)](){const t=Ye;super[t(538)]();const e=this[t(502)][t(531)][t(518)];this[t(513)](e,t(508),()=>{const i=t;this[i(500)]&&!e[i(547)]||this[i(546)](i(549),{id:this.id,name:e[i(547)]}),e[i(547)]||(e[i(547)]=this[i(535)]?this[i(535)]:this[i(492)])})}[Ye(537)](){this[Ye(528)]=!0}[Ye(496)](){this[Ye(528)]=!1}[Ye(529)](){this[Ye(534)]=!0}[Ye(509)](){this[Ye(534)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class si extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},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 Qs(t,e,i)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const ji=new Map;class Fi extends Mi{static create(t){let e=ji.get(t);return void 0===e&&ji.set(t,e=new Fi(t)),e}static resetCache(){ji.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=Fi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i,this.name)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Es(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Js({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let s=Pi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Pi.set(i,s)),s}const Wi=new Map;const Hi=new Map;let Ui=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Wi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Wi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ws(this.floor?Math.floor(t):qs(t,3),this.padTo)}}class Ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Fi.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=zi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Hi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Hi.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Ui||(Ui=(new Intl.DateTimeFormat).resolvedOptions().locale,Ui)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ps(s)||vs.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Ui=null,Pi.clear(),Wi.clear(),Hi.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Xi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=zi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=zi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ps(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,un,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=fo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Bi(this,t,fn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,yn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Li[i];return s||(s=new Intl.ListFormat(t,e),Li[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:js()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class ts extends Mi{static get utcInstance(){return null===Qi&&(Qi=new ts(0)),Qi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class es extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function is(t,e){if(Es(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||Fi.create(t)}return Vs(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Vi.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=Ps(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Xi.resetCache(),Fi.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+($s(t)?ks:ys)[e-1]}function Is(t,e){const i=$s(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ks(c,e,i)):u>Ks(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function Ts(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function xs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ns(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function As(t,e){if(!Es(t.localWeekday)||!Es(t.localWeekNumber)||!Es(t.localWeekYear)){if(!Es(t.weekday)||!Es(t.weekNumber)||!Es(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Es(t.localWeekday)||(t.weekday=t.localWeekday),Es(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Es(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Rs(t){const e=Ds(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Es(t){return void 0===t}function Vs(t){return"number"==typeof t}function Ds(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function js(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Fs(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Ls(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ps(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return Ds(t)&&t>=e&&t<=i}function Ws(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hs(t){return Es(t)||null===t||""===t?void 0:parseInt(t,10)}function Us(t){return Es(t)||null===t||""===t?void 0:parseFloat(t)}function Zs(t){if(!Es(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return $s(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Xs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Qs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(Ls(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ws(i,2)}:${Ws(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ws(i,2)}${Ws(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ws(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function Tn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Hs(e[i+n]);return[s,null,i+n]}}const xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,An=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),Rn=RegExp(`(?:T${An.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),En=Tn("year","ordinal"),Vn=RegExp(`${Nn.source} ?(?:${xn.source}|(${_n.source}))?`),Dn=RegExp(`(?: ${Vn.source})?`);function Cn(t,e,i){const s=t[e];return Es(s)?i:Hs(s)}function jn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Zs(t[e+3])},null,e+4]}function Fn(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Ln(t,e){return[{},t[e]?Fi.create(t[e]):null,e+1]}const Pn=RegExp(`^T?${Nn.source}$`),zn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Wn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Us(i)),months:d(Us(s)),weeks:d(Us(n)),days:d(Us(r)),hours:d(Us(o)),minutes:d(Us(a)),seconds:d(Us(c),"-0"===c),milliseconds:d(Zs(u),h)}]}const Hn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Un(t,e,i,s,n,r,o){const a={year:2===e.length?Xs(Hs(e)):Hs(e),month:an.indexOf(i)+1,day:Hs(s),hour:Hs(n),minute:Hs(r)};return o&&(a.second=Hs(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Zn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Un(e,n,s,i,r,o,a);let f;return f=c?Hn[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Un(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Un(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Qn=In(/(\d{4})-?(\d{3})/,Rn),tr=In(An),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},jn,Fn,Ln),ir=Sn(Mn,jn,Fn,Ln),sr=Sn(En,jn,Fn,Ln),nr=Sn(jn,Fn,Ln);const rr=Sn(jn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,Dn),ar=In(Vn),cr=Sn(jn,Fn,Ln);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Es(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),pr.reduce((i,s)=>{if(Es(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Vs(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[zn,Wn])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return On(t,[Pn,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new si(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Es(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=qs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Ls(e.values,t)||Ls(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Vs(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Vs(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Fi.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:js()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Er(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Vr(t){return{regex:t,deser:([t])=>t}}const Dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function jr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Fr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=jr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Xs);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(s);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(n);case"u":return Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Er(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Er(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Vr(/[a-z_+-/]{1,256}?/i);case" ":return Vr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=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 s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ls(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;Es(t.z)||(i=Fi.create(t.z)),Es(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Es(t.q)||(t.M=3*(t.q-1)+1),Es(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Es(t.u)||(t.S=Zs(t.u));const s=Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{});return[s,i,e]}(i):[null,null,void 0];if(Ls(i,"a")&&Ls(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new Fr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const zr="Invalid DateTime",Wr=864e13;function Hr(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Os(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Js(t),e,i)}function Jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Js(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ws(t.c.year,i?6:4),e?(s+="-",s+=Ws(t.c.month),s+="-",s+=Ws(t.c.day)):(s+=Ws(t.c.month),s+=Ws(t.c.day)),s}function Qr(t,e,i,s,n,r){let o=Ws(t.c.hour);return e?(o+=":",o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ws(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ws(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ws(Math.trunc(-t.o/60)),o+=":",o+=Ws(Math.trunc(-t.o%60))):(o+="+",o+=Ws(Math.trunc(t.o/60)),o+=":",o+=Ws(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Hr(i));const s=Xi.fromObject(e);let n,r;if(Es(t.year))n=vs.now();else{for(const e of so)Es(t[e])&&(t[e]=to[e]);const e=Rs(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Es(i.round)||i.round,n=(t,n)=>{t=qs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Hr(e));this.ts=Es(t.ts)?vs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Vs(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Xi.fromObject(e)}):fo.invalid(Hr(n))}static fromMillis(t,e={}){if(Vs(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Vs(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Hr(i));const s=Xi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Es(e.specificOffset)?i.offset(a):e.specificOffset,u=!Es(n.ordinal),l=!Es(n.year),h=!Es(n.month)||!Es(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=xs(g)):(p=so,v=to);let y=!1;for(const t of p){Es(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ds(t.weekYear),n=zs(t.weekNumber,1,Ks(t.weekYear,e,i)),r=zs(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ds(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Rs(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?Ns(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Xn,ir],[Qn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zn,qn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[$n,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Es(t)||Es(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[s,n,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return jr(wn.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Ur(this).weekYear:NaN}get weekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get weekday(){return this.isValid?Ur(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?xs(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return $s(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Yr(i,e,t)}return qr(this,{ts:s,zone:t})}return fo.invalid(Hr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=As(e,this.loc),n=!Es(e.weekYear)||!Es(e.weekNumber)||!Es(e.weekday),r=!Es(e.ordinal),o=!Es(e.year),a=!Es(e.month)||!Es(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=Ts({...Os(this.c,i,s),...e},i,s):Es(e.ordinal)?(l={...this.toObject(),...e},Es(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=Ns({...xs(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Qr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Kr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return Fs(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return Fs(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Lr(Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Xi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Fr(n,t)}static fromFormatParser(t,e,i={}){if(Es(t)||Es(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Vs(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=go();return(po=function(t,e){return i[t-=370]})(t,e)}function vo(t,e){const i=po,s=fo[i(372)](t)[i(381)](e),n=fo[i(390)](),r=n[i(386)]({days:1})[i(387)](i(377));let o,a;return s[i(388)](n,i(377))?(o=s[i(387)](i(377))[i(389)](),a=s[i(375)]()):s[i(388)](r,i(377))?(o=r[i(389)](),a=s[i(375)]()):s[i(388)](n,i(382))?(o=s[i(387)](i(382))[i(389)](),a=s[i(370)]||""):s[i(388)](n,i(374))?(o=s[i(387)](i(373))[i(389)](),a=s[i(392)]||""):(o=s[i(387)](i(374))[i(389)](),a=String(s[i(374)])),{startDate:o,localizedPeriodName:a}}function go(){const t=["fromJSDate","month","year","toRelativeCalendar","4882455SIuTwj","day","31593HZtMEu","376ljsNLk","2IHqwop","setLocale","week","1446600tVzMbC","813185WkmkUZ","16081310MwgeEO","minus","startOf","hasSame","toJSDate","local","426HfEzVT","monthLong","812171zFyclC","weekdayLong","10346OmIntd"];return(go=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(497925===parseInt(e(393))/1*(parseInt(e(380))/2)+parseInt(e(378))/3*(parseInt(e(379))/4)+-parseInt(e(384))/5+parseInt(e(391))/6*(parseInt(e(371))/7)+-parseInt(e(383))/8+parseInt(e(376))/9+-parseInt(e(385))/10)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;function bo(t,e){const i=_o();return(bo=function(t,e){return i[t-=370]})(t,e)}const wo=bo;function _o(){const t=["1188063kTVmNl","2435556lALisE","12XzjUAq","_revisionActions","ck-revision-history-sidebar__time-period__revisions","localizedPeriodName","select","ck-revision-history-sidebar__time-period","div","_requireRevisionName","find","403870OsqbdV","createCollection","setTemplate","delegate","591535ZIegyk","removeRevision","uiLanguage","span","ck-revision-history-sidebar__time-period__label","locale","add","40ADAvOA","addRevision","732942KuENLx","revisionViews","remove","setName","startDate","210776sbBKsx","901491hHhBUn"];return(_o=function(){return t})()}!function(t){const e=bo,i=t();for(;;)try{if(390730===parseInt(e(393))/1+parseInt(e(376))/2+-parseInt(e(377))/3+-parseInt(e(379))/4+-parseInt(e(389))/5*(parseInt(e(380))/6)+parseInt(e(371))/7+parseInt(e(400))/8*(parseInt(e(378))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[wo(375)];[wo(372)];[wo(381)];[wo(387)];constructor(t,e,i,s){const n=wo;super(t);const r=vo(e,this[n(398)][n(395)])[n(383)];this[n(375)]=e,this[n(372)]=this[n(390)](),this[n(381)]=i,this[n(387)]=s,this[n(372)][n(392)](n(384)).to(this),this[n(372)][n(392)](n(374)).to(this),this[n(391)]({tag:n(386),attributes:{class:["ck",n(385)]},children:[{tag:n(396),attributes:{class:["ck",n(397)]},children:[{text:r}]},{tag:n(386),attributes:{class:["ck",n(382)]},children:this[n(372)]}]})}[wo(370)](t){const e=wo,i=new Ke(this[e(398)],t,this[e(381)],this[e(387)]);this[e(372)][e(399)](i)}[wo(394)](t){const e=wo,i=this[e(372)][e(388)](e=>e.id===t.id);this[e(372)][e(373)](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=xo();return(To=function(t,e){return i[t-=118]})(t,e)}function xo(){const t=["2352544KaZJUx","746234jMqXRs","282555JFiwDy","156132wNEebi","24EYboOC","span","21SEQZfd","setTemplate","ck-revision-history-sidebar__header","div","3530151twwyMh","ck-reset_all","ck-revision-history-sidebar__header__label","3104005LgckoP","content","43912HrfJQI","Revision history"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(385473===-parseInt(e(133))/1+-parseInt(e(130))/2+-parseInt(e(121))/3*(-parseInt(e(118))/4)+parseInt(e(128))/5+-parseInt(e(119))/6*(-parseInt(e(134))/7)+-parseInt(e(132))/8+parseInt(e(125))/9)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(129)]=_t.IconHistory,this[e(122)]({tag:e(124),attributes:{class:["ck",e(126),e(123)]},children:[i,{tag:e(120),attributes:{class:["ck",e(127)]},children:[at(t,e(131))]}]})}}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-=120]})(t,e)}function Vo(){const t=["div","removeRevision","bindTemplate","select","uiLanguage","38603nKochf","_revisions","selectRevision","setTemplate","set","render","locale","add","isEnabled","3350416TjIANI","ck-revision-history-sidebar__timeline","map","_addRevision","createCollection","highlight","fire","ck-disabled","revisionSelected","deselect","get","_requireRevisionName","setName","ck-rounded-corners","createdAt","startDate","1558698TTqLhb","flat","ck-reset","revisionViews","find","getTime","timePeriodViews","unhighlight","72944yECxnl","some","2523297eOtfuK","5nxBTBy","highlightRevisions","6294807UDaqKo","7puuDbj","_getTimePeriodViewByStartDate","_removeRevision","revisionSetName","_revisionActions","delegate","addRevision","ck-revision-history-sidebar","remove","4765672eRyaqr"];return(Vo=function(){return t})()}!function(t){const e=Eo,i=t();for(;;)try{if(641223===-parseInt(e(172))/1+parseInt(e(151))/2+parseInt(e(153))/3+-parseInt(e(127))/4*(-parseInt(e(154))/5)+parseInt(e(143))/6+parseInt(e(157))/7*(-parseInt(e(166))/8)+-parseInt(e(156))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends It.View{[Mo(149)];[Mo(173)];[Mo(161)];[Mo(138)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(169)];this[n(149)]=this[n(131)](),this[n(149)][n(162)](n(170)).to(this),this[n(149)][n(162)](n(139)).to(this),this[n(173)]=e,this[n(161)]=i,this[n(138)]=s,this.on(n(170),(t,e)=>{const i=n;this[i(133)](i(135),e)}),this.on(n(139),(t,e)=>{const i=n;this[i(133)](i(160),e)}),this[n(122)](n(126),!1),this[n(121)]({tag:n(167),attributes:{class:["ck",n(145),n(140),n(164)]},children:[new No(t),{tag:n(167),attributes:{class:["ck",n(128),r.if(n(126),n(134),t=>!t)]},children:this[n(149)]}]})}[Mo(123)](){const t=Mo;super[t(123)]();for(const e of this[t(173)])this[t(130)](e);this[t(173)].on(t(125),(e,i)=>{this[t(130)](i)}),this[t(173)].on(t(165),(e,i)=>{this[t(159)](i)})}get[Mo(146)](){const t=Mo;return this[t(149)][t(129)](e=>e[t(146)][t(129)](t=>t))[t(144)]()}[Mo(120)](t){const e=Mo;for(const i of this[e(146)])t&&t.id===i.id?i[e(170)]():i[e(136)]()}[Mo(155)](t){const e=Mo;for(const i of this[e(146)])t[e(152)](({id:t})=>t===i.id)?i[e(132)]():i[e(150)]()}[Mo(130)](t){const e=Mo,i=vo(t[e(141)],this[e(124)][e(171)])[e(142)];let s=this[e(149)][e(137)](0);s&&s[e(142)][e(148)]()===i[e(148)]()||(s=new Io(this[e(124)],i,this[e(161)],this[e(138)]),this[e(149)][e(125)](s)),s[e(163)](t)}[Mo(159)](t){const e=Mo,i=vo(t[e(141)],this[e(124)][e(171)])[e(142)];this[e(158)](i)[e(168)](t)}[Mo(158)](t){const e=Mo;return this[e(149)][e(147)](i=>i[e(142)][e(148)]()===t[e(148)]())}}const Co=jo;function jo(t,e){const i=Lo();return(jo=function(t,e){return i[t-=394]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(470129===-parseInt(e(474))/1+-parseInt(e(414))/2*(-parseInt(e(448))/3)+-parseInt(e(452))/4+parseInt(e(434))/5+-parseInt(e(405))/6+-parseInt(e(433))/7+parseInt(e(456))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Fo extends G.Plugin{[Co(463)];[Co(465)];[Co(442)];static[Co(419)]=[Co(422),Co(412),Co(454)];static[Co(423)]=function(){const t=Co;return{compareAgainstSelected:{name:t(441),action:({plugins:e},i)=>{const s=t,n=e[s(462)](ue),r=n[s(395)];let o=n[s(426)][s(473)],a=i.id;r[s(449)](o)>r[s(449)](a)&&([o,a]=[a,o]),n[s(438)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(462)](ue);return!(n[s(395)][s(416)](n[s(426)])[s(461)]>2||i[s(401)])}},restoreRevision:{name:t(453),action:(e,{id:i})=>{const s=t;e[s(428)][s(462)](s(408))[s(415)](i)},isVisible:({plugins:e},i)=>!!e[t(462)](ue)[t(395)][t(468)](i.id)},nameRevision:{name:t(397),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(462)](ue),o=r[n(395)][n(409)](i);r[n(438)](i,o),s[n(431)](),s[n(445)][n(400)]()}}}}();static get[Co(439)](){return Co(435)}static get[Co(421)](){return!0}static get[Co(411)](){return!0}static get[Co(406)](){return[ue]}constructor(t){const e=Co;super(t),this[e(463)]=t[e(460)][e(462)](ue),this[e(465)]=this[e(463)][e(395)],this[e(442)]=null}[Co(451)](){const t=Co,e=this[t(465)][t(457)],i=this[t(471)](),s=this[t(403)][t(428)][t(462)](t(469));this[t(442)]=new Do(this[t(403)][t(437)],e,i,this[t(403)][t(428)][t(462)](t(447))),this[t(442)].on(t(470),this[t(410)][t(467)](this)),this[t(442)].on(t(464),this[t(455)][t(467)](this)),this[t(442)][t(467)](t(404)).to(this[t(463)]),this[t(442)][t(394)].on(t(417),(e,i)=>{const s=t;i[s(443)].on(s(417),(t,e)=>{const i=s;e[i(467)](i(404),i(466)).to(this[i(463)])})}),this[t(442)][t(459)](),this[t(399)](this[t(403)][t(398)],t(450),this[t(432)][t(467)](this)),this[t(399)](this[t(463)],t(436),this[t(429)][t(467)](this)),s[t(396)](this[t(442)][t(420)])}[Co(424)](){const t=Co;this[t(442)][t(420)][t(446)](),this[t(442)][t(424)]()}[Co(432)](){const t=Co,e=this[t(465)][t(440)](0);if(e){const i=this[t(465)][t(409)](e.id);this[t(463)][t(438)](e,i)}}[Co(410)](t,e){const i=Co,s=this[i(465)][i(440)](e.id),n=this[i(465)][i(409)](s.id);this[i(463)][i(438)](s,n)}[Co(455)](t,e){const i=Co;this[i(465)][i(440)](e.id)[i(407)](e[i(472)])}[Co(429)](t,e,i){const s=Co,n=this[s(465)][s(416)](i);n[s(461)]>2?(this[s(442)][s(430)](n),this[s(442)][s(425)](null)):(this[s(442)][s(430)]([]),this[s(442)][s(425)](n[0]))}[Co(471)](){const t=Co,e=this[t(403)],i=Fo[t(423)],s=e[t(428)][t(462)](t(427))||Fo[t(419)];if(s[t(461)])return s[t(444)](s=>{const n=t,r=n(458)==typeof s?Object[n(402)]({},i[s]):s;return r[n(418)]=r[n(418)][n(467)](this,e),r[n(413)]&&(r[n(413)]=r[n(413)][n(467)](this,e)),r})}}function Lo(){const t=["compareAgainstSelected","availableRevisionActions","destroy","selectRevision","diff","revisionHistory.revisionActions","config","_handleDiffChange","highlightRevisions","focus","_handleEditorDataReady","1990366GQyFjq","1529240GCDaPW","RevisionsSidebar","change:diff","locale","compare","pluginName","getRevision","Compare against selected","_sidebarView","revisionViews","map","fieldView","remove","revisionHistory.requireRevisionName","2298NLkhVq","getIndex","ready","init","1665940hCdScD","Restore this revision","nameRevision","_handleRevisionSetName","5405224cxPFeV","_revisions","string","render","plugins","length","get","_revisionViewer","revisionSetName","_revisionsRepository","isReady","bind","getLaterVisibleRevision","revisionHistory.viewerSidebarContainer","revisionSelected","_createRevisionActions","name","newRevisionId","517777XjFSMV","timePeriodViews","repository","appendChild","Name this revision","data","listenTo","select","isSelected","assign","editor","isEnabled","1028244RvuAVO","requires","setName","revisionHistory","getEarlierVisibleRevision","_handleRevisionSelected","isPremiumPlugin","restoreRevision","isVisible","2294LqRihU","restoreRevisionCallback","getRevisionsInDiff","add","action","defaultRevisionActions","element","isOfficialPlugin"];return(Lo=function(){return t})()}const Po=zo;function zo(t,e){const i=Ho();return(zo=function(t,e){return i[t-=199]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(979078===-parseInt(e(231))/1+parseInt(e(204))/2*(parseInt(e(233))/3)+-parseInt(e(245))/4+-parseInt(e(216))/5+-parseInt(e(214))/6*(parseInt(e(239))/7)+parseInt(e(203))/8+parseInt(e(212))/9*(parseInt(e(244))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ho);class Wo extends It.EditorUI{[Po(228)];[Po(222)];[Po(200)];get[Po(206)](){return this[Po(228)]}constructor(e,i){const s=Po;super(e),this[s(228)]=i,this[s(222)]=(0,It.normalizeToolbarConfig)(e[s(213)][s(226)](s(220))),this[s(200)]=new t.ElementReplacer}get[Po(202)](){const t=Po;return this[t(206)][t(202)]}[Po(210)](t){const e=Po,i=this[e(211)],s=this[e(206)],n=i[e(225)][e(206)],r=s[e(230)],o=n[e(241)][e(215)]();r[e(219)]=o[e(201)],s[e(232)]();const a=r[e(202)];this[e(209)](r[e(219)],a),s[e(230)][e(229)](e(236)).to(this[e(234)]),n[e(238)](a),this[e(200)][e(235)](t,this[e(202)]),this[e(221)](),this[e(240)](e(207))}[Po(237)](){const t=Po;super[t(237)]();const e=this[t(206)],i=this[t(211)][t(225)][t(206)];this[t(200)][t(224)](),i[t(205)](e[t(230)][t(219)]),e[t(237)]()}[Po(221)](){const t=Po,e=this[t(206)];e[t(223)][t(229)](t(208)).to(this[t(234)],t(236)),e[t(223)][t(199)]=e[t(202)],e[t(223)][t(229)](t(243)).to(this,t(242),({top:t})=>t),e[t(220)][t(218)](this[t(222)],this[t(217)]),this[t(227)](e[t(220)])}}function Ho(){const t=["6621950IMMYsS","componentFactory","fillFromConfig","name","toolbar","_initToolbar","_toolbarConfig","stickyPanel","restore","editing","get","addToolbar","_view","bind","editable","337481EAROrY","render","3Cchtgs","focusTracker","replace","isFocused","destroy","attachDomRoot","9602404VGFogi","fire","document","viewportOffset","viewportTopOffset","880PltjRY","183136LXhHvh","limiterElement","_elementReplacer","rootName","element","3232920CoKNbt","2365468ikmtma","detachDomRoot","view","ready","isActive","setEditableElement","init","editor","252783dGfvkW","config","6lrVvzQ","getRoot"];return(Ho=function(){return t})()}var Uo=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Vt();Ot()(Uo.A,Zo);Uo.A&&Uo.A.locals&&Uo.A.locals;var qo=Bo;function $o(){var t=["1289512TKeIiV","add","_editable","editable","469611bIZTso","1877604xZpcsN","main","12015880CSYOfI","8lzNlxO","62616sENBxQ","45aLOncz","14kEMSRa","content","stickyPanel","13804582BJKEsA","480867neWgIT","render","shouldToolbarGroupWhenFull","toolbar","63bbrkhG","top"];return($o=function(){return t})()}function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=216]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(733018===-parseInt(e(231))/1+parseInt(e(235))/2*(parseInt(e(221))/3)+parseInt(e(236))/4*(-parseInt(e(216))/5)+parseInt(e(232))/6*(-parseInt(e(217))/7)+-parseInt(e(227))/8*(parseInt(e(225))/9)+parseInt(e(234))/10+parseInt(e(220))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[qo(229)];[qo(219)];[qo(224)];get[qo(230)](){return this[qo(229)]}constructor(t,e,i={}){var s=qo;super(t),this[s(219)]=new It.StickyPanelView(t),this[s(224)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(223)]}),this[s(229)]=new It.InlineEditableUIView(t,e)}[qo(222)](){var t=qo;super[t(222)](),this[t(219)][t(218)][t(228)](this[t(224)]),this[t(226)][t(228)](this[t(219)]),this[t(233)][t(228)](this[t(230)])}}function Jo(){const t=["data","135715LBAOsa","document","172951oyyDXG","createRoot","20PTtPXJ","36iEvgSD","destroy","create","updateSourceElement","1816XjjKSp","fire","247329ulsIfb","226170WHyWZt","config","1351DRueFW","initialData","model","1371491pYVeMc","locale","ready","initPlugins","459hYCYXL","get","editing","sourceElement","init","6584tmMsIl","_ui","view"];return(Jo=function(){return t})()}const Go=Ko;function Ko(t,e){const i=Jo();return(Ko=function(t,e){return i[t-=379]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(103520===parseInt(e(402))/1+parseInt(e(382))/2+parseInt(e(391))/3*(parseInt(e(379))/4)+-parseInt(e(400))/5*(parseInt(e(405))/6)+-parseInt(e(384))/7*(parseInt(e(396))/8)+-parseInt(e(381))/9*(parseInt(e(404))/10)+parseInt(e(387))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Go(397)];get ui(){return this[Go(397)]}constructor(t,e){const i=Go;super(e),this[i(394)]=t,this[i(386)][i(401)][i(403)]();const s=new Yo(this[i(388)],this[i(393)][i(398)],{shouldToolbarGroupWhenFull:!0});this[i(397)]=new Wo(this,s)}[Go(406)](){const t=Go;return this[t(408)](),this.ui[t(406)](),super[t(406)]()}static async[Go(407)](t,e){const i=Go,s=new this(t,e);return await s[i(390)](),await s.ui[i(395)](t),await s[i(399)][i(395)](s[i(383)][i(392)](i(385))||""),s[i(380)](i(389)),s}}const Qo=sa;!function(t){const e=sa,i=t();for(;;)try{if(877870===-parseInt(e(459))/1*(parseInt(e(435))/2)+-parseInt(e(444))/3*(parseInt(e(407))/4)+-parseInt(e(491))/5*(parseInt(e(431))/6)+-parseInt(e(479))/7+parseInt(e(370))/8+-parseInt(e(447))/9*(-parseInt(e(430))/10)+-parseInt(e(453))/11*(-parseInt(e(388))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ia);const ta=[Qo(368),Qo(374)];class ea extends G.Plugin{[Qo(460)];static get[Qo(513)](){return Qo(404)}static get[Qo(516)](){return!0}static get[Qo(437)](){return!0}constructor(t){const e=Qo;function i(t){const e=sa;return t[e(367)](t=>String[e(499)](t))[e(468)]("")}super(t),this[e(460)]=e(458),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 ia(){const t=["destroy","revisionHistory.editorContainer","setAttribute","refreshPositioning","revision-history-missing-configuration","createdAt","pluginName","toLocaleTimeString","parse","isOfficialPlugin","revision-history-viewer-opened","then","push","style","map","RevisionHistoryUI","Annotations","5459328NJkrvz","getAttributeKeys","from","getRevision","RestrictedEditingMode","toolbar","catch","revisionHistory.requireRevisionName","error","rootName","save","locale","RevisionTracker","toLocaleDateString","enableReadOnlyMode","document","isAnonymous","revisionHistory.viewerContainer","12ehjEmI","revisionHistory.viewerEditorElement","getRevisions","isReadOnly","isOpen","Dialog","revisionHistory","isAttached","plugins","model","indexOf","editor","create","insert","selection","adapter","RevisionViewerIntegration","enqueueChange","toJSON","1060WPfeRQ","lazyRoots","roots","detachRoot","getUser","DocumentOutline","display","_cleanUp","update","loadRevisionData","_enhanceShowRevisionViewerCallback","bind","users","isReady","creator","_update","revisionHistory.showRevisionViewerCallback","isEnabled","remove","getRevisionDocumentData","commands","isRevisionViewerOpen","restrictedEditingException","2650JuyEGZ","1151934uoHNul","markers","DocumentOutlineUI","toVersion","2NWbuFz","refreshVisibility","isPremiumPlugin","disableReadOnlyMode","_showRevisionViewer","long","removeMarker","element","restoreRevision","17697yYyaxA","translations","$graveyard","4401iHEfKB","getMarkersGroup","data","config","includes","revisionHistory.restoreRevisionCallback","47258134PrfPJq","name","init","none","uiLanguage","end","1597132vTTfeW","result","addUser","showRevisionViewerCallback","_recalculatePageBreaks","change","saveRevision","changesNavigation","set","join","getRevisionRootsAttributes","has","numeric","_viewerEditor","repository","addRevisionData","addRoot","keys","define","Restored","4801860YChUul","RevisionHistoryUtils","removeSelectionAttribute","fromVersion","_enhanceCloseRevisionViewerCallback","PaginationLookup","get","closeRevisionViewerCallback","removeAttribute","_closeRevisionViewer","requires","exitToEditing","10uQSDBm","Users","view","getRoot","RevisionViewer","_restoreRevision","hide","block","fromCharCode","createRangeIn","RevisionsRepository","setSelection","RevisionHistory","_getRevisionViewerEditorConfig","revisionHistory.closeRevisionViewerCallback","Autosave"];return(ia=function(){return t})()}function sa(t,e){const i=ia();return(sa=function(t,e){return i[t-=365]})(t,e)}class na extends G.Plugin{[Qo(472)];static get[Qo(513)](){return Qo(503)}static get[Qo(516)](){return!0}static get[Qo(437)](){return!0}static get[Qo(489)](){return[vt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(399)][i(450)][i(485)](i(394)))throw new t.CKEditorError(i(511),this);this[i(472)]=null,this[i(467)](i(428),!1),this[i(399)][i(450)][i(477)](i(423),t=>this[i(439)]({...t,translations:this[i(399)][i(381)][i(445)]})),this[i(399)][i(450)][i(477)](i(505),t=>this[i(488)](t)),this[i(399)][i(450)][i(477)](i(452),t=>this[i(496)](t)),this[i(399)][i(450)][i(477)](i(377),!1),this[i(417)](),this[i(483)]()}set[Qo(403)](t){const e=Qo;this[e(399)][e(396)][e(485)](e(382))[e(403)]=t}get[Qo(403)](){const t=Qo;return this[t(399)][t(396)][t(485)](t(382))[t(403)]}[Qo(474)](t){const e=Qo;return this[e(399)][e(396)][e(485)](e(382))[e(474)](t)}[Qo(373)](t){const e=Qo;return this[e(399)][e(396)][e(485)](e(501))[e(373)](t)}[Qo(390)](t){const e=Qo;return this[e(399)][e(396)][e(485)](e(501))[e(390)](t||{toJSON:!1})}[Qo(504)](){const e=Qo,i=this[e(399)],s=(0,K.sanitizeEditorConfig)(i,ta),n=i[e(396)][e(485)](e(382)),r=i[e(396)][e(485)](e(492))[e(419)];return s[e(375)]=[e(490),e(443),e(466)],delete s[e(408)],s[e(396)][e(365)](ea,ue,Ne,class extends G.Plugin{static get[e(489)](){return[ue,e(492)]}[e(455)](){const s=e,o=this[s(399)][s(396)][s(485)](s(492));for(const t of r)t[s(386)]||o[s(411)](t.id)||o[s(461)](t);const a=n[s(473)][s(390)]();let c=null;const u=this[s(399)][s(396)][s(485)](s(495));u[s(403)]=n[s(403)],u[s(418)](s(424)).to(n),this[s(399)][s(427)][s(485)](s(443))[s(418)](s(424)).to(i,s(391),t=>!t);for(const e of a){const i=null===e[s(421)];if(i&&e[s(434)]===e[s(482)])continue;const r=e[s(406)]();u[s(474)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(422)](r,o);else if(!o){const e=a[u(406)]();e.id=(0,t.uid)(),n[u(465)](e,a[u(434)])[u(518)](t=>{c=t})}}else e[u(422)](r,o)})}}},Fo),s}[Qo(417)](){const t=Qo,e=this[t(399)][t(450)][t(485)](t(394))[t(462)];this[t(399)][t(450)][t(467)](t(423),async()=>{const i=t;this[i(399)][i(384)](i(517));const s=this[i(399)][i(396)][i(485)](i(382));if(this[i(399)][i(396)][i(470)](i(506))){const t=this[i(399)][i(396)][i(485)](i(506));await t[i(380)]()}else await s[i(415)]();if(this[i(399)][i(396)][i(470)](i(484))&&this[i(399)][i(396)][i(485)](i(484))[i(463)](),this[i(399)][i(396)][i(470)](i(393))){const t=this[i(399)][i(396)][i(485)](i(393));t[i(392)]&&t[i(497)]()}const n=this[i(504)]();return e(n)[i(518)](t=>{const e=i;return this[e(472)]=t,this[e(399)][e(396)][e(470)](e(369))&&this[e(399)][e(396)][e(485)](e(369))[e(436)](),this[e(399)][e(396)][e(470)](e(412))&&(this[e(399)][e(396)][e(485)](e(433))[e(493)][e(442)][e(366)][e(413)]=e(456)),t})[i(376)](t=>(console[i(378)](t),this[i(399)][i(438)](i(517)),null))})}[Qo(483)](){const t=Qo,e=this[t(399)][t(450)][t(485)](t(394))[t(486)];this[t(399)][t(450)][t(467)](t(505),()=>(this[t(399)][t(396)][t(470)](t(484))&&this[t(399)][t(396)][t(485)](t(484))[t(463)](),this[t(399)][t(396)][t(470)](t(412))&&(this[t(399)][t(396)][t(485)](t(433))[t(493)][t(442)][t(366)][t(413)]=""),this[t(472)][t(396)][t(485)](t(495))[t(414)](),e(this[t(472)])[t(518)](()=>{const e=t;if(this[e(399)][e(438)](e(517)),this[e(472)]=null,this[e(399)][e(396)][e(470)](e(369))){const t=this[e(399)][e(396)][e(485)](e(369));t[e(436)](),t[e(510)]()}})))}[Qo(439)](t){const e=Qo,i=this[e(399)][e(450)][e(485)](e(508)),s=this[e(399)][e(450)][e(485)](e(387)),n=this[e(399)][e(450)][e(485)](e(389));return Xo[e(400)](n,t)[e(518)](t=>(s[e(366)][e(413)]=e(498),i[e(366)][e(413)]=e(456),this[e(428)]=!0,t))}[Qo(488)](t){const e=Qo,i=this[e(399)][e(450)][e(485)](e(508));return this[e(399)][e(450)][e(485)](e(387))[e(366)][e(413)]=e(456),i[e(366)][e(413)]="",this[e(428)]=!1,t[e(507)]()}async[Qo(496)](t){const e=Qo,i=this[e(399)],s=this[e(472)][e(396)][e(485)](e(495)),n=i[e(396)][e(485)](e(382)),r=i[e(396)][e(485)](e(480)),o=s[e(473)][e(373)](t);let a,c,u;try{await r[e(416)](o,this[e(403)]),a=r[e(426)](o),c=r[e(469)](o)}catch(t){return void console[e(378)](t)}i[e(397)][e(464)](t=>{const s=e;for(const e of Array[s(372)](i[s(397)][s(432)][s(448)](s(429))))t[s(441)](e)}),s[e(420)]=!1,i[e(397)][e(405)](t=>{const s=e;t[s(502)](null),t[s(481)](i[s(397)][s(385)][s(402)][s(371)]());const n=Object[s(476)](a);for(const e of i[s(397)][s(385)][s(409)])s(446)!=e[s(379)]&&e[s(395)]()&&!n[s(451)](e[s(379)])&&t[s(410)](e);for(const e of n){let n=i[s(397)][s(385)][s(494)](e);n&&n[s(395)]()||(n=t[s(475)](e));const r=c[e],o=Object[s(476)](r),u=a[e];for(const e of n[s(371)]())o[s(451)](e)||t[s(487)](e,n);for(const i of o)t[s(509)](i,c[e][i],n);t[s(425)](t[s(500)](n)),t[s(401)](i[s(449)][s(515)](u,n),n,0)}});const l=at(i[e(381)],e(478));return u=o[e(454)]?-1==o[e(454)][e(398)](l)?l+": "+o[e(454)]:o[e(454)]:l+": "+o[e(512)][e(383)](i[e(381)][e(457)],{month:e(440),day:e(471)})+", "+o[e(512)][e(514)](i[e(381)][e(457)],{hour:e(471),minute:e(471)}),await n[e(465)]({name:u}),s[e(420)]=!0,i[e(450)][e(485)](e(394))[e(486)]()}}function ra(){var t=["1393170suyoAY","539011FatBKs","1CnRqeO","895542RVVfGj","4396465OfwKEa","8ENJGLd","468mgQKEV","46333fEPcoy","824zOPbZq","42462IZgUsV","2336304XBLbXE","1640wIbdYi"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=211]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(612852===parseInt(e(215))/1*(parseInt(e(211))/2)+-parseInt(e(213))/3*(-parseInt(e(218))/4)+-parseInt(e(217))/5+-parseInt(e(216))/6+-parseInt(e(220))/7*(-parseInt(e(221))/8)+-parseInt(e(222))/9*(-parseInt(e(212))/10)+-parseInt(e(214))/11*(parseInt(e(219))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|