@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250825.0 → 0.0.0-nightly-20250826.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>G,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>jo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,R=void 0){const A=R?.(t,e,i,n);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,R));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,R),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,R),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,n,s,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function A(t){return R(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&V(n,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function U(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?H(e)?Z(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}function $(t,e){const i=Y();return($=function(t,e){return i[t-=373]})(t,e)}const B=$;function Y(){const t=["5007180lHTDya","toJSON","name","set","removeAttribute","fromVersion","359882JAbKVq","setName","3ePYQKS","createdAt","setAttribute","3204900BVxCfE","authors","map","_update","diffData","model","2618eyBOZH","toVersion","12858NYvPoB","fire","creator","creatorId","991050HQfNfr","attributes","11606072BFwTQP","authorsIds","3248136FsLbqv"];return(Y=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(893780===parseInt(e(381))/1+-parseInt(e(392))/2*(parseInt(e(394))/3)+-parseInt(e(385))/4+-parseInt(e(386))/5+-parseInt(e(377))/6*(-parseInt(e(375))/7)+parseInt(e(383))/8+-parseInt(e(397))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class G extends((0,t.ObservableMixin)()){id;[B(379)];[B(398)];[B(373)];[B(376)];[B(391)];[B(374)];constructor(e){const i=B;super(),this.id=e.id||(0,t.uid)(),this[i(379)]=e[i(379)]||null,this[i(398)]=e[i(398)]||[],this[i(373)]=e[i(373)]||null,this[i(376)]=e[i(376)]||0,this[i(391)]=e[i(391)]||0,this[i(389)](i(388),e[i(388)]||""),this[i(389)](i(395),e[i(395)]||new Date),this[i(389)](i(382),e[i(382)]||{})}[B(393)](t){this[B(400)]({name:t})}[B(396)](t,e){const i=B,n=A(this[i(382)]);U(n,t,e),this[i(400)]({attributes:n})}[B(390)](t){const e=B,i=A(this[e(382)]);(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,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(400)]({attributes:i})}[B(400)](t,e=!1){const i=B;let n=!1;const s={id:this.id},r=[i(388),i(395),i(373),i(398),i(382),i(376),i(391),i(380)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(398)]&&(s[i(384)]=s[i(398)][i(399)](t=>t.id),delete s[i(398)]),this[i(378)](i(400),s,e))}[B(387)](){const t=B;return{id:this.id,name:this[t(388)],creatorId:this[t(379)]?this[t(379)].id:null,authorsIds:this[t(398)][t(399)](t=>t.id),diffData:this[t(373)],createdAt:this[t(395)],attributes:this[t(382)],fromVersion:this[t(391)],toVersion:this[t(376)]}}}var J=i(782),Q=i(211),K=i(783);const X=et;function tt(){const t=["49404KNrcwJ","getEarlierVisibleRevision","oldRevisionId","data","from","createRevision","editor","diffData","newRevisionId","add","1472810dFLSJk","getUser","11uIPPZL","isOfficialPlugin","1259888elaqqp","createdAt","Users","attributes","push","length","getIndex","later","9058WKSSlj","getLaterVisibleRevision","13XPnkfJ","earlier","name","plugins","getRevisionsIterator","fromVersion","getRevisions","511LpFeWr","1838523ForbMm","toVersion","requires","isPremiumPlugin","afterInit","map","13056804cpPfXZ","_revisions","reverse","15LgVGuq","creatorId","pluginName","9WhkZmj","get","authorsIds","RevisionsRepository","fromCharCode","206iGryzl","addRevision","join","7554BkhtWj","isNaN","getRevision","getRevisionsInDiff","toJSON","href"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=176]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(522807===parseInt(e(180))/1*(parseInt(e(207))/2)+parseInt(e(190))/3+parseInt(e(216))/4*(-parseInt(e(199))/5)+parseInt(e(210))/6*(parseInt(e(189))/7)+parseInt(e(230))/8*(parseInt(e(202))/9)+-parseInt(e(226))/10*(parseInt(e(228))/11)+parseInt(e(196))/12*(-parseInt(e(182))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends J.Plugin{[X(197)];static get[X(192)](){return[Q.Users]}static get[X(201)](){return X(205)}static get[X(229)](){return!0}static get[X(193)](){return!0}get[X(177)](){const t=X;return this[t(197)][t(177)]}constructor(e){const i=X;super(e),this[i(197)]=new t.Collection}[X(194)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=et;for(const e in window)if(window[k([78,117,109,98,101,114])][i(211)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=et;return t[e(195)](t=>String[e(206)](t))[e(209)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const n=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:175608e4;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=et,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(215)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[X(221)](t){const e=X,i=this[e(222)][e(185)][e(203)](e(232));return new G({id:t.id,name:t[e(184)],creator:t[e(200)]?i[e(227)](t[e(200)]):null,diffData:t[e(223)]||t[e(219)],authors:t[e(204)][e(195)](t=>i[e(227)](t)),createdAt:new Date(t[e(231)]),attributes:t[e(233)],fromVersion:t[e(187)],toVersion:t[e(191)]})}[X(208)](t,e=0){const i=X;this[i(197)][i(225)](t,e)}[X(212)](t){const e=X;return this[e(197)][e(203)](t)}[X(188)](t={toJSON:!1}){const e=X,i=Array[e(220)](this[e(197)]);return i[e(198)](),t[e(214)]?i[e(195)](t=>t[e(214)]()):i}[X(178)](t){const e=X;return this[e(197)][e(178)](t)}[X(217)](t){const e=X,[,i]=this[e(186)](t,{direction:e(183)});return i}[X(181)](t){const e=X,[,i]=this[e(186)](t,{direction:e(179)});return i}[X(213)](t){const e=X,i=[];for(const n of this[e(186)](t[e(224)]))if(i[e(176)](n),n.id===t[e(218)])break;return i}*[X(186)](t,{direction:e=X(183),filter:i=()=>!0}={}){const n=X,s=n(183)===e?1:-1;let r=this[n(197)][n(203)](t),o=this[n(178)](r);for(yield r;r;){if(o+=s,r=this[n(212)](o),!r)return;i(r)&&(yield r)}}}const nt=rt;function st(){const t=["117POVotp","revision-start","render","7uLbveG","isPremiumPlugin","569840pWxkQL","insertions","4268576CjVmJt","getFillerOffset","forEach","domConverter","editing","getRevision","append","2224815UzmBAz","childNodes","viewChildrenToDom","revision-end","attributesAfter","pluginName","collaboration.channelId","view","_removeRevisionMarkers","4FVxkyO","domChildrenToView","toData","_getViewFromDiffObj","_setCustomProperty","4954458xiEENA","document","innerHTML","data-revision-","startsWith","children","default","_appendChild","fillerOffset","type","parse","customProperties","getRevisionRootsAttributes","processor","attachChange","createElement","filter","isAttached","RevisionHistoryUtils","from","4506410PLKHwN","data","_viewClassToTypeChar","htmlProcessor","domDocument","marked","div","attributes","toModel","_makeModelFromViewString","_getTypeCharForViewElement","getRevisionDocumentData","loadRevisionData","config","map","diffData","constructor","get","2680004hIFzQo","useFillerType","_typeCharToViewClass","string","isOfficialPlugin","662839ZSGReX","editor","length","name"];return(st=function(){return t})()}function rt(t,e){const i=st();return(rt=function(t,e){return i[t-=100]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(680171===-parseInt(e(112))/1*(parseInt(e(139))/2)+parseInt(e(130))/3+-parseInt(e(107))/4+parseInt(e(164))/5+-parseInt(e(144))/6*(-parseInt(e(119))/7)+-parseInt(e(123))/8+parseInt(e(116))/9*(parseInt(e(121))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends J.Plugin{static get[nt(135)](){return nt(162)}static get[nt(111)](){return!0}static get[nt(120)](){return!0}[nt(166)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[nt(109)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[nt(101)](t,e){const i=nt;if(t[i(104)]||!e)return;const n=this[i(113)][i(102)][i(106)](i(136)),s=await e[i(128)]({channelId:n,revisionId:t.id});t[i(104)]=s[i(104)]}[nt(100)](t){const e=nt,i={};for(const n in t[e(104)]){if(t[e(104)][n][e(158)]&&!t[e(104)][n][e(158)][e(161)])continue;const s=this[e(138)](JSON[e(154)](t[e(104)][n][e(122)])),r=this[e(113)][e(127)][e(137)][e(145)],o=new K.ViewDocumentFragment(r,s[e(103)](t=>this[e(142)](t,!1)));this[e(113)][e(165)][e(157)][e(108)](e(169)),i[n]=this[e(113)][e(165)][e(157)][e(141)](o),this[e(113)][e(165)][e(157)][e(108)](e(150))}return i}[nt(156)](t){const e=nt,i={};for(const n in t[e(104)])t[e(104)][n][e(158)]&&!t[e(104)][n][e(158)][e(161)]||(i[n]=t[e(104)][n][e(134)]||{});return i}[nt(174)](t){const e=nt;return this[e(166)][e(106)](t[e(105)])}[nt(142)](t,e){const i=nt,n=this[i(113)][i(127)][i(137)][i(145)];if(i(110)==typeof t)return new K.ViewText(n,t);{let s,r;r="u"==t[i(153)]||"r"==t[i(153)]?[]:t[i(149)][i(103)](t=>this[i(142)](t,e));const o=this[i(109)][i(106)](t[i(153)])||K.ViewElement,a=this[i(113)][i(165)][i(167)][i(126)];if(s=new o(n,t[i(115)],t[i(171)],r),"u"==t[i(153)]&&t[i(149)][0]){const r=t[i(149)][0];if(s[i(118)]=function(t){const e=i,n=t[e(159)](e(170));return n[e(146)]=r,n[e(131)][0]},e){const t=new K.ViewDocumentFragment(n);t[i(151)](s);const e=Array[i(163)](a[i(132)](t,{bind:!1})),r=a[i(168)][i(159)](i(170));r[i(129)](...e),s=Array[i(163)](a[i(140)](r))[0]}}else if("r"==t[i(153)]&&t[i(149)][0]){const r=t[i(149)][0];if(s[i(118)]=function(t){t[i(146)]=r},e){const t=new K.ViewDocumentFragment(n);t[i(151)](s);const e=Array[i(163)](a[i(132)](t,{bind:!1})),r=a[i(168)][i(159)](i(170));r[i(129)](...e);const o=Array[i(163)](a[i(140)](r));o[i(114)]>1?s[i(151)](o):s=o[0]}}if(t[i(155)])for(const[e,n]of t[i(155)])s[i(143)](e,n);const c=void 0===t[i(152)]?null:t[i(152)];return null!==c&&(s[i(124)]=()=>c),s}}[nt(173)](t){const e=nt,i=JSON[e(154)](t),n=this[e(113)][e(127)][e(137)][e(145)],s=new K.ViewDocumentFragment(n,i[e(103)](t=>this[e(142)](t,!0)));return this[e(113)][e(165)][e(172)](s)}[nt(138)](t){const e=nt;return(t=t[e(160)](t=>!t[e(115)]||e(117)!==t[e(115)]&&e(133)!==t[e(115)]))[e(125)](t=>{const i=e;i(110)!=typeof t&&(t[i(149)]=this[i(138)](t[i(149)]),t[i(171)]=t[i(171)][i(160)](t=>!t[0][i(148)](i(147))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),R=s(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const A=(n=n??new Map).get(t),M=n.get(i);if(null!=A&&null!=M)return A===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=pt();return(mt=function(t,e){return i[t-=308]})(t,e)}function pt(){const t=["includes","trim","_prepareViewToSave","revisionHistoryLicenseKeyValid","stringify","shift","4196574EaOQUq","RevisionHistory","name","_handleMoveOperation","changeRootAttribute","map","customProperties","RevisionTracker","createRangeIn","isOfficialPlugin","locale","_licenseKeyCheckInterval","_isPendingUpdate","createPositionAfter","rootName","vid","root","_lastTo","hasContent","stickiness","_bufferUpdate","childCount","_makeRevision","_reset","position","destroy","size","fromVersion","_pendingAction","getLatestVersion","split","document","_cloneOperation","elementEnd","createPositionAt","keepParagraph","detachRoot","reverse","add","_calculateMetaData","editor","_getState","_replaceEditorDataWithRevisionData","afterInit","targetPosition","previousPosition","model","_getTypeCharForViewElement","render","_insertChild","_handleRootAttributeOperation","_operations","getRevisionRootsAttributes","Empty document","_getViewJson","_bufferedUpdates","_removePendingAction","licenseKey","getAttribute","creator","insertions","dataDowncast","collaboration.channelId","attributesBefore","_handleSplitOperation","saveRevision","_continueCurrentRevision","_setAttribute","getTime","vid_start","revisionHistoryLicenseKeyTrialLimit","_revisionId","splitPosition","documentFragment","item","getWalker","domDocument","isReady","_handleOperation","_authorId","4mYwIoG","init","_source","offsetSize","reinsert","getAncestors","toVersion","trialLimit","revisionHistoryLicenseKeyExpired","NEGATIVE_INFINITY","getCustomProperties","expired","string","PendingActions","tableCell","keys","_handleMergeOperation","addRevision","$comment","initialData","length","initial","toView","graveyardPosition","domConverter","revisionHistoryLicenseKeyInvalid","text","getMovedRangeStart","revisionHistoryLicenseKeyEvaluationLimit","_makeIdsRoot","uiElement","upcast","delete","getRange","nodeAfter","createdAt","roots","getData","values","_baseRoots","_diffRoots","rawElement","createPositionBefore","_revisionDataBuilder","_getPreviousFrom","conversion","fromEntries","featureNotAllowed","for","_markChanges","userId","reInit","sourcePosition","outerHTML","repository","innerHTML","getTransformedByOperation","resolve","_applyOperations","rootsAttributes","set","_removeMetaData","find","merge","max","_createFromRanges","loadState","Initial revision","_transformMarkers","RevisionHistoryUtils","isEqual","RealTimeCollaborationClient","addRootAttribute","isEnabled","_appendChild","end","path","elementStart","some","move","define","_copyMarkers","_generateTape","_touchedRoots","data","insert","plugins","_diffRootsAttributes","element","affectsData","_clone","_execute","getNodeByPath","_getVidAttributeName","_setConversion","getOperation","_baseIdsRoots","invalid","_handleInsertOperation","history","383210qesinw","parent","_makeModelFromViewString","requires","revision:","getRootNames","_lastFrom","createPositionFromPath","authors","getOperations","_startingVersion","type","currentRevision","children","getRoot","from","8569750Cpfpma","sendBufferedUpdates","_fixPosition","adapter","buildRevisionData","revisionHistoryLicenseKeyUsageLimit","_addPendingAction","startsWith","getFillerOffset","getRevisions","creatorId","revisionHistoryLicenseKeyDomainLimit","update","$text","_handleRootOperation","clone","PENDING_ACTION_REVISION_HISTORY","_isInit","getRevision","diffData","_initialRevisionId","_handleMarkerOperation","_getBaseVids","RevisionsRepository","2283305CGgWrF","markers","slice","_findInsertionIndex","evaluationLimit","domainLimit","_createInitialRevision","Users","sort","editor-initial-data-replaced-with-revision-data","_getFromVersion","oldRange","attributesAfter","key","getUser","_touched","_baseRootsAttributes","newRange","isPremiumPlugin","6kyzCTU","markerToData","baseVersion","start","$graveyard","_idsRoots","marker","setSource","clear","dataToMarker","version","revision","attachChange","get","_touchedMarkers","bind","_savedMetaData","push","isAdd","revisionHistoryLicenseKeyNotAllowed","paragraph","insertion","filter","config","offset","nodes","getIndex","_loadedStateData","usageLimit","has","_startingRevisionId","deletions","2452512bhOxFl","getRevisionDocumentData","setRevisionData","_processRootBeforeSave","_update","range","authorsIds","_createCurrentRevision","revisionHistory.resumeUnsavedRevision","removeRootAttribute","fillerOffset","vid_end","isAttached","3157791qhHtvC","_markers","getChild","getChildren","newValue","addRevisionData","getAttributes","deletion","_showLicenseError","10671JnPZcq","pluginName","_fixRange","finally","addRoot","createElement","getCurrentRevisionId","htmlProcessor","insertionPosition","loadRevisionData","updateRevisions","_isAttached","createRange","remove","then","ready","_utils","createRevision","8mFEJDr","_loadState","howMany","source","_fixOperation","_saveMetaData"];return(pt=function(){return t})()}!function(t){const e=mt,i=t();for(;;)try{if(400012===-parseInt(e(559))/1+parseInt(e(446))/2*(-parseInt(e(505))/3)+-parseInt(e(346))/4*(parseInt(e(486))/5)+parseInt(e(537))/6+parseInt(e(550))/7+parseInt(e(577))/8*(-parseInt(e(589))/9)+parseInt(e(462))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends J.Plugin{[ft(323)];[ft(600)];[ft(458)]=null;[ft(400)];[ft(465)]=null;[ft(389)];[ft(348)];[ft(482)];[ft(321)];[ft(575)];[ft(617)];[ft(332)];[ft(456)];[ft(532)];static get[ft(560)](){return ft(596)}static get[ft(598)](){return!0}static get[ft(504)](){return!0}static get[ft(449)](){return[Q.Users,it,ot,J.PendingActions]}constructor(e){const i=ft;super(e),this[i(400)]=this[i(629)][i(432)][i(518)](i(485)),this[i(575)]=this[i(629)][i(432)][i(518)](i(415)),this[i(389)]=new gt(this[i(629)]),this[i(482)]=this[i(629)][i(528)][i(518)](i(328))||i(367),this[i(321)]=new Map,this[i(532)]=null;const n=(0,t.uid)();this[i(348)]={history:this[i(629)][i(312)][i(620)][i(445)],getLatestVersion:()=>Promise[i(403)](this[i(629)][i(312)][i(620)][i(515)]),getCurrentRevisionId:()=>n},this[i(406)](i(343),!1),this[i(406)](i(419),!0),this[i(406)](i(601),!1),this[i(629)][i(528)][i(426)](i(545),!0),this[i(629)][i(391)][i(394)](i(377))[i(514)]({view:i(516)})}[ft(347)](){const t=ft;this[t(440)](),this[t(629)][t(430)].on(t(574),()=>{const e=t,i=this[e(400)][e(480)](0),n=i&&null===i[e(325)]?i:null;if(this[e(332)]=!!n&&this[e(629)][e(528)][e(518)](e(545)),this[e(629)][e(432)][e(534)](e(417))){const t=this[e(348)][e(565)](),s=this[e(400)][e(480)](t);if(s)this[e(456)]=s[e(616)],this[e(332)]=!1;else{const t=this[e(348)][e(445)][e(317)][e(408)](t=>!t[e(479)]),s=t?t[e(507)]:this[e(348)][e(445)][e(515)];i?(i[e(352)]<s&&i[e(541)]({toVersion:s}),this[e(332)]?(this[e(348)][e(565)]=()=>n.id,this[e(456)]=n[e(616)]):(this[e(456)]=i[e(352)],this[e(332)]=!1)):(this[e(456)]=s,this[e(332)]=!1)}}else n&&(this[e(629)][e(312)][e(620)][e(445)][e(515)]=Math[e(410)](n[e(352)],this[e(629)][e(312)][e(620)][e(445)][e(515)]),n[e(616)]===n[e(352)]?(0!==n[e(616)]&&(this[e(348)][e(565)]=()=>n.id),this[e(332)]=!1):this[e(332)]&&(this[e(348)][e(565)]=()=>n.id,this[e(456)]=n[e(616)])),this[e(332)]||(this[e(456)]=this[e(629)][e(312)][e(620)][e(515)]);this[e(389)][e(347)](this[e(348)][e(445)]),this[e(492)](this[e(456)]),this[e(544)](this[e(456)]),this[e(465)]&&this[e(463)]()}),this[t(520)](t(343)).to(this,t(601),t=>!t),this[t(323)]=this[t(629)][t(528)][t(518)](t(323));const e=this[t(629)];this[t(600)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(586)==r||i(371)==r||i(354)==r||i(473)==r||i(524)==r||i(374)==r||i(336)==r||i(467)==r){delete e[s],n=r,clearInterval(this[i(600)]),this[i(600)]=void 0;break}}i(371)==n&&e[i(558)](i(443)),i(354)==n&&e[i(558)](i(357)),i(473)==n&&e[i(558)](i(491)),i(524)==n&&e[i(558)](i(393),i(590)),i(374)==n&&e[i(558)](i(490)),i(336)==n&&e[i(558)](i(353)),i(467)==n&&e[i(558)](i(533))},1e3)}async[ft(309)](){const t=ft;if(this[t(400)][t(366)]>0){const e=this[t(400)][t(480)](0),i=await this[t(538)](e),n=await this[t(318)](e);this[t(308)](i,n)}}[ft(614)](){const t=ft;super[t(614)](),this[t(600)]&&clearInterval(this[t(600)])}[ft(512)](t){this[ft(348)]=t}async[ft(474)](){const t=ft,e=await this[t(348)][t(618)]();if(e>this[t(458)][t(352)]){await this[t(578)]();const i=this[t(466)]({revision:this[t(458)],to:e});i[t(454)]=i[t(543)][t(594)](e=>this[t(629)][t(432)][t(518)](t(493))[t(500)](e)),this[t(458)][t(541)](i)}}async[ft(331)](e={},i=null){const n=ft,s=[];await this[n(578)](),this[n(332)]=!1,i>this[n(458)][n(352)]&&(i=null),null===i&&(i=await this[n(348)][n(618)]());const r=this[n(496)](i),o=this[n(466)]({from:r,to:i});if(this[n(458)][n(352)]<i){const t=this[n(466)]({revision:this[n(458)],from:i,to:i});t[n(454)]=[],t[n(543)]=[],t.id=this[n(458)].id,this[n(458)][n(541)](t,!0),delete t[n(454)],s[n(522)](t)}e[n(472)]=this[n(629)][n(432)][n(518)](n(493)).me.id,e[n(591)]=e[n(591)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(555)](e);s[n(522)](e);const c=this[n(400)][n(531)](a);if(0!==c){const t=this[n(400)][n(480)](c-1);if(t[n(616)]!==i){const r=this[n(389)][n(383)](i,t[n(352)]),o={id:t.id,diffData:r[n(481)],authorsIds:r[n(543)],authors:r[n(543)][n(594)](t=>this[n(629)][n(432)][n(518)](n(493))[n(500)](t)),fromVersion:i};t===this[n(458)]&&(o[n(381)]=new Date(e[n(381)][n(334)]()+10)),t[n(541)](o,!0),delete o[n(454)],s[n(522)](o)}}if(this[n(465)]){for(const t of s)this[n(609)](t.id,t,!0);this[n(463)]()}return a}[ft(555)](t){const e=ft,i=this[e(400)][e(576)](t);return this[e(465)]&&i.on(e(541),(t,i,n)=>{const s=e;n||(this[s(609)](i.id,i,!0),this[s(463)]())}),this[e(400)][e(363)](i,this[e(489)](i)),i}async[ft(538)](t){const e=ft;return await this[e(575)][e(568)](t,this[e(465)]),this[e(575)][e(538)](t)}async[ft(318)](t){const e=ft;return await this[e(575)][e(568)](t,this[e(465)]),this[e(575)][e(318)](t)}[ft(463)](){const t=ft;if(0===this[t(321)][t(615)])return;if(this[t(601)])return;let e=Array[t(461)](this[t(321)][t(384)]());this[t(321)][t(513)]();for(let i=0;i<e[t(366)];i++){const n=e[i];let s=!1;for(const e of Object[t(361)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(527)](t=>null!==t),!e[t(366)])return;for(let i=0;i<e[t(366)];i++){const n=e[i];void 0!==n[t(616)]&&void 0===n[t(352)]&&(n[t(352)]=this[t(400)][t(480)](n.id)[t(352)]),void 0!==n[t(352)]&&void 0===n[t(616)]&&(n[t(616)]=this[t(400)][t(480)](n.id)[t(616)])}const i=this[t(629)][t(528)][t(518)](t(328));this[t(601)]=!0,this[t(468)](),this[t(465)][t(569)](e,i)[t(562)](()=>{this[t(601)]=!1})[t(573)](e=>{const i=t;if(e)for(const t of e)this[i(539)]({id:t.id,createdAt:t[i(381)]});this[i(322)](),this[i(463)]()})}[ft(466)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(616)],i=null!==i?i:t[n(352)];const s=this[n(389)][n(383)](e,i),r={diffData:s[n(481)],authorsIds:s[n(543)],fromVersion:e,toVersion:i};if(!t||i!==t[n(352)]){const t=i-1,e=this[n(348)][n(445)][n(441)](t);r[n(381)]=e&&e[n(381)]||new Date}if(this[n(532)]&&e===this[n(532)][n(616)])for(const t of this[n(532)][n(454)])r[n(543)][n(583)](t.id)||r[n(543)][n(522)](t.id);return r}[ft(609)](t,e,i){const n=ft;if(this[n(321)][n(534)](t)){const s=this[n(321)][n(518)](t);e=i?{...s,...e}:{...e,...s}}this[n(321)][n(406)](t,e)}[ft(539)](t){const e=ft,i=this[e(400)][e(480)](t.id);if(t[e(381)]&&(t[e(381)]=new Date(t[e(381)])),t[e(543)]){const i=this[e(629)][e(432)][e(518)](e(493));t[e(454)]=t[e(543)][e(594)](t=>i[e(500)](t))}i[e(541)](t,!0)}[ft(492)](t){const e=ft,i=this[e(400)][e(480)](this[e(400)][e(366)]-1);if(i)this[e(482)]=i.id;else{const i=!this[e(629)][e(312)][e(620)][e(382)][e(408)](t=>this[e(629)][e(312)][e(607)](t)),n=this[e(629)][e(432)][e(518)](e(493)).me.id,s=at(this[e(629)][e(599)],e(i?319:413));this[e(611)]({from:t,to:t,id:this[e(482)],name:s,creatorId:n})}}[ft(544)](t){const e=ft,i=this[e(348)][e(565)]();this[e(458)]=this[e(400)][e(480)](i),this[e(458)]||(this[e(458)]=this[e(611)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(578)](){const t=ft;this[t(332)]&&!this[t(532)]&&(await this[t(575)][t(568)](this[t(458)],this[t(465)]),this[t(389)][t(412)](this[t(458)]),this[t(532)]={fromVersion:this[t(458)][t(616)],authors:this[t(458)][t(454)][t(488)]()})}[ft(308)](e,i){const n=ft;let s=this[n(629)][n(528)][n(518)](n(365)),r=this[n(629)][n(528)][n(518)](n(405));if(void 0===s){s={};for(const t of this[n(629)][n(312)][n(620)][n(451)]())s[t]=""}if(n(358)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(629)][n(312)][n(620)][n(451)]())r[t]={}}let o=!1;const a=Object[n(361)](s),c=Object[n(361)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(584)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(361)](r[t])[n(366)]>0){o=!0;break}}o||(o=c[n(424)](t=>!this[n(629)][n(312)][n(620)][n(460)](t))),o&&(0,t.logWarning)(n(495),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(629)][n(528)][n(406)](n(365),e),this[n(629)][n(528)][n(406)](n(405),i)}[ft(468)](){const t=ft;if(!this[t(617)]){const e=this[t(629)][t(432)][t(518)](t(359));this[t(617)]=e[t(627)](at(this[t(629)][t(599)],t(478)))}}[ft(322)](){const t=ft;this[t(617)]&&(this[t(629)][t(432)][t(518)](t(359))[t(572)](this[t(617)]),this[t(617)]=null)}[ft(489)](t){const e=ft,i=this[e(400)][e(471)]();i[e(626)]();let n=0;for(;n<i[e(366)];){const s=i[n];if(s===this[e(458)]){n++;continue}if(s.id===this[e(482)])break;const r=t[e(352)]-s[e(352)]||t[e(616)]-s[e(616)];if(r>0)break;if(r<0)n++;else{if(!t[e(325)]&&s[e(325)])break;if(s[e(325)]||!t[e(325)]){if(t[e(381)]>s[e(381)])break;n++}else n++}}return n}[ft(496)](t){const e=ft,i=this[e(400)][e(471)]();i[e(626)](),i[e(588)]();const n=i[e(408)](i=>i[e(352)]<=t)[e(352)];return n<this[e(456)]?this[e(456)]:n}[ft(611)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(466)]({from:e,to:i});o[r(591)]=t,o[r(472)]=n,o.id=s;const a=this[r(555)](o);return this[r(465)]&&this[r(609)](o.id,o,!0),a}[ft(440)](){const t=ft;this[t(629)][t(391)][t(394)](t(327))[t(506)]({model:t(516)})}}class gt{[ft(629)];[ft(580)];[ft(521)];[ft(452)];[ft(606)];[ft(551)];[ft(386)];[ft(433)];[ft(385)];[ft(502)];[ft(510)];[ft(442)];[ft(501)];[ft(519)];[ft(429)];[ft(337)];[ft(535)];constructor(t){const e=ft;this[e(629)]=t,this[e(521)]=new Map,this[e(452)]=-1,this[e(606)]=-1,this[e(551)]=new Map,this[e(386)]=new Map,this[e(433)]=new Map,this[e(385)]=new Map,this[e(502)]=new Map,this[e(510)]=new Map,this[e(442)]=new Map,this[e(501)]=new Map,this[e(519)]=new Map,this[e(429)]=new Map,this[e(337)]=1}[ft(347)](t){const e=ft;this[e(580)]=t;const i=new Map,n=new Map,s=this[e(629)][e(312)][e(620)][e(382)][e(594)](t=>t[e(603)]);for(const t of s){const s=this[e(629)][e(312)][e(620)][e(460)](t),r=yt(s);i[e(406)](t,r),n[e(406)](t,Object[e(392)](s[e(556)]()))}const r=Array[e(461)](this[e(629)][e(312)][e(487)])[e(594)](t=>[t[e(591)],t[e(379)]()]),o=this[e(580)][e(515)];this[e(582)](o,i,r,n),this[e(535)]=this[e(337)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(406)](t,i),c[e(406)](t,{})}this[e(582)](Number[e(355)],a,[],c)}[ft(383)](t,e){const i=ft;if(this[i(452)]===t&&this[i(606)]<=e)this[i(521)][i(615)]>1&&this[i(407)](this[i(606)]),this[i(404)](this[i(606)],e,!0);else{if(!this[i(521)][i(534)](t)){const e=this[i(390)](t);this[i(628)](e,t,!1)}this[i(628)](t,e,!0)}return this[i(452)]=t,this[i(606)]=e,this[i(630)]()}[ft(412)](t){const e=ft,i=this[e(629)][e(432)][e(518)](e(415));this[e(612)](),this[e(452)]=t[e(616)],this[e(606)]=t[e(352)];for(const n in t[e(481)]){const s=t[e(481)][n][e(517)],r=A(t[e(481)][n][e(329)])||{},o=i[e(448)](t[e(481)][n][e(536)]);o[e(603)]=n,o[e(570)]=!s||!s[e(549)],o[e(549)]=()=>o[e(570)],this[e(385)][e(406)](n,o),this[e(502)][e(406)](n,r),s&&this[e(429)][e(406)](n,s);const a=this[e(375)](o);this[e(442)][e(406)](n,a);for(const[t,i]of o[e(487)]){if(!t[e(469)](e(450)))continue;const n=t[e(619)](":")[2];for(const t of i[e(341)]({singleCharacters:!0})){const i=this[e(439)](t),s=e(622)==t[e(457)]?t[e(311)][e(422)][e(488)](0,-1):t[e(311)][e(422)],r=a[e(438)](s)[e(324)](i);this[e(501)][e(406)](r,{userId:n})}}}this[e(535)]=this[e(337)];const n=[...Array(this[e(337)])[e(361)]()][e(488)](1)[e(527)](t=>!this[e(501)][e(534)](t));let s=0;const r=new Map;for(const o in t[e(481)]){const a=t[e(481)][o][e(517)],c=A(t[e(481)][o][e(498)])||{},u=i[e(448)](t[e(481)][o][e(326)]);u[e(603)]=o,u[e(570)]=!a||a[e(549)],u[e(549)]=()=>u[e(570)],this[e(386)][e(406)](o,u),this[e(433)][e(406)](o,c);const l=this[e(375)](u,Number[e(355)]);this[e(510)][e(406)](o,l),r[e(406)](o,u[e(549)]()?c:{});for(const[t,i]of u[e(487)]){if(!t[e(469)](e(450)))continue;const n=t[e(619)](":")[2];for(const t of i[e(341)]({singleCharacters:!0})){const i=this[e(439)](t),s=this[e(337)]++,r=e(622)==t[e(457)]?t[e(311)][e(422)][e(488)](0,-1):t[e(311)][e(422)];l[e(438)](r)[e(333)](i,s),this[e(501)][e(406)](s,{userId:n})}}for(const t of this[e(629)][e(312)][e(597)](u)[e(341)]({singleCharacters:!0})){const i=this[e(439)](t),r=e(622)==t[e(457)]?t[e(311)][e(422)][e(488)](0,-1):t[e(311)][e(422)],o=l[e(438)](r);o[e(324)](i)>0||o[e(333)](i,n[s++])}for(const[t,i]of u[e(487)])t[e(469)](e(450))||this[e(551)][e(406)](t,i)}const o=kt(e(509));this[e(385)][e(406)](e(509),o),this[e(442)][e(406)](e(509),this[e(375)](o,1));const a=kt(e(509));this[e(386)][e(406)](e(509),a),this[e(510)][e(406)](e(509),this[e(375)](a,1));const c=Array[e(461)](this[e(386)])[e(594)](([t,e])=>[t,yt(e)]);this[e(582)](this[e(606)],c,this[e(551)],r)}[ft(397)](){const t=ft;this[t(612)](),this[t(452)]=-1,this[t(606)]=-1,this[t(521)][t(513)](),this[t(347)](this[t(580)])}[ft(582)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(A(n)),a=new Map;for(const[t,e]of i)a[s(406)](t,{start:e[s(508)][s(477)](),end:e[s(421)][s(477)](),rootName:e[s(605)][s(603)]});this[s(521)][s(406)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(407)](t){const e=ft;this[e(521)][e(378)](t)}[ft(612)](){const t=ft;this[t(501)][t(513)](),this[t(519)][t(513)](),this[t(429)][t(513)](),this[t(386)][t(513)](),this[t(433)][t(513)](),this[t(385)][t(513)](),this[t(502)][t(513)](),this[t(510)][t(513)](),this[t(442)][t(513)](),this[t(551)][t(513)](),this[t(337)]=1,this[t(535)]=this[t(337)]}[ft(375)](t,e=null){const i=ft;let n=null;t.is(i(339))||(n=new K.ModelElement(t[i(591)],{vid_start:null===e?this[i(337)]++:e++}));const s=[];for(const n of t[i(553)]())if(n.is(i(434))){s[i(522)](this[i(375)](n,e));const t=s[s[i(366)]-1];null!==e&&(e=t.is(i(434),i(475))?t[i(324)](i(604))+1:t[i(324)](i(548))+1)}else for(let t=0;t<n[i(349)];t++)s[i(522)](new K.ModelElement(i(475),{vid:null===e?this[i(337)]++:e++}));if(t.is(i(339))){const e=kt(t[i(603)]);return e[i(315)](0,s),e}return n[i(333)](i(548),null===e?this[i(337)]++:e++),n[i(315)](0,s),n}[ft(628)](t,e,i){const n=ft;this[n(612)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(521)][n(518)](t);this[n(385)]=new Map(s),this[n(502)]=new Map(A(o));for(const[t,e]of this[n(385)])if(n(509)!==t&&(this[n(386)][n(406)](t,yt(e)),this[n(433)]=new Map(A(o)),i)){const i=this[n(337)];this[n(510)][n(406)](t,this[n(375)](e)),this[n(442)][n(406)](t,this[n(375)](e,i))}this[n(535)]=this[n(337)],this[n(386)][n(406)](n(509),yt(this[n(385)][n(518)](n(509)))),i&&this[n(510)][n(406)](n(509),this[n(375)](this[n(385)][n(518)](n(509))));for(const[t,e]of r){const i=this[n(385)][n(518)](e[n(603)]),s=this[n(386)][n(518)](e[n(603)]),r=new K.ModelRange(this[n(464)](e[n(508)],i),this[n(464)](e[n(421)],i)),o=this[n(561)](r,s);i[n(487)][n(406)](t,r),this[n(551)][n(406)](t,o)}this[n(404)](t,e,i)}[ft(404)](t,e,i){const n=ft;for(const s of this[n(580)][n(455)](t,e))this[n(344)](s,i);for(const t of this[n(386)][n(384)]())t[n(487)][n(513)]();for(const[t,e]of this[n(551)])this[n(386)][n(518)](e[n(605)][n(603)])[n(487)][n(406)](t,e[n(477)]());const s=new Map,r=new Map;for(const[t,e]of this[n(386)])s[n(406)](t,yt(e)),r[n(406)](t,this[n(433)][n(518)](t));this[n(582)](e,s,this[n(551)],r)}[ft(390)](t){const e=ft,i=Array[e(461)](this[e(521)][e(361)]());i[e(494)]((t,e)=>t-e),i[e(626)]();for(const e of i)if(e<t)return e;return Number[e(355)]}[ft(427)](t,e){const i=ft,n=Array[i(461)](e[i(487)])[i(594)](([e,n])=>[e,this[i(561)](n,t)]);t[i(487)]=new Map(n)}[ft(414)](t){const e=ft;for(const i of this[e(551)][e(384)]()){const n=i[e(402)](t),s=K.ModelRange[e(411)](n);i[e(508)]=s[e(508)],i[e(421)]=s[e(421)]}}[ft(344)](t,e){const i=ft;if(i(563)!=t[i(457)]&&i(625)!=t[i(457)]){if(i(431)==t[i(457)]){const n=t[i(613)][i(605)][i(603)];this[i(386)][i(534)](n)||(this[i(386)][i(406)](n,kt(n,!0)),this[i(433)][i(406)](n,{}),e&&this[i(510)][i(406)](n,kt(n,!0)))}else{if(i(418)==t[i(457)]||i(546)==t[i(457)]||i(593)==t[i(457)])return void this[i(316)](t);i(511)==t[i(457)]&&this[i(483)](t)}if(i(511)!==t[i(457)]){const e=this[i(621)](t,this[i(386)]);e[i(437)](),this[i(414)](e)}if(e)switch(t[i(457)]){case i(431):this[i(444)](t);break;case i(425):case i(572):case i(350):this[i(592)](t);break;case i(409):this[i(362)](t);break;case i(619):this[i(330)](t)}}else this[i(476)](t,e)}[ft(621)](t,e){const i=ft,n=t[i(477)]();return n[i(345)]=t[i(345)],this[i(581)](n,e),n}[ft(484)](t){const e=ft;return t[e(594)](t=>{const i=e,n=this[i(439)](t);return Number(t[i(340)][i(324)](n))})}[ft(428)](t,e){const i=ft;if(t.is(i(434),i(475)))e[i(522)]({item:t,type:i(372)});else{t.is(i(434))&&e[i(522)]({item:t,type:i(423)});for(const n of t[i(553)]())this[i(428)](n,e);t.is(i(434))&&e[i(522)]({item:t,type:i(622)})}return e}[ft(630)](){const t=ft,e=new Map(this[t(501)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(385)][t(361)](),...this[t(386)][t(361)]()]);a[t(378)](t(509));for(const e of a){const i=this[t(386)][t(518)](e)||kt(e,!1),n=this[t(385)][t(518)](e)||kt(e,!1);i[t(549)]()||n[t(549)]()?(s[t(326)][e]=yt(i),s[t(536)][e]=yt(n),this[t(427)](s[t(536)][e],n),this[t(427)](s[t(326)][e],i),r[t(326)][e]=this[t(428)](this[t(510)][t(518)](e),[]),r[t(536)][e]=this[t(428)](this[t(442)][t(518)](e)||kt(e,!1),[])):a[t(378)](e)}for(const s of a){const o=r[t(326)][s];for(const s of o){const r=this[t(439)](s),o=s[t(340)][t(324)](r);i[t(378)](o),o>=this[t(535)]&&n[t(406)](o,e[t(518)](o))}}for(const s of a){const a=r[t(326)][s],c=this[t(484)](r[t(536)][s]);let u=0;for(const s of a){const r=this[t(439)](s),a=s[t(340)][t(324)](r);if(!n[t(534)](a)&&!o[t(534)](a))if(i[t(534)](a))u++;else{if(a!=c[u]){const n=e[t(518)](a)||e[t(518)](c[u]);for(;a!=c[u];)i[t(534)](c[u])||(o[t(406)](c[u],n),e[t(406)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(326)][e];for(const e of s){const s=this[t(439)](e),r=e[t(340)][t(324)](s);if(o[t(534)](r)){const e=o[t(518)](r);i[t(534)](r)||i[t(406)](r,{...e}),n[t(406)](r,{...e})}}}for(const e of i[t(361)]())e>=this[t(535)]&&i[t(378)](e);const c=new Map;for(const e of a){let s=r[t(326)][e];for(const e of s)if(e[t(340)].is(t(434),t(360))){const i=this[t(439)](e),s=e[t(340)][t(324)](i);if(n[t(534)](s)){const i=e[t(340)][t(447)][t(447)][t(324)](t(335)),r=c[t(518)](i)||new Set;r[t(627)](n[t(518)](s)[t(396)]),c[t(406)](i,r)}}s=r[t(536)][e];for(const e of s)if(e[t(340)].is(t(434),t(360))){const n=this[t(439)](e),s=e[t(340)][t(324)](n);if(i[t(534)](s)){const n=e[t(340)][t(447)][t(447)][t(324)](t(335)),r=c[t(518)](n)||new Set;r[t(627)](i[t(518)](s)[t(396)]),c[t(406)](n,r)}}for(const e of c[t(361)]())(n[t(534)](e)||i[t(534)](e))&&c[t(378)](e)}for(const e of a){const s=r[t(326)][e];let o=null,a=null;for(const e of s){const s=this[t(439)](e),r=e[t(340)][t(324)](s),u=c[t(518)](r);u&&t(423)==e[t(457)]&&(o=Array[t(461)](u)[0],a=e[t(340)][t(324)](t(548))),o&&(i[t(406)](r,{userId:o}),n[t(406)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(536)][e],a=s[t(326)][e];for(const{userId:e}of this[t(519)][t(384)]())null!==e&&l[t(627)](e);for(const{userId:e}of this[t(429)][t(384)]())null!==e&&l[t(627)](e);this[t(395)](a,r[t(326)][e],n,t(526),l),this[t(395)](o,r[t(536)][e],i,t(557),l),u[e]={insertions:this[t(585)](a),deletions:this[t(585)](o),attachChange:this[t(429)][t(518)](e)||null,attributesBefore:A(this[t(502)][t(518)](e))||{},attributesAfter:A(this[t(433)][t(518)](e))}}return{diffData:u,authorsIds:Array[t(461)](l)}}[ft(540)](t){const e=ft;for(const[,i]of t[e(487)]){const t=i[e(508)][e(351)]()[e(527)](t=>e(360)==t[e(591)]);for(const i of t)1==i[e(610)]&&i[e(552)](0).is(e(434),e(525))&&i[e(552)](0)[e(333)](e(624),!0)}}[ft(585)](t){const e=ft;this[e(540)](t);const i=this[e(629)][e(430)][e(368)](t,{}),n=Array[e(461)](i[e(553)]())[e(594)](t=>this[e(320)](t));return JSON[e(587)](n)}[ft(320)](t){const e=ft;if(t.is(e(475)))return t[e(430)];{const i=this[e(629)][e(432)][e(518)](e(415)),n=t,s=this[e(629)][e(430)][e(566)][e(370)],r={type:i[e(313)](n),name:n[e(591)],attributes:Array[e(461)](n[e(556)]()),children:Array[e(461)](n[e(553)]())[e(594)](t=>this[e(320)](t))};if(t.is(e(376))&&e(364)!=t[e(591)]){const i=t[e(314)](s[e(342)],s);r[e(459)][e(522)](i[e(399)])}else if(t.is(e(387))){const i=s[e(342)][e(564)](n[e(591)]);t[e(314)](i,s),r[e(459)][e(522)](i[e(401)])}const o=Array[e(461)](n[e(356)]());o[e(366)]>0&&(r[e(595)]=o);const a=n[e(470)]();return null!==a&&(r[e(547)]=a),r}}[ft(395)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(629)][r(312)];for(let n=0;n<e[r(366)];n++){const s=this[r(439)](e[n]),c=e[n][r(340)][r(324)](s),h=i[r(518)](c),d=n==e[r(366)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(396)]!=o[r(396)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(396)],d=l(450)+n+":"+h+":"+c++,f=u[l(571)](i,a);t[l(487)][l(406)](d,f),null!==h&&s[l(627)](h)}}[ft(439)](t){const e=ft;switch(t[e(457)]){case e(423):return e(335);case e(622):return e(548);default:return e(604)}}[ft(581)](t,e){const i=ft;t[i(507)]=null;for(const n in t){const s=t[n];if(s instanceof K.ModelPosition){const r=e[i(518)](s[i(605)][i(603)]);t[n]=this[i(464)](s,r)}if(s instanceof K.ModelRange){const r=e[i(518)](s[i(605)][i(603)]);t[n]=this[i(561)](s,r)}i(605)===n&&(t[i(605)]=e[i(518)](t[i(605)][i(603)]))}}[ft(561)](t,e){const i=ft;return this[i(629)][i(312)][i(571)](this[i(464)](t[i(508)],e),this[i(464)](t[i(421)],e))}[ft(464)](t,e){const i=ft;return this[i(629)][i(312)][i(453)](e,t[i(422)],t[i(608)])}[ft(444)](t){const e=ft,i=this[e(510)][e(518)](t[e(613)][e(605)][e(603)]),n=this[e(464)](t[e(613)],i),s=null===t[e(345)]?null:t[e(345)]||this[e(629)][e(432)][e(518)](e(493)).me.id,r=n[e(447)],o=this[e(337)],a=[];for(const i of t[e(530)])if(i.is(e(434)))a[e(522)](this[e(375)](i));else for(let t=0;t<i[e(349)];t++)a[e(522)](new K.ModelElement(e(475),{vid:this[e(337)]++}));const c=this[e(337)];for(let t=o;t<c;t++)this[e(501)][e(406)](t,{userId:s});r[e(315)](n[e(529)],a)}[ft(592)](t){const e=ft;(t=this[e(621)](t,this[e(510)]))[e(437)]();const i=null===t[e(345)]?null:t[e(345)]||this[e(629)][e(432)][e(518)](e(493)).me.id,n=t[e(373)](),s=n[e(447)],r=n[e(529)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(552)](e);r.is(a(434),a(475))?n[a(406)](r[a(324)](a(604)),{userId:i}):(n[a(406)](r[a(324)](a(335)),{userId:i}),t(n,r,0,r[a(610)]),n[a(406)](r[a(324)](a(548)),{userId:i}))}}(this[e(501)],s,r,r+t[e(579)])}[ft(362)](t){const e=ft,i=null===(t=this[e(621)](t,this[e(510)]))[e(345)]?null:t[e(345)]||this[e(629)][e(432)][e(518)](e(493)).me.id,n=t[e(310)][e(447)],s=t[e(398)][e(447)],r=n[e(324)](e(548)),o=s[e(324)](e(335));n[e(333)](e(548),s[e(324)](e(548))),s[e(333)](e(548),r),this[e(501)][e(406)](o,{userId:i}),this[e(501)][e(406)](r,{userId:i}),t[e(437)]()}[ft(330)](t){const e=ft,i=null===(t=this[e(621)](t,this[e(510)]))[e(345)]?null:t[e(345)]||this[e(629)][e(432)][e(518)](e(493)).me.id,n=t[e(369)],s=t[e(338)][e(447)];t[e(437)]();const r=s[e(324)](e(548)),o=t[e(567)][e(380)];if(n){const t=o[e(324)](e(548)),n=s[e(324)](e(548));s[e(333)](e(548),t),o[e(333)](e(548),n),this[e(501)][e(406)](s[e(324)](e(548)),{userId:i}),this[e(501)][e(406)](o[e(324)](e(335)),{userId:i})}else{const t=this[e(337)]++,n=this[e(337)]++;s[e(333)](e(548),t),o[e(333)](e(335),n),o[e(333)](e(548),r),this[e(501)][e(406)](t,{userId:i}),this[e(501)][e(406)](n,{userId:i})}}[ft(483)](t){const e=ft;if(!t[e(435)])return;const i=(t=this[e(621)](t,this[e(386)]))[e(497)]?t[e(497)][e(605)]:null,n=t[e(503)]?t[e(503)][e(605)]:null;i&&this[e(551)][e(378)](t[e(591)]),n&&this[e(551)][e(406)](t[e(591)],t[e(503)][e(477)]());const s=null===t[e(345)]?null:t[e(345)]||this[e(629)][e(432)][e(518)](e(493)).me.id,r=t[e(591)];if(!this[e(519)][e(534)](r))return void this[e(519)][e(406)](r,{range:t[e(497)],userId:s});const o=this[e(519)][e(518)](r),a=o[e(542)],c=t[e(503)];null==a&&null==c||a&&c&&a[e(416)](c)?this[e(519)][e(378)](t[e(591)]):o[e(396)]=s}[ft(476)](t,e){const i=ft;this[i(386)][i(534)](t[i(603)])?this[i(386)][i(518)](t[i(603)])[i(570)]=t[i(523)]:(this[i(386)][i(406)](t[i(603)],kt(t[i(603)],!0)),this[i(433)][i(406)](t[i(603)],{}),e&&this[i(510)][i(406)](t[i(603)],kt(t[i(603)],!0)));const n=null===t[i(345)]?null:t[i(345)]||this[i(629)][i(432)][i(518)](i(493)).me.id,s=this[i(429)][i(518)](t[i(603)]);s&&s[i(396)]===n?this[i(429)][i(378)](t[i(603)]):this[i(429)][i(406)](t[i(603)],{userId:n,isAttached:t[i(523)]})}[ft(316)](t){const e=ft,i=this[e(433)][e(518)](t[e(605)][e(603)]);null===t[e(554)]?delete i[t[e(499)]]:i[t[e(499)]]=t[e(554)]}}function yt(t){const e=ft,i=kt(t[e(603)],t[e(549)]());for(const n of t[e(553)]()){const t=n[e(436)](!0);i[e(420)](t)}return i}function kt(t,e=!0){const i=ft,n=new K.ModelDocumentFragment;return n[i(603)]=t,n[i(570)]=e,n[i(549)]=()=>n[i(570)],n}function bt(t,e,i){const n=ft,s=n(622)==t[n(457)]?i[n(623)](t[n(340)],n(421)):i[n(388)](t[n(340)]);return i[n(453)](e,s[n(422)],s[n(608)])}function wt(t,e,i){const n=ft,s=n(423)==t[n(457)]?i[n(623)](t[n(340)],0):i[n(602)](t[n(340)]);return i[n(453)](e,s[n(422)],s[n(608)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),Tt=i(545),xt=i.n(Tt),Nt=i(262),Rt=i.n(Nt),At=i(667),Mt=i.n(At),Vt=i(357),Dt=i.n(Vt),Et=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Dt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(959),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Rt().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Dt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=zt;function Pt(){const t=["value","stopPropagation","88Gzixsz","_createRevisionNameInput","Name of the revision","render","keystrokes","revisionNameInputView","set","reset","form","11KHnqnr","listenTo","focusTracker","21343qtBMYT","element","326gUxBYa","focus","label","extendTemplate","arrowleft","269080kWpvFh","revisionNameInputValue","setTemplate","initializeCssTransitionDisablerMixin","348TOfRsg","arrowup","86196IaeZPH","1511676vsPnwm","revisionName","773AYgJdI","236907CGXsHu","optional","add","arrowright","35eFkWrq","fieldView","arrowdown","ck-responsive-form","trim","16278RtIRcn","locale","errorText","220","input","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-=444]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(300960===parseInt(e(456))/1*(-parseInt(e(488))/2)+parseInt(e(466))/3*(parseInt(e(451))/4)+parseInt(e(461))/5*(parseInt(e(453))/6)+-parseInt(e(486))/7*(-parseInt(e(474))/8)+-parseInt(e(457))/9+parseInt(e(447))/10*(-parseInt(e(483))/11)+-parseInt(e(454))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(485)];[Lt(478)];[Lt(479)];constructor(e,i){const n=Lt;super(e),this[n(485)]=new t.FocusTracker,this[n(478)]=new t.KeystrokeHandler,this[n(480)](n(448),""),this[n(479)]=this[n(475)](i),this[n(449)]({tag:n(482),attributes:{class:["ck",n(471),n(464)],tabindex:"-1"},children:[this[n(479)]]}),this[n(450)]()}[Lt(477)](){const t=Lt;super[t(477)](),(0,It.submitHandler)({view:this}),this[t(485)][t(459)](this[t(479)][t(487)]),this[t(478)][t(484)](this[t(487)]);const e=e=>e[t(473)]();this[t(478)][t(480)](t(460),e),this[t(478)][t(480)](t(446),e),this[t(478)][t(480)](t(452),e),this[t(478)][t(480)](t(463),e)}[Lt(489)](){const t=Lt;this[t(479)][t(489)]()}get[Lt(455)](){const t=Lt;return this[t(479)][t(462)][t(487)][t(472)][t(465)]()}set[Lt(455)](t){const e=Lt;this[e(479)][e(462)][e(487)][e(472)]=t[e(465)]()}[Lt(481)](){const t=Lt;this[t(479)][t(462)][t(487)][t(472)]="",this[t(479)][t(468)]=null}[Lt(475)](t){const e=Lt,i=new It.LabeledFieldView(this[e(467)],It.createLabeledInputText),n=i[e(462)];n[e(445)]({attributes:{maxlength:e(469)}});let s=at(this[e(467)],e(476));return!t&&(s+=" ("+at(this[e(467)],e(458))+")"),i[e(444)]=s,n.on(e(470),()=>{const t=e;this[t(448)]=n[t(487)][t(472)][t(465)]()}),i}}const Ut=Zt;function Ht(){const t=["hide","_createSaveRevisionFormView","Cancel","locale","816kkOBoB","showRevisionViewerCallback","33290NkHsRQ","3orxXuK","revisionName","isReadOnly","11674894izIiHe","init","isReady","7JnWXbs","40rLVIQC","items","10614222wrKuNr","get","isOfficialPlugin","plugins","_registerMenuComponent","submit","1112104QQhVvW","RevisionHistoryUI","view","revisionHistory.requireRevisionName","panelView","focus","Revision history","buttonView","saveRevision","1279059znnSvp","role","config","ck-button-action","revisionHistory","menuBar:revisionHistory","editing","Accept","children","reset","Dialog","_showDialog","The revision name cannot be empty.","editor","_saveRevisionFormView","Open revision history","delegate","isEnabled","8723888IYDsFc","add","menuitem","isPremiumPlugin","bind","revisionSave","requires","menu","isOpen","Save current revision","revisionNameInputView","addMany","RevisionTracker","componentFactory","errorText","4320156GEuHnz","show","pluginName","set","execute","render"];return(Ht=function(){return t})()}function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=392]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(732962===parseInt(e(443))/1+-parseInt(e(434))/2+parseInt(e(419))/3*(parseInt(e(406))/4)+parseInt(e(418))/5*(parseInt(e(416))/6)+-parseInt(e(425))/7*(-parseInt(e(461))/8)+parseInt(e(428))/9+-parseInt(e(426))/10*(parseInt(e(422))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends J.Plugin{static get[Ut(408)](){return Ut(435)}static get[Ut(430)](){return!0}static get[Ut(394)](){return!0}static get[Ut(397)](){return[vt]}[Ut(457)];[Ut(423)](){const t=Ut,e=this[t(456)],i=e[t(431)][t(429)](t(403));e.ui[t(404)][t(392)](t(447),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(438)][s(451)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(395)](s(460)).to(i,s(424),i,s(460),e,s(421),(t,e,i)=>t&&e&&!i),r[s(441)][s(409)]({icon:_t.IconHistory,label:at(n,s(440)),tooltip:!0}),u[s(409)]({label:at(n,s(400)),withText:!0,role:s(393)}),u[s(395)](s(460)).to(i,s(424),i,s(460),e,s(421),(t,e,i)=>t&&e&&!i),u.on(s(410),()=>this[s(454)]()),h[s(409)]({label:at(n,s(458)),withText:!0,role:s(393)}),h[s(395)](s(460)).to(i,s(424),e,s(421),(t,e)=>t&&!e),h.on(s(410),()=>{const t=s;e[t(445)][t(429)](t(447))[t(417)](),r[t(399)]=!1,e[t(449)][t(436)][t(439)]()}),c[s(451)][s(392)](u),l[s(451)][s(392)](h),a[s(444)]=s(398),a[s(427)][s(402)]([c,l]),o[s(392)](a),r}),e.ui[t(404)][t(392)](t(448),()=>this[t(432)]())}[Ut(432)](){const t=Ut,e=this[t(456)],i=e[t(415)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(441)][t(409)]({icon:_t.IconHistory,label:at(i,t(440))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(409)]({label:at(i,t(400))}),o[t(459)](t(410)).to(n),o.on(t(410),()=>{this[t(454)]()}),r[t(451)][t(392)](o),s[t(427)][t(392)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(409)]({label:at(i,t(458))}),c[t(459)](t(410)).to(n),c.on(t(410),()=>{const i=t;e[i(445)][i(429)](i(447))[i(417)]()}),a[t(451)][t(392)](c),s[t(427)][t(392)](a),n[t(438)][t(451)][t(392)](s),n}[Ut(454)](){const t=Ut,e=this[t(456)],i=e[t(415)],n=e[t(431)][t(429)](t(453)),s=e[t(431)][t(429)](t(403));function r(s){const r=t;e[r(445)][r(429)](r(437))&&""===s[r(420)]?s[r(401)][r(405)]=at(i,r(455)):(e[r(431)][r(429)](vt)[r(442)]({name:s[r(420)]}),n[r(412)]())}this[t(457)]||(this[t(413)](),this[t(457)].on(t(433),()=>r(this[t(457)]))),this[t(457)][t(452)](),n[t(407)]({id:t(396),title:at(i,t(400)),isModal:!0,content:this[t(457)],actionButtons:[{label:at(e[t(415)],t(414)),withText:!0,onExecute:()=>n[t(412)]()},{label:at(e[t(415)],t(450)),class:t(446),withText:!0,onCreate(i){const n=t;i[n(395)](n(460)).to(s,n(424),s,n(460),e,n(421),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(457)])}]})}[Ut(413)](){const t=Ut,e=this[t(456)],i=e[t(415)];this[t(457)]=new Wt(i,e[t(445)][t(429)](t(437))),this[t(457)][t(411)]()}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=209]})(t,e)}function Yt(){const t=["32191jlexMa","265392aSWpSn","2203218jtJCRT","232wMJfdN","add","setTemplate","Suggested by","Removed by","focus","set","changeId","bindTemplate","ck-revision-change","ck-revision-change__","div","element","2354456JHPhGz","ck-revision-change__label","author","Added by","_model","2672350qgkQrE","span","5425063ttKzMW","name","1360374GduwxQ","data","isSuggestion","ck-annotation","26dqGRAy","type"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(445161===-parseInt(e(230))/1*(parseInt(e(228))/2)+-parseInt(e(224))/3+parseInt(e(215))/4+-parseInt(e(220))/5+-parseInt(e(232))/6+parseInt(e(222))/7+-parseInt(e(233))/8*(-parseInt(e(231))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Gt extends It.View{[$t(209)];[$t(219)];constructor(t,e){const i=$t;super(t),this[i(219)]=e,this[i(209)]=e.id;const n=this[i(210)],s=at(t,e[i(225)][i(226)]?i(236):i(234)==e[i(229)]?i(218):i(237));this[i(239)](i(229),e[i(229)]),this[i(235)]({tag:i(213),attributes:{class:[i(227),i(211),n.to(i(229),t=>i(212)+t)],tabindex:-1},children:[{tag:i(221),children:[{tag:i(221),attributes:{class:[i(216)]},children:[{text:s}]},{text:" "+e[i(217)][i(223)]}]}]})}[$t(238)](){const t=$t;this[t(214)][t(238)]()}}function Jt(t,e){var i=Kt();return(Jt=function(t,e){return i[t-=381]})(t,e)}var Qt=Jt;function Kt(){var t=["createdAt","1526547hReLjS","toJSON","type","30XPcUnM","3012373PxaLzP","195kfgpfE","453558fYDLyg","data","269488mqrkZz","3054Ycbiln","author","rootName","171MjuBnv","353302nqKYWp","12036KXHaEM","set","2350DzFwOl"];return(Kt=function(){return t})()}!function(t){for(var e=Jt,i=t();;)try{if(527188===parseInt(e(382))/1+-parseInt(e(389))/2+parseInt(e(381))/3*(-parseInt(e(390))/4)+parseInt(e(392))/5*(parseInt(e(385))/6)+parseInt(e(398))/7+-parseInt(e(384))/8*(parseInt(e(388))/9)+-parseInt(e(397))/10*(-parseInt(e(394))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Xt extends((0,t.ObservableMixin)()){id;[Qt(386)];[Qt(396)];[Qt(383)];[Qt(387)];constructor(e){var i=Qt;super(),this.id=e.id||(0,t.uid)(),this[i(386)]=e[i(386)],this[i(396)]=e[i(396)],this[i(383)]=e[i(383)]||{},this[i(387)]=e[i(387)],this[i(391)](i(393),e[i(393)])}[Qt(395)](){var t=Qt;return{id:this.id,authorId:this[t(386)].id,type:this[t(396)],data:this[t(383)],createdAt:this[t(393)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=132]})(t,e)}function ie(){const t=["5276SZnUuc","add","oldRevisionId","5149128DyAhQz","changes","643629dCbILG","2828KhxxWQ","newRevisionId","2253CHmURp","790BObahG","18686100CYcBWa","_setChanges","9720216aoLTUW","7452800LLmcDS","6gMibTu"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(779889===parseInt(e(140))/1*(-parseInt(e(143))/2)+-parseInt(e(142))/3*(-parseInt(e(134))/4)+-parseInt(e(132))/5+-parseInt(e(133))/6*(-parseInt(e(139))/7)+-parseInt(e(137))/8+parseInt(e(146))/9+parseInt(e(144))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[te(141)];[te(136)];[te(138)];constructor(e,i){const n=te;this[n(141)]=e,this[n(136)]=i,this[n(138)]=new t.Collection}[te(145)](t){const e=te;for(const i of t)this[e(138)][e(135)](i)}}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Dt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ue;function ae(){const t=["deletions","all","isCollapsed","level","createRange","showStack","splice","getRevisionRootsAttributes","ck-suggestion-marker-split","_markMarkers","nextSibling","text","consume","_getViewForChange","revision-suggestion:","uiElement","_markMismatchedRemovedTags","resolve","suggestion","_findChangeIdFromDomTarget","parent","suggestion:","change:activeView","distance","markerToHighlight","POSITIVE_INFINITY","revision","requires","103018cJwjck","isObject","editing","8553890CHGSYG","revision-comment:","addClass","_removeMissingPairs","commands","isAtStart","toViewPosition","viewItem","getCustomProperty","markerName","startsWith","userId","removeClass","_getRevisionsRange","_setDistance","stop","item","isIncorrect","enqueueChange","start","showPreviousChange","changeId","createPositionBefore","RevisionHistoryUtils","1044621PPnUyJ","revision-viewer","_changeIdToChange","isLimit","highest","_refreshStartEndIndex","hasClass","elementToAttribute","find","getWalker","change","activeChange","_cleanUp","3141201FQTGOm","isOfficialPlugin","getItems","destroy","change:activeChange","flat","refresh","_markInsertions","change:isEnabled","map","affectsData","WidgetToolbarRepository","ck-revision-history-root-","ck-suggestion-preview-marker","end","diffData","markersEnd","markerRange","document","isBlock","writer","_threeWayMerge","addMarker:revision-suggestion:deletion","diff","currentChangeNumber","element","concat","isRemoved","enableReadOnlyMode","mapViewToDom","isRemoveSuggestion","adapter","removeMarker:revision-suggestion","markerNameToElements","_markSuggestions","isInline","_setChanges","insert","config","ck-revision-history-root-add","previousPosition","toViewRange","isReady","ck-revision-history-root-remove","side","isAttached","bottom","softBreak","nodeAfter","element:pre","_makeModelFromViewString","conversion","updatePosition","target","createRevision","changes","revision:","getDomRoot","for","mousedown","isNavigationMode","isOnRoot","loadRevisionData","4oDjbwr","restoreRevisionCallback","isSuggestion","revision-suggestion","delete","wrap","object","observeMarkers","detachRoot","vid","getRevisionDocumentData","addMarker:revision-suggestion:insertion","right","markersStart","upcast","then","sort","indexOf","_step","isPremiumPlugin","_activeViewTarget","change:isReady","plugins","getClientRects","downcastDispatcher","comment","top","addHighlight","9676026fXGNei","data","ck-suggestion-marker--active","ck-revision-history-root--active","clear","span","attributes","setAttribute","findIndex","activeView","domConverter","mapper","return","ck-suggestion-marker","locale","listenTo","schema","backward","view","newRevisionId","nextPosition","attributesAfter","_update","_balloon","isAddSuggestion","_makeTape","dataDowncast","_joinTapes","has","elementEnd","bindElementToMarker","hasAttribute","attributesBefore","forceDisabled","catch","range","merge","_fixObsoleteTags","left","isEnabled","_changeView","vid_end","values","_sortAndFilterDiffChanges","vid_start","pop","domEvent","_appendChild","getRoot","oldRevisionId","rootName","restoreRevision","change:numberOfChanges","next","addRoot","keys","unbindElementFromMarkerName","_getDiff","insertions","isAdded","from","53884420qXjFOm","removeAttribute","ck-suggestion-marker-merge","includes","ck-suggestion-preview-marker-","RevisionViewer","revisionHistoryLabel","authors","isContent","11567640HMeFKo","code","modelRange","mouseover","RevisionsRepository","pluginName","_initInteractions","get","ck-suggestion-marker-","forward","type","createRangeIn","getRevision","name","attachChange","_makeModelFromTape","forEach","_cleanMarkers","endIndex","high","removeMarker","getIndex","createPositionFromPath","unshift","first","numberOfChanges","-new","editingDowncast","showNextChange","_removeUnsupportedChanges","filter","_data","dataToMarker","checkAttribute","isEqual","test","string","getRootNames","model","offsetSize","elementStart","34BFRGfS","_processTape","startIndex","editor","isAfter","index","markerToData","shift","reconvertMarker","execute","_utils","getAttributes","push","createAttributeElement","selection","toViewElement","9btNOMP","ck-editor__editable__overlay","deletion","_setConversion","isBefore","slice","_getChangeFromId","addRevisionData","error","abs","isAtEnd","split","insertion","remove","pairId","add","set","done","getAttribute","consumable","low","data-change-id","roots","getChild","length","compare","revisionHistoryAttachChange","createUIElement","getLaterVisibleRevision","maxOffset","bind","repository","revisionHistory","addMarker:revision","removeMarker:revision","addRevision","_revisions","init","attribute:vid","markers"];return(ae=function(){return t})()}!function(t){const e=ue,i=t();for(;;)try{if(962692===-parseInt(e(411))/1*(parseInt(e(169))/2)+-parseInt(e(196))/3+-parseInt(e(272))/4*(parseInt(e(172))/5)+-parseInt(e(300))/6+-parseInt(e(209))/7+parseInt(e(370))/8*(parseInt(e(427))/9)+parseInt(e(361))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends J.Plugin{[oe(458)];[oe(240)]=null;[oe(421)];[oe(292)];[oe(340)];[oe(198)];[oe(323)];static get[oe(375)](){return oe(366)}static get[oe(210)](){return!0}static get[oe(291)](){return!0}static get[oe(168)](){return[Q.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(458)]=this[e(414)][e(294)][e(377)](e(374)),this[e(421)]=this[e(414)][e(294)][e(377)](e(195)),this[e(443)](e(207),null),this[e(443)](e(309),null),this[e(292)]=null,this[e(443)](e(232),null),this[e(443)](e(251),!1),this[e(443)](e(339),!0),this.on(e(217),(t,i,n)=>{const s=e;this[s(207)]=null,this[s(309)]=null,this[s(414)][s(171)][s(318)][s(206)](t=>{const e=s;for(const i of this[e(414)][e(171)][e(318)][e(227)][e(449)])n?t[e(184)](e(428),i):t[e(174)](e(428),i)})}),this[e(457)](e(269)).to(this,e(207),t=>null!==t),this[e(457)](e(233)).to(this,e(251),this,e(232),this,e(207),(t,i,n)=>t&&n?i[e(264)][e(391)](n):0),this[e(457)](e(395)).to(this,e(251),this,e(232),(t,i)=>t?i[e(264)][e(451)]:0),this[e(340)]=null,this[e(198)]=new Map,this[e(323)]=this[e(414)][e(294)][e(377)](It.ContextualBalloon)}[oe(464)](){const t=oe,e=this[t(414)],i=new de(e,{direction:t(317)}),n=new de(e,{direction:t(379)});e[t(176)][t(442)](t(192),i),e[t(176)][t(442)](t(398),n),e[t(176)][t(442)](t(351),new he(e)),this.on(t(352),()=>{const e=t;i[e(215)](),n[e(215)]()}),this[t(430)](),this[t(376)](),e[t(237)](t(197)),e[t(294)][t(328)](t(220))&&e[t(294)][t(377)](t(220))[t(333)](t(197))}async[oe(282)](t){const e=oe;return await this[e(421)][e(271)](t,this[e(240)]),this[e(421)][e(282)](t)}async[oe(474)](t){const e=oe;return await this[e(421)][e(271)](t,this[e(240)]),this[e(421)][e(474)](t)}async[oe(452)](t,e,i=!1){const n=oe;if(!this[n(339)])return;const s=this[n(232)],r=this[n(458)],o=n(406)==typeof t?r[n(382)](t):t,a=n(406)==typeof e?r[n(382)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(232)]&&this[n(232)][n(319)]===c&&this[n(232)][n(349)]===u)return Promise[n(484)]();this[n(251)]=!1,this[n(309)]=null,this[n(207)]=null,this[n(232)]=new ne(c,u);const l=this[n(185)](o,a,!0)[n(218)](t=>this[n(421)][n(271)](t,this[n(240)]));return l[n(423)](new Promise(t=>{setTimeout(t,20)})),Promise[n(468)](l)[n(287)](()=>{const t=n;if(!this[t(339)])return;this[t(208)]();const e=this[t(357)](c,u);for(const i of e[t(264)])this[t(198)][t(443)](i.id,i);this[t(414)][t(408)][t(190)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(414)][n(408)][n(227)][n(407)]())i[n(280)](t);for(const t of Object[n(355)](e[n(408)])){const s=i[n(354)](t);for(const r of Object[n(355)](e[n(306)][t]))i[n(307)](r,e[n(306)][t][r],s);i[n(246)](e[n(408)][t],s,0)}}),this[t(232)][t(245)](this[t(343)](e[t(264)])),this[t(251)]=!0})[n(334)](t=>{const e=n;console[e(435)](t),this[e(208)](),s&&(this[e(232)]=s),this[e(251)]=!0})}[oe(434)](t,e){const i=oe,n=this[i(458)][i(263)](t);return n.on(i(322),(t,i,s)=>e(i,s,n)),this[i(458)][i(462)](n),n}[oe(208)](){const t=oe;this[t(207)]=null,this[t(387)](),this[t(340)]&&this[t(340)][t(212)](),this[t(340)]=null,this[t(198)][t(304)](),this[t(414)][t(408)][t(190)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(414)][i(408)][i(227)][i(407)]())e[i(280)](t)})}[oe(343)](t){const e=oe,i=[],n=new Map;for(const t of this[e(414)][e(408)][e(227)][e(407)]()){const s=this[e(414)][e(171)][e(318)][e(266)](t);if(!s)continue;const r=s[e(295)]()[e(188)](0);r&&(i[e(423)](t),n[e(443)](t,r))}return i[e(288)]((t,i)=>{const s=e,r=n[s(377)](t),o=n[s(377)](i);return r.y-o.y||r.x-o.x}),(t=t[e(400)](t=>i[e(364)](t[e(350)])))[e(288)]((t,n)=>i[e(289)](t[e(350)])-i[e(289)](n[e(350)])),t}[oe(325)](t){const e=oe,i=Array[e(360)](t[e(466)])[e(400)](([t,i])=>t[e(182)](e(265))&&!i[e(469)]),n=Array[e(360)](this[e(414)][e(408)][e(381)](t)[e(205)]({singleCharacters:!0}));if(0!=i[e(451)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(438)](":");if(s[e(223)][e(404)](t[e(320)])&&i[e(418)](),(t[e(249)][e(404)](s[e(191)])||t[e(249)][e(415)](s[e(191)]))&&(e(439)==r?t[e(359)]={userId:o}:e(429)==r&&(t[e(236)]={userId:o})),0==i[e(451)])break}return n}[oe(201)](t){const e=oe,i=new Map;for(let n=0;n<t[e(451)];n++)e(478)===t[n][e(380)]?(t[n][e(188)][e(413)]=n,t[n][e(188)][e(388)]=n):(e(410)===t[n][e(380)]?t[n][e(188)][e(413)]=n:e(329)===t[n][e(380)]&&(t[n][e(188)][e(388)]=n),i[e(443)](t[n].id,n));for(const n of i[e(342)]())e(410)===t[n][e(380)]?t[n][e(188)][e(388)]=i[e(377)](t[n][e(441)]):e(329)===t[n][e(380)]&&(t[n][e(188)][e(413)]=i[e(377)](t[n][e(441)]))}[oe(412)](t){const e=oe;for(let i=0;i<t[e(451)];i++){if(e(410)===t[i][e(380)])t[i][e(188)][e(413)]=i;else if(e(329)===t[i][e(380)]){t[i][e(188)][e(388)]=i;const n=t[i][e(188)][e(413)];t[n][e(441)]=t[i].id,t[i][e(441)]=t[n].id}else t[i][e(188)][e(413)]=i,t[i][e(188)][e(388)]=i,t[i][e(441)]=null;t[i][e(285)]||(t[i][e(285)]=[],t[i][e(225)]=[])}}[oe(216)](t,e){const i=oe,n=t[i(400)](t=>!t[i(359)]);for(let t=0;t<e[i(451)];t++)e[t][i(359)]&&(n[t][i(359)]=e[t][i(359)])}[oe(357)](t,e=null){const i=oe,n=this[i(458)][i(382)](t),s=e?this[i(458)][i(382)](e):null,r=this[i(185)](n,s),o=r[r[i(451)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(451)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(355)](e[i(224)]))if(e[i(224)][t][i(384)]){const n=e[i(224)][t][i(384)];n[i(254)]?(u[i(442)](t),l[i(328)](t)&&l[i(377)](t)[i(183)]==n[i(183)]?l[i(276)](t):l[i(443)](t,n)):l[i(328)](t)?(u[i(276)](t),l[i(276)](t)):(u[i(442)](t),l[i(443)](t,n))}else u[i(442)](t)}for(const t of u){const e=l[i(328)](t)&&!l[i(377)](t)[i(254)];let n=e?r[i(451)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(224)][t]){const n=e?o[i(224)][t][i(332)]:o[i(224)][t][i(321)];c[i(306)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(408)]={};for(const e of t[i(368)])a[i(443)](e.id,e);for(const e of u){const n=t[i(224)][e]?t[i(224)][e][i(358)]:"[]",s=t[i(224)][e]?t[i(224)][e][i(467)]:"[]";t[i(408)][e]={insertions:this[i(421)][i(259)](n),deletions:this[i(421)][i(259)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(360)](n[i(408)][t][i(358)][i(466)])[i(400)](([t])=>!t[i(182)](i(265))));let h=0;for(const o of r){const r=this[i(325)](o[i(408)][t][i(358)]);o==n?(e=r,s=e[i(451)],e[i(386)](t=>{t.id=h++}),this[i(412)](e)):this[i(216)](e,r);const a=e[i(400)](t=>!t[i(359)])[i(218)](t=>t.id);let c=0;const l=this[i(325)](o[i(408)][t][i(467)]);l[i(386)](t=>{t[i(236)]?t.id=s++:t.id=a[c++]}),this[i(412)](l),this[i(186)](e,i(359)),this[i(186)](l,i(236)),o==n&&this[i(476)](e,u),e=this[i(327)](e,l),this[i(201)](e),this[i(186)](e,i(236))}e=e[i(400)](t=>!(t[i(359)]&&t[i(236)]));const d=new Map(o[i(408)][t][i(467)][i(466)]),f=new Set(u[i(355)]());for(const t of d[i(355)]())f[i(276)](t);this[i(243)](e,f),this[i(337)](e),e=this[i(175)](e),e=this[i(483)](e),e=this[i(399)](e);const{root:m,changes:p}=this[i(385)](e,a,t);c[i(408)][t]=m;const v=l[i(377)](t);if(v){const e=a[i(377)](v[i(183)]),n=new Xt({author:e,type:v[i(254)]?i(442):i(440),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(393)](n),c[i(306)][t][i(453)]=n.id}c[i(264)]=c[i(264)][i(235)](p)}return c}[oe(476)](t,e){const i=oe;for(let n=0;n<t[i(451)];n++)for(const[s,r]of e)!r[i(469)]&&r[i(191)][i(404)](t[n][i(249)])&&t[n][i(285)][i(423)](s),r[i(223)][i(404)](t[n][i(320)])&&t[n][i(225)][i(423)](s)}[oe(327)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(451)]||r<e[i(451)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(423)](o);else if(a[i(236)]&&o[i(359)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(230)](t,s,e,r);n=n[i(235)](o),s=a,r=c}else a[i(236)]?(r++,n[i(423)](a)):(s++,n[i(423)](o))}return n}[oe(243)](t,e){const i=oe,n=[];for(let o=0;o<t[i(451)];o++){for(let r=0;r<t[o][i(285)][i(451)];r++){const a=t[o][i(285)][r];if(!e[i(328)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(275)!=c||i(439)!=u&&i(429)!=u||(n[i(393)]({type:u,name:a,userId:l}),t[o][i(285)][i(473)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(225)][i(451)];r++){const a=t[o][i(225)][r];if(!e[i(328)](a))continue;const{group:c,type:u}=s(a);if(i(275)!=c||i(439)!=u&&i(429)!=u)continue;t[o][i(225)][i(473)](r,1),r--;const l=n[i(308)](t=>t[i(383)]==a);l>-1&&n[i(473)](l,1)}}function s(t){const e=i,n=t[e(438)](":");return{group:n[0],type:n[1],subType:n[e(451)]>=5?n[2]:null,id:n[e(451)]<5?n[2]:n[3],authorId:n[e(451)]<5?n[3]:n[4],markerCount:6==n[e(451)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(451)];i++){if(t[e(359)]&&e(439)==n[i][e(380)]&&t[e(359)][e(183)]==n[i][e(183)])return t[e(324)]=n[i],void delete t[e(359)];if(!t[e(359)]&&!t[e(236)]&&e(429)==n[i][e(380)])return void(t[e(239)]=n[i])}}}[oe(186)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(443)](o.id,n);for(let n=0;n<t[i(451)];n++){if(i(236)==e&&t[n][i(359)]||i(359)==e&&t[n][i(236)])continue;if(i(478)==t[n][i(380)]){t[n][i(490)]=0;continue}const s=r[i(377)](t[n][i(441)]),o=r[i(377)](t[n].id);t[n][i(490)]=s-o}}[oe(185)](t,e,i=!1){const n=oe,s=[];let r=this[n(458)][n(391)](t),o=this[n(458)][n(391)](e);for(-1==o&&(o=this[n(458)][n(463)][n(451)],i=!1);r<o;)s[n(423)](this[n(458)][n(382)](r)),r++;return i&&s[n(423)](this[n(458)][n(382)](r)),s}[oe(230)](t,e,i,n){const s=oe,r=this[s(414)][s(408)][s(316)];let o=e;for(;t[o]&&t[o][s(359)];)o++;let a=n;for(;i[a]&&i[a][s(236)];)a++;u(t,e,o),u(i,n,a);const c=i[s(432)](n,a)[s(235)](t[s(432)](e,o));return c[s(288)]((t,e)=>t[s(253)]!=e[s(253)]?t[s(253)]-e[s(253)]:t[s(470)]!=e[s(470)]?t[s(470)]-e[s(470)]:t[s(490)]!=e[s(490)]?e[s(490)]-t[s(490)]:!!t[s(359)]!=!!e[s(359)]?-1==t[s(253)]||0==t[s(253)]?t[s(359)]?-1:1:t[s(359)]?1:-1:t[s(416)]-e[s(416)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(166)],c=!0;for(let s=e;s<i;s++)if(r[n(244)](t[s][n(188)])||(c=!1),t[s][n(188)][n(413)]<e&&(o=s),t[s][n(188)][n(388)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(253)]=s<=o?-1:s<a?0:1,t[s][n(416)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(490)]?t[i][n(470)]=u:(u++,t[i][n(470)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(253)]&&(t[s][n(470)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(490)]?t[e][n(470)]=u:(u--,t[e][n(470)]=u,u--)}}[oe(337)](t){const e=oe,i=new Map,n=this[e(414)][e(408)][e(316)];for(let s=1;s<t[e(451)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(478)==c[e(380)])continue;if(c[e(380)]!=u[e(380)])continue;if(!n[e(228)](u[e(188)])||n[e(199)](u[e(188)]))continue;if(!n[e(228)](c[e(188)])||n[e(199)](c[e(188)]))continue;if((t[s][e(359)]||t[s][e(324)])&&t[s-1][e(236)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(236)]||!t[s-1][e(359)]&&!t[s-1][e(324)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(470)]==o[e(470)],h=Math[e(436)](r[e(470)])<Math[e(436)](o[e(470)])&&0==o[e(490)];(l||h)&&(i[e(443)](o.id,r.id),t[e(473)](a,1),s--,r[e(359)]=!1)}for(let n=0;n<t[e(451)];n++)i[e(328)](t[n][e(441)])&&(t[n][e(441)]=i[e(377)](t[n][e(441)]))}[oe(175)](t){const e=oe,i=new Set(t[e(218)](t=>t.id));for(let n=0;n<t[e(451)];n++)i[e(328)](t[n][e(441)])||0==t[n][e(490)]||(t[n][e(189)]=!0);return t[e(400)](t=>!t[e(189)])}[oe(483)](t){const e=oe,i=new Set;for(let n=0;n<t[e(451)];n++){if(i[e(328)](t[n].id)&&t[n][e(236)]&&(t[n][e(189)]=!0),t[n][e(189)])continue;if(0==t[n][e(490)])continue;if(e(410)!=t[n][e(380)])continue;if(null==t[n][e(441)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(441)];)e(410)==t[s][e(380)]?r++:e(329)==t[s][e(380)]&&r--,s++;if(0!=r)if(t[n][e(236)])t[n][e(189)]=!0;else for(;s!=n;)t[s][e(236)]&&0!=t[s][e(490)]&&(t[s][e(189)]=!0,i[e(442)](t[s][e(441)])),s--}return t[e(400)](t=>!t[e(189)])}[oe(399)](t){const e=oe,i=this[e(414)][e(408)][e(316)];for(let n=0;n<t[e(451)];n++){if(!(t[n][e(359)]||t[n][e(324)]||t[n][e(236)]||t[n][e(239)]))continue;if(0==t[n][e(490)])continue;const s=t[n][e(188)];i[e(228)](s)||i[e(199)](s)||(t[n][e(359)]&&delete t[n][e(359)],t[n][e(324)]&&delete t[n][e(324)],t[n][e(239)]&&delete t[n][e(239)],t[n][e(236)]&&(t[n][e(189)]=!0))}return t[e(400)](t=>!t[e(189)])}[oe(385)](t,e,i){const n=oe,s=new K.ModelDocumentFragment,r=[],o=new Map,a=this[n(414)][n(408)],c=a[n(316)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(451)];e++)if(n(410)===t[e][n(380)]){t[e][n(249)]=a[n(392)](s,f);const i=new K.ModelElement(t[e][n(188)][n(383)],t[e][n(188)][n(422)]());u[0][n(347)](i),f[n(423)](0),u[n(393)](i),t[e][n(320)]=a[n(392)](s,f)}else n(329)===t[e][n(380)]?(u[n(418)](),t[e][n(249)]=a[n(392)](s,f),f[n(345)](),f[f[n(451)]-1]++,t[e][n(320)]=a[n(392)](s,f)):(t[e][n(249)]=a[n(392)](s,f),d?d[n(401)]+=t[e][n(188)][n(301)]:d=new K.ModelText(t[e][n(188)][n(301)],t[e][n(188)][n(422)]()),t[e+1]&&n(478)===t[e+1][n(380)]&&v(d,t[e+1][n(188)])||(u[0][n(347)](d),d=null),f[f[n(451)]-1]+=t[e][n(188)][n(409)],t[e][n(320)]=a[n(392)](s,f));for(let e=0;e<t[n(451)];e++){const i=t[e][n(249)],s=t[e][n(320)];for(const s of t[e][n(285)])o[n(443)](s,{start:i,end:null});m(n(239),e,i,s),m(n(324),e,i,s),m(n(236),e,i,s),m(n(359),e,i,s);for(const i of t[e][n(225)]){const t=o[n(377)](i);t?t[n(223)]=s:o[n(443)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(414)][n(408)][n(471)](e[n(191)],e[n(223)]);s[n(466)][n(443)](t,i)}return r[n(288)]((t,e)=>{const i=n,r=s[i(466)][i(377)](i(265)+t.id),o=s[i(466)][i(377)](i(265)+e.id);return r[i(191)][i(431)](o[i(191)])?-1:r[i(191)][i(415)](o[i(191)])?1:r[i(223)][i(431)](o[i(223)])?-1:r[i(223)][i(415)](o[i(223)])?1:i(442)===t[i(380)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(183)]:null,d=i===t[o(451)]-1,f=h[e][0],m=c[o(170)](t[i][o(188)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(223)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(183)]!==u&&(l[e][o(223)]=s,f&&f[o(183)]===l[e][o(183)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(410)!==t[i][o(380)]||f&&f[o(183)]===u||h[e][o(393)]({userId:u,object:t[i][o(188)],change:l[e]}),o(329)===t[i][o(380)]&&f&&f[o(278)]===t[i][o(188)]&&(h[e][o(418)](),l[e]=f[o(206)])),l[e]&&d&&(l[e][o(223)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(188)],f=a[h(316)][h(228)](d)&&!a[h(316)][h(199)](d),m=t[h(257)]==o[h(487)]&&o[h(177)];if(f&&m)return;const p=a[h(471)](t,o),v=e[h(377)](u),g=new Xt({author:v,type:h(359)==l||h(324)==l?h(442):h(440),data:{isSuggestion:h(324)==l||h(239)==l},createdAt:new Date,rootName:i});r[h(423)](g),s[h(466)][h(443)](h(265)+g.id,p)}function v(t,e){const i=n,s=t[i(422)](),r=e[i(422)]();for(const t of s){if(t[1]!==e[i(445)](t[0]))return!1;r[i(353)]()}return r[i(353)]()[i(444)]}}[oe(430)](){const t=oe;this[t(414)][t(260)][t(267)](t(286))[t(402)]({view:t(167)}),this[t(414)][t(260)][t(267)](t(397))[t(165)]({model:t(167),view:e=>{const i=t,n=e[i(181)][i(438)](":")[1],s=this[i(433)](n);if(!s)return null;const r=i(442)==s[i(380)]?i(439):i(429),o=[i(313),i(378)+r];return s[i(301)][i(274)]&&o[i(423)](i(378)+r+i(396)),this[i(207)]==s&&o[i(423)](i(302)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(414)][t(260)][t(267)](t(286))[t(442)](e=>{const i=t;e.on(i(258),(t,e,n)=>{const s=i,r=e[s(179)][s(450)](0);if(!r||!r.is(s(234),s(371)))return;if(!n[s(446)][s(479)](r,{attributes:[s(344),s(341)]}))return;const o=e[s(372)][s(191)][s(257)];n[s(229)][s(307)](s(344),r[s(445)](s(344)),o),n[s(229)][s(307)](s(341),r[s(445)](s(341)),o)},{priority:i(447)})}),this[t(414)][t(260)][t(267)](t(286))[t(442)](e=>{const i=t;e.on(i(234),(t,e,n)=>{const s=i;if(!n[s(446)][s(479)](e[s(179)],{attributes:[s(344),s(341)]}))return;if(e[s(372)][s(469)])return;const r=e[s(372)][s(191)][s(257)];r[s(331)](s(344))||r[s(331)](s(281))||(n[s(229)][s(307)](s(344),e[s(179)][s(445)](s(344)),r),n[s(229)][s(307)](s(341),e[s(179)][s(445)](s(341)),r))},{priority:i(447)})}),this[t(414)][t(260)][t(267)](t(286))[t(203)]({view:{name:t(305),attributes:{vid:!0}},model:{key:t(281),value:e=>e[t(445)](t(281))}}),this[t(414)][t(408)][t(316)].on(t(403),(e,[,i])=>{const n=t;[n(344),n(341),n(281)][n(364)](i)&&(e[n(312)]=!0,e[n(187)]())},{priority:t(200)}),this[t(414)][t(260)][t(267)](t(326))[t(442)](e=>{const i=t;e.on(i(465),(t,e,n)=>{const s=i;if(" "!=e[s(188)][s(301)]||e[s(188)][s(487)][s(456)]>1)return;if(!n[s(446)][s(479)](e[s(188)],t[s(383)]))return;const r=n[s(229)],o=n[s(311)][s(250)](e[s(335)]);r[s(277)](o,r[s(424)](s(305)))})}),this[t(414)][t(260)][t(267)](t(326))[t(417)]({model:t(167)}),this[t(414)][t(171)][t(296)].on(t(460),function(e){const i=t,n=e[i(294)][i(377)](i(366));return(t,s,r)=>{const o=i,a=s[o(181)][o(438)](":")[1],c=n[o(433)](a);if(!c)return null;const u=o(442)==c[o(380)]?o(438):o(336);if(!r[o(446)][o(405)](s[o(226)],t[o(383)]))return;const l=s[o(226)][o(205)](),h=s[o(226)][o(191)],d=e[o(408)][o(316)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(188)];p=p||d[o(369)](e);const i=r[o(311)][o(426)](e);if(i&&i[o(180)](o(299)))return;o(329)==t[o(380)]&&d[o(228)](e)&&!d[o(199)](e)&&(e[o(477)]||h[o(437)]?f&&f[o(487)]==e||(f=e,g(t[o(249)]),v=!0):m=m||t[o(249)])}function g(t){const e=o,i=r[e(229)][e(454)](e(305),{class:e(378)+u}),a=r[e(311)][e(178)](t);c[e(301)][e(274)]&&r[e(229)][e(174)](e(378)+u+e(396),i),n[e(207)]==c&&r[e(229)][e(174)](e(302),i),r[e(229)][e(246)](a,i),r[e(311)][e(330)](i,s[e(181)])}p||v||!m||g(m)}}(this[t(414)]),{priority:t(389)}),this[t(414)][t(171)][t(296)].on(t(461),(e,i,n)=>{const s=t,r=n[s(311)][s(242)](i[s(181)]);if(r)for(const t of r)(t[s(202)](s(475))||t[s(202)](s(363)))&&(n[s(311)][s(356)](t,i[s(181)]),n[s(229)][s(440)](t))},{priority:t(389)}),this[t(414)][t(171)][t(296)].on(t(460),(e,i,n)=>{const s=t,r=i[s(181)][s(438)](":")[1],o=this[s(433)](r);if(!o)return null;const a=s(442)==o[s(380)]?s(438):s(336);if(n[s(446)][s(405)](i[s(226)],e[s(383)]))for(const t of i[s(226)][s(211)]()){if(!t.is(s(234),s(256)))continue;const e=n[s(229)][s(454)](s(305),{class:s(378)+a}),r=n[s(311)][s(178)](this[s(414)][s(408)][s(194)](t));o[s(301)][s(274)]&&n[s(229)][s(174)](s(378)+a+s(396),e),this[s(207)]==o&&n[s(229)][s(174)](s(302),e),n[s(229)][s(246)](r,e),n[s(311)][s(330)](e,i[s(181)])}},{priority:t(389)}),this[t(414)][t(408)][t(227)].on(t(206),()=>{const e=t;this[e(414)][e(171)][e(318)][e(206)](t=>{const i=e;for(const e of this[i(414)][i(408)][i(227)][i(407)]()){const n=this[i(414)][i(408)][i(227)][i(348)](e),s=this[i(414)][i(171)][i(318)][i(227)][i(348)](e);if(s){const e=n[i(445)](i(453));if(t[i(362)](i(448),s),t[i(184)](i(248),s),t[i(184)](i(252),s),t[i(184)](i(303),s),e){const n=this[i(433)](e);if(!n)return null;t[i(307)](i(448),e,s),t[i(174)](i(221)+n[i(380)],s),this[i(207)]==n&&t[i(174)](i(303),s)}}}})}),this[t(414)][t(260)][t(267)](t(286))[t(402)]({view:t(297),model:e=>t(173)+e,converterPriority:t(200)}),this[t(414)][t(260)][t(267)](t(286))[t(402)]({view:t(485),model:e=>t(481)+e,converterPriority:t(200)}),this[t(414)][t(260)][t(267)](t(326))[t(417)]({model:t(275),view:e=>({name:t(488)+e,group:t(275)}),converterPriority:t(200)}),this[t(414)][t(260)][t(267)](t(397))[t(165)]({model:t(275),view:e=>{const i=t,n=e[i(181)][i(438)](":")[1];return i(439)!=n&&i(429)!=n?null:{classes:[i(222),i(365)+n]}}}),this[t(414)][t(171)][t(296)].on(t(231),le(this[t(414)],t(336)),{priority:t(389)}),this[t(414)][t(171)][t(296)].on(t(283),le(this[t(414)],t(438)),{priority:t(389)}),this[t(414)][t(171)][t(296)].on(t(241),(e,i,n)=>{const s=t,r=n[s(311)][s(242)](i[s(181)]);if(r)for(const t of r)t.is(s(482))&&(n[s(311)][s(356)](t,i[s(181)]),n[s(229)][s(440)](t))},{priority:t(389)})}[oe(433)](t){const e=oe;return this[e(198)][e(377)](t)}[oe(480)](t){const e=oe;return this[e(340)]&&this[e(340)][e(212)](),this[e(340)]=new Gt(this[e(414)][e(314)],t),this[e(340)]}[oe(376)](){const t=oe;this[t(414)][t(408)][t(227)][t(425)][t(279)](t(167)),this.on(t(489),(e,i,n,s)=>{const r=t;s&&this[r(323)][r(440)](s),n&&(this[r(323)][r(442)]({view:n,stackId:r(367),position:{target:()=>{const t=r,e=this[t(414)][t(171)],i=this[t(433)](n[t(193)]);let s;if(i[t(301)][t(270)]){const n=e[t(318)][t(266)](i[t(350)]);s=Array[t(360)](n[t(295)]())}else{const i=this[t(414)][t(408)][t(466)][t(377)](t(265)+n[t(193)]);s=Array[t(360)](e[t(311)][t(242)](i[t(383)]))[t(218)](i=>e[t(318)][t(310)][t(238)](i))[t(218)](e=>Array[t(360)](e[t(295)]()))[t(214)]()}return this[t(292)]&&s[t(204)](e=>e[t(298)]-3<=this[t(292)].y&&e[t(255)]+3>=this[t(292)].y&&e[t(338)]-3<=this[t(292)].x&&e[t(284)]+3>=this[t(292)].x)||s[0]}}}),this[r(323)][r(472)](r(367)))}),this.on(t(213),(e,i,n,s)=>{const r=t;this[r(309)]=n?this[r(480)](n):null,this[r(414)][r(408)][r(206)](()=>{const t=r,e=this[t(414)][t(171)];s&&(s[t(301)][t(270)]?e[t(318)][t(206)](i=>{const n=t;i[n(184)](n(303),e[n(318)][n(227)][n(348)](s[n(350)]))}):e[t(419)](t(265)+s.id)),n&&(n[t(301)][t(270)]?e[t(318)][t(206)](i=>{const s=t;i[s(174)](s(303),e[s(318)][s(227)][s(348)](n[s(350)]))}):e[t(419)](t(265)+n.id))})}),this[t(315)](this[t(414)][t(171)][t(318)][t(227)],t(373),(e,i)=>{const n=t;if(this[n(207)])return;const s=this[n(486)](i[n(262)]),r=this[n(198)][n(377)](s);r?(this[n(292)]={x:i[n(346)].x,y:i[n(346)].y},this[n(309)]=this[n(480)](r)):(this[n(292)]=null,this[n(309)]=null)}),this[t(315)](this[t(414)][t(171)][t(318)][t(227)],t(268),(e,i)=>{const n=t,s=this[n(486)](i[n(262)]),r=this[n(198)][n(377)](s);r?(this[n(292)]={x:i[n(346)].x,y:i[n(346)].y},r===this[n(207)]?this[n(323)][n(261)]():this[n(207)]=r):(this[n(292)]=null,this[n(207)]=null)})}[oe(486)](t){const e=oe;do{const i=t[e(445)](e(448));if(i)return i;t=t[e(487)]}while(t);return null}[oe(387)](){const t=oe;this[t(414)][t(408)][t(206)](e=>{const i=t;for(const t of this[i(414)][i(408)][i(466)])e[i(390)](t)})}}function ue(t,e){const i=ae();return(ue=function(t,e){return i[t-=165]})(t,e)}function le(t,e){return(i,n,s)=>{const r=ue;if(!s[r(446)][r(405)](n[r(226)],i[r(383)]))return;const o=n[r(226)][r(205)](),a=n[r(226)][r(191)],c=t[r(408)][r(316)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(188)];h=h||c[r(369)](e);const i=s[r(311)][r(426)](e);if(i&&i[r(180)](r(299)))return;r(329)==t[r(380)]&&c[r(228)](e)&&!c[r(199)](e)&&(e[r(477)]||a[r(437)]?u&&u[r(487)]==e||(u=e,f(t[r(249)]),d=!0):l=l||t[r(249)])}function f(t){const i=r,o=s[i(311)][i(178)](t),a=s[i(229)][i(454)](i(305),{class:i(365)+e});s[i(229)][i(246)](o,a),s[i(311)][i(330)](a,n[i(181)])}h||d||!l||f(l)}}class he extends J.Command{constructor(t){const e=oe;super(t);const i=t[e(294)][e(377)](ce);this[e(219)]=!1,this[e(315)](i,e(293),()=>this[e(215)]()),this[e(315)](i,e(217),()=>this[e(215)]())}[oe(420)](){const t=oe,e=this[t(414)],i=e[t(294)][t(377)](ce),n=i[t(251)]?i[t(232)][t(319)]:null;e[t(247)][t(377)](t(459))[t(273)](n)}[oe(215)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(414)][t(294)][t(377)](ce),r=s&&n[t(455)](s[t(319)]);this[t(339)]=e&&i&&Boolean(r)}}class de extends J.Command{[oe(290)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(294)][i(377)](ce);this[i(219)]=!1,this[i(290)]=i(379)===e?1:-1,this[i(315)](n,i(293),()=>this[i(215)]()),this[i(315)](n,i(217),()=>this[i(215)]()),this[i(315)](n,i(213),()=>this[i(215)]())}[oe(420)](){const e=oe,i=this[e(414)],n=i[e(294)][e(377)](ce),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(207)]=s?n[e(232)][e(264)][e(377)](r+this[e(290)]):n[e(232)][e(264)][e(394)],n[e(207)][e(301)][e(270)])o=i[e(171)][e(318)][e(266)](n[e(207)][e(350)]);else{const t=i[e(408)][e(466)][e(377)](e(265)+n[e(207)].id);o=(0,Q.getMarkerDomElement)(i[e(171)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(215)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(414)][t(294)][t(377)](ce);this[t(339)]=!!(r&&s&&n)&&(!e||(1===this[t(290)]?i<n-1:i>0))}}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["currentChangeNumber","ck-revision-history-ui__changes-navigation","Show next change","X_OF_Y_CHANGES","Total","ck-revision-history-ui__changes-navigation__wrapper","88324GSzQYJ","ck-hidden","_statusText","numberOfChanges","No changes","3EQMgVX","Loading...","setTemplate","2010088IafcVs","EDIT_X_OF_Y_REVISIONS","span","37PlQfcA","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui","bind","Show previous change","forward","261vliAAd","17389570RRLFVS","fire","7lnnFpM","backward","bindTemplate","execute","isEnabled","isForwardNavigationEnabled","set","434620HlnHrt","isReady","ck-revision-history-ui__changes-navigation__label","1915872TYQCdd","13173896WzMPhC","_isStatusLabelVisible","NUMBER_OF_CHANGES","7332590GMFBJt","isNavigationMode","div"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=114]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(975579===parseInt(e(122))/1*(-parseInt(e(155))/2)+parseInt(e(116))/3*(-parseInt(e(119))/4)+parseInt(e(146))/5+parseInt(e(142))/6+parseInt(e(132))/7*(parseInt(e(143))/8)+parseInt(e(129))/9*(parseInt(e(139))/10)+-parseInt(e(130))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(134)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(138)](e(147),!1),this[e(138)](e(140),!1),this[e(138)](e(149),0),this[e(138)](e(114),0),this[e(138)](e(137),!1),this[e(138)](e(123),!1),this[e(126)](e(144)).to(this,e(140),this,e(114),(t,e)=>t&&e>0),this[e(126)](e(157)).to(this,e(140),this,e(149),this,e(114),this,e(147),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(117));if(!s)return at(t,o(115));const a=at(t,o(145),s);return r?at(t,o(152),[n+1,s]):a}),n[e(138)]({label:at(t,e(127)),tooltip:!0,icon:_t.IconChevronUp}),s[e(138)]({label:at(t,e(151)),tooltip:!0,icon:_t.IconChevronDown}),n[e(126)](e(136)).to(this,e(123)),s[e(126)](e(136)).to(this,e(137)),n.on(e(135),()=>this[e(131)](e(135),e(133))),s.on(e(135),()=>this[e(131)](e(135),e(128))),this[e(118)]({tag:e(148),attributes:{class:["ck",e(125),e(150)]},children:[{tag:e(121),attributes:{class:[e(154)]},children:[{tag:e(121),attributes:{class:[e(141),i.if(e(144),e(156),t=>!t)]},children:[{text:i.to(e(147),i=>i?at(t,e(120))+": ":at(t,e(153))+": ")}]},{text:i.to(e(157))}]},new It.ToolbarSeparatorView,{tag:e(148),attributes:{class:[e(124)]},children:[n,s]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(){const t=["removeClass","2092712VbJGQq","editing","84914ojdgNB","addClass","roots","2232730fzSrFr","12Xhsdlr","505851KLOtwD","18lbVwRe","9488446BSxxLB","hide","8vtBAwE","isPremiumPlugin","ck-editor__editable__loading-overlay","isOfficialPlugin","document","RevisionViewerLoadingOverlay","view","7zGDCcV","pluginName","2442918pTNWDT","show","10jRMFsz","editor","279340IEZoaJ","change"];return(be=function(){return t})()}const we=_e;function _e(t,e){const i=be();return(_e=function(t,e){return i[t-=258]})(t,e)}!function(t){const e=_e,i=t();for(;;)try{if(298732===parseInt(e(268))/1*(parseInt(e(261))/2)+-parseInt(e(273))/3*(parseInt(e(277))/4)+parseInt(e(263))/5+parseInt(e(259))/6*(-parseInt(e(284))/7)+-parseInt(e(266))/8*(parseInt(e(274))/9)+parseInt(e(271))/10+parseInt(e(275))/11*(parseInt(e(272))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);const Ie=we(279);class Se extends J.Plugin{static get[we(258)](){return we(282)}static get[we(280)](){return!0}static get[we(278)](){return!0}[we(260)](){const t=we,e=this[t(262)][t(267)][t(283)];e[t(264)](i=>{const n=t;for(const t of e[n(281)][n(270)])i[n(269)](Ie,t)})}[we(276)](){const t=we,e=this[t(262)][t(267)][t(283)];e[t(264)](i=>{const n=t;for(const t of e[n(281)][n(270)])i[n(265)](Ie,t)})}}const Oe=xe;function Te(){const t=["numberOfChanges","show","init","RevisionViewerUI","config","910044eTBbRZ","70QteDJo","pluginName","18PbjNuq","change:isReady","componentFactory","exitToEditing","listenTo","commands","closeRevisionViewerCallback","Back to editing","requires","5056048GLOsYB","isEnabled","add","restoreRevision","isForwardNavigationEnabled","1216926yWbCQy","isBackwardNavigationEnabled","3453zpVYfb","552lfiCIW","2633213jsqloC","editor","isPremiumPlugin","forward","set","bind","ck-revision-history-ui__back-to-editing","execute","get","currentChangeNumber","showNextChange","revisionHistory","hide","2511089cEBtOR","isOfficialPlugin","plugins","Restore this revision","2165253HHMQuW","changesNavigation","isReady","isNavigationMode","showPreviousChange","15vNjBiN"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=332]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(553964===-parseInt(e(365))/1*(parseInt(e(366))/2)+parseInt(e(335))/3+parseInt(e(346))/4*(parseInt(e(340))/5)+-parseInt(e(349))/6*(parseInt(e(380))/7)+-parseInt(e(358))/8+parseInt(e(363))/9+-parseInt(e(347))/10*(-parseInt(e(367))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends J.Plugin{static get[Oe(348)](){return Oe(344)}static get[Oe(332)](){return!0}static get[Oe(369)](){return!0}static get[Oe(357)](){return[ce,Se]}[Oe(343)](){const t=Oe,e=this[t(368)],i=e[t(333)][t(375)](ce),n=e[t(333)][t(375)](Se);e.ui[t(351)][t(360)](t(352),i=>{const n=t,s=new It.ButtonView(i);return s[n(371)]({label:at(i,n(356)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(373)}),this[n(353)](s,n(374),()=>{const t=n;e[t(345)][t(375)](t(378))[t(355)]()}),s}),e.ui[t(351)][t(360)](t(361),i=>{const n=t,s=new It.ButtonView(i);return s[n(371)]({label:at(i,n(334)),withText:!0,tooltip:!0}),s[n(372)](n(359)).to(e[n(354)][n(375)](n(361))),this[n(353)](s,n(374),()=>e[n(374)](n(361))),s}),e.ui[t(351)][t(360)](t(336),n=>{const s=t,r=new ge(n),o=e[s(354)][s(375)](s(339)),a=e[s(354)][s(375)](s(377));return r[s(372)](s(364)).to(o,s(359)),r[s(372)](s(362)).to(a,s(359)),r[s(372)](s(337),s(376),s(341),s(338)).to(i),this[s(353)](r,s(374),(t,i)=>{const n=s;e[n(374)](n(370)===i?n(377):n(339))}),r}),n[t(342)](),i.on(t(350),(e,i,s)=>{const r=t;s?n[r(379)]():n[r(342)]()})}}var Re=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Dt();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;const Me=Ve;function Ve(t,e){const i=Ee();return(Ve=function(t,e){return i[t-=474]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(642381===-parseInt(e(490))/1+parseInt(e(491))/2*(-parseInt(e(477))/3)+parseInt(e(484))/4+-parseInt(e(488))/5*(-parseInt(e(487))/6)+-parseInt(e(501))/7*(-parseInt(e(499))/8)+-parseInt(e(481))/9*(-parseInt(e(489))/10)+-parseInt(e(474))/11*(-parseInt(e(480))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Me(479)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(497)];this[i(485)]({label:at(t,i(496)),_tooltipString:""}),this[i(495)][i(494)]=at(t,i(475)),this[i(483)]({tag:i(506),attributes:{class:[i(498)],"data-cke-tooltip-text":n.to(i(505)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(476)}})}[Me(492)](){const e=Me;super[e(492)](),this[e(479)]=new t.ResizeObserver(this[e(495)][e(504)],()=>this[e(482)]()),this[e(478)](this[e(495)],e(500),()=>this[e(482)]())}[Me(503)](){const t=Me;super[t(503)](),this[t(479)]&&this[t(479)][t(503)]()}[Me(482)](){const t=Me,e=this[t(495)][t(504)];this[t(505)]=e[t(486)]>e[t(493)]&&e[t(502)]||""}}function Ee(){const t=["11NERcAi","Enter the revision name","ck-tooltip_multi-line","3usaPme","listenTo","_resizeObserver","16677492tvfYOf","9ZYbhap","_updateTooltipText","extendTemplate","220724CBUCZW","set","scrollWidth","836802epPqlE","40cXmDbR","1653170ZdtEHN","1266138UjdLDs","1830728wEnQHD","render","clientWidth","placeholder","fieldView","Revision name","bindTemplate","ck-revision-history-sidebar__revision-name","782864EJegiJ","input","7fgboeS","value","destroy","element","_tooltipString","span"];return(Ee=function(){return t})()}var Ce=i(249),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Le();return(je=function(t,e){return i[t-=195]})(t,e)}function Le(){const t=["8920490pLQeph","240960APZvTQ","322fwLzaH","Revision author","3227DgFpsA","ck-revision-history-sidebar__revision-author_creator","0 0 11 10","128MwgyyZ","push","setTemplate","76168kGmprV","ck-revision-history-sidebar__revision-author__name","Revision creator","ck-revision-history-sidebar__revision-author","name","381894dCHPOH","3401649UpUlTy","15UgsFdN","span","196780DaymzP","set"];return(Le=function(){return t})()}!function(t){const e=je,i=t();for(;;)try{if(221218===-parseInt(e(197))/1*(-parseInt(e(200))/2)+parseInt(e(215))/3+parseInt(e(212))/4+parseInt(e(210))/5*(-parseInt(e(208))/6)+parseInt(e(195))/7*(-parseInt(e(203))/8)+-parseInt(e(209))/9+parseInt(e(214))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class Pe extends It.View{constructor(t,e,i){const n=je;super(t);const s=new It.IconView;s[n(213)]({content:_t.IconUser,viewBox:n(199)});const r=["ck",n(206)];i&&r[n(201)](n(198));const o=[{tag:n(211),attributes:{class:["ck",n(204)],title:at(t,n(i?205:196))},children:[s,e[n(207)]]}];this[n(202)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=322]})(t,e)}function We(){var t=["long","2702UDSJjZ","4452126XYpbiD","1031420FLpjEq","152sxTjbx","9718660VghEou","toLocaleTimeString","toLocaleDateString","6562230rXgGcZ","2355651iDcITH","numeric","4856504wwTwNk"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(951140===parseInt(e(326))/1*(parseInt(e(323))/2)+-parseInt(e(331))/3+parseInt(e(325))/4+parseInt(e(330))/5+parseInt(e(324))/6+-parseInt(e(327))/7+parseInt(e(333))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(11),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=Rt().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Dt();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=219]})(t,e)}function qe(){const t=["isActionsDropdownOpen","Restore this revision","locale","listView","1588290MeGkdS","source","set","312317tjjtKL","action","extendTemplate","menuitem","function","name","14ljtNTp","84522CRsXnh","stopPropagation","Compare against selected","menu","buttonView","ck-on","find","add","execute","isOpen","isReady","Name this revision","bind","1104900HllXjU","1674152BUEQGR","model","278TQNdDL","isVisible","Show more items","_action","children","panelPosition","change:isActionsDropdownOpen","listenTo","button","bindTemplate","map","5937228qJQOBm","ck-revision-history-sidebar__revision__actions","7011hMvnaa","items","isEnabled","class","first"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(234378===parseInt(e(226))/1+parseInt(e(249))/2*(-parseInt(e(262))/3)+-parseInt(e(246))/4+-parseInt(e(223))/5+-parseInt(e(233))/6*(parseInt(e(232))/7)+parseInt(e(247))/8+parseInt(e(260))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=Rt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Dt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=155]})(t,e)}function Je(){const t=["from","521188JZhuhN","element","unshift","_createdAtFormatted","fieldView","closest","span","585qFWjXG","extendTemplate","setName","render","147vGSCpG","48184yontyF","_revision","value","revisionNameView","ck-revision-history-sidebar__revision__controls-wrapper","fire","listenTo","ck-revision-history-sidebar__actions_dropdown_open","div","uiLanguage","ck-revision-history-sidebar__revision_highlighted","250ORFVLU","ck-reset","isReady","isEnabled","_requireRevisionName","15LBNFQi","revisionActionsView","filter","isActionsDropdownOpen","isConfirm","select","ck-revision-history-sidebar__revision-authors","37231yoJtvk","bindTemplate","687260qxsMeZ","setTemplate","isHighlighted","ck-revision-history-sidebar__revision__date","highlight","ck-revision-history-sidebar__revision_selected","deselect","set","130470BhAnnT","authors","createdAt","ck-revision-history-sidebar__revision","128018RkFvPh","22FFunjd","220","ck-disabled",".ck-thread__remove-confirm","isSelected","srcElement","map","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","2282964nTsexs","change","name","unhighlight","ck-revision-history-sidebar__revision-wrapper","creator","length","bind"];return(Je=function(){return t})()}!function(t){const e=Ge,i=t();for(;;)try{if(405763===-parseInt(e(206))/1*(parseInt(e(221))/2)+parseInt(e(199))/3*(-parseInt(e(171))/4)+parseInt(e(208))/5+-parseInt(e(216))/6*(-parseInt(e(182))/7)+-parseInt(e(183))/8*(-parseInt(e(178))/9)+-parseInt(e(194))/10*(-parseInt(e(220))/11)+parseInt(e(162))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Qe extends((0,Q.ConfirmMixin)(It.View)){id;[Ye(186)];[Ye(200)];[Ye(184)];[Ye(198)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(207)],a=function(t,e){const i=r,n=Array[i(170)](e[i(217)])[i(201)](t=>t!=e[i(167)]);return e[i(167)]&&n[i(173)](e[i(167)]),n[i(160)](n=>new Pe(t,n,n==e[i(167)]))}(e,i);this.id=i.id,this[r(184)]=i,this[r(198)]=s,this[r(169)](r(164),r(218)).to(i),this[r(169)](r(174)).to(this,r(218),t=>{return i=e[r(192)],(n=t)[(s=ze)(329)](i,{month:s(322),day:s(332)})+", "+n[s(328)](i,{hour:s(332),minute:s(332)});var i,n,s}),this[r(215)](r(158),!1),this[r(215)](r(210),!1),this[r(215)](r(202),!1),this[r(215)](r(196),!1),this[r(215)](r(197),!1),this[r(186)]=new De(e,It.createLabeledInputText),this[r(186)][r(175)][r(179)]({attributes:{maxlength:r(155)}}),this[r(186)][r(175)][r(169)](r(185)).to(this,r(164),t=>t||this[r(174)]),this[r(186)][r(169)](r(197)).to(this,r(158),this,r(197),(t,e)=>t&&e),this[r(200)]=n&&n[r(168)]?function(e,i){const n=Ze,s=e[n(258)],r=e[n(221)],o=(0,It.createDropdown)(r);o[n(254)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(221)],s={"Compare against selected":at(n,i(235)),"Name this revision":at(n,i(244)),"Restore this revision":at(n,i(220))};return e[i(259)](t=>{const e=i,n=s[t[e(231)]];return n&&n!==t[e(231)]&&(t[e(231)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(257),model:new It.UIModel({label:t[s(231)],class:t[s(265)],withText:!0,role:s(229),_action:t[s(227)]})};i[s(248)][s(245)](s(264)).to(e,s(219),i=>s(230)!=typeof t[s(264)]||!i||t[s(264)](e)),o[s(240)](i)}return o}(e,i);return e[n(245)](n(219)).to(o,n(242)),o[n(237)][n(225)]({label:at(r,n(251)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(228)]({attributes:{class:[n(261),s.if(n(219),n(238))]},on:{click:s.to(t=>t[n(234)]())}}),o.on(n(241),t=>{const i=n;e[i(243)]&&i(230)==typeof t[i(224)][i(252)]&&t[i(224)][i(252)](e)}),(0,It.addListToDropdown)(o,a,{role:n(236)}),o[n(256)](e,n(255),(t,s,r)=>{const a=n;if(r)for(const t of o[a(222)][a(263)]){const n=t[a(253)][a(266)],s=i[a(239)](t=>t[a(227)]===n[a(252)])[a(250)];t[a(250)]=void 0===s||s(e)}}),o}(this,n):"",this[r(200)]&&this[r(200)][r(169)](r(197)).to(this),this[r(209)]({tag:r(191),attributes:{class:["ck",r(195),r(166),o.if(r(203),r(161))]},children:[{tag:r(191),attributes:{class:["ck",r(195),r(219),o.if(r(197),r(156),t=>!t),o.if(r(158),r(213)),o.if(r(210),r(193)),o.if(r(202),r(190))]},children:[this[r(186)],{tag:r(177),attributes:{class:["ck",r(211)]},children:[{text:o.to(r(174))}]},{tag:r(191),attributes:{class:["ck",r(187)]},children:[{tag:"ul",attributes:{class:["ck",r(205)]},children:a}]},this[r(200)]],on:{click:o.to(t=>{const e=r;t[e(159)][e(176)](e(157))||this[e(196)]&&this[e(197)]&&this[e(188)](e(204),{id:this.id})})}}]})}[Ye(181)](){const t=Ye;super[t(181)]();const e=this[t(186)][t(175)][t(172)];this[t(189)](e,t(163),()=>{const i=t;this[i(198)]&&!e[i(185)]||this[i(188)](i(180),{id:this.id,name:e[i(185)]}),e[i(185)]||(e[i(185)]=this[i(164)]?this[i(164)]:this[i(174)])})}[Ye(204)](){this[Ye(158)]=!0}[Ye(214)](){this[Ye(158)]=!1}[Ye(212)](){this[Ye(210)]=!0}[Ye(165)](){this[Ye(210)]=!1}}class Ke extends Error{}class Xe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Ke{}class ni extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class si extends Ke{}class ri extends Ke{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Di extends Mi{static get instance(){return null===Vi&&(Vi=new Di),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Ei.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:Dn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Jn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const Wi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Un(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Gi{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Ji{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Qi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ki{static fromOpts(t){return Ki.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),Wi.clear(),Ui.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Ki.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ki.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return Bi(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Gi(t,this.intl,e)}relFormatter(t={}){return new Ji(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Qi,...e}),$i.set(t,e)}return e}(this.locale):Qi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Xi=null;class tn extends Mi{static get utcInstance(){return null===Xi&&(Xi=new tn(0)),Xi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class en extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function nn(t,e){if(Dn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return En(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Di.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Ki.resetCache(),ji.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Kn(c,e,i)):u>Kn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function Rn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function An(t,e){if(!Dn(t.localWeekday)||!Dn(t.localWeekNumber)||!Dn(t.localWeekYear)){if(!Dn(t.weekday)||!Dn(t.weekNumber)||!Dn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Dn(t.localWeekday)||(t.weekday=t.localWeekday),Dn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Dn(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Mn(t){const e=Cn(t.year),i=Wn(t.month,1,12),n=Wn(t.day,1,Gn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Vn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Dn(t){return void 0===t}function En(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Wn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hn(t){return Dn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Dn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Dn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Gn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Jn(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Qn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Kn(t,e=4,i=1){const n=Qn(t,e,i),s=Qn(t+1,e,i);return(Yn(t)-n+s)/7}function Xn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF:Ai};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Un(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Hn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rs=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),As=RegExp(`(?:T${Rs.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Vs=Ts("year","ordinal"),Ds=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Es=RegExp(`(?: ${Ds.source})?`);function Cs(t,e,i){const n=t[e];return Dn(n)?i:Hn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ls(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),zs=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ws(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?Xn(Hn(e)):Hn(e),month:as.indexOf(i)+1,day:Hn(n),hour:Hn(s),minute:Hn(r)};return o&&(a.second=Hn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Zs=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Hs(e,s,n,i,r,o,a);let f;return f=c?Us[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bs=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ys=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,s,n,i,r,o,a),tn.utcInstance]}function Js(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,a,i,n,s,r,o),tn.utcInstance]}const Qs=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,As),Ks=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,As),Xs=Is(/(\d{4})-?(\d{3})/,As),tr=Is(Rs),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ls),ir=Ss(Ms,Fs,js,Ls),nr=Ss(Vs,Fs,js,Ls),sr=Ss(Fs,js,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Es),ar=Is(Ds),cr=Ss(Fs,js,Ls);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Dn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(Dn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ki.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(En(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Ws])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ps,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ni(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Dn(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=$n(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Pn(e.values,t)||Pn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;En(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else En(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ki.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ki.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Ar(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Xn);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;Dn(t.z)||(i=ji.create(t.z)),Dn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Dn(t.q)||(t.M=3*(t.q-1)+1),Dn(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Dn(t.u)||(t.S=qn(t.u));const n=Object.keys(t).reduce((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e},{});return[n,i,e]}(i):[null,null,void 0];if(Pn(i,"a")&&Pn(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Jn(t),e,i)}function Gr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Gn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Jn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Qr(t,e,i=!0){return t.isValid?ws.create(Ki.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Xr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Ki.fromObject(e);let s,r;if(Dn(t.year))s=gn.now();else{for(const e of no)Dn(t[e])&&(t[e]=to[e]);const e=Mn(t)||Vn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Dn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Dn(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=En(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Ki.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Ki.fromObject(e)}):fo.invalid(Ur(s))}static fromMillis(t,e={}){if(En(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Ki.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(En(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Ki.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Ki.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=An(s,n),a=gn.now(),c=Dn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Dn(s.ordinal),l=!Dn(s.year),h=!Dn(s.month)||!Dn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Dn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Wn(t.weekNumber,1,Kn(t.weekYear,e,i)),r=Wn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Wn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Vn(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?Rn(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Qs,er],[Ks,ir],[Xs,nr],[tr,sr])}(t);return Jr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,qs])}(t);return Jr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Gs],[Bs,Gs],[Ys,Js])}(t);return Jr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Jr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Jr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Ki.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Ki.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Jn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Gn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Kn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Kn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Yr(i,e,t)}return qr(this,{ts:n,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=An(e,this.loc),s=!Dn(e.weekYear)||!Dn(e.weekNumber)||!Dn(e.weekday),r=!Dn(e.ordinal),o=!Dn(e.year),a=!Dn(e.month)||!Dn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):Dn(e.ordinal)?(l={...this.toObject(),...e},Dn(e.day)&&(l.day=Math.min(Gn(l.year,l.month),l.day))):l=Rn({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Gr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Gr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Kr(this,r);return o+="T",o+=Xr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Kr(this,"extended"===t):null}toISOWeekDate(){return Qr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Xr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Qr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Qr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Qr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Ki.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Jr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&En(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=go();return(po=function(t,e){return i[t-=427]})(t,e)}function vo(t,e){const i=po,n=fo[i(441)](t)[i(436)](e),s=fo[i(443)](),r=s[i(448)]({days:1})[i(440)](i(434));let o,a;return n[i(431)](s,i(434))?(o=n[i(440)](i(434))[i(445)](),a=n[i(439)]()):n[i(431)](r,i(434))?(o=r[i(445)](),a=n[i(439)]()):n[i(431)](s,i(433))?(o=n[i(440)](i(433))[i(445)](),a=n[i(429)]||""):n[i(431)](s,i(428))?(o=n[i(440)](i(449))[i(445)](),a=n[i(437)]||""):(o=n[i(440)](i(428))[i(445)](),a=String(n[i(428)])),{startDate:o,localizedPeriodName:a}}function go(){const t=["1323AAdSsI","local","73096qhjVOd","toJSDate","4qeguUA","1288900GwEPeF","minus","month","1956186DRIZcm","year","weekdayLong","8062775uAMAVe","hasSame","3284241GsiNCp","week","day","150770mhbIbM","setLocale","monthLong","1358096avIHxK","toRelativeCalendar","startOf","fromJSDate"];return(go=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(731231===parseInt(e(438))/1+parseInt(e(435))/2+-parseInt(e(432))/3+-parseInt(e(446))/4*(-parseInt(e(447))/5)+parseInt(e(427))/6+parseInt(e(430))/7+parseInt(e(444))/8*(-parseInt(e(442))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);var yo=i(45),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(t,e){const i=wo();return(bo=function(t,e){return i[t-=373]})(t,e)}function wo(){const t=["8yQjdSl","7488439wImWsh","remove","_revisionActions","startDate","1878990NRZacm","select","ck-revision-history-sidebar__time-period__revisions","60303VAyvBI","setTemplate","addRevision","add","removeRevision","2656250kQTLAZ","uiLanguage","1gImnBM","2029962KLxKFu","setName","localizedPeriodName","ck-revision-history-sidebar__time-period__label","revisionViews","delegate","span","locale","ck-revision-history-sidebar__time-period","createCollection","div","_requireRevisionName","find","361262kiZrFc","36wFvGdm","4WaGDyf","1336974qdhbVB"];return(wo=function(){return t})()}const _o=bo;!function(t){const e=bo,i=t();for(;;)try{if(567338===parseInt(e(405))/1*(parseInt(e(386))/2)+-parseInt(e(398))/3*(parseInt(e(388))/4)+parseInt(e(395))/5+parseInt(e(389))/6+-parseInt(e(391))/7*(parseInt(e(390))/8)+-parseInt(e(387))/9*(-parseInt(e(403))/10)+-parseInt(e(373))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[_o(394)];[_o(377)];[_o(393)];[_o(384)];constructor(t,e,i,n){const s=_o;super(t);const r=vo(e,this[s(380)][s(404)])[s(375)];this[s(394)]=e,this[s(377)]=this[s(382)](),this[s(393)]=i,this[s(384)]=n,this[s(377)][s(378)](s(396)).to(this),this[s(377)][s(378)](s(374)).to(this),this[s(399)]({tag:s(383),attributes:{class:["ck",s(381)]},children:[{tag:s(379),attributes:{class:["ck",s(376)]},children:[{text:r}]},{tag:s(383),attributes:{class:["ck",s(397)]},children:this[s(377)]}]})}[_o(400)](t){const e=_o,i=new Qe(this[e(380)],t,this[e(393)],this[e(384)]);this[e(377)][e(401)](i)}[_o(402)](t){const e=_o,i=this[e(377)][e(385)](e=>e.id===t.id);this[e(377)][e(392)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["2592171XVWjiW","8142054JTFUNl","2772170wnVUpb","content","ck-reset_all","2460582RzXwqo","ck-revision-history-sidebar__header","2RYcQLH","465926qNLarc","41118610HlATme","ck-revision-history-sidebar__header__label","setTemplate","120QuGqLh","461293GaszrQ","4mdYpfg","span","div","Revision history"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=351]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(746662===-parseInt(e(365))/1+-parseInt(e(364))/2*(parseInt(e(362))/3)+parseInt(e(353))/4*(parseInt(e(359))/5)+-parseInt(e(358))/6+parseInt(e(352))/7*(-parseInt(e(351))/8)+-parseInt(e(357))/9+parseInt(e(366))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(360)]=_t.IconHistory,this[e(368)]({tag:e(355),attributes:{class:["ck",e(361),e(363)]},children:[i,{tag:e(354),attributes:{class:["ck",e(367)]},children:[at(t,e(356))]}]})}}var Ro=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Dt();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;const Mo=Vo;function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=453]})(t,e)}function Do(){const t=["revisionViews","highlight","timePeriodViews","_addRevision","highlightRevisions","_revisionActions","isEnabled","225688JwcKtE","bindTemplate","14YeAzoO","remove","239839BNdSDA","485YecKYf","startDate","4pSMsnB","unhighlight","_getTimePeriodViewByStartDate","_revisions","some","ck-reset","3120255uJGhCT","delegate","render","14804nwJdwR","addRevision","setTemplate","set","locale","getTime","setName","div","find","createCollection","get","_requireRevisionName","select","34293ZZpnBZ","map","deselect","removeRevision","ck-revision-history-sidebar__timeline","add","uiLanguage","flat","createdAt","ck-disabled","6542328iPUCXs","revisionSelected","ck-revision-history-sidebar","selectRevision","375320OjADNn","_removeRevision","ck-rounded-corners","fire","revisionSetName"];return(Do=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(553443===parseInt(e(453))/1+parseInt(e(456))/2*(parseInt(e(478))/3)+parseInt(e(465))/4*(-parseInt(e(454))/5)+parseInt(e(488))/6+parseInt(e(506))/7*(-parseInt(e(504))/8)+-parseInt(e(462))/9+-parseInt(e(492))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends It.View{[Mo(499)];[Mo(459)];[Mo(502)];[Mo(476)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(505)];this[s(499)]=this[s(474)](),this[s(499)][s(463)](s(477)).to(this),this[s(499)][s(463)](s(471)).to(this),this[s(459)]=e,this[s(502)]=i,this[s(476)]=n,this.on(s(477),(t,e)=>{const i=s;this[i(495)](i(489),e)}),this.on(s(471),(t,e)=>{const i=s;this[i(495)](i(496),e)}),this[s(468)](s(503),!1),this[s(467)]({tag:s(472),attributes:{class:["ck",s(461),s(494),s(490)]},children:[new No(t),{tag:s(472),attributes:{class:["ck",s(482),r.if(s(503),s(487),t=>!t)]},children:this[s(499)]}]})}[Mo(464)](){const t=Mo;super[t(464)]();for(const e of this[t(459)])this[t(500)](e);this[t(459)].on(t(483),(e,i)=>{this[t(500)](i)}),this[t(459)].on(t(507),(e,i)=>{this[t(493)](i)})}get[Mo(497)](){const t=Mo;return this[t(499)][t(479)](e=>e[t(497)][t(479)](t=>t))[t(485)]()}[Mo(491)](t){const e=Mo;for(const i of this[e(497)])t&&t.id===i.id?i[e(477)]():i[e(480)]()}[Mo(501)](t){const e=Mo;for(const i of this[e(497)])t[e(460)](({id:t})=>t===i.id)?i[e(498)]():i[e(457)]()}[Mo(500)](t){const e=Mo,i=vo(t[e(486)],this[e(469)][e(484)])[e(455)];let n=this[e(499)][e(475)](0);n&&n[e(455)][e(470)]()===i[e(470)]()||(n=new Io(this[e(469)],i,this[e(502)],this[e(476)]),this[e(499)][e(483)](n)),n[e(466)](t)}[Mo(493)](t){const e=Mo,i=vo(t[e(486)],this[e(469)][e(484)])[e(455)];this[e(458)](i)[e(481)](t)}[Mo(458)](t){const e=Mo;return this[e(499)][e(473)](i=>i[e(455)][e(470)]()===t[e(470)]())}}const Co=Fo;function Fo(t,e){const i=Lo();return(Fo=function(t,e){return i[t-=179]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(784517===parseInt(e(234))/1*(-parseInt(e(211))/2)+-parseInt(e(202))/3+-parseInt(e(209))/4*(-parseInt(e(248))/5)+-parseInt(e(254))/6*(-parseInt(e(226))/7)+-parseInt(e(196))/8*(parseInt(e(182))/9)+-parseInt(e(185))/10*(-parseInt(e(253))/11)+parseInt(e(223))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends J.Plugin{[Co(249)];[Co(256)];[Co(186)];static[Co(210)]=[Co(237),Co(203),Co(262)];static[Co(231)]=function(){const t=Co;return{compareAgainstSelected:{name:t(214),action:({plugins:e},i)=>{const n=t,s=e[n(235)](ce),r=s[n(213)];let o=s[n(230)][n(246)],a=i.id;r[n(206)](o)>r[n(206)](a)&&([o,a]=[a,o]),s[n(245)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(235)](ce);return!(s[n(213)][n(247)](s[n(230)])[n(208)]>2||i[n(187)])}},restoreRevision:{name:t(189),action:(e,{id:i})=>{const n=t;e[n(229)][n(235)](n(238))[n(199)](i)},isVisible:({plugins:e},i)=>!!e[t(235)](ce)[t(213)][t(242)](i.id)},nameRevision:{name:t(184),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(235)](ce),o=r[s(213)][s(218)](i);r[s(245)](i,o),n[s(190)](),n[s(197)][s(180)]()}}}}();static get[Co(252)](){return Co(204)}static get[Co(244)](){return!0}static get[Co(188)](){return!0}static get[Co(259)](){return[ce]}constructor(t){const e=Co;super(t),this[e(249)]=t[e(191)][e(235)](ce),this[e(256)]=this[e(249)][e(213)],this[e(186)]=null}[Co(212)](){const t=Co,e=this[t(256)][t(215)],i=this[t(207)](),n=this[t(255)][t(229)][t(235)](t(243));this[t(186)]=new Eo(this[t(255)][t(222)],e,i,this[t(255)][t(229)][t(235)](t(260))),this[t(186)].on(t(205),this[t(217)][t(251)](this)),this[t(186)].on(t(236),this[t(192)][t(251)](this)),this[t(186)][t(251)](t(227)).to(this[t(249)]),this[t(186)][t(263)].on(t(183),(e,i)=>{const n=t;i[n(195)].on(n(183),(t,e)=>{const i=n;e[i(251)](i(227),i(233)).to(this[i(249)])})}),this[t(186)][t(261)](),this[t(221)](this[t(255)][t(225)],t(198),this[t(240)][t(251)](this)),this[t(221)](this[t(249)],t(228),this[t(193)][t(251)](this)),n[t(216)](this[t(186)][t(194)])}[Co(257)](){const t=Co;this[t(186)][t(194)][t(224)](),this[t(186)][t(257)]()}[Co(240)](){const t=Co,e=this[t(256)][t(201)](0);if(e){const i=this[t(256)][t(218)](e.id);this[t(249)][t(245)](e,i)}}[Co(217)](t,e){const i=Co,n=this[i(256)][i(201)](e.id),s=this[i(256)][i(218)](n.id);this[i(249)][i(245)](n,s)}[Co(192)](t,e){const i=Co;this[i(256)][i(201)](e.id)[i(219)](e[i(258)])}[Co(193)](t,e,i){const n=Co,s=this[n(256)][n(247)](i);s[n(208)]>2?(this[n(186)][n(200)](s),this[n(186)][n(232)](null)):(this[n(186)][n(200)]([]),this[n(186)][n(232)](s[0]))}[Co(207)](){const t=Co,e=this[t(255)],i=jo[t(231)],n=e[t(229)][t(235)](t(179))||jo[t(210)];if(n[t(208)])return n[t(181)](n=>{const s=t,r=s(239)==typeof n?Object[s(250)]({},i[n]):n;return r[s(220)]=r[s(220)][s(251)](this,e),r[s(241)]&&(r[s(241)]=r[s(241)][s(251)](this,e)),r})}}function Lo(){const t=["focus","plugins","_handleRevisionSetName","_handleDiffChange","element","revisionViews","145016UYjqTC","fieldView","ready","restoreRevisionCallback","highlightRevisions","getRevision","1654131jcKynJ","restoreRevision","RevisionsSidebar","revisionSelected","getIndex","_createRevisionActions","length","83540MMwGyK","defaultRevisionActions","581330Mxkhec","init","repository","Compare against selected","_revisions","appendChild","_handleRevisionSelected","getEarlierVisibleRevision","setName","action","listenTo","locale","1496844Xkywfp","remove","data","672zHEkcS","isEnabled","change:diff","config","diff","availableRevisionActions","selectRevision","isReady","1xjaxpt","get","revisionSetName","compareAgainstSelected","revisionHistory","string","_handleEditorDataReady","isVisible","getLaterVisibleRevision","revisionHistory.viewerSidebarContainer","isOfficialPlugin","compare","newRevisionId","getRevisionsInDiff","325SvhQrS","_revisionViewer","assign","bind","pluginName","2761154gNLhkm","14856RrZxoN","editor","_revisionsRepository","destroy","name","requires","revisionHistory.requireRevisionName","render","nameRevision","timePeriodViews","revisionHistory.revisionActions","select","map","171hjleFj","add","Name this revision","10rvBEGN","_sidebarView","isSelected","isPremiumPlugin","Restore this revision"];return(Lo=function(){return t})()}const Po=zo;function zo(t,e){const i=Wo();return(zo=function(t,e){return i[t-=128]})(t,e)}function Wo(){const t=["name","6535150WFuZxv","8DINCEV","getRoot","attachDomRoot","ready","1YYNOjx","toolbar","viewportOffset","_toolbarConfig","20854UeVyYB","view","4xlajrj","limiterElement","_initToolbar","385VgeaAY","_view","addToolbar","replace","element","viewportTopOffset","editing","98ayofSn","11219490NlNbkI","2854188nLioyx","editor","_elementReplacer","setEditableElement","focusTracker","bind","501380bHkxHV","editable","fire","330558snSmwY","restore","rootName","get","componentFactory","document","isActive","stickyPanel","destroy","834564UQCuQP","config","detachDomRoot","init","fillFromConfig","isFocused","render"];return(Wo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(690738===parseInt(e(175))/1*(-parseInt(e(130))/2)+-parseInt(e(144))/3+-parseInt(e(132))/4*(parseInt(e(170))/5)+parseInt(e(153))/6*(-parseInt(e(142))/7)+parseInt(e(171))/8*(parseInt(e(143))/9)+parseInt(e(150))/10+parseInt(e(135))/11*(parseInt(e(162))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends It.EditorUI{[Po(136)];[Po(129)];[Po(146)];get[Po(131)](){return this[Po(136)]}constructor(e,i){const n=Po;super(e),this[n(136)]=i,this[n(129)]=(0,It.normalizeToolbarConfig)(e[n(163)][n(156)](n(176))),this[n(146)]=new t.ElementReplacer}get[Po(139)](){const t=Po;return this[t(131)][t(139)]}[Po(165)](t){const e=Po,i=this[e(145)],n=this[e(131)],s=i[e(141)][e(131)],r=n[e(151)],o=s[e(158)][e(172)]();r[e(169)]=o[e(155)],n[e(168)]();const a=r[e(139)];this[e(147)](r[e(169)],a),n[e(151)][e(149)](e(167)).to(this[e(148)]),s[e(173)](a),this[e(146)][e(138)](t,this[e(139)]),this[e(134)](),this[e(152)](e(174))}[Po(161)](){const t=Po;super[t(161)]();const e=this[t(131)],i=this[t(145)][t(141)][t(131)];this[t(146)][t(154)](),i[t(164)](e[t(151)][t(169)]),e[t(161)]()}[Po(134)](){const t=Po,e=this[t(131)];e[t(160)][t(149)](t(159)).to(this[t(148)],t(167)),e[t(160)][t(133)]=e[t(139)],e[t(160)][t(149)](t(140)).to(this,t(128),({top:t})=>t),e[t(176)][t(166)](this[t(129)],this[t(157)]),this[t(137)](e[t(176)])}}var Ho=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=Rt().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Dt();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-=439]})(t,e)}function Bo(){var t=["render","main","2163ZybShz","shouldToolbarGroupWhenFull","112933ukAucB","stickyPanel","editable","8938968DmCjpJ","18lIKLpl","12uTLjna","5613870CthEQf","6062kUJJrj","content","768jxrLzc","top","4416UpTOzh","287881BBLxYI","toolbar","3060ZYAnSN","_editable","3695140fBsBjZ","add"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(936026===parseInt(e(451))/1*(parseInt(e(456))/2)+-parseInt(e(449))/3*(-parseInt(e(443))/4)+parseInt(e(445))/5+parseInt(e(440))/6*(parseInt(e(458))/7)+-parseInt(e(454))/8+parseInt(e(455))/9*(parseInt(e(457))/10)+parseInt(e(441))/11*(-parseInt(e(460))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[qo(444)];[qo(452)];[qo(442)];get[qo(453)](){return this[qo(444)]}constructor(t,e,i={}){var n=qo;super(t),this[n(452)]=new It.StickyPanelView(t),this[n(442)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(450)]}),this[n(444)]=new It.InlineEditableUIView(t,e)}[qo(447)](){var t=qo;super[t(447)](),this[t(452)][t(459)][t(446)](this[t(442)]),this[t(439)][t(446)](this[t(452)]),this[t(448)][t(446)](this[t(453)])}}const Go=Jo;function Jo(t,e){const i=Ko();return(Jo=function(t,e){return i[t-=241]})(t,e)}!function(t){const e=Jo,i=t();for(;;)try{if(911712===-parseInt(e(253))/1+-parseInt(e(245))/2*(parseInt(e(267))/3)+parseInt(e(263))/4+parseInt(e(261))/5+-parseInt(e(241))/6+-parseInt(e(244))/7*(-parseInt(e(269))/8)+-parseInt(e(255))/9*(-parseInt(e(256))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Qo extends((0,J.ElementApiMixin)(J.Editor)){[Go(266)];get ui(){return this[Go(266)]}constructor(t,e){const i=Go;super(e),this[i(242)]=t,this[i(249)][i(259)][i(248)]();const n=new Yo(this[i(251)],this[i(246)][i(268)],{shouldToolbarGroupWhenFull:!0});this[i(266)]=new Uo(this,n)}[Go(247)](){const t=Go;return this[t(258)](),this.ui[t(247)](),super[t(247)]()}static async[Go(243)](t,e){const i=Go,n=new this(t,e);return await n[i(264)](),await n.ui[i(252)](t),await n[i(260)][i(252)](n[i(254)][i(262)](i(265))||""),n[i(250)](i(257)),n}}function Ko(){const t=["18418070xcaQeH","ready","updateSourceElement","document","data","3807865mviqYu","get","3110556weulYd","initPlugins","initialData","_ui","12645AxRNOf","view","10842856SmbSIx","3258732ZsTZRY","sourceElement","create","7iJFjvU","800YoKjpN","editing","destroy","createRoot","model","fire","locale","init","1595542NRepgN","config","9TCewAi"];return(Ko=function(){return t})()}const Xo=ea;function ta(){const t=["indexOf","changesNavigation","from","setSelection","display","_recalculatePageBreaks","9209792XFdikq","markers","document","disableReadOnlyMode","isAnonymous","DocumentOutlineUI","isEnabled","save","pluginName","requires","revisionHistory.closeRevisionViewerCallback","define","block","hide","commands","Dialog","getRevisionRootsAttributes","adapter","enableReadOnlyMode","restoreRevision","_closeRevisionViewer","addRevisionData","plugins","config","error","refreshVisibility","create","isOpen","showRevisionViewerCallback","uiLanguage","catch","toJSON","_update","revisionHistory.requireRevisionName","RevisionsRepository","27948NyCIUt","revisionHistory","_restoreRevision","757440WWeTpL","fromVersion","destroy","get","_enhanceShowRevisionViewerCallback","revisionHistory.viewerEditorElement","isAttached","rootName","_enhanceCloseRevisionViewerCallback","repository","createdAt","8119769vkpzCA","selection","toVersion","$graveyard","PaginationLookup","isReadOnly","parse","locale","revisionHistory.viewerContainer","Restored","bind","includes","isOfficialPlugin","restrictedEditingException","then","Autosave","enqueueChange","result","createRangeIn","DocumentOutline","name","addRoot","fromCharCode","init","_showRevisionViewer","RevisionHistory","revisionHistory.showRevisionViewerCallback","set","10zTDmxV","Annotations","setAttribute","model","isRevisionViewerOpen","RevisionTracker","getMarkersGroup","_viewerEditor","getRevision","_getRevisionViewerEditorConfig","getAttributeKeys","toLocaleDateString","addUser","getRevisionDocumentData","roots","revisionHistory.restoreRevisionCallback","removeMarker","getUser","isPremiumPlugin","numeric","element","removeAttribute","detachRoot","removeSelectionAttribute","refreshPositioning","data","6ICgxbq","RevisionViewer","isReady","216702akDFjt","closeRevisionViewerCallback","36089230CWlVvW","remove","revision-history-viewer-opened","RestrictedEditingMode","loadRevisionData","push","style","toLocaleTimeString","saveRevision","end","getRoot","map","join","creator","long","RevisionViewerIntegration","translations","exitToEditing","Users","insert","2522895hQoaZM","view","change","RevisionHistoryUtils","lazyRoots","652OoTWlU","revisionHistory.editorContainer","RevisionHistoryUI","editor","users","revision-history-missing-configuration","_cleanUp","update","keys","toolbar","getRevisions","none","has"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=380]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(883867===-parseInt(e(476))/1*(-parseInt(e(505))/2)+parseInt(e(434))/3*(parseInt(e(380))/4)+-parseInt(e(527))/5+parseInt(e(502))/6*(parseInt(e(448))/7)+parseInt(e(399))/8+parseInt(e(437))/9+-parseInt(e(507))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Xo(382),Xo(510)];class na extends J.Plugin{[Xo(465)];static get[Xo(407)](){return Xo(522)}static get[Xo(460)](){return!0}static get[Xo(494)](){return!0}constructor(t){const e=Xo;function i(t){const e=ea;return t[e(518)](t=>String[e(470)](t))[e(519)]("")}super(t),this[e(465)]=e(516),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class sa extends J.Plugin{[Xo(483)];static get[Xo(407)](){return Xo(473)}static get[Xo(460)](){return!0}static get[Xo(494)](){return!0}static get[Xo(408)](){return[vt,qt]}constructor(e){const i=Xo;if(super(e),!this[i(383)][i(422)][i(440)](i(435)))throw new t.CKEditorError(i(385),this);this[i(483)]=null,this[i(475)](i(480),!1),this[i(383)][i(422)][i(410)](i(474),t=>this[i(472)]({...t,translations:this[i(383)][i(455)][i(523)]})),this[i(383)][i(422)][i(410)](i(409),t=>this[i(419)](t)),this[i(383)][i(422)][i(410)](i(491),t=>this[i(436)](t)),this[i(383)][i(422)][i(410)](i(432),!1),this[i(441)](),this[i(445)]()}set[Xo(416)](t){const e=Xo;this[e(383)][e(421)][e(440)](e(481))[e(416)]=t}get[Xo(416)](){const t=Xo;return this[t(383)][t(421)][t(440)](t(481))[t(416)]}[Xo(420)](t){const e=Xo;return this[e(383)][e(421)][e(440)](e(481))[e(420)](t)}[Xo(484)](t){const e=Xo;return this[e(383)][e(421)][e(440)](e(433))[e(484)](t)}[Xo(390)](t){const e=Xo;return this[e(383)][e(421)][e(440)](e(433))[e(390)](t||{toJSON:!1})}[Xo(485)](){const e=Xo,i=this[e(383)],n=(0,Q.sanitizeEditorConfig)(i,ia),s=i[e(421)][e(440)](e(481)),r=i[e(421)][e(440)](e(525))[e(384)];return n[e(389)]=[e(524),e(418),e(394)],delete n[e(531)],n[e(421)][e(512)](na,ce,Ne,class extends J.Plugin{static get[e(408)](){return[ce,e(525)]}[e(471)](){const n=e,o=this[n(383)][n(421)][n(440)](n(525));for(const t of r)t[n(403)]||o[n(493)](t.id)||o[n(488)](t);const a=s[n(446)][n(390)]();let c=null;const u=this[n(383)][n(421)][n(440)](n(503));u[n(416)]=s[n(416)],u[n(458)](n(405)).to(s),this[n(383)][n(413)][n(440)](n(418))[n(458)](n(405)).to(i,n(453),t=>!t);for(const e of a){const i=null===e[n(520)];if(i&&e[n(450)]===e[n(438)])continue;const r=e[n(430)]();u[n(420)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(431)](r,o);else if(!o){const e=a[u(430)]();e.id=(0,t.uid)(),s[u(515)](e,a[u(450)])[u(462)](t=>{c=t})}}else e[u(431)](r,o)})}}},jo),n}[Xo(441)](){const t=Xo,e=this[t(383)][t(422)][t(440)](t(435))[t(427)];this[t(383)][t(422)][t(475)](t(474),async()=>{const i=t;this[i(383)][i(417)](i(509));const n=this[i(383)][i(421)][i(440)](i(481));if(this[i(383)][i(421)][i(392)](i(463))){const t=this[i(383)][i(421)][i(440)](i(463));await t[i(406)]()}else await n[i(387)]();if(this[i(383)][i(421)][i(392)](i(452))&&this[i(383)][i(421)][i(440)](i(452))[i(398)](),this[i(383)][i(421)][i(392)](i(414))){const t=this[i(383)][i(421)][i(440)](i(414));t[i(426)]&&t[i(412)]()}const s=this[i(485)]();return e(s)[i(462)](t=>{const e=i;return this[e(483)]=t,this[e(383)][e(421)][e(392)](e(477))&&this[e(383)][e(421)][e(440)](e(477))[e(424)](),this[e(383)][e(421)][e(392)](e(467))&&(this[e(383)][e(421)][e(440)](e(404))[e(528)][e(496)][e(513)][e(397)]=e(391)),t})[i(429)](t=>(console[i(423)](t),this[i(383)][i(402)](i(509)),null))})}[Xo(445)](){const t=Xo,e=this[t(383)][t(422)][t(440)](t(435))[t(506)];this[t(383)][t(422)][t(475)](t(409),()=>(this[t(383)][t(421)][t(392)](t(452))&&this[t(383)][t(421)][t(440)](t(452))[t(398)](),this[t(383)][t(421)][t(392)](t(467))&&(this[t(383)][t(421)][t(440)](t(404))[t(528)][t(496)][t(513)][t(397)]=""),this[t(483)][t(421)][t(440)](t(503))[t(386)](),e(this[t(483)])[t(462)](()=>{const e=t;if(this[e(383)][e(402)](e(509)),this[e(483)]=null,this[e(383)][e(421)][e(392)](e(477))){const t=this[e(383)][e(421)][e(440)](e(477));t[e(424)](),t[e(500)]()}})))}[Xo(472)](t){const e=Xo,i=this[e(383)][e(422)][e(440)](e(381)),n=this[e(383)][e(422)][e(440)](e(456)),s=this[e(383)][e(422)][e(440)](e(442));return Qo[e(425)](s,t)[e(462)](t=>(n[e(513)][e(397)]=e(411),i[e(513)][e(397)]=e(391),this[e(480)]=!0,t))}[Xo(419)](t){const e=Xo,i=this[e(383)][e(422)][e(440)](e(381));return this[e(383)][e(422)][e(440)](e(456))[e(513)][e(397)]=e(391),i[e(513)][e(397)]="",this[e(480)]=!1,t[e(439)]()}async[Xo(436)](t){const e=Xo,i=this[e(383)],n=this[e(483)][e(421)][e(440)](e(503)),s=i[e(421)][e(440)](e(481)),r=i[e(421)][e(440)](e(530)),o=n[e(446)][e(484)](t);let a,c,u;try{await r[e(511)](o,this[e(416)]),a=r[e(489)](o),c=r[e(415)](o)}catch(t){return void console[e(423)](t)}i[e(479)][e(529)](t=>{const n=e;for(const e of Array[n(395)](i[n(479)][n(400)][n(482)](n(461))))t[n(492)](e)}),n[e(504)]=!1,i[e(479)][e(464)](t=>{const n=e;t[n(396)](null),t[n(499)](i[n(479)][n(401)][n(449)][n(486)]());const s=Object[n(388)](a);for(const e of i[n(479)][n(401)][n(490)])n(451)!=e[n(444)]&&e[n(443)]()&&!s[n(459)](e[n(444)])&&t[n(498)](e);for(const e of s){let s=i[n(479)][n(401)][n(517)](e);s&&s[n(443)]()||(s=t[n(469)](e));const r=c[e],o=Object[n(388)](r),u=a[e];for(const e of s[n(486)]())o[n(459)](e)||t[n(497)](e,s);for(const i of o)t[n(478)](i,c[e][i],s);t[n(508)](t[n(466)](s)),t[n(526)](i[n(501)][n(454)](u,s),s,0)}});const l=at(i[e(455)],e(457));return u=o[e(468)]?-1==o[e(468)][e(393)](l)?l+": "+o[e(468)]:o[e(468)]:l+": "+o[e(447)][e(487)](i[e(455)][e(428)],{month:e(521),day:e(495)})+", "+o[e(447)][e(514)](i[e(455)][e(428)],{hour:e(495),minute:e(495)}),await s[e(515)]({name:u}),n[e(504)]=!0,i[e(422)][e(440)](e(435))[e(506)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=252]})(t,e)}function oa(){var t=["110430zxTeew","9RxyUvu","4414473jDvBLE","849606ezHZAj","24004610DVNssO","1426IWnmPG","6078hUGYmS","4YsuRvq","5494405YieEoa","10524616FwjQPl"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(794011===parseInt(e(261))/1+-parseInt(e(256))/2*(parseInt(e(257))/3)+-parseInt(e(258))/4*(parseInt(e(259))/5)+parseInt(e(254))/6+-parseInt(e(253))/7+-parseInt(e(260))/8*(-parseInt(e(252))/9)+parseInt(e(255))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>le,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>$t,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>ea,RevisionViewerLoadingOverlay:()=>Ie,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,R=void 0){const A=R?.(t,e,i,n);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,R));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,R),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,R),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,n,s,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function A(t){return R(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const E=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&V(n,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function U(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?H(e)?Z(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function $(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const q=B;function B(t,e){const i=Y();return(B=function(t,e){return i[t-=216]})(t,e)}function Y(){const t=["5551860CjHQmP","name","5673857eNVrkd","fire","33195XBaBmt","diffData","attributes","1hqJIMy","removeAttribute","createdAt","map","creator","toJSON","model","setName","_update","setAttribute","869lwGRmR","fromVersion","authors","4rpxZFU","8pRNsUx","set","541066oqsiDH","2691828hHXUfi","toVersion","authorsIds","7701579XbZgBb","creatorId","26120BbevwD"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(500666===-parseInt(e(240))/1*(-parseInt(e(226))/2)+parseInt(e(227))/3+-parseInt(e(223))/4*(-parseInt(e(237))/5)+-parseInt(e(233))/6+-parseInt(e(235))/7+-parseInt(e(224))/8*(-parseInt(e(230))/9)+-parseInt(e(232))/10*(-parseInt(e(220))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[q(244)];[q(222)];[q(238)];[q(228)];[q(221)];[q(216)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(244)]=e[i(244)]||null,this[i(222)]=e[i(222)]||[],this[i(238)]=e[i(238)]||null,this[i(228)]=e[i(228)]||0,this[i(221)]=e[i(221)]||0,this[i(225)](i(234),e[i(234)]||""),this[i(225)](i(242),e[i(242)]||new Date),this[i(225)](i(239),e[i(239)]||{})}[q(217)](t){this[q(218)]({name:t})}[q(219)](t,e){const i=q,n=A(this[i(239)]);U(n,t,e),this[i(218)]({attributes:n})}[q(241)](t){const e=q,i=A(this[e(239)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return $(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return $(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(218)]({attributes:i})}[q(218)](t,e=!1){const i=q;let n=!1;const s={id:this.id},r=[i(234),i(242),i(238),i(222),i(239),i(228),i(221),i(231)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(222)]&&(s[i(229)]=s[i(222)][i(243)](t=>t.id),delete s[i(222)]),this[i(236)](i(218),s,e))}[q(245)](){const t=q;return{id:this.id,name:this[t(234)],creatorId:this[t(244)]?this[t(244)].id:null,authorsIds:this[t(222)][t(243)](t=>t.id),diffData:this[t(238)],createdAt:this[t(242)],attributes:this[t(239)],fromVersion:this[t(221)],toVersion:this[t(228)]}}}var G=i(782),K=i(211),X=i(783);function Q(){const t=["attributes","isNaN","plugins","4144231Mgmkpv","add","afterInit","getRevisionsInDiff","fromVersion","from","oldRevisionId","addRevision","96CdYcWB","length","createdAt","755ZGefOv","isOfficialPlugin","reverse","getIndex","newRevisionId","later","getRevisionsIterator","createRevision","27064480dJBdcg","2533554siKfSC","getRevision","get","push","editor","requires","toVersion","18280OtSDEO","8FUuyFZ","data","RevisionsRepository","fromCharCode","diffData","650842ZOvzFE","Users","join","authorsIds","name","809964FRgzmn","isPremiumPlugin","creatorId","_revisions","getRevisions","toJSON","map","getUser","getLaterVisibleRevision","29046EeCrAO","pluginName","earlier","getEarlierVisibleRevision","href"];return(Q=function(){return t})()}const tt=et;function et(t,e){const i=Q();return(et=function(t,e){return i[t-=162]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(706115===-parseInt(e(198))/1+-parseInt(e(185))/2+-parseInt(e(173))/3*(-parseInt(e(192))/4)+-parseInt(e(176))/5*(parseInt(e(212))/6)+parseInt(e(165))/7+parseInt(e(193))/8*(-parseInt(e(203))/9)+parseInt(e(184))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Q);class it extends G.Plugin{[tt(206)];static get[tt(190)](){return[K.Users]}static get[tt(213)](){return tt(195)}static get[tt(177)](){return!0}static get[tt(204)](){return!0}get[tt(174)](){const t=tt;return this[t(206)][t(174)]}constructor(e){const i=tt;super(e),this[i(206)]=new t.Collection}[tt(167)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=et;for(const e in window)if(window[k([78,117,109,98,101,114])][i(163)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=et;return t[e(209)](t=>String[e(196)](t))[e(200)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const n=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1756166400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=et,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(216)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[tt(183)](t){const e=tt,i=this[e(189)][e(164)][e(187)](e(199));return new J({id:t.id,name:t[e(202)],creator:t[e(205)]?i[e(210)](t[e(205)]):null,diffData:t[e(197)]||t[e(194)],authors:t[e(201)][e(209)](t=>i[e(210)](t)),createdAt:new Date(t[e(175)]),attributes:t[e(162)],fromVersion:t[e(169)],toVersion:t[e(191)]})}[tt(172)](t,e=0){const i=tt;this[i(206)][i(166)](t,e)}[tt(186)](t){const e=tt;return this[e(206)][e(187)](t)}[tt(207)](t={toJSON:!1}){const e=tt,i=Array[e(170)](this[e(206)]);return i[e(178)](),t[e(208)]?i[e(209)](t=>t[e(208)]()):i}[tt(179)](t){const e=tt;return this[e(206)][e(179)](t)}[tt(215)](t){const e=tt,[,i]=this[e(182)](t,{direction:e(214)});return i}[tt(211)](t){const e=tt,[,i]=this[e(182)](t,{direction:e(181)});return i}[tt(168)](t){const e=tt,i=[];for(const n of this[e(182)](t[e(180)]))if(i[e(188)](n),n.id===t[e(171)])break;return i}*[tt(182)](t,{direction:e=tt(214),filter:i=()=>!0}={}){const n=tt,s=n(214)===e?1:-1;let r=this[n(206)][n(187)](t),o=this[n(179)](r);for(yield r;r;){if(o+=s,r=this[n(186)](o),!r)return;i(r)&&(yield r)}}}function nt(){const t=["isOfficialPlugin","collaboration.channelId","render","innerHTML","from","toData","insertions","pluginName","isAttached","_typeCharToViewClass","attributesAfter","isPremiumPlugin","processor","_setCustomProperty","_viewClassToTypeChar","revision-end","revision-start","attributes","useFillerType","data","name","data-revision-","diffData","document","string","startsWith","10969vWnufQ","attachChange","type","children","fillerOffset","2460174MVeQmV","domDocument","_appendChild","domChildrenToView","_getViewFromDiffObj","viewChildrenToDom","editing","parse","_getTypeCharForViewElement","domConverter","filter","div","3126rptQuq","7499745JvDrCj","customProperties","length","map","view","2776610LzXCOk","editor","htmlProcessor","config","getRevisionDocumentData","getRevisionRootsAttributes","getFillerOffset","append","4399070jpjsuh","RevisionHistoryUtils","getRevision","default","3853756FDOaIb","_removeRevisionMarkers","1aQeGTv","forEach","constructor","_makeModelFromViewString","get","loadRevisionData","100848TllLIj","childNodes","toModel","marked","8jEpOvk","createElement"];return(nt=function(){return t})()}const st=rt;function rt(t,e){const i=nt();return(rt=function(t,e){return i[t-=487]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(779060===-parseInt(e(514))/1*(-parseInt(e(520))/2)+-parseInt(e(557))/3+parseInt(e(512))/4+parseInt(e(508))/5+-parseInt(e(494))/6*(-parseInt(e(552))/7)+-parseInt(e(524))/8*(parseInt(e(495))/9)+-parseInt(e(500))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class ot extends G.Plugin{static get[st(533)](){return st(509)}static get[st(526)](){return!0}static get[st(537)](){return!0}[st(540)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(535)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(519)](t,e){const i=st;if(t[i(548)]||!e)return;const n=this[i(501)][i(503)][i(518)](i(527)),s=await e[i(510)]({channelId:n,revisionId:t.id});t[i(548)]=s[i(548)]}[st(504)](t){const e=st,i={};for(const n in t[e(548)]){if(t[e(548)][n][e(553)]&&!t[e(548)][n][e(553)][e(534)])continue;const s=this[e(513)](JSON[e(489)](t[e(548)][n][e(532)])),r=this[e(501)][e(488)][e(499)][e(549)],o=new X.ViewDocumentFragment(r,s[e(498)](t=>this[e(561)](t,!1)));this[e(501)][e(545)][e(538)][e(544)](e(523)),i[n]=this[e(501)][e(545)][e(538)][e(531)](o),this[e(501)][e(545)][e(538)][e(544)](e(511))}return i}[st(505)](t){const e=st,i={};for(const n in t[e(548)])t[e(548)][n][e(553)]&&!t[e(548)][n][e(553)][e(534)]||(i[n]=t[e(548)][n][e(536)]||{});return i}[st(490)](t){const e=st;return this[e(540)][e(518)](t[e(516)])}[st(561)](t,e){const i=st,n=this[i(501)][i(488)][i(499)][i(549)];if(i(550)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(554)]||"r"==t[i(554)]?[]:t[i(555)][i(498)](t=>this[i(561)](t,e));const o=this[i(535)][i(518)](t[i(554)])||X.ViewElement,a=this[i(501)][i(545)][i(502)][i(491)];if(s=new o(n,t[i(546)],t[i(543)],r),"u"==t[i(554)]&&t[i(555)][0]){const r=t[i(555)][0];if(s[i(528)]=function(t){const e=i,n=t[e(525)](e(493));return n[e(529)]=r,n[e(521)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(559)](s);const e=Array[i(530)](a[i(487)](t,{bind:!1})),r=a[i(558)][i(525)](i(493));r[i(507)](...e),s=Array[i(530)](a[i(560)](r))[0]}}else if("r"==t[i(554)]&&t[i(555)][0]){const r=t[i(555)][0];if(s[i(528)]=function(t){t[i(529)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(559)](s);const e=Array[i(530)](a[i(487)](t,{bind:!1})),r=a[i(558)][i(525)](i(493));r[i(507)](...e);const o=Array[i(530)](a[i(560)](r));o[i(497)]>1?s[i(559)](o):s=o[0]}}if(t[i(496)])for(const[e,n]of t[i(496)])s[i(539)](e,n);const c=void 0===t[i(556)]?null:t[i(556)];return null!==c&&(s[i(506)]=()=>c),s}}[st(517)](t){const e=st,i=JSON[e(489)](t),n=this[e(501)][e(488)][e(499)][e(549)],s=new X.ViewDocumentFragment(n,i[e(498)](t=>this[e(561)](t,!0)));return this[e(501)][e(545)][e(522)](s)}[st(513)](t){const e=st;return(t=t[e(492)](t=>!t[e(546)]||e(542)!==t[e(546)]&&e(541)!==t[e(546)]))[e(515)](t=>{const i=e;i(550)!=typeof t&&(t[i(555)]=this[i(513)](t[i(555)]),t[i(543)]=t[i(543)][i(492)](t=>!t[0][i(551)](i(547))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),R=s(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const A=(n=n??new Map).get(t),M=n.get(i);if(null!=A&&null!=M)return A===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}function ft(t,e){const i=pt();return(ft=function(t,e){return i[t-=227]})(t,e)}const mt=ft;function pt(){const t=["_addPendingAction","howMany","loadState","vid_end","_transformMarkers","from","RevisionTracker","nodes","_getFromVersion","resolve","getTransformedByOperation","_licenseKeyCheckInterval","186970nZPrmI","add","addRootAttribute","rawElement","getLatestVersion","addRoot","outerHTML","attributesAfter","getAttribute","_pendingAction","_operations","getMovedRangeStart","editor-initial-data-replaced-with-revision-data","authors","update","path","isAttached","_startingVersion","createdAt","$text","_lastFrom","oldRange","documentFragment","_handleInsertOperation","_findInsertionIndex","isAdd","rootName","document","domDocument","getData","splitPosition","get","vid","affectsData","_loadState","stringify","_showLicenseError","revision","paragraph","uiElement","delete","_removeMetaData","_getTypeCharForViewElement","Users","117544tKOYLu","attributesBefore","revisionHistoryLicenseKeyEvaluationLimit","config","createPositionBefore","reverse","deletion","key","$comment","keys","loadRevisionData","remove","_touchedRoots","_baseRoots","fromEntries","locale","element","usageLimit","_authorId","removeRootAttribute","revisionHistoryLicenseKeyInvalid","offsetSize","for","addRevisionData","getOperation","map","_touchedMarkers","_clone","_fixRange","hasContent","_setAttribute","data","_fixPosition","_startingRevisionId","getChildren","_handleMoveOperation","_handleRootOperation","1428108aQylVh","_continueCurrentRevision","revisionHistoryLicenseKeyDomainLimit","revisionHistoryLicenseKeyValid","PendingActions","_getViewJson","getIndex","_replaceEditorDataWithRevisionData","fillerOffset","getRevisions","createPositionFromPath","end","isPremiumPlugin","expired","_getState","offset","clone","_cloneOperation","userId","_baseRootsAttributes","revision:","_createInitialRevision","12mjwLzS","RevisionsRepository","getRevisionRootsAttributes","1353171xBHvJk","deletions","featureNotAllowed","_isAttached","roots","getChild","range","clear","_makeRevision","_applyOperations","createPositionAt","2110356oafISf","createElement","repository","define","parent","_copyMarkers","_initialRevisionId","collaboration.channelId","filter","_handleSplitOperation","tableCell","creatorId","_makeModelFromViewString","getTime","saveRevision","insertionPosition","markers","elementEnd","trialLimit","NEGATIVE_INFINITY","getAttributes","targetPosition","_revisionDataBuilder","_getPreviousFrom","children","setRevisionData","buildRevisionData","type","marker","sendBufferedUpdates","fromVersion","_handleRootAttributeOperation","_handleMarkerOperation","20UUFpnC","sort","changeRootAttribute","authorsIds","split","_revisionId","RevisionHistory","init","move","_removePendingAction","_markers","isOfficialPlugin","start","_idsRoots","_bufferedUpdates","some","licenseKey","_createFromRanges","_update","bind","sourcePosition","_getVidAttributeName","creator","_createCurrentRevision","length","nodeAfter","insertions","_isInit","getRevision","string","_makeIdsRoot","createRevision","trim","pluginName","vid_start","_prepareViewToSave","_appendChild","merge","_markChanges","toView","Empty document","_reset","source","find","revisionHistoryLicenseKeyUsageLimit","newRange","2623000TuOklM","_source","detachRoot","259yhmQSy","dataDowncast","dataToMarker","$graveyard","text","editor","position","RevisionHistoryUtils","toVersion","_bufferUpdate","_savedMetaData","stickiness","currentRevision","finally","createRange","_handleMergeOperation","_utils","_generateTape","_handleOperation","isEqual","createPositionAfter","revisionHistoryLicenseKeyTrialLimit","htmlProcessor","has","addRevision","version","history","initialData","PENDING_ACTION_REVISION_HISTORY","conversion","destroy","12hihOlA","getRange","_fixOperation","_touched","_getBaseVids","domainLimit","model","includes","getNodeByPath","revisionHistoryLicenseKeyNotAllowed","newValue","ready","_setConversion","_execute","getCurrentRevisionId","_calculateMetaData","plugins","attachChange","_insertChild","setSource","isReady","customProperties","baseVersion","31789rSdQES","revisionHistoryLicenseKeyExpired","name","root","_isPendingUpdate","afterInit","adapter","diffData","_baseIdsRoots","reinsert","requires","elementStart","domConverter","push","graveyardPosition","_diffRoots","getRevisionDocumentData","_processRootBeforeSave","getUser","_diffRootsAttributes","size","getFillerOffset","evaluationLimit","getAncestors","keepParagraph","upcast","isEnabled","then","invalid","getOperations","set","insertion","_saveMetaData","render","reInit","max","getCustomProperties","121dOzWsf","Initial revision","getWalker","rootsAttributes","values","item","_loadedStateData","slice","shift","revisionHistory.resumeUnsavedRevision","insert","childCount","getRootNames","initial","createRangeIn","RealTimeCollaborationClient","updateRevisions","getRoot","_lastTo","markerToData","innerHTML","previousPosition","startsWith"];return(pt=function(){return t})()}!function(t){const e=ft,i=t();for(;;)try{if(357319===-parseInt(e(250))/1*(-parseInt(e(227))/2)+parseInt(e(428))/3+-parseInt(e(518))/4+-parseInt(e(322))/5*(-parseInt(e(425))/6)+parseInt(e(521))/7*(-parseInt(e(366))/8)+-parseInt(e(439))/9*(parseInt(e(472))/10)+parseInt(e(287))/11*(parseInt(e(403))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends G.Plugin{[mt(488)];[mt(321)];[mt(533)]=null;[mt(441)];[mt(256)]=null;[mt(461)];[mt(519)];[mt(445)];[mt(486)];[mt(537)];[mt(331)];[mt(404)];[mt(339)];[mt(293)];static get[mt(505)](){return mt(316)}static get[mt(483)](){return!0}static get[mt(415)](){return!0}static get[mt(260)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=mt;super(e),this[i(441)]=this[i(526)][i(243)][i(353)](i(426)),this[i(537)]=this[i(526)][i(243)][i(353)](i(528)),this[i(461)]=new gt(this[i(526)]),this[i(445)]=this[i(526)][i(369)][i(353)](i(446))||i(300),this[i(486)]=new Map,this[i(293)]=null;const n=(0,t.uid)();this[i(519)]={history:this[i(526)][i(233)][i(349)][i(547)],getLatestVersion:()=>Promise[i(319)](this[i(526)][i(233)][i(349)][i(546)]),getCurrentRevisionId:()=>n},this[i(280)](i(247),!1),this[i(280)](i(276),!0),this[i(280)](i(254),!1),this[i(526)][i(369)][i(442)](i(296),!0),this[i(526)][i(550)][i(388)](i(275))[i(523)]({view:i(359)})}[mt(479)](){const t=mt;this[t(239)](),this[t(526)][t(397)].on(t(238),()=>{const e=t,i=this[e(441)][e(500)](0),n=i&&null===i[e(494)]?i:null;if(this[e(404)]=!!n&&this[e(526)][e(369)][e(353)](e(296)),this[e(526)][e(243)][e(544)](e(302))){const t=this[e(519)][e(241)](),s=this[e(441)][e(500)](t);if(s)this[e(339)]=s[e(469)],this[e(404)]=!1;else{const t=this[e(519)][e(547)][e(332)][e(515)](t=>!t[e(499)]),s=t?t[e(249)]:this[e(519)][e(547)][e(546)];i?(i[e(529)]<s&&i[e(490)]({toVersion:s}),this[e(404)]?(this[e(519)][e(241)]=()=>n.id,this[e(339)]=n[e(469)]):(this[e(339)]=i[e(529)],this[e(404)]=!1)):(this[e(339)]=s,this[e(404)]=!1)}}else n&&(this[e(526)][e(233)][e(349)][e(547)][e(546)]=Math[e(285)](n[e(529)],this[e(526)][e(233)][e(349)][e(547)][e(546)]),n[e(469)]===n[e(529)]?(0!==n[e(469)]&&(this[e(519)][e(241)]=()=>n.id),this[e(404)]=!1):this[e(404)]&&(this[e(519)][e(241)]=()=>n.id,this[e(339)]=n[e(469)])),this[e(404)]||(this[e(339)]=this[e(526)][e(233)][e(349)][e(546)]);this[e(461)][e(479)](this[e(519)][e(547)]),this[e(424)](this[e(339)]),this[e(495)](this[e(339)]),this[e(256)]&&this[e(468)]()}),this[t(491)](t(247)).to(this,t(254),t=>!t),this[t(488)]=this[t(526)][t(369)][t(353)](t(488));const e=this[t(526)];this[t(321)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(406)==r||i(386)==r||i(251)==r||i(405)==r||i(236)==r||i(368)==r||i(542)==r||i(516)==r){delete e[s],n=r,clearInterval(this[i(321)]),this[i(321)]=void 0;break}}i(386)==n&&e[i(358)](i(278)),i(251)==n&&e[i(358)](i(416)),i(405)==n&&e[i(358)](i(232)),i(236)==n&&e[i(358)](i(430),i(478)),i(368)==n&&e[i(358)](i(272)),i(542)==n&&e[i(358)](i(457)),i(516)==n&&e[i(358)](i(383))},1e3)}async[mt(255)](){const t=mt;if(this[t(441)][t(496)]>0){const e=this[t(441)][t(500)](0),i=await this[t(266)](e),n=await this[t(427)](e);this[t(410)](i,n)}}[mt(551)](){const t=mt;super[t(551)](),this[t(321)]&&clearInterval(this[t(321)])}[mt(246)](t){this[mt(519)]=t}async[mt(336)](){const t=mt,e=await this[t(519)][t(326)]();if(e>this[t(533)][t(529)]){await this[t(356)]();const i=this[t(465)]({revision:this[t(533)],to:e});i[t(335)]=i[t(475)][t(391)](e=>this[t(526)][t(243)][t(353)](t(365))[t(268)](e)),this[t(533)][t(490)](i)}}async[mt(453)](e={},i=null){const n=mt,s=[];await this[n(356)](),this[n(404)]=!1,i>this[n(533)][n(529)]&&(i=null),null===i&&(i=await this[n(519)][n(326)]());const r=this[n(318)](i),o=this[n(465)]({from:r,to:i});if(this[n(533)][n(529)]<i){const t=this[n(465)]({revision:this[n(533)],from:i,to:i});t[n(335)]=[],t[n(475)]=[],t.id=this[n(533)].id,this[n(533)][n(490)](t,!0),delete t[n(335)],s[n(263)](t)}e[n(450)]=this[n(526)][n(243)][n(353)](n(365)).me.id,e[n(252)]=e[n(252)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(389)](e);s[n(263)](e);const c=this[n(441)][n(409)](a);if(0!==c){const t=this[n(441)][n(500)](c-1);if(t[n(469)]!==i){const r=this[n(461)][n(351)](i,t[n(529)]),o={id:t.id,diffData:r[n(257)],authorsIds:r[n(475)],authors:r[n(475)][n(391)](t=>this[n(526)][n(243)][n(353)](n(365))[n(268)](t)),fromVersion:i};t===this[n(533)]&&(o[n(340)]=new Date(e[n(340)][n(452)]()+10)),t[n(490)](o,!0),delete o[n(335)],s[n(263)](o)}}if(this[n(256)]){for(const t of s)this[n(530)](t.id,t,!0);this[n(468)]()}return a}[mt(389)](t){const e=mt,i=this[e(441)][e(503)](t);return this[e(256)]&&i.on(e(490),(t,i,n)=>{const s=e;n||(this[s(530)](i.id,i,!0),this[s(468)]())}),this[e(441)][e(545)](i,this[e(346)](i)),i}async[mt(266)](t){const e=mt;return await this[e(537)][e(376)](t,this[e(256)]),this[e(537)][e(266)](t)}async[mt(427)](t){const e=mt;return await this[e(537)][e(376)](t,this[e(256)]),this[e(537)][e(427)](t)}[mt(468)](){const t=mt;if(0===this[t(486)][t(270)])return;if(this[t(254)])return;let e=Array[t(315)](this[t(486)][t(291)]());this[t(486)][t(435)]();for(let i=0;i<e[t(496)];i++){const n=e[i];let s=!1;for(const e of Object[t(375)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(447)](t=>null!==t),!e[t(496)])return;for(let i=0;i<e[t(496)];i++){const n=e[i];void 0!==n[t(469)]&&void 0===n[t(529)]&&(n[t(529)]=this[t(441)][t(500)](n.id)[t(529)]),void 0!==n[t(529)]&&void 0===n[t(469)]&&(n[t(469)]=this[t(441)][t(500)](n.id)[t(469)])}const i=this[t(526)][t(369)][t(353)](t(446));this[t(254)]=!0,this[t(310)](),this[t(256)][t(303)](e,i)[t(534)](()=>{this[t(254)]=!1})[t(277)](e=>{const i=t;if(e)for(const t of e)this[i(464)]({id:t.id,createdAt:t[i(340)]});this[i(481)](),this[i(468)]()})}[mt(465)]({revision:t=null,from:e=null,to:i=null}){const n=mt;e=null!==e?e:t[n(469)],i=null!==i?i:t[n(529)];const s=this[n(461)][n(351)](e,i),r={diffData:s[n(257)],authorsIds:s[n(475)],fromVersion:e,toVersion:i};if(!t||i!==t[n(529)]){const t=i-1,e=this[n(519)][n(547)][n(390)](t);r[n(340)]=e&&e[n(340)]||new Date}if(this[n(293)]&&e===this[n(293)][n(469)])for(const t of this[n(293)][n(335)])r[n(475)][n(234)](t.id)||r[n(475)][n(263)](t.id);return r}[mt(530)](t,e,i){const n=mt;if(this[n(486)][n(544)](t)){const s=this[n(486)][n(353)](t);e=i?{...s,...e}:{...e,...s}}this[n(486)][n(280)](t,e)}[mt(464)](t){const e=mt,i=this[e(441)][e(500)](t.id);if(t[e(340)]&&(t[e(340)]=new Date(t[e(340)])),t[e(475)]){const i=this[e(526)][e(243)][e(353)](e(365));t[e(335)]=t[e(475)][e(391)](t=>i[e(268)](t))}i[e(490)](t,!0)}[mt(424)](t){const e=mt,i=this[e(441)][e(500)](this[e(441)][e(496)]-1);if(i)this[e(445)]=i.id;else{const i=!this[e(526)][e(233)][e(349)][e(432)][e(515)](t=>this[e(526)][e(233)][e(395)](t)),n=this[e(526)][e(243)][e(353)](e(365)).me.id,s=at(this[e(526)][e(381)],e(i?512:288));this[e(436)]({from:t,to:t,id:this[e(445)],name:s,creatorId:n})}}[mt(495)](t){const e=mt,i=this[e(519)][e(241)]();this[e(533)]=this[e(441)][e(500)](i),this[e(533)]||(this[e(533)]=this[e(436)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[mt(356)](){const t=mt;this[t(404)]&&!this[t(293)]&&(await this[t(537)][t(376)](this[t(533)],this[t(256)]),this[t(461)][t(312)](this[t(533)]),this[t(293)]={fromVersion:this[t(533)][t(469)],authors:this[t(533)][t(335)][t(294)]()})}[mt(410)](e,i){const n=mt;let s=this[n(526)][n(369)][n(353)](n(548)),r=this[n(526)][n(369)][n(353)](n(290));if(void 0===s){s={};for(const t of this[n(526)][n(233)][n(349)][n(299)]())s[t]=""}if(n(501)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(526)][n(233)][n(349)][n(299)]())r[t]={}}let o=!1;const a=Object[n(375)](s),c=Object[n(375)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(504)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(375)](r[t])[n(496)]>0){o=!0;break}}o||(o=c[n(487)](t=>!this[n(526)][n(233)][n(349)][n(304)](t))),o&&(0,t.logWarning)(n(334),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(526)][n(369)][n(280)](n(548),e),this[n(526)][n(369)][n(280)](n(290),i)}[mt(310)](){const t=mt;if(!this[t(331)]){const e=this[t(526)][t(243)][t(353)](t(407));this[t(331)]=e[t(323)](at(this[t(526)][t(381)],t(549)))}}[mt(481)](){const t=mt;this[t(331)]&&(this[t(526)][t(243)][t(353)](t(407))[t(377)](this[t(331)]),this[t(331)]=null)}[mt(346)](t){const e=mt,i=this[e(441)][e(412)]();i[e(371)]();let n=0;for(;n<i[e(496)];){const s=i[n];if(s===this[e(533)]){n++;continue}if(s.id===this[e(445)])break;const r=t[e(529)]-s[e(529)]||t[e(469)]-s[e(469)];if(r>0)break;if(r<0)n++;else{if(!t[e(494)]&&s[e(494)])break;if(s[e(494)]||!t[e(494)]){if(t[e(340)]>s[e(340)])break;n++}else n++}}return n}[mt(318)](t){const e=mt,i=this[e(441)][e(412)]();i[e(371)](),i[e(295)]();const n=i[e(515)](i=>i[e(529)]<=t)[e(529)];return n<this[e(339)]?this[e(339)]:n}[mt(436)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=mt,o=this[r(465)]({from:e,to:i});o[r(252)]=t,o[r(450)]=n,o.id=s;const a=this[r(389)](o);return this[r(256)]&&this[r(530)](o.id,o,!0),a}[mt(239)](){const t=mt;this[t(526)][t(550)][t(388)](t(522))[t(306)]({model:t(359)})}}class gt{[mt(526)];[mt(514)];[mt(531)];[mt(342)];[mt(305)];[mt(482)];[mt(265)];[mt(269)];[mt(379)];[mt(422)];[mt(485)];[mt(258)];[mt(230)];[mt(392)];[mt(378)];[mt(477)];[mt(399)];constructor(t){const e=mt;this[e(526)]=t,this[e(531)]=new Map,this[e(342)]=-1,this[e(305)]=-1,this[e(482)]=new Map,this[e(265)]=new Map,this[e(269)]=new Map,this[e(379)]=new Map,this[e(422)]=new Map,this[e(485)]=new Map,this[e(258)]=new Map,this[e(230)]=new Map,this[e(392)]=new Map,this[e(378)]=new Map,this[e(477)]=1}[mt(479)](t){const e=mt;this[e(514)]=t;const i=new Map,n=new Map,s=this[e(526)][e(233)][e(349)][e(432)][e(391)](t=>t[e(348)]);for(const t of s){const s=this[e(526)][e(233)][e(349)][e(304)](t),r=yt(s);i[e(280)](t,r),n[e(280)](t,Object[e(380)](s[e(459)]()))}const r=Array[e(315)](this[e(526)][e(233)][e(455)])[e(391)](t=>[t[e(252)],t[e(228)]()]),o=this[e(514)][e(546)];this[e(282)](o,i,r,n),this[e(399)]=this[e(477)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(280)](t,i),c[e(280)](t,{})}this[e(282)](Number[e(458)],a,[],c)}[mt(351)](t,e){const i=mt;if(this[i(342)]===t&&this[i(305)]<=e)this[i(531)][i(270)]>1&&this[i(363)](this[i(305)]),this[i(437)](this[i(305)],e,!0);else{if(!this[i(531)][i(544)](t)){const e=this[i(462)](t);this[i(242)](e,t,!1)}this[i(242)](t,e,!0)}return this[i(342)]=t,this[i(305)]=e,this[i(417)]()}[mt(312)](t){const e=mt,i=this[e(526)][e(243)][e(353)](e(528));this[e(513)](),this[e(342)]=t[e(469)],this[e(305)]=t[e(529)];for(const n in t[e(257)]){const s=t[e(257)][n][e(244)],r=A(t[e(257)][n][e(367)])||{},o=i[e(451)](t[e(257)][n][e(429)]);o[e(348)]=n,o[e(431)]=!s||!s[e(338)],o[e(338)]=()=>o[e(431)],this[e(379)][e(280)](n,o),this[e(422)][e(280)](n,r),s&&this[e(378)][e(280)](n,s);const a=this[e(502)](o);this[e(258)][e(280)](n,a);for(const[t,i]of o[e(455)]){if(!t[e(309)](e(423)))continue;const n=t[e(476)](":")[2];for(const t of i[e(289)]({singleCharacters:!0})){const i=this[e(493)](t),s=e(456)==t[e(466)]?t[e(308)][e(337)][e(294)](0,-1):t[e(308)][e(337)],r=a[e(235)](s)[e(330)](i);this[e(230)][e(280)](r,{userId:n})}}}this[e(399)]=this[e(477)];const n=[...Array(this[e(477)])[e(375)]()][e(294)](1)[e(447)](t=>!this[e(230)][e(544)](t));let s=0;const r=new Map;for(const o in t[e(257)]){const a=t[e(257)][o][e(244)],c=A(t[e(257)][o][e(329)])||{},u=i[e(451)](t[e(257)][o][e(498)]);u[e(348)]=o,u[e(431)]=!a||a[e(338)],u[e(338)]=()=>u[e(431)],this[e(265)][e(280)](o,u),this[e(269)][e(280)](o,c);const l=this[e(502)](u,Number[e(458)]);this[e(485)][e(280)](o,l),r[e(280)](o,u[e(338)]()?c:{});for(const[t,i]of u[e(455)]){if(!t[e(309)](e(423)))continue;const n=t[e(476)](":")[2];for(const t of i[e(289)]({singleCharacters:!0})){const i=this[e(493)](t),s=this[e(477)]++,r=e(456)==t[e(466)]?t[e(308)][e(337)][e(294)](0,-1):t[e(308)][e(337)];l[e(235)](r)[e(396)](i,s),this[e(230)][e(280)](s,{userId:n})}}for(const t of this[e(526)][e(233)][e(301)](u)[e(289)]({singleCharacters:!0})){const i=this[e(493)](t),r=e(456)==t[e(466)]?t[e(308)][e(337)][e(294)](0,-1):t[e(308)][e(337)],o=l[e(235)](r);o[e(330)](i)>0||o[e(396)](i,n[s++])}for(const[t,i]of u[e(455)])t[e(309)](e(423))||this[e(482)][e(280)](t,i)}const o=kt(e(524));this[e(379)][e(280)](e(524),o),this[e(258)][e(280)](e(524),this[e(502)](o,1));const a=kt(e(524));this[e(265)][e(280)](e(524),a),this[e(485)][e(280)](e(524),this[e(502)](a,1));const c=Array[e(315)](this[e(265)])[e(391)](([t,e])=>[t,yt(e)]);this[e(282)](this[e(305)],c,this[e(482)],r)}[mt(284)](){const t=mt;this[t(513)](),this[t(342)]=-1,this[t(305)]=-1,this[t(531)][t(435)](),this[t(479)](this[t(514)])}[mt(282)](t,e,i,n){const s=mt,r=new Map(e),o=new Map(A(n)),a=new Map;for(const[t,e]of i)a[s(280)](t,{start:e[s(484)][s(419)](),end:e[s(414)][s(419)](),rootName:e[s(253)][s(348)]});this[s(531)][s(280)](t,{roots:r,markers:a,rootsAttributes:o})}[mt(363)](t){const e=mt;this[e(531)][e(362)](t)}[mt(513)](){const t=mt;this[t(230)][t(435)](),this[t(392)][t(435)](),this[t(378)][t(435)](),this[t(265)][t(435)](),this[t(269)][t(435)](),this[t(379)][t(435)](),this[t(422)][t(435)](),this[t(485)][t(435)](),this[t(258)][t(435)](),this[t(482)][t(435)](),this[t(477)]=1,this[t(399)]=this[t(477)]}[mt(502)](t,e=null){const i=mt;let n=null;t.is(i(344))||(n=new X.ModelElement(t[i(252)],{vid_start:null===e?this[i(477)]++:e++}));const s=[];for(const n of t[i(400)]())if(n.is(i(382))){s[i(263)](this[i(502)](n,e));const t=s[s[i(496)]-1];null!==e&&(e=t.is(i(382),i(341))?t[i(330)](i(354))+1:t[i(330)](i(313))+1)}else for(let t=0;t<n[i(387)];t++)s[i(263)](new X.ModelElement(i(341),{vid:null===e?this[i(477)]++:e++}));if(t.is(i(344))){const e=kt(t[i(348)]);return e[i(245)](0,s),e}return n[i(396)](i(313),null===e?this[i(477)]++:e++),n[i(245)](0,s),n}[mt(242)](t,e,i){const n=mt;this[n(513)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(531)][n(353)](t);this[n(379)]=new Map(s),this[n(422)]=new Map(A(o));for(const[t,e]of this[n(379)])if(n(524)!==t&&(this[n(265)][n(280)](t,yt(e)),this[n(269)]=new Map(A(o)),i)){const i=this[n(477)];this[n(485)][n(280)](t,this[n(502)](e)),this[n(258)][n(280)](t,this[n(502)](e,i))}this[n(399)]=this[n(477)],this[n(265)][n(280)](n(524),yt(this[n(379)][n(353)](n(524)))),i&&this[n(485)][n(280)](n(524),this[n(502)](this[n(379)][n(353)](n(524))));for(const[t,e]of r){const i=this[n(379)][n(353)](e[n(348)]),s=this[n(265)][n(353)](e[n(348)]),r=new X.ModelRange(this[n(398)](e[n(484)],i),this[n(398)](e[n(414)],i)),o=this[n(394)](r,s);i[n(455)][n(280)](t,r),this[n(482)][n(280)](t,o)}this[n(437)](t,e,i)}[mt(437)](t,e,i){const n=mt;for(const s of this[n(514)][n(279)](t,e))this[n(539)](s,i);for(const t of this[n(265)][n(291)]())t[n(455)][n(435)]();for(const[t,e]of this[n(482)])this[n(265)][n(353)](e[n(253)][n(348)])[n(455)][n(280)](t,e[n(419)]());const s=new Map,r=new Map;for(const[t,e]of this[n(265)])s[n(280)](t,yt(e)),r[n(280)](t,this[n(269)][n(353)](t));this[n(282)](e,s,this[n(482)],r)}[mt(462)](t){const e=mt,i=Array[e(315)](this[e(531)][e(375)]());i[e(473)]((t,e)=>t-e),i[e(371)]();for(const e of i)if(e<t)return e;return Number[e(458)]}[mt(444)](t,e){const i=mt,n=Array[i(315)](e[i(455)])[i(391)](([e,n])=>[e,this[i(394)](n,t)]);t[i(455)]=new Map(n)}[mt(314)](t){const e=mt;for(const i of this[e(482)][e(291)]()){const n=i[e(320)](t),s=X.ModelRange[e(489)](n);i[e(484)]=s[e(484)],i[e(414)]=s[e(414)]}}[mt(539)](t,e){const i=mt;if(i(327)!=t[i(466)]&&i(520)!=t[i(466)]){if(i(297)==t[i(466)]){const n=t[i(527)][i(253)][i(348)];this[i(265)][i(544)](n)||(this[i(265)][i(280)](n,kt(n,!0)),this[i(269)][i(280)](n,{}),e&&this[i(485)][i(280)](n,kt(n,!0)))}else{if(i(324)==t[i(466)]||i(385)==t[i(466)]||i(474)==t[i(466)])return void this[i(470)](t);i(467)==t[i(466)]&&this[i(471)](t)}if(i(467)!==t[i(466)]){const e=this[i(420)](t,this[i(265)]);e[i(240)](),this[i(314)](e)}if(e)switch(t[i(466)]){case i(297):this[i(345)](t);break;case i(480):case i(377):case i(259):this[i(401)](t);break;case i(509):this[i(536)](t);break;case i(476):this[i(448)](t)}}else this[i(402)](t,e)}[mt(420)](t,e){const i=mt,n=t[i(419)]();return n[i(384)]=t[i(384)],this[i(229)](n,e),n}[mt(231)](t){const e=mt;return t[e(391)](t=>{const i=e,n=this[i(493)](t);return Number(t[i(292)][i(330)](n))})}[mt(538)](t,e){const i=mt;if(t.is(i(382),i(341)))e[i(263)]({item:t,type:i(525)});else{t.is(i(382))&&e[i(263)]({item:t,type:i(261)});for(const n of t[i(400)]())this[i(538)](n,e);t.is(i(382))&&e[i(263)]({item:t,type:i(456)})}return e}[mt(417)](){const t=mt,e=new Map(this[t(230)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(379)][t(375)](),...this[t(265)][t(375)]()]);a[t(362)](t(524));for(const e of a){const i=this[t(265)][t(353)](e)||kt(e,!1),n=this[t(379)][t(353)](e)||kt(e,!1);i[t(338)]()||n[t(338)]()?(s[t(498)][e]=yt(i),s[t(429)][e]=yt(n),this[t(444)](s[t(429)][e],n),this[t(444)](s[t(498)][e],i),r[t(498)][e]=this[t(538)](this[t(485)][t(353)](e),[]),r[t(429)][e]=this[t(538)](this[t(258)][t(353)](e)||kt(e,!1),[])):a[t(362)](e)}for(const s of a){const o=r[t(498)][s];for(const s of o){const r=this[t(493)](s),o=s[t(292)][t(330)](r);i[t(362)](o),o>=this[t(399)]&&n[t(280)](o,e[t(353)](o))}}for(const s of a){const a=r[t(498)][s],c=this[t(231)](r[t(429)][s]);let u=0;for(const s of a){const r=this[t(493)](s),a=s[t(292)][t(330)](r);if(!n[t(544)](a)&&!o[t(544)](a))if(i[t(544)](a))u++;else{if(a!=c[u]){const n=e[t(353)](a)||e[t(353)](c[u]);for(;a!=c[u];)i[t(544)](c[u])||(o[t(280)](c[u],n),e[t(280)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(498)][e];for(const e of s){const s=this[t(493)](e),r=e[t(292)][t(330)](s);if(o[t(544)](r)){const e=o[t(353)](r);i[t(544)](r)||i[t(280)](r,{...e}),n[t(280)](r,{...e})}}}for(const e of i[t(375)]())e>=this[t(399)]&&i[t(362)](e);const c=new Map;for(const e of a){let s=r[t(498)][e];for(const e of s)if(e[t(292)].is(t(382),t(449))){const i=this[t(493)](e),s=e[t(292)][t(330)](i);if(n[t(544)](s)){const i=e[t(292)][t(443)][t(443)][t(330)](t(506)),r=c[t(353)](i)||new Set;r[t(323)](n[t(353)](s)[t(421)]),c[t(280)](i,r)}}s=r[t(429)][e];for(const e of s)if(e[t(292)].is(t(382),t(449))){const n=this[t(493)](e),s=e[t(292)][t(330)](n);if(i[t(544)](s)){const n=e[t(292)][t(443)][t(443)][t(330)](t(506)),r=c[t(353)](n)||new Set;r[t(323)](i[t(353)](s)[t(421)]),c[t(280)](n,r)}}for(const e of c[t(375)]())(n[t(544)](e)||i[t(544)](e))&&c[t(362)](e)}for(const e of a){const s=r[t(498)][e];let o=null,a=null;for(const e of s){const s=this[t(493)](e),r=e[t(292)][t(330)](s),u=c[t(353)](r);u&&t(261)==e[t(466)]&&(o=Array[t(315)](u)[0],a=e[t(292)][t(330)](t(313))),o&&(i[t(280)](r,{userId:o}),n[t(280)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(429)][e],a=s[t(498)][e];for(const{userId:e}of this[t(392)][t(291)]())null!==e&&l[t(323)](e);for(const{userId:e}of this[t(378)][t(291)]())null!==e&&l[t(323)](e);this[t(510)](a,r[t(498)][e],n,t(281),l),this[t(510)](o,r[t(429)][e],i,t(372),l),u[e]={insertions:this[t(507)](a),deletions:this[t(507)](o),attachChange:this[t(378)][t(353)](e)||null,attributesBefore:A(this[t(422)][t(353)](e))||{},attributesAfter:A(this[t(269)][t(353)](e))}}return{diffData:u,authorsIds:Array[t(315)](l)}}[mt(267)](t){const e=mt;for(const[,i]of t[e(455)]){const t=i[e(484)][e(273)]()[e(447)](t=>e(449)==t[e(252)]);for(const i of t)1==i[e(298)]&&i[e(433)](0).is(e(382),e(360))&&i[e(433)](0)[e(396)](e(274),!0)}}[mt(507)](t){const e=mt;this[e(267)](t);const i=this[e(526)][e(397)][e(511)](t,{}),n=Array[e(315)](i[e(400)]())[e(391)](t=>this[e(408)](t));return JSON[e(357)](n)}[mt(408)](t){const e=mt;if(t.is(e(341)))return t[e(397)];{const i=this[e(526)][e(243)][e(353)](e(528)),n=t,s=this[e(526)][e(397)][e(543)][e(262)],r={type:i[e(364)](n),name:n[e(252)],attributes:Array[e(315)](n[e(459)]()),children:Array[e(315)](n[e(400)]())[e(391)](t=>this[e(408)](t))};if(t.is(e(361))&&e(374)!=t[e(252)]){const i=t[e(283)](s[e(350)],s);r[e(463)][e(263)](i[e(328)])}else if(t.is(e(325))){const i=s[e(350)][e(440)](n[e(252)]);t[e(283)](i,s),r[e(463)][e(263)](i[e(307)])}const o=Array[e(315)](n[e(286)]());o[e(496)]>0&&(r[e(248)]=o);const a=n[e(271)]();return null!==a&&(r[e(411)]=a),r}}[mt(510)](t,e,i,n,s){const r=mt;let o=null,a=null,c=0;const u=this[r(526)][r(233)];for(let n=0;n<e[r(496)];n++){const s=this[r(493)](e[n]),c=e[n][r(292)][r(330)](s),h=i[r(353)](c),d=n==e[r(496)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(421)]!=o[r(421)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(421)],d=l(423)+n+":"+h+":"+c++,f=u[l(535)](i,a);t[l(455)][l(280)](d,f),null!==h&&s[l(323)](h)}}[mt(493)](t){const e=mt;switch(t[e(466)]){case e(261):return e(506);case e(456):return e(313);default:return e(354)}}[mt(229)](t,e){const i=mt;t[i(249)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(353)](s[i(253)][i(348)]);t[n]=this[i(398)](s,r)}if(s instanceof X.ModelRange){const r=e[i(353)](s[i(253)][i(348)]);t[n]=this[i(394)](s,r)}i(253)===n&&(t[i(253)]=e[i(353)](t[i(253)][i(348)]))}}[mt(394)](t,e){const i=mt;return this[i(526)][i(233)][i(535)](this[i(398)](t[i(484)],e),this[i(398)](t[i(414)],e))}[mt(398)](t,e){const i=mt;return this[i(526)][i(233)][i(413)](e,t[i(337)],t[i(532)])}[mt(345)](t){const e=mt,i=this[e(485)][e(353)](t[e(527)][e(253)][e(348)]),n=this[e(398)](t[e(527)],i),s=null===t[e(384)]?null:t[e(384)]||this[e(526)][e(243)][e(353)](e(365)).me.id,r=n[e(443)],o=this[e(477)],a=[];for(const i of t[e(317)])if(i.is(e(382)))a[e(263)](this[e(502)](i));else for(let t=0;t<i[e(387)];t++)a[e(263)](new X.ModelElement(e(341),{vid:this[e(477)]++}));const c=this[e(477)];for(let t=o;t<c;t++)this[e(230)][e(280)](t,{userId:s});r[e(245)](n[e(418)],a)}[mt(401)](t){const e=mt;(t=this[e(420)](t,this[e(485)]))[e(240)]();const i=null===t[e(384)]?null:t[e(384)]||this[e(526)][e(243)][e(353)](e(365)).me.id,n=t[e(333)](),s=n[e(443)],r=n[e(418)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(433)](e);r.is(a(382),a(341))?n[a(280)](r[a(330)](a(354)),{userId:i}):(n[a(280)](r[a(330)](a(506)),{userId:i}),t(n,r,0,r[a(298)]),n[a(280)](r[a(330)](a(313)),{userId:i}))}}(this[e(230)],s,r,r+t[e(311)])}[mt(536)](t){const e=mt,i=null===(t=this[e(420)](t,this[e(485)]))[e(384)]?null:t[e(384)]||this[e(526)][e(243)][e(353)](e(365)).me.id,n=t[e(460)][e(443)],s=t[e(492)][e(443)],r=n[e(330)](e(313)),o=s[e(330)](e(506));n[e(396)](e(313),s[e(330)](e(313))),s[e(396)](e(313),r),this[e(230)][e(280)](o,{userId:i}),this[e(230)][e(280)](r,{userId:i}),t[e(240)]()}[mt(448)](t){const e=mt,i=null===(t=this[e(420)](t,this[e(485)]))[e(384)]?null:t[e(384)]||this[e(526)][e(243)][e(353)](e(365)).me.id,n=t[e(264)],s=t[e(352)][e(443)];t[e(240)]();const r=s[e(330)](e(313)),o=t[e(454)][e(497)];if(n){const t=o[e(330)](e(313)),n=s[e(330)](e(313));s[e(396)](e(313),t),o[e(396)](e(313),n),this[e(230)][e(280)](s[e(330)](e(313)),{userId:i}),this[e(230)][e(280)](o[e(330)](e(506)),{userId:i})}else{const t=this[e(477)]++,n=this[e(477)]++;s[e(396)](e(313),t),o[e(396)](e(506),n),o[e(396)](e(313),r),this[e(230)][e(280)](t,{userId:i}),this[e(230)][e(280)](n,{userId:i})}}[mt(471)](t){const e=mt;if(!t[e(355)])return;const i=(t=this[e(420)](t,this[e(265)]))[e(343)]?t[e(343)][e(253)]:null,n=t[e(517)]?t[e(517)][e(253)]:null;i&&this[e(482)][e(362)](t[e(252)]),n&&this[e(482)][e(280)](t[e(252)],t[e(517)][e(419)]());const s=null===t[e(384)]?null:t[e(384)]||this[e(526)][e(243)][e(353)](e(365)).me.id,r=t[e(252)];if(!this[e(392)][e(544)](r))return void this[e(392)][e(280)](r,{range:t[e(343)],userId:s});const o=this[e(392)][e(353)](r),a=o[e(434)],c=t[e(517)];null==a&&null==c||a&&c&&a[e(540)](c)?this[e(392)][e(362)](t[e(252)]):o[e(421)]=s}[mt(402)](t,e){const i=mt;this[i(265)][i(544)](t[i(348)])?this[i(265)][i(353)](t[i(348)])[i(431)]=t[i(347)]:(this[i(265)][i(280)](t[i(348)],kt(t[i(348)],!0)),this[i(269)][i(280)](t[i(348)],{}),e&&this[i(485)][i(280)](t[i(348)],kt(t[i(348)],!0)));const n=null===t[i(384)]?null:t[i(384)]||this[i(526)][i(243)][i(353)](i(365)).me.id,s=this[i(378)][i(353)](t[i(348)]);s&&s[i(421)]===n?this[i(378)][i(362)](t[i(348)]):this[i(378)][i(280)](t[i(348)],{userId:n,isAttached:t[i(347)]})}[mt(470)](t){const e=mt,i=this[e(269)][e(353)](t[e(253)][e(348)]);null===t[e(237)]?delete i[t[e(373)]]:i[t[e(373)]]=t[e(237)]}}function yt(t){const e=mt,i=kt(t[e(348)],t[e(338)]());for(const n of t[e(400)]()){const t=n[e(393)](!0);i[e(508)](t)}return i}function kt(t,e=!0){const i=mt,n=new X.ModelDocumentFragment;return n[i(348)]=t,n[i(431)]=e,n[i(338)]=()=>n[i(431)],n}function bt(t,e,i){const n=mt,s=n(456)==t[n(466)]?i[n(438)](t[n(292)],n(414)):i[n(370)](t[n(292)]);return i[n(413)](e,s[n(337)],s[n(532)])}function wt(t,e,i){const n=mt,s=n(261)==t[n(466)]?i[n(438)](t[n(292)],0):i[n(541)](t[n(292)]);return i[n(413)](e,s[n(337)],s[n(532)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),Tt=i(545),xt=i.n(Tt),Nt=i(262),Rt=i.n(Nt),At=i(667),Mt=i.n(At),Vt=i(357),Et=i.n(Vt),Dt=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(959),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Rt().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Et();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=zt;function Pt(){const t=["3412dlPqbV","arrowup","8407959aUeQdF","focusTracker","locale","form","label","initializeCssTransitionDisablerMixin","2511912aDUWCe","_createRevisionNameInput","arrowright","set","fieldView","21533850kOacGw","trim","revisionName","setTemplate","element","value","arrowdown","Name of the revision","ck-responsive-form","keystrokes","focus","3195QWPTzO","760DIIIuz","add","revisionNameInputView","listenTo","92853HGRZKN","ck-revision-history-save-revision-form","errorText","arrowleft","stopPropagation","input","220","extendTemplate","revisionNameInputValue","28ZPHQsU","render","reset","95311pDQXqZ","2270964SceZoO","optional"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=500]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(804740===parseInt(e(502))/1*(-parseInt(e(543))/2)+-parseInt(e(503))/3+parseInt(e(505))/4*(parseInt(e(529))/5)+parseInt(e(513))/6+-parseInt(e(507))/7+parseInt(e(530))/8*(parseInt(e(534))/9)+parseInt(e(518))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(508)];[Lt(527)];[Lt(532)];constructor(e,i){const n=Lt;super(e),this[n(508)]=new t.FocusTracker,this[n(527)]=new t.KeystrokeHandler,this[n(516)](n(542),""),this[n(532)]=this[n(514)](i),this[n(521)]({tag:n(510),attributes:{class:["ck",n(535),n(526)],tabindex:"-1"},children:[this[n(532)]]}),this[n(512)]()}[Lt(500)](){const t=Lt;super[t(500)](),(0,It.submitHandler)({view:this}),this[t(508)][t(531)](this[t(532)][t(522)]),this[t(527)][t(533)](this[t(522)]);const e=e=>e[t(538)]();this[t(527)][t(516)](t(515),e),this[t(527)][t(516)](t(537),e),this[t(527)][t(516)](t(506),e),this[t(527)][t(516)](t(524),e)}[Lt(528)](){const t=Lt;this[t(532)][t(528)]()}get[Lt(520)](){const t=Lt;return this[t(532)][t(517)][t(522)][t(523)][t(519)]()}set[Lt(520)](t){const e=Lt;this[e(532)][e(517)][e(522)][e(523)]=t[e(519)]()}[Lt(501)](){const t=Lt;this[t(532)][t(517)][t(522)][t(523)]="",this[t(532)][t(536)]=null}[Lt(514)](t){const e=Lt,i=new It.LabeledFieldView(this[e(509)],It.createLabeledInputText),n=i[e(517)];n[e(541)]({attributes:{maxlength:e(540)}});let s=at(this[e(509)],e(525));return!t&&(s+=" ("+at(this[e(509)],e(504))+")"),i[e(511)]=s,n.on(e(539),()=>{const t=e;this[t(542)]=n[t(522)][t(523)][t(519)]()}),i}}function Ut(t,e){const i=Zt();return(Ut=function(t,e){return i[t-=402]})(t,e)}const Ht=Ut;function Zt(){const t=["4663720uNLoIu","RevisionTracker","delegate","menuitem","errorText","ck-button-action","isPremiumPlugin","get","children","Open revision history","Accept","init","saveRevision","17252127lGIsgU","addMany","add","RevisionHistoryUI","config","menuBar:revisionHistory","Revision history","12oBhGUG","menu","plugins","revisionHistory.requireRevisionName","_createSaveRevisionFormView","execute","isReady","hide","requires","pluginName","isOfficialPlugin","revisionSave","Save current revision","set","revisionName","render","buttonView","role","showRevisionViewerCallback","Cancel","bind","Dialog","351866QeeXNB","590625HfARTB","4ZffLsP","isReadOnly","_showDialog","_saveRevisionFormView","The revision name cannot be empty.","locale","componentFactory","reset","282927dtsLwk","panelView","editor","revisionNameInputView","focus","editing","show","isEnabled","view","3654896ZHaaMP","17049oMwZMu","_registerMenuComponent","isOpen","items","submit","revisionHistory"];return(Zt=function(){return t})()}!function(t){const e=Ut,i=t();for(;;)try{if(471224===parseInt(e(416))/1+-parseInt(e(406))/2+-parseInt(e(426))/3*(-parseInt(e(408))/4)+-parseInt(e(432))/5+-parseInt(e(452))/6*(parseInt(e(407))/7)+-parseInt(e(425))/8+parseInt(e(445))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class $t extends G.Plugin{static get[Ht(461)](){return Ht(448)}static get[Ht(462)](){return!0}static get[Ht(438)](){return!0}static get[Ht(460)](){return[vt]}[Ht(411)];[Ht(443)](){const t=Ht,e=this[t(418)],i=e[t(454)][t(439)](t(433));e.ui[t(414)][t(447)](t(431),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(417)][s(440)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(404)](s(423)).to(i,s(458),i,s(423),e,s(409),(t,e,i)=>t&&e&&!i),r[s(468)][s(465)]({icon:_t.IconHistory,label:at(n,s(451)),tooltip:!0}),u[s(465)]({label:at(n,s(464)),withText:!0,role:s(435)}),u[s(404)](s(423)).to(i,s(458),i,s(423),e,s(409),(t,e,i)=>t&&e&&!i),u.on(s(457),()=>this[s(410)]()),h[s(465)]({label:at(n,s(441)),withText:!0,role:s(435)}),h[s(404)](s(423)).to(i,s(458),e,s(409),(t,e)=>t&&!e),h.on(s(457),()=>{const t=s;e[t(449)][t(439)](t(431))[t(402)](),r[t(428)]=!1,e[t(421)][t(424)][t(420)]()}),c[s(440)][s(447)](u),l[s(440)][s(447)](h),a[s(469)]=s(453),a[s(429)][s(446)]([c,l]),o[s(447)](a),r}),e.ui[t(414)][t(447)](t(450),()=>this[t(427)]())}[Ht(427)](){const t=Ht,e=this[t(418)],i=e[t(413)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(468)][t(465)]({icon:_t.IconHistory,label:at(i,t(451))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(465)]({label:at(i,t(464))}),o[t(434)](t(457)).to(n),o.on(t(457),()=>{this[t(410)]()}),r[t(440)][t(447)](o),s[t(429)][t(447)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(465)]({label:at(i,t(441))}),c[t(434)](t(457)).to(n),c.on(t(457),()=>{const i=t;e[i(449)][i(439)](i(431))[i(402)]()}),a[t(440)][t(447)](c),s[t(429)][t(447)](a),n[t(417)][t(440)][t(447)](s),n}[Ht(410)](){const t=Ht,e=this[t(418)],i=e[t(413)],n=e[t(454)][t(439)](t(405)),s=e[t(454)][t(439)](t(433));function r(s){const r=t;e[r(449)][r(439)](r(455))&&""===s[r(466)]?s[r(419)][r(436)]=at(i,r(412)):(e[r(454)][r(439)](vt)[r(444)]({name:s[r(466)]}),n[r(459)]())}this[t(411)]||(this[t(456)](),this[t(411)].on(t(430),()=>r(this[t(411)]))),this[t(411)][t(415)](),n[t(422)]({id:t(463),title:at(i,t(464)),isModal:!0,content:this[t(411)],actionButtons:[{label:at(e[t(413)],t(403)),withText:!0,onExecute:()=>n[t(459)]()},{label:at(e[t(413)],t(442)),class:t(437),withText:!0,onCreate(i){const n=t;i[n(404)](n(423)).to(s,n(458),s,n(423),e,n(409),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(411)])}]})}[Ht(456)](){const t=Ht,e=this[t(418)],i=e[t(413)];this[t(411)]=new Wt(i,e[t(449)][t(439)](t(455))),this[t(411)][t(467)]()}}const qt=Yt;function Bt(){const t=["span","131944wWjNEh","data","ck-revision-change__","ck-revision-change__label","bindTemplate","name","Suggested by","153516yhwBbX","ck-revision-change","author","764724iHEEgX","isSuggestion","ck-annotation","3jXzWzZ","450048mnFVJa","339731jKrfIl","set","_model","1813770PFprMq","add","Added by","Removed by","5dXDckQ","div","16JzMRYA","type","changeId","445660SBJTOi","element","setTemplate","focus"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=488]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(109016===parseInt(e(513))/1*(-parseInt(e(500))/2)+-parseInt(e(507))/3+parseInt(e(514))/4*(-parseInt(e(490))/5)+parseInt(e(510))/6+-parseInt(e(515))/7*(-parseInt(e(492))/8)+parseInt(e(518))/9+parseInt(e(495))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt extends It.View{[qt(494)];[qt(517)];constructor(t,e){const i=qt;super(t),this[i(517)]=e,this[i(494)]=e.id;const n=this[i(504)],s=at(t,e[i(501)][i(511)]?i(506):i(519)==e[i(493)]?i(488):i(489));this[i(516)](i(493),e[i(493)]),this[i(497)]({tag:i(491),attributes:{class:[i(512),i(508),n.to(i(493),t=>i(502)+t)],tabindex:-1},children:[{tag:i(499),children:[{tag:i(499),attributes:{class:[i(503)]},children:[{text:s}]},{text:" "+e[i(509)][i(505)]}]}]})}[qt(498)](){const t=qt;this[t(496)][t(498)]()}}function Gt(t,e){var i=Xt();return(Gt=function(t,e){return i[t-=441]})(t,e)}var Kt=Gt;function Xt(){var t=["data","46CcdYBv","set","1232VUQtwS","rootName","createdAt","toJSON","8704848tVnKEy","961248NWZRGP","11755LYSNWO","14827txlehE","type","author","46641LXbABB","534hXwZJu","2095164KdyXGr","34074860SIdHAh"];return(Xt=function(){return t})()}!function(t){for(var e=Gt,i=t();;)try{if(573624===parseInt(e(450))/1*(-parseInt(e(441))/2)+-parseInt(e(448))/3+parseInt(e(443))/4*(-parseInt(e(449))/5)+parseInt(e(454))/6*(-parseInt(e(453))/7)+-parseInt(e(447))/8+parseInt(e(455))/9+parseInt(e(456))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Kt(452)];[Kt(451)];[Kt(457)];[Kt(444)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(452)]=e[i(452)],this[i(451)]=e[i(451)],this[i(457)]=e[i(457)]||{},this[i(444)]=e[i(444)],this[i(442)](i(445),e[i(445)])}[Kt(446)](){var t=Kt;return{id:this.id,authorId:this[t(452)].id,type:this[t(451)],data:this[t(457)],createdAt:this[t(445)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=364]})(t,e)}function ie(){const t=["2476795vESWGK","678986zMWzUt","add","_setChanges","7095420gzeIJK","changes","8BziuCr","oldRevisionId","18HROygz","10JFccty","newRevisionId","13015596ShkNUn","96942WmMPzs","461694eyRHnN","72uPFgpf","2820882VVvHVQ"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(522733===parseInt(e(372))/1*(-parseInt(e(368))/2)+-parseInt(e(375))/3+-parseInt(e(366))/4*(-parseInt(e(376))/5)+parseInt(e(373))/6+-parseInt(e(377))/7*(-parseInt(e(374))/8)+-parseInt(e(364))/9*(parseInt(e(369))/10)+parseInt(e(371))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[te(370)];[te(367)];[te(365)];constructor(e,i){const n=te;this[n(370)]=e,this[n(367)]=i,this[n(365)]=new t.Collection}[te(379)](t){const e=te;for(const i of t)this[e(365)][e(378)](i)}}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ae;function ae(t,e){const i=he();return(ae=function(t,e){return i[t-=133]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(992497===parseInt(e(228))/1+parseInt(e(166))/2+parseInt(e(157))/3+parseInt(e(449))/4*(parseInt(e(243))/5)+parseInt(e(396))/6+-parseInt(e(247))/7*(parseInt(e(203))/8)+-parseInt(e(196))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(he);class ce extends G.Plugin{[oe(154)];[oe(258)]=null;[oe(270)];[oe(202)];[oe(375)];[oe(155)];[oe(293)];static get[oe(394)](){return oe(340)}static get[oe(339)](){return!0}static get[oe(451)](){return!0}static get[oe(419)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(154)]=this[e(133)][e(181)][e(368)](e(189)),this[e(270)]=this[e(133)][e(181)][e(368)](e(308)),this[e(454)](e(254),null),this[e(454)](e(294),null),this[e(202)]=null,this[e(454)](e(220),null),this[e(454)](e(215),!1),this[e(454)](e(423),!0),this.on(e(443),(t,i,n)=>{const s=e;this[s(254)]=null,this[s(294)]=null,this[s(133)][s(379)][s(212)][s(146)](t=>{const e=s;for(const i of this[e(133)][e(379)][e(212)][e(382)][e(248)])n?t[e(439)](e(179),i):t[e(362)](e(179),i)})}),this[e(302)](e(209)).to(this,e(254),t=>null!==t),this[e(302)](e(134)).to(this,e(215),this,e(220),this,e(254),(t,i,n)=>t&&n?i[e(255)][e(282)](n):0),this[e(302)](e(444)).to(this,e(215),this,e(220),(t,i)=>t?i[e(255)][e(441)]:0),this[e(375)]=null,this[e(155)]=new Map,this[e(293)]=this[e(133)][e(181)][e(368)](It.ContextualBalloon)}[oe(265)](){const t=oe,e=this[t(133)],i=new de(e,{direction:t(211)}),n=new de(e,{direction:t(216)});e[t(414)][t(369)](t(420),i),e[t(414)][t(369)](t(309),n),e[t(414)][t(369)](t(222),new le(e)),this.on(t(412),()=>{const e=t;i[e(230)](),n[e(230)]()}),this[t(401)](),this[t(183)](),e[t(244)](t(450)),e[t(181)][t(373)](t(388))&&e[t(181)][t(368)](t(388))[t(390)](t(450))}async[oe(251)](t){const e=oe;return await this[e(270)][e(266)](t,this[e(258)]),this[e(270)][e(251)](t)}async[oe(385)](t){const e=oe;return await this[e(270)][e(266)](t,this[e(258)]),this[e(270)][e(385)](t)}async[oe(448)](t,e,i=!1){const n=oe;if(!this[n(423)])return;const s=this[n(220)],r=this[n(154)],o=n(399)==typeof t?r[n(184)](t):t,a=n(399)==typeof e?r[n(184)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(220)]&&this[n(220)][n(140)]===c&&this[n(220)][n(353)]===u)return Promise[n(307)]();this[n(215)]=!1,this[n(294)]=null,this[n(254)]=null,this[n(220)]=new ne(c,u);const l=this[n(298)](o,a,!0)[n(328)](t=>this[n(270)][n(266)](t,this[n(258)]));return l[n(361)](new Promise(t=>{setTimeout(t,20)})),Promise[n(253)](l)[n(378)](()=>{const t=n;if(!this[t(423)])return;this[t(236)]();const e=this[t(145)](c,u);for(const i of e[t(255)])this[t(155)][t(454)](i.id,i);this[t(133)][t(233)][t(380)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(133)][n(233)][n(382)][n(188)]())i[n(421)](t);for(const t of Object[n(272)](e[n(233)])){const s=i[n(352)](t);for(const r of Object[n(272)](e[n(372)][t]))i[n(246)](r,e[n(372)][t][r],s);i[n(278)](e[n(233)][t],s,0)}}),this[t(220)][t(400)](this[t(331)](e[t(255)])),this[t(215)]=!0})[n(292)](t=>{const e=n;console[e(334)](t),this[e(236)](),s&&(this[e(220)]=s),this[e(215)]=!0})}[oe(283)](t,e){const i=oe,n=this[i(154)][i(327)](t);return n.on(i(285),(t,i,s)=>e(i,s,n)),this[i(154)][i(249)](n),n}[oe(236)](){const t=oe;this[t(254)]=null,this[t(389)](),this[t(375)]&&this[t(375)][t(432)](),this[t(375)]=null,this[t(155)][t(281)](),this[t(133)][t(233)][t(380)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(133)][i(233)][i(382)][i(188)]())e[i(421)](t)})}[oe(331)](t){const e=oe,i=[],n=new Map;for(const t of this[e(133)][e(233)][e(382)][e(188)]()){const s=this[e(133)][e(379)][e(212)][e(173)](t);if(!s)continue;const r=s[e(198)]()[e(303)](0);r&&(i[e(361)](t),n[e(454)](t,r))}return i[e(273)]((t,i)=>{const s=e,r=n[s(368)](t),o=n[s(368)](i);return r.y-o.y||r.x-o.x}),(t=t[e(171)](t=>i[e(409)](t[e(351)])))[e(273)]((t,n)=>i[e(260)](t[e(351)])-i[e(260)](n[e(351)])),t}[oe(325)](t){const e=oe,i=Array[e(175)](t[e(153)])[e(171)](([t,i])=>t[e(223)](e(376))&&!i[e(367)]),n=Array[e(175)](this[e(133)][e(233)][e(261)](t)[e(391)]({singleCharacters:!0}));if(0!=i[e(441)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(147)](":");if(s[e(431)][e(381)](t[e(242)])&&i[e(326)](),(t[e(348)][e(381)](s[e(306)])||t[e(348)][e(311)](s[e(306)]))&&(e(407)==r?t[e(289)]={userId:o}:e(241)==r&&(t[e(415)]={userId:o})),0==i[e(441)])break}return n}[oe(446)](t){const e=oe,i=new Map;for(let n=0;n<t[e(441)];n++)e(239)===t[n][e(453)]?(t[n][e(303)][e(318)]=n,t[n][e(303)][e(185)]=n):(e(354)===t[n][e(453)]?t[n][e(303)][e(318)]=n:e(276)===t[n][e(453)]&&(t[n][e(303)][e(185)]=n),i[e(454)](t[n].id,n));for(const n of i[e(435)]())e(354)===t[n][e(453)]?t[n][e(303)][e(185)]=i[e(368)](t[n][e(386)]):e(276)===t[n][e(453)]&&(t[n][e(303)][e(318)]=i[e(368)](t[n][e(386)]))}[oe(417)](t){const e=oe;for(let i=0;i<t[e(441)];i++){if(e(354)===t[i][e(453)])t[i][e(303)][e(318)]=i;else if(e(276)===t[i][e(453)]){t[i][e(303)][e(185)]=i;const n=t[i][e(303)][e(318)];t[n][e(386)]=t[i].id,t[i][e(386)]=t[n].id}else t[i][e(303)][e(318)]=i,t[i][e(303)][e(185)]=i,t[i][e(386)]=null;t[i][e(257)]||(t[i][e(257)]=[],t[i][e(225)]=[])}}[oe(267)](t,e){const i=oe,n=t[i(171)](t=>!t[i(289)]);for(let t=0;t<e[i(441)];t++)e[t][i(289)]&&(n[t][i(289)]=e[t][i(289)])}[oe(145)](t,e=null){const i=oe,n=this[i(154)][i(184)](t),s=e?this[i(154)][i(184)](e):null,r=this[i(298)](n,s),o=r[r[i(441)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(441)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(272)](e[i(159)]))if(e[i(159)][t][i(264)]){const n=e[i(159)][t][i(264)];n[i(410)]?(u[i(369)](t),l[i(373)](t)&&l[i(368)](t)[i(341)]==n[i(341)]?l[i(240)](t):l[i(454)](t,n)):l[i(373)](t)?(u[i(240)](t),l[i(240)](t)):(u[i(369)](t),l[i(454)](t,n))}else u[i(369)](t)}for(const t of u){const e=l[i(373)](t)&&!l[i(368)](t)[i(410)];let n=e?r[i(441)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(159)][t]){const n=e?o[i(159)][t][i(322)]:o[i(159)][t][i(218)];c[i(372)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(233)]={};for(const e of t[i(371)])a[i(454)](e.id,e);for(const e of u){const n=t[i(159)][e]?t[i(159)][e][i(395)]:"[]",s=t[i(159)][e]?t[i(159)][e][i(360)]:"[]";t[i(233)][e]={insertions:this[i(270)][i(436)](n),deletions:this[i(270)][i(436)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(175)](n[i(233)][t][i(395)][i(153)])[i(171)](([t])=>!t[i(223)](i(376))));let h=0;for(const o of r){const r=this[i(325)](o[i(233)][t][i(395)]);o==n?(e=r,s=e[i(441)],e[i(214)](t=>{t.id=h++}),this[i(417)](e)):this[i(267)](e,r);const a=e[i(171)](t=>!t[i(289)])[i(328)](t=>t.id);let c=0;const l=this[i(325)](o[i(233)][t][i(360)]);l[i(214)](t=>{t[i(415)]?t.id=s++:t.id=a[c++]}),this[i(417)](l),this[i(438)](e,i(289)),this[i(438)](l,i(415)),o==n&&this[i(383)](e,u),e=this[i(299)](e,l),this[i(446)](e),this[i(438)](e,i(415))}e=e[i(171)](t=>!(t[i(289)]&&t[i(415)]));const d=new Map(o[i(233)][t][i(360)][i(153)]),f=new Set(u[i(272)]());for(const t of d[i(272)]())f[i(240)](t);this[i(199)](e,f),this[i(162)](e),e=this[i(342)](e),e=this[i(404)](e),e=this[i(158)](e);const{root:m,changes:p}=this[i(161)](e,a,t);c[i(233)][t]=m;const v=l[i(368)](t);if(v){const e=a[i(368)](v[i(341)]),n=new Qt({author:e,type:v[i(410)]?i(369):i(149),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(304)](n),c[i(372)][t][i(359)]=n.id}c[i(255)]=c[i(255)][i(224)](p)}return c}[oe(383)](t,e){const i=oe;for(let n=0;n<t[i(441)];n++)for(const[s,r]of e)!r[i(367)]&&r[i(306)][i(381)](t[n][i(348)])&&t[n][i(257)][i(361)](s),r[i(431)][i(381)](t[n][i(242)])&&t[n][i(225)][i(361)](s)}[oe(299)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(441)]||r<e[i(441)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(361)](o);else if(a[i(415)]&&o[i(289)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(231)](t,s,e,r);n=n[i(224)](o),s=a,r=c}else a[i(415)]?(r++,n[i(361)](a)):(s++,n[i(361)](o))}return n}[oe(199)](t,e){const i=oe,n=[];for(let o=0;o<t[i(441)];o++){for(let r=0;r<t[o][i(257)][i(441)];r++){const a=t[o][i(257)][r];if(!e[i(373)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(424)!=c||i(407)!=u&&i(241)!=u||(n[i(304)]({type:u,name:a,userId:l}),t[o][i(257)][i(408)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(225)][i(441)];r++){const a=t[o][i(225)][r];if(!e[i(373)](a))continue;const{group:c,type:u}=s(a);if(i(424)!=c||i(407)!=u&&i(241)!=u)continue;t[o][i(225)][i(408)](r,1),r--;const l=n[i(205)](t=>t[i(227)]==a);l>-1&&n[i(408)](l,1)}}function s(t){const e=i,n=t[e(147)](":");return{group:n[0],type:n[1],subType:n[e(441)]>=5?n[2]:null,id:n[e(441)]<5?n[2]:n[3],authorId:n[e(441)]<5?n[3]:n[4],markerCount:6==n[e(441)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(441)];i++){if(t[e(289)]&&e(407)==n[i][e(453)]&&t[e(289)][e(341)]==n[i][e(341)])return t[e(370)]=n[i],void delete t[e(289)];if(!t[e(289)]&&!t[e(415)]&&e(241)==n[i][e(453)])return void(t[e(344)]=n[i])}}}[oe(438)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(454)](o.id,n);for(let n=0;n<t[i(441)];n++){if(i(415)==e&&t[n][i(289)]||i(289)==e&&t[n][i(415)])continue;if(i(239)==t[n][i(453)]){t[n][i(259)]=0;continue}const s=r[i(368)](t[n][i(386)]),o=r[i(368)](t[n].id);t[n][i(259)]=s-o}}[oe(298)](t,e,i=!1){const n=oe,s=[];let r=this[n(154)][n(282)](t),o=this[n(154)][n(282)](e);for(-1==o&&(o=this[n(154)][n(314)][n(441)],i=!1);r<o;)s[n(361)](this[n(154)][n(184)](r)),r++;return i&&s[n(361)](this[n(154)][n(184)](r)),s}[oe(231)](t,e,i,n){const s=oe,r=this[s(133)][s(233)][s(190)];let o=e;for(;t[o]&&t[o][s(289)];)o++;let a=n;for(;i[a]&&i[a][s(415)];)a++;u(t,e,o),u(i,n,a);const c=i[s(275)](n,a)[s(224)](t[s(275)](e,o));return c[s(273)]((t,e)=>t[s(139)]!=e[s(139)]?t[s(139)]-e[s(139)]:t[s(456)]!=e[s(456)]?t[s(456)]-e[s(456)]:t[s(259)]!=e[s(259)]?e[s(259)]-t[s(259)]:!!t[s(289)]!=!!e[s(289)]?-1==t[s(139)]||0==t[s(139)]?t[s(289)]?-1:1:t[s(289)]?1:-1:t[s(364)]-e[s(364)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(172)],c=!0;for(let s=e;s<i;s++)if(r[n(156)](t[s][n(303)])||(c=!1),t[s][n(303)][n(318)]<e&&(o=s),t[s][n(303)][n(185)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(139)]=s<=o?-1:s<a?0:1,t[s][n(364)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(259)]?t[i][n(456)]=u:(u++,t[i][n(456)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(139)]&&(t[s][n(456)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(259)]?t[e][n(456)]=u:(u--,t[e][n(456)]=u,u--)}}[oe(162)](t){const e=oe,i=new Map,n=this[e(133)][e(233)][e(190)];for(let s=1;s<t[e(441)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(239)==c[e(453)])continue;if(c[e(453)]!=u[e(453)])continue;if(!n[e(142)](u[e(303)])||n[e(445)](u[e(303)]))continue;if(!n[e(142)](c[e(303)])||n[e(445)](c[e(303)]))continue;if((t[s][e(289)]||t[s][e(370)])&&t[s-1][e(415)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(415)]||!t[s-1][e(289)]&&!t[s-1][e(370)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(456)]==o[e(456)],h=Math[e(295)](r[e(456)])<Math[e(295)](o[e(456)])&&0==o[e(259)];(l||h)&&(i[e(454)](o.id,r.id),t[e(408)](a,1),s--,r[e(289)]=!1)}for(let n=0;n<t[e(441)];n++)i[e(373)](t[n][e(386)])&&(t[n][e(386)]=i[e(368)](t[n][e(386)]))}[oe(342)](t){const e=oe,i=new Set(t[e(328)](t=>t.id));for(let n=0;n<t[e(441)];n++)i[e(373)](t[n][e(386)])||0==t[n][e(259)]||(t[n][e(406)]=!0);return t[e(171)](t=>!t[e(406)])}[oe(404)](t){const e=oe,i=new Set;for(let n=0;n<t[e(441)];n++){if(i[e(373)](t[n].id)&&t[n][e(415)]&&(t[n][e(406)]=!0),t[n][e(406)])continue;if(0==t[n][e(259)])continue;if(e(354)!=t[n][e(453)])continue;if(null==t[n][e(386)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(386)];)e(354)==t[s][e(453)]?r++:e(276)==t[s][e(453)]&&r--,s++;if(0!=r)if(t[n][e(415)])t[n][e(406)]=!0;else for(;s!=n;)t[s][e(415)]&&0!=t[s][e(259)]&&(t[s][e(406)]=!0,i[e(369)](t[s][e(386)])),s--}return t[e(171)](t=>!t[e(406)])}[oe(158)](t){const e=oe,i=this[e(133)][e(233)][e(190)];for(let n=0;n<t[e(441)];n++){if(!(t[n][e(289)]||t[n][e(370)]||t[n][e(415)]||t[n][e(344)]))continue;if(0==t[n][e(259)])continue;const s=t[n][e(303)];i[e(142)](s)||i[e(445)](s)||(t[n][e(289)]&&delete t[n][e(289)],t[n][e(370)]&&delete t[n][e(370)],t[n][e(344)]&&delete t[n][e(344)],t[n][e(415)]&&(t[n][e(406)]=!0))}return t[e(171)](t=>!t[e(406)])}[oe(161)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(133)][n(233)],c=a[n(190)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(441)];e++)if(n(354)===t[e][n(453)]){t[e][n(348)]=a[n(356)](s,f);const i=new X.ModelElement(t[e][n(303)][n(227)],t[e][n(303)][n(180)]());u[0][n(427)](i),f[n(361)](0),u[n(304)](i),t[e][n(242)]=a[n(356)](s,f)}else n(276)===t[e][n(453)]?(u[n(326)](),t[e][n(348)]=a[n(356)](s,f),f[n(138)](),f[f[n(441)]-1]++,t[e][n(242)]=a[n(356)](s,f)):(t[e][n(348)]=a[n(356)](s,f),d?d[n(374)]+=t[e][n(303)][n(137)]:d=new X.ModelText(t[e][n(303)][n(137)],t[e][n(303)][n(180)]()),t[e+1]&&n(239)===t[e+1][n(453)]&&v(d,t[e+1][n(303)])||(u[0][n(427)](d),d=null),f[f[n(441)]-1]+=t[e][n(303)][n(452)],t[e][n(242)]=a[n(356)](s,f));for(let e=0;e<t[n(441)];e++){const i=t[e][n(348)],s=t[e][n(242)];for(const s of t[e][n(257)])o[n(454)](s,{start:i,end:null});m(n(344),e,i,s),m(n(370),e,i,s),m(n(415),e,i,s),m(n(289),e,i,s);for(const i of t[e][n(225)]){const t=o[n(368)](i);t?t[n(431)]=s:o[n(454)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(133)][n(233)][n(337)](e[n(306)],e[n(431)]);s[n(153)][n(454)](t,i)}return r[n(273)]((t,e)=>{const i=n,r=s[i(153)][i(368)](i(376)+t.id),o=s[i(153)][i(368)](i(376)+e.id);return r[i(306)][i(429)](o[i(306)])?-1:r[i(306)][i(311)](o[i(306)])?1:r[i(431)][i(429)](o[i(431)])?-1:r[i(431)][i(311)](o[i(431)])?1:i(369)===t[i(453)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(341)]:null,d=i===t[o(441)]-1,f=h[e][0],m=c[o(324)](t[i][o(303)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(431)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(341)]!==u&&(l[e][o(431)]=s,f&&f[o(341)]===l[e][o(341)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(354)!==t[i][o(453)]||f&&f[o(341)]===u||h[e][o(304)]({userId:u,object:t[i][o(303)],change:l[e]}),o(276)===t[i][o(453)]&&f&&f[o(355)]===t[i][o(303)]&&(h[e][o(326)](),l[e]=f[o(146)])),l[e]&&d&&(l[e][o(431)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(303)],f=a[h(190)][h(142)](d)&&!a[h(190)][h(445)](d),m=t[h(430)]==o[h(235)]&&o[h(286)];if(f&&m)return;const p=a[h(337)](t,o),v=e[h(368)](u),g=new Qt({author:v,type:h(289)==l||h(370)==l?h(369):h(149),data:{isSuggestion:h(370)==l||h(344)==l},createdAt:new Date,rootName:i});r[h(361)](g),s[h(153)][h(454)](h(376)+g.id,p)}function v(t,e){const i=n,s=t[i(180)](),r=e[i(180)]();for(const t of s){if(t[1]!==e[i(176)](t[0]))return!1;r[i(165)]()}return r[i(165)]()[i(288)]}}[oe(401)](){const t=oe;this[t(133)][t(197)][t(425)](t(238))[t(148)]({view:t(457)}),this[t(133)][t(197)][t(425)](t(320))[t(268)]({model:t(457),view:e=>{const i=t,n=e[i(200)][i(147)](":")[1],s=this[i(428)](n);if(!s)return null;const r=i(369)==s[i(453)]?i(407):i(241),o=[i(274),i(226)+r];return s[i(137)][i(403)]&&o[i(361)](i(226)+r+i(313)),this[i(254)]==s&&o[i(361)](i(192)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(133)][t(197)][t(425)](t(238))[t(369)](e=>{const i=t;e.on(i(413),(t,e,n)=>{const s=i,r=e[s(305)][s(426)](0);if(!r||!r.is(s(143),s(357)))return;if(!n[s(296)][s(256)](r,{attributes:[s(440),s(152)]}))return;const o=e[s(333)][s(306)][s(430)];n[s(345)][s(246)](s(440),r[s(176)](s(440)),o),n[s(345)][s(246)](s(152),r[s(176)](s(152)),o)},{priority:i(347)})}),this[t(133)][t(197)][t(425)](t(238))[t(369)](e=>{const i=t;e.on(i(143),(t,e,n)=>{const s=i;if(!n[s(296)][s(256)](e[s(305)],{attributes:[s(440),s(152)]}))return;if(e[s(333)][s(367)])return;const r=e[s(333)][s(306)][s(430)];r[s(164)](s(440))||r[s(164)](s(393))||(n[s(345)][s(246)](s(440),e[s(305)][s(176)](s(440)),r),n[s(345)][s(246)](s(152),e[s(305)][s(176)](s(152)),r))},{priority:i(347)})}),this[t(133)][t(197)][t(425)](t(238))[t(411)]({view:{name:t(245),attributes:{vid:!0}},model:{key:t(393),value:e=>e[t(176)](t(393))}}),this[t(133)][t(233)][t(190)].on(t(280),(e,[,i])=>{const n=t;[n(440),n(152),n(393)][n(409)](i)&&(e[n(402)]=!0,e[n(163)]())},{priority:t(387)}),this[t(133)][t(197)][t(425)](t(336))[t(369)](e=>{const i=t;e.on(i(174),(t,e,n)=>{const s=i;if(" "!=e[s(303)][s(137)]||e[s(303)][s(235)][s(277)]>1)return;if(!n[s(296)][s(256)](e[s(303)],t[s(227)]))return;const r=n[s(345)],o=n[s(150)][s(422)](e[s(319)]);r[s(349)](o,r[s(151)](s(245)))})}),this[t(133)][t(197)][t(425)](t(336))[t(217)]({model:t(457)}),this[t(133)][t(379)][t(447)].on(t(204),function(e){const i=t,n=e[i(181)][i(368)](i(340));return(t,s,r)=>{const o=i,a=s[o(200)][o(147)](":")[1],c=n[o(428)](a);if(!c)return null;const u=o(369)==c[o(453)]?o(147):o(194);if(!r[o(296)][o(398)](s[o(287)],t[o(227)]))return;const l=s[o(287)][o(391)](),h=s[o(287)][o(306)],d=e[o(233)][o(190)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(303)];p=p||d[o(329)](e);const i=r[o(150)][o(187)](e);if(i&&i[o(252)](o(363)))return;o(276)==t[o(453)]&&d[o(142)](e)&&!d[o(445)](e)&&(e[o(195)]||h[o(178)]?f&&f[o(235)]==e||(f=e,g(t[o(348)]),v=!0):m=m||t[o(348)])}function g(t){const e=o,i=r[e(345)][e(269)](e(245),{class:e(226)+u}),a=r[e(150)][e(201)](t);c[e(137)][e(403)]&&r[e(345)][e(362)](e(226)+u+e(313),i),n[e(254)]==c&&r[e(345)][e(362)](e(192),i),r[e(345)][e(278)](a,i),r[e(150)][e(433)](i,s[e(200)])}p||v||!m||g(m)}}(this[t(133)]),{priority:t(358)}),this[t(133)][t(379)][t(447)].on(t(343),(e,i,n)=>{const s=t,r=n[s(150)][s(168)](i[s(200)]);if(r)for(const t of r)(t[s(182)](s(300))||t[s(182)](s(186)))&&(n[s(150)][s(177)](t,i[s(200)]),n[s(345)][s(149)](t))},{priority:t(358)}),this[t(133)][t(379)][t(447)].on(t(204),(e,i,n)=>{const s=t,r=i[s(200)][s(147)](":")[1],o=this[s(428)](r);if(!o)return null;const a=s(369)==o[s(453)]?s(147):s(194);if(n[s(296)][s(398)](i[s(287)],e[s(227)]))for(const t of i[s(287)][s(169)]()){if(!t.is(s(143),s(219)))continue;const e=n[s(345)][s(269)](s(245),{class:s(226)+a}),r=n[s(150)][s(201)](this[s(133)][s(233)][s(170)](t));o[s(137)][s(403)]&&n[s(345)][s(362)](s(226)+a+s(313),e),this[s(254)]==o&&n[s(345)][s(362)](s(192),e),n[s(345)][s(278)](r,e),n[s(150)][s(433)](e,i[s(200)])}},{priority:t(358)}),this[t(133)][t(233)][t(382)].on(t(146),()=>{const e=t;this[e(133)][e(379)][e(212)][e(146)](t=>{const i=e;for(const e of this[i(133)][i(233)][i(382)][i(188)]()){const n=this[i(133)][i(233)][i(382)][i(335)](e),s=this[i(133)][i(379)][i(212)][i(382)][i(335)](e);if(s){const e=n[i(176)](i(359));if(t[i(237)](i(144),s),t[i(439)](i(271),s),t[i(439)](i(434),s),t[i(439)](i(377),s),e){const n=this[i(428)](e);if(!n)return null;t[i(246)](i(144),e,s),t[i(362)](i(418)+n[i(453)],s),this[i(254)]==n&&t[i(362)](i(377),s)}}}})}),this[t(133)][t(197)][t(425)](t(238))[t(148)]({view:t(330),model:e=>t(229)+e,converterPriority:t(387)}),this[t(133)][t(197)][t(425)](t(238))[t(148)]({view:t(232),model:e=>t(310)+e,converterPriority:t(387)}),this[t(133)][t(197)][t(425)](t(336))[t(217)]({model:t(424),view:e=>({name:t(365)+e,group:t(424)}),converterPriority:t(387)}),this[t(133)][t(197)][t(425)](t(320))[t(268)]({model:t(424),view:e=>{const i=t,n=e[i(200)][i(147)](":")[1];return i(407)!=n&&i(241)!=n?null:{classes:[i(323),i(136)+n]}}}),this[t(133)][t(379)][t(447)].on(t(141),ue(this[t(133)],t(194)),{priority:t(358)}),this[t(133)][t(379)][t(447)].on(t(315),ue(this[t(133)],t(147)),{priority:t(358)}),this[t(133)][t(379)][t(447)].on(t(384),(e,i,n)=>{const s=t,r=n[s(150)][s(168)](i[s(200)]);if(r)for(const t of r)t.is(s(135))&&(n[s(150)][s(177)](t,i[s(200)]),n[s(345)][s(149)](t))},{priority:t(358)})}[oe(428)](t){const e=oe;return this[e(155)][e(368)](t)}[oe(193)](t){const e=oe;return this[e(375)]&&this[e(375)][e(432)](),this[e(375)]=new Jt(this[e(133)][e(291)],t),this[e(375)]}[oe(183)](){const t=oe;this[t(133)][t(233)][t(382)][t(160)][t(207)](t(457)),this.on(t(263),(e,i,n,s)=>{const r=t;s&&this[r(293)][r(149)](s),n&&(this[r(293)][r(369)]({view:n,stackId:r(213),position:{target:()=>{const t=r,e=this[t(133)][t(379)],i=this[t(428)](n[t(405)]);let s;if(i[t(137)][t(284)]){const n=e[t(212)][t(173)](i[t(351)]);s=Array[t(175)](n[t(198)]())}else{const i=this[t(133)][t(233)][t(153)][t(368)](t(376)+n[t(405)]);s=Array[t(175)](e[t(150)][t(168)](i[t(227)]))[t(328)](i=>e[t(212)][t(455)][t(338)](i))[t(328)](e=>Array[t(175)](e[t(198)]()))[t(206)]()}return this[t(202)]&&s[t(262)](e=>e[t(366)]-3<=this[t(202)].y&&e[t(317)]+3>=this[t(202)].y&&e[t(167)]-3<=this[t(202)].x&&e[t(312)]+3>=this[t(202)].x)||s[0]}}}),this[r(293)][r(350)](r(213)))}),this.on(t(321),(e,i,n,s)=>{const r=t;this[r(294)]=n?this[r(193)](n):null,this[r(133)][r(233)][r(146)](()=>{const t=r,e=this[t(133)][t(379)];s&&(s[t(137)][t(284)]?e[t(212)][t(146)](i=>{const n=t;i[n(439)](n(377),e[n(212)][n(382)][n(335)](s[n(351)]))}):e[t(234)](t(376)+s.id)),n&&(n[t(137)][t(284)]?e[t(212)][t(146)](i=>{const s=t;i[s(362)](s(377),e[s(212)][s(382)][s(335)](n[s(351)]))}):e[t(234)](t(376)+n.id))})}),this[t(437)](this[t(133)][t(379)][t(212)][t(382)],t(346),(e,i)=>{const n=t;if(this[n(254)])return;const s=this[n(416)](i[n(290)]),r=this[n(155)][n(368)](s);r?(this[n(202)]={x:i[n(210)].x,y:i[n(210)].y},this[n(294)]=this[n(193)](r)):(this[n(202)]=null,this[n(294)]=null)}),this[t(437)](this[t(133)][t(379)][t(212)][t(382)],t(250),(e,i)=>{const n=t,s=this[n(416)](i[n(290)]),r=this[n(155)][n(368)](s);r?(this[n(202)]={x:i[n(210)].x,y:i[n(210)].y},r===this[n(254)]?this[n(293)][n(221)]():this[n(254)]=r):(this[n(202)]=null,this[n(254)]=null)})}[oe(416)](t){const e=oe;do{const i=t[e(176)](e(144));if(i)return i;t=t[e(235)]}while(t);return null}[oe(389)](){const t=oe;this[t(133)][t(233)][t(146)](e=>{const i=t;for(const t of this[i(133)][i(233)][i(153)])e[i(191)](t)})}}function ue(t,e){return(i,n,s)=>{const r=ae;if(!s[r(296)][r(398)](n[r(287)],i[r(227)]))return;const o=n[r(287)][r(391)](),a=n[r(287)][r(306)],c=t[r(233)][r(190)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(303)];h=h||c[r(329)](e);const i=s[r(150)][r(187)](e);if(i&&i[r(252)](r(363)))return;r(276)==t[r(453)]&&c[r(142)](e)&&!c[r(445)](e)&&(e[r(195)]||a[r(178)]?u&&u[r(235)]==e||(u=e,f(t[r(348)]),d=!0):l=l||t[r(348)])}function f(t){const i=r,o=s[i(150)][i(201)](t),a=s[i(345)][i(269)](i(245),{class:i(136)+e});s[i(345)][i(278)](o,a),s[i(150)][i(433)](a,n[i(200)])}h||d||!l||f(l)}}class le extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(181)][e(368)](ce);this[e(397)]=!1,this[e(437)](i,e(301),()=>this[e(230)]()),this[e(437)](i,e(443),()=>this[e(230)]())}[oe(208)](){const t=oe,e=this[t(133)],i=e[t(181)][t(368)](ce),n=i[t(215)]?i[t(220)][t(140)]:null;e[t(279)][t(368)](t(332))[t(442)](n)}[oe(230)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(133)][t(181)][t(368)](ce),r=s&&n[t(392)](s[t(140)]);this[t(423)]=e&&i&&Boolean(r)}}function he(){const t=["changeId","isIncorrect","insertion","splice","includes","isAttached","elementToAttribute","change:numberOfChanges","element:pre","commands","isRemoved","_findChangeIdFromDomTarget","_processTape","ck-revision-history-root-","requires","showPreviousChange","detachRoot","toViewRange","isEnabled","revision-suggestion","for","getChild","_appendChild","_getChangeFromId","isBefore","nodeAfter","end","destroy","bindElementToMarker","ck-revision-history-root-remove","values","_makeModelFromViewString","listenTo","_setDistance","removeClass","vid_start","length","restoreRevisionCallback","change:isEnabled","numberOfChanges","isLimit","_refreshStartEndIndex","downcastDispatcher","compare","6124868BoIJYh","revision-viewer","isPremiumPlugin","offsetSize","type","set","domConverter","level","revision","editor","currentChangeNumber","uiElement","ck-suggestion-preview-marker-","data","pop","side","newRevisionId","addMarker:revision-suggestion:deletion","isBlock","element","data-change-id","_getDiff","change","split","dataToMarker","remove","mapper","createAttributeElement","vid_end","markers","repository","_changeIdToChange","isInline","725658FMyUuL","_removeUnsupportedChanges","diffData","selection","_makeModelFromTape","_fixObsoleteTags","stop","hasAttribute","next","1154844eYMvPu","left","markerNameToElements","getItems","createPositionBefore","filter","POSITIVE_INFINITY","getDomRoot","attribute:vid","from","getAttribute","unbindElementFromMarkerName","isAtEnd","ck-editor__editable__overlay","getAttributes","plugins","hasClass","_initInteractions","getRevision","endIndex","ck-suggestion-marker-merge","toViewElement","getRootNames","RevisionsRepository","schema","removeMarker","ck-suggestion-marker--active","_getViewForChange","merge","nextSibling","9586728awREIN","conversion","getClientRects","_markSuggestions","markerName","toViewPosition","_activeViewTarget","107984IZrtUY","addMarker:revision","findIndex","flat","observeMarkers","execute","isNavigationMode","domEvent","backward","view","revisionHistoryLabel","forEach","isReady","forward","markerToData","attributesAfter","softBreak","diff","updatePosition","restoreRevision","startsWith","concat","markersEnd","ck-suggestion-marker-","name","283099AxjoCX","revision-comment:","refresh","_threeWayMerge","suggestion","model","reconvertMarker","parent","_cleanUp","removeAttribute","upcast","text","delete","deletion","nextPosition","5wFzpRF","enableReadOnlyMode","span","setAttribute","770WwsRVu","roots","addRevision","mousedown","getRevisionDocumentData","getCustomProperty","all","activeChange","changes","consume","markersStart","adapter","distance","indexOf","createRangeIn","find","change:activeView","attachChange","init","loadRevisionData","_markInsertions","markerToHighlight","createUIElement","_utils","ck-revision-history-root-add","keys","sort","ck-suggestion-marker","slice","elementEnd","maxOffset","insert","config","checkAttribute","clear","getIndex","addRevisionData","isOnRoot","_update","isAtStart","markerRange","done","isAdded","target","locale","catch","_balloon","activeView","abs","consumable","first","_getRevisionsRange","_joinTapes","ck-suggestion-marker-split","change:isReady","bind","item","unshift","viewItem","start","resolve","RevisionHistoryUtils","showNextChange","revision-suggestion:","isAfter","right","-new","_revisions","addMarker:revision-suggestion:insertion","_step","bottom","startIndex","range","editingDowncast","change:activeChange","attributesBefore","ck-suggestion-preview-marker","isObject","_makeTape","shift","createRevision","map","isContent","comment","_sortAndFilterDiffChanges","revisionHistory","modelRange","error","getRoot","dataDowncast","createRange","mapViewToDom","isOfficialPlugin","RevisionViewer","userId","_removeMissingPairs","removeMarker:revision","isRemoveSuggestion","writer","mouseover","low","previousPosition","wrap","showStack","rootName","addRoot","oldRevisionId","elementStart","object","createPositionFromPath","code","high","revisionHistoryAttachChange","deletions","push","addClass","addHighlight","index","suggestion:","top","isCollapsed","get","add","isAddSuggestion","authors","attributes","has","_data","_changeView","revision:","ck-revision-history-root--active","then","editing","enqueueChange","isEqual","document","_markMarkers","removeMarker:revision-suggestion","getRevisionRootsAttributes","pairId","highest","WidgetToolbarRepository","_cleanMarkers","forceDisabled","getWalker","getLaterVisibleRevision","vid","pluginName","insertions","5453070CEFfSZ","affectsData","test","string","_setChanges","_setConversion","return","isSuggestion","_markMismatchedRemovedTags"];return(he=function(){return t})()}class de extends G.Command{[oe(316)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(181)][i(368)](ce);this[i(397)]=!1,this[i(316)]=i(216)===e?1:-1,this[i(437)](n,i(301),()=>this[i(230)]()),this[i(437)](n,i(443),()=>this[i(230)]()),this[i(437)](n,i(321),()=>this[i(230)]())}[oe(208)](){const e=oe,i=this[e(133)],n=i[e(181)][e(368)](ce),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(254)]=s?n[e(220)][e(255)][e(368)](r+this[e(316)]):n[e(220)][e(255)][e(297)],n[e(254)][e(137)][e(284)])o=i[e(379)][e(212)][e(173)](n[e(254)][e(351)]);else{const t=i[e(233)][e(153)][e(368)](e(376)+n[e(254)].id);o=(0,K.getMarkerDomElement)(i[e(379)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(230)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(133)][t(181)][t(368)](ce);this[t(423)]=!!(r&&s&&n)&&(!e||(1===this[t(316)]?i<n-1:i>0))}}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Et();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["setTemplate","isNavigationMode","16026020iTZcDg","13598ulYVah","EDIT_X_OF_Y_REVISIONS","Show previous change","bind","No changes","Total","set","backward","ck-revision-history-ui__changes-navigation__wrapper","isReady","_statusText","execute","202494NZonFG","isEnabled","X_OF_Y_CHANGES","ck-revision-history-ui__changes-navigation__label","Show next change","36xQyEyT","5954128mUhjlm","185lwdcHN","Loading...","ck-hidden","82197HAJaVY","isBackwardNavigationEnabled","1740276WLJPgf","NUMBER_OF_CHANGES","isForwardNavigationEnabled","bindTemplate","div","span","forward","fire","ck-revision-history-ui","numberOfChanges","ck-revision-history-ui__changes-navigation","_isStatusLabelVisible","ck-revision-history-ui__changes-navigation__navigation","currentChangeNumber","180yiXiBK","6906515QTKhHc"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=366]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(680779===parseInt(e(366))/1*(parseInt(e(371))/2)+parseInt(e(393))/3*(parseInt(e(388))/4)+parseInt(e(390))/5*(parseInt(e(383))/6)+-parseInt(e(367))/7+parseInt(e(389))/8+-parseInt(e(395))/9+-parseInt(e(370))/10)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(398)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(377)](e(369),!1),this[e(377)](e(380),!1),this[e(377)](e(408),0),this[e(377)](e(404),0),this[e(377)](e(397),!1),this[e(377)](e(394),!1),this[e(374)](e(406)).to(this,e(380),this,e(404),(t,e)=>t&&e>0),this[e(374)](e(381)).to(this,e(380),this,e(408),this,e(404),this,e(369),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(391));if(!s)return at(t,o(375));const a=at(t,o(396),s);return r?at(t,o(385),[n+1,s]):a}),n[e(377)]({label:at(t,e(373)),tooltip:!0,icon:_t.IconChevronUp}),s[e(377)]({label:at(t,e(387)),tooltip:!0,icon:_t.IconChevronDown}),n[e(374)](e(384)).to(this,e(394)),s[e(374)](e(384)).to(this,e(397)),n.on(e(382),()=>this[e(402)](e(382),e(378))),s.on(e(382),()=>this[e(402)](e(382),e(401))),this[e(368)]({tag:e(399),attributes:{class:["ck",e(403),e(405)]},children:[{tag:e(400),attributes:{class:[e(379)]},children:[{tag:e(400),attributes:{class:[e(386),i.if(e(406),e(392),t=>!t)]},children:[{text:i.to(e(369),i=>i?at(t,e(372))+": ":at(t,e(376))+": ")}]},{text:i.to(e(381))}]},new It.ToolbarSeparatorView,{tag:e(399),attributes:{class:[e(407)]},children:[n,s]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=_e;!function(t){const e=_e,i=t();for(;;)try{if(409518===parseInt(e(271))/1*(parseInt(e(273))/2)+parseInt(e(264))/3+parseInt(e(286))/4+-parseInt(e(268))/5*(parseInt(e(279))/6)+parseInt(e(282))/7*(-parseInt(e(262))/8)+-parseInt(e(283))/9+parseInt(e(265))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);const we=be(274);function _e(t,e){const i=Se();return(_e=function(t,e){return i[t-=262]})(t,e)}class Ie extends G.Plugin{static get[be(280)](){return be(263)}static get[be(276)](){return!0}static get[be(270)](){return!0}[be(281)](){const t=be,e=this[t(285)][t(272)][t(269)];e[t(278)](i=>{const n=t;for(const t of e[n(275)][n(267)])i[n(277)](we,t)})}[be(284)](){const t=be,e=this[t(285)][t(272)][t(269)];e[t(278)](i=>{const n=t;for(const t of e[n(275)][n(267)])i[n(266)](we,t)})}}function Se(){const t=["show","318626igIgzc","6079716ayVjQf","hide","editor","613148dhiOwl","120jGifma","RevisionViewerLoadingOverlay","1796655HEhzRC","11015540VwGeqk","removeClass","roots","10475bjvjzp","view","isPremiumPlugin","431551YUQwES","editing","2ypTKae","ck-editor__editable__loading-overlay","document","isOfficialPlugin","addClass","change","1482RyMoLS","pluginName"];return(Se=function(){return t})()}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=212]})(t,e)}function xe(){const t=["revisionHistory","componentFactory","101020VkbNwU","restoreRevision","isReady","Restore this revision","currentChangeNumber","3059610YLoKlt","15ZAxNqK","exitToEditing","121181QVVYwH","listenTo","pluginName","closeRevisionViewerCallback","showNextChange","showPreviousChange","change:isReady","requires","numberOfChanges","add","plugins","get","show","execute","isNavigationMode","isOfficialPlugin","bind","610eLBRmt","config","isForwardNavigationEnabled","editor","commands","3174822skcheN","3544BIsxdx","isBackwardNavigationEnabled","2168056ZOzzup","RevisionViewerUI","changesNavigation","6184449VaAcIv","hide","isPremiumPlugin","init","isEnabled","forward","ck-revision-history-ui__back-to-editing","Back to editing","set"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(281688===-parseInt(e(215))/1+-parseInt(e(254))/2*(parseInt(e(213))/3)+-parseInt(e(238))/4*(-parseInt(e(232))/5)+parseInt(e(212))/6+parseInt(e(237))/7+parseInt(e(240))/8+-parseInt(e(243))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(217)](){return Oe(241)}static get[Oe(230)](){return!0}static get[Oe(245)](){return!0}static get[Oe(222)](){return[ce,Ie]}[Oe(246)](){const t=Oe,e=this[t(235)],i=e[t(225)][t(226)](ce),n=e[t(225)][t(226)](Ie);e.ui[t(253)][t(224)](t(214),i=>{const n=t,s=new It.ButtonView(i);return s[n(251)]({label:at(i,n(250)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(249)}),this[n(216)](s,n(228),()=>{const t=n;e[t(233)][t(226)](t(252))[t(218)]()}),s}),e.ui[t(253)][t(224)](t(255),i=>{const n=t,s=new It.ButtonView(i);return s[n(251)]({label:at(i,n(257)),withText:!0,tooltip:!0}),s[n(231)](n(247)).to(e[n(236)][n(226)](n(255))),this[n(216)](s,n(228),()=>e[n(228)](n(255))),s}),e.ui[t(253)][t(224)](t(242),n=>{const s=t,r=new ge(n),o=e[s(236)][s(226)](s(220)),a=e[s(236)][s(226)](s(219));return r[s(231)](s(239)).to(o,s(247)),r[s(231)](s(234)).to(a,s(247)),r[s(231)](s(256),s(258),s(223),s(229)).to(i),this[s(216)](r,s(228),(t,i)=>{const n=s;e[n(228)](n(248)===i?n(219):n(220))}),r}),n[t(227)](),i.on(t(221),(e,i,s)=>{const r=t;s?n[r(244)]():n[r(227)]()})}}var Re=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Et();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;const Me=Ee;function Ve(){const t=["Revision name","132rSwTSj","destroy","1047108hEXsyz","4622058QqDeHr","7WaFszd","fieldView","4079889uZQqUu","ck-tooltip_multi-line","listenTo","10pNTCmX","value","scrollWidth","822691JosSgR","input","_tooltipString","span","bindTemplate","1978qiOnAt","placeholder","ck-revision-history-sidebar__revision-name","104745JwVSko","_updateTooltipText","8wpvmcW","2484086aYYZBl","2763GgYQKG","clientWidth","set","Enter the revision name","element","extendTemplate","_resizeObserver","render"];return(Ve=function(){return t})()}function Ee(t,e){const i=Ve();return(Ee=function(t,e){return i[t-=400]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(494506===-parseInt(e(408))/1+parseInt(e(413))/2*(-parseInt(e(420))/3)+-parseInt(e(429))/4*(-parseInt(e(416))/5)+-parseInt(e(432))/6*(-parseInt(e(400))/7)+parseInt(e(418))/8*(parseInt(e(402))/9)+parseInt(e(405))/10*(parseInt(e(419))/11)+parseInt(e(431))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends It.LabeledFieldView{[Me(426)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(412)];this[i(422)]({label:at(t,i(428)),_tooltipString:""}),this[i(401)][i(414)]=at(t,i(423)),this[i(425)]({tag:i(411),attributes:{class:[i(415)],"data-cke-tooltip-text":n.to(i(410)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(403)}})}[Me(427)](){const e=Me;super[e(427)](),this[e(426)]=new t.ResizeObserver(this[e(401)][e(424)],()=>this[e(417)]()),this[e(404)](this[e(401)],e(409),()=>this[e(417)]())}[Me(430)](){const t=Me;super[t(430)](),this[t(426)]&&this[t(426)][t(430)]()}[Me(417)](){const t=Me,e=this[t(401)][t(424)];this[t(410)]=e[t(407)]>e[t(421)]&&e[t(406)]||""}}var Ce=i(249),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(){const t=["7334733cMDASf","751188zmpduQ","3092228WjXPhJ","Revision author","push","setTemplate","4pahWqz","500RizkRi","5953435vhvVmW","ck-revision-history-sidebar__revision-author","Revision creator","0 0 11 10","554058ZVbCjj","8978688qjGCte","1CbkAAL","ck-revision-history-sidebar__revision-author_creator","set","ck-revision-history-sidebar__revision-author__name","span","name","7341600jTZgNB"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=485]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(774634===parseInt(e(505))/1*(parseInt(e(493))/2)+-parseInt(e(492))/3*(parseInt(e(497))/4)+parseInt(e(499))/5+parseInt(e(504))/6+-parseInt(e(491))/7+parseInt(e(490))/8+-parseInt(e(503))/9*(parseInt(e(498))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const n=Le;super(t);const s=new It.IconView;s[n(486)]({content:_t.IconUser,viewBox:n(502)});const r=["ck",n(500)];i&&r[n(495)](n(485));const o=[{tag:n(488),attributes:{class:["ck",n(487)],title:at(t,n(i?501:494))},children:[s,e[n(489)]]}];this[n(496)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=158]})(t,e)}function We(){var t=["702dSdcpC","1830745IEbbIM","12WsWUas","numeric","558636bIvbnl","6NLdAiM","toLocaleTimeString","3697728QkPHqO","946608Wgdntx","2SKDGQJ","3545800liqNWR","76800bXnWmt","toLocaleDateString","long","7wJqLaL","12663211GwjPWl"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(653379===-parseInt(e(167))/1+-parseInt(e(172))/2*(-parseInt(e(170))/3)+parseInt(e(171))/4+-parseInt(e(164))/5*(parseInt(e(168))/6)+-parseInt(e(161))/7*(parseInt(e(173))/8)+parseInt(e(163))/9*(-parseInt(e(158))/10)+parseInt(e(162))/11*(parseInt(e(165))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(11),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=Rt().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Et();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=$e();return(Ze=function(t,e){return i[t-=303]})(t,e)}function $e(){const t=["bind","name","56365eiaxgT","children","3476517svMZHp","execute","4ijIoVb","1hIXAEM","isActionsDropdownOpen","function","Restore this revision","add","Show more items","listenTo","set","ck-on","7416480WzXUzX","1813767upeNFW","items","Name this revision","1304FcPjHX","source","isVisible","menuitem","action","Compare against selected","stopPropagation","ck-revision-history-sidebar__revision__actions","isReady","498aPXBTo","menu","39095wQmrhK","bindTemplate","map","isOpen","change:isActionsDropdownOpen","locale","button","2265082YgEdKJ","isEnabled","_action","first","extendTemplate","10dAtogi","panelPosition","class","model","buttonView","find","listView","1043001GHgAcD"];return($e=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(712458===-parseInt(e(321))/1*(-parseInt(e(352))/2)+parseInt(e(331))/3*(parseInt(e(320))/4)+-parseInt(e(316))/5*(-parseInt(e(343))/6)+-parseInt(e(345))/7*(parseInt(e(334))/8)+-parseInt(e(313))/9+parseInt(e(306))/10*(-parseInt(e(318))/11)+-parseInt(e(330))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($e);var qe=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=Rt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;const Ye=Je;function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=141]})(t,e)}function Ge(){const t=["ck-revision-history-sidebar__revision-wrapper_confirmation_visible","3267486KbZyTw","_revision","ck-disabled","select","extendTemplate","bindTemplate","unhighlight","isReady","35rxceNz","_requireRevisionName","setTemplate","element","ck-revision-history-sidebar__revision_highlighted","4IEDcTE","change","fire","listenTo","highlight","isEnabled","318634IVYIVz","srcElement","name","authors","filter","isConfirm","_createdAtFormatted","ck-reset","revisionNameView","uiLanguage","revisionActionsView","deselect","ck-revision-history-sidebar__revision_selected","div","value","42879wkLxsu","ck-revision-history-sidebar__revision__date","220","344904XXdAzm","length","ck-revision-history-sidebar__revision-authors","map","isHighlighted","isSelected","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision__controls-wrapper","creator","createdAt","isActionsDropdownOpen","render","ck-revision-history-sidebar__actions_dropdown_open","span","setName","closest","647864iRBSwh","1302920qIIloU","unshift","ck-revision-history-sidebar__revision","fieldView","1306380LkyKKS","bind","set",".ck-thread__remove-confirm","from"];return(Ge=function(){return t})()}!function(t){const e=Je,i=t();for(;;)try{if(235328===parseInt(e(192))/1+-parseInt(e(162))/2+parseInt(e(143))/3*(parseInt(e(186))/4)+-parseInt(e(167))/5+-parseInt(e(146))/6*(-parseInt(e(181))/7)+-parseInt(e(163))/8+parseInt(e(173))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(200)];[Ye(202)];[Ye(174)];[Ye(182)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(178)],a=function(t,e){const i=r,n=Array[i(171)](e[i(195)])[i(196)](t=>t!=e[i(154)]);return e[i(154)]&&n[i(164)](e[i(154)]),n[i(149)](n=>new Pe(t,n,n==e[i(154)]))}(e,i);this.id=i.id,this[r(174)]=i,this[r(182)]=s,this[r(168)](r(194),r(155)).to(i),this[r(168)](r(198)).to(this,r(155),t=>{return i=e[r(201)],(n=t)[(s=ze)(159)](i,{month:s(160),day:s(166)})+", "+n[s(169)](i,{hour:s(166),minute:s(166)});var i,n,s}),this[r(169)](r(151),!1),this[r(169)](r(150),!1),this[r(169)](r(156),!1),this[r(169)](r(180),!1),this[r(169)](r(191),!1),this[r(200)]=new De(e,It.createLabeledInputText),this[r(200)][r(166)][r(177)]({attributes:{maxlength:r(145)}}),this[r(200)][r(166)][r(168)](r(142)).to(this,r(194),t=>t||this[r(198)]),this[r(200)][r(168)](r(191)).to(this,r(151),this,r(191),(t,e)=>t&&e),this[r(202)]=n&&n[r(147)]?function(e,i){const n=Ze,s=e[n(346)],r=e[n(350)],o=(0,It.createDropdown)(r);o[n(307)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(350)],s={"Compare against selected":at(n,i(339)),"Name this revision":at(n,i(333)),"Restore this revision":at(n,i(324))};return e[i(347)](t=>{const e=i,n=s[t[e(315)]];return n&&n!==t[e(315)]&&(t[e(315)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(351),model:new It.UIModel({label:t[s(315)],class:t[s(308)],withText:!0,role:s(337),_action:t[s(338)]})};i[s(309)][s(314)](s(353)).to(e,s(322),i=>s(323)!=typeof t[s(353)]||!i||t[s(353)](e)),o[s(325)](i)}return o}(e,i);return e[n(314)](n(322)).to(o,n(348)),o[n(310)][n(328)]({label:at(r,n(326)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(305)]({attributes:{class:[n(341),s.if(n(322),n(329))]},on:{click:s.to(t=>t[n(340)]())}}),o.on(n(319),t=>{const i=n;e[i(342)]&&i(323)==typeof t[i(335)][i(303)]&&t[i(335)][i(303)](e)}),(0,It.addListToDropdown)(o,a,{role:n(344)}),o[n(327)](e,n(349),(t,s,r)=>{const a=n;if(r)for(const t of o[a(312)][a(332)]){const n=t[a(317)][a(304)],s=i[a(311)](t=>t[a(338)]===n[a(303)])[a(336)];t[a(336)]=void 0===s||s(e)}}),o}(this,n):"",this[r(202)]&&this[r(202)][r(168)](r(191)).to(this),this[r(183)]({tag:r(141),attributes:{class:["ck",r(199),r(152),o.if(r(197),r(172))]},children:[{tag:r(141),attributes:{class:["ck",r(199),r(165),o.if(r(191),r(175),t=>!t),o.if(r(151),r(204)),o.if(r(150),r(185)),o.if(r(156),r(158))]},children:[this[r(200)],{tag:r(159),attributes:{class:["ck",r(144)]},children:[{text:o.to(r(198))}]},{tag:r(141),attributes:{class:["ck",r(153)]},children:[{tag:"ul",attributes:{class:["ck",r(148)]},children:a}]},this[r(202)]],on:{click:o.to(t=>{const e=r;t[e(193)][e(161)](e(170))||this[e(180)]&&this[e(191)]&&this[e(188)](e(176),{id:this.id})})}}]})}[Ye(157)](){const t=Ye;super[t(157)]();const e=this[t(200)][t(166)][t(184)];this[t(189)](e,t(187),()=>{const i=t;this[i(182)]&&!e[i(142)]||this[i(188)](i(160),{id:this.id,name:e[i(142)]}),e[i(142)]||(e[i(142)]=this[i(194)]?this[i(194)]:this[i(198)])})}[Ye(176)](){this[Ye(151)]=!0}[Ye(203)](){this[Ye(151)]=!1}[Ye(190)](){this[Ye(150)]=!0}[Ye(179)](){this[Ye(150)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class ni extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Ei extends Mi{static get instance(){return null===Vi&&(Vi=new Ei),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:En(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const Wi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function $i(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const qi=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Un(this.floor?Math.floor(t):qn(t,3),this.padTo)}}class Ji{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),Wi.clear(),Ui.clear(),Zi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Xi.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===$i(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return Bi(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||$i(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?function(t){let e=qi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),qi.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class en extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function nn(t,e){if(En(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Ei.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return Dn(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Ei.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Xi.resetCache(),ji.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Xn(c,e,i)):u>Xn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function Rn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function An(t,e){if(!En(t.localWeekday)||!En(t.localWeekNumber)||!En(t.localWeekYear)){if(!En(t.weekday)||!En(t.weekNumber)||!En(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return En(t.localWeekday)||(t.weekday=t.localWeekday),En(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),En(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Mn(t){const e=Cn(t.year),i=Wn(t.month,1,12),n=Wn(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Vn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function En(t){return void 0===t}function Dn(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Wn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hn(t){return En(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return En(t)||null===t||""===t?void 0:parseFloat(t)}function $n(t){if(!En(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qn(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Xn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF:Ai};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Un(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Hn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rs=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),As=RegExp(`(?:T${Rs.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Vs=Ts("year","ordinal"),Es=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Ds=RegExp(`(?: ${Es.source})?`);function Cs(t,e,i){const n=t[e];return En(n)?i:Hn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:$n(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ls(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),zs=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ws(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d($n(u),h)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Hn(e)):Hn(e),month:as.indexOf(i)+1,day:Hn(n),hour:Hn(s),minute:Hn(r)};return o&&(a.second=Hn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Zs=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function $s(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Hs(e,s,n,i,r,o,a);let f;return f=c?Us[c]:u?0:es(l,h),[d,new tn(f)]}const qs=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bs=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ys=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Js(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,As),Xs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,As),Qs=Is(/(\d{4})-?(\d{3})/,As),tr=Is(Rs),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ls),ir=Ss(Ms,Fs,js,Ls),nr=Ss(Vs,Fs,js,Ls),sr=Ss(Fs,js,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Es),cr=Ss(Fs,js,Ls);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(En(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(En(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Dn(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Ws])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ps,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ni(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return En(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=qn(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Pn(e.values,t)||Pn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Ar(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Er(t){return{regex:t,deser:([t])=>t}}const Dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Qn);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Er(l);case"uu":return Er(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Er(/[a-z_+-/]{1,256}?/i);case" ":return Er(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;En(t.z)||(i=ji.create(t.z)),En(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),En(t.q)||(t.M=3*(t.q-1)+1),En(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),En(t.u)||(t.S=$n(t.u));const n=Object.keys(t).reduce((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e},{});return[n,i,e]}(i):[null,null,void 0];if(Pn(i,"a")&&Pn(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function $r(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function qr(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return qr(Gn(t),e,i)}function Jr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Jn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Gn(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Xi.fromObject(e);let s,r;if(En(t.year))s=gn.now();else{for(const e of no)En(t[e])&&(t[e]=to[e]);const e=Mn(t)||Vn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!En(i.round)||i.round,s=(t,s)=>{t=qn(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=En(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Dn(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Xi.fromObject(e)}):fo.invalid(Ur(s))}static fromMillis(t,e={}){if(Dn(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Dn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=An(s,n),a=gn.now(),c=En(e.specificOffset)?i.offset(a):e.specificOffset,u=!En(s.ordinal),l=!En(s.year),h=!En(s.month)||!En(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){En(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Wn(t.weekNumber,1,Xn(t.weekYear,e,i)),r=Wn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Wn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Vn(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?Rn(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Xs,ir],[Qs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,$s])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[qs,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(En(t)||En(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[$r(this,{ts:a}),$r(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Yr(i,e,t)}return $r(this,{ts:n,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return $r(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=An(e,this.loc),s=!En(e.weekYear)||!En(e.weekNumber)||!En(e.weekday),r=!En(e.ordinal),o=!En(e.year),a=!En(e.month)||!En(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):En(e.ordinal)?(l={...this.toObject(),...e},En(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=Rn({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return $r(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Xi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(En(t)||En(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Dn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=356]})(t,e)}function vo(){const t=["6OPJFxO","4351122DUkOKK","toRelativeCalendar","8698432NEvtwG","2418773MtusfH","21232210VIamyM","22JTXOAR","1483311vRoOEl","2500rIEoyh","hasSame","local","monthLong","year","minus","day","month","4063908giUSff","weekdayLong","setLocale","toJSDate","fromJSDate","startOf","week","1188KkZpFj","5VdcGiW"];return(vo=function(){return t})()}function go(t,e){const i=po,n=fo[i(369)](t)[i(367)](e),s=fo[i(359)](),r=s[i(362)]({days:1})[i(370)](i(363));let o,a;return n[i(358)](s,i(363))?(o=n[i(370)](i(363))[i(368)](),a=n[i(376)]()):n[i(358)](r,i(363))?(o=r[i(368)](),a=n[i(376)]()):n[i(358)](s,i(371))?(o=n[i(370)](i(371))[i(368)](),a=n[i(366)]||""):n[i(358)](s,i(361))?(o=n[i(370)](i(364))[i(368)](),a=n[i(360)]||""):(o=n[i(370)](i(361))[i(368)](),a=String(n[i(361)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(993847===-parseInt(e(356))/1+parseInt(e(357))/2*(-parseInt(e(372))/3)+parseInt(e(365))/4*(-parseInt(e(373))/5)+-parseInt(e(374))/6*(-parseInt(e(378))/7)+-parseInt(e(377))/8+parseInt(e(375))/9+-parseInt(e(379))/10*(-parseInt(e(380))/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=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["uiLanguage","4056824cBKNtB","div","ck-revision-history-sidebar__time-period__revisions","_requireRevisionName","localizedPeriodName","ck-revision-history-sidebar__time-period__label","addRevision","8189050uOJXPl","354474uzbcXx","477305UILrIi","find","setTemplate","remove","select","2103054kLviRs","add","revisionViews","14aAnYwH","locale","2556dtwlBB","ck-revision-history-sidebar__time-period","_revisionActions","4INLguB","delegate","4005qMzApV","setName","createCollection","removeRevision","5223255DxNHcb","startDate","span"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=468]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(639772===parseInt(e(474))/1*(parseInt(e(487))/2)+parseInt(e(489))/3*(-parseInt(e(484))/4)+parseInt(e(493))/5+-parseInt(e(479))/6+parseInt(e(482))/7*(-parseInt(e(497))/8)+parseInt(e(473))/9+parseInt(e(472))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[bo(494)];[bo(481)];[bo(486)];[bo(468)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(483)][s(496)])[s(469)];this[s(494)]=e,this[s(481)]=this[s(491)](),this[s(486)]=i,this[s(468)]=n,this[s(481)][s(488)](s(478)).to(this),this[s(481)][s(488)](s(490)).to(this),this[s(476)]({tag:s(498),attributes:{class:["ck",s(485)]},children:[{tag:s(495),attributes:{class:["ck",s(470)]},children:[{text:r}]},{tag:s(498),attributes:{class:["ck",s(499)]},children:this[s(481)]}]})}[bo(471)](t){const e=bo,i=new Ke(this[e(483)],t,this[e(486)],this[e(468)]);this[e(481)][e(480)](i)}[bo(492)](t){const e=bo,i=this[e(481)][e(475)](e=>e.id===t.id);this[e(481)][e(477)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["30918aRRKwR","21SFHyUh","12rOmDbA","78984xXjuTQ","setTemplate","10AJwbuZ","1GBHslG","5310594vjHBbb","897586lXYGdu","335JYMggN","ck-revision-history-sidebar__header__label","Revision history","content","13135529oipKCg","span","2370981ffxdDM","4kYmTmh","ck-revision-history-sidebar__header","div","5607628BFuTlW","ck-reset_all"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=327]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(601571===-parseInt(e(339))/1*(parseInt(e(341))/2)+-parseInt(e(327))/3*(parseInt(e(328))/4)+-parseInt(e(342))/5*(parseInt(e(333))/6)+-parseInt(e(334))/7*(parseInt(e(336))/8)+parseInt(e(340))/9+parseInt(e(338))/10*(parseInt(e(346))/11)+-parseInt(e(335))/12*(-parseInt(e(331))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(345)]=_t.IconHistory,this[e(337)]({tag:e(330),attributes:{class:["ck",e(332),e(329)]},children:[i,{tag:e(347),attributes:{class:["ck",e(343)]},children:[at(t,e(344))]}]})}}var Ro=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Et();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;function Mo(t,e){const i=Eo();return(Mo=function(t,e){return i[t-=322]})(t,e)}const Vo=Mo;function Eo(){const t=["_revisionActions","timePeriodViews","_revisions","ck-reset","render","createdAt","selectRevision","deselect","5114874zBhXHr","12431943qtkgTU","isEnabled","_getTimePeriodViewByStartDate","div","unhighlight","setName","highlightRevisions","7ocYkaI","_addRevision","createCollection","10JpeXYL","remove","1540995TARABr","setTemplate","flat","highlight","some","revisionSelected","739459RovDsR","getTime","897456cwITfU","removeRevision","ck-rounded-corners","_removeRevision","bindTemplate","add","fire","locale","get","startDate","delegate","ck-disabled","8rXiHmU","find","set","_requireRevisionName","4468624OyixOC","revisionSetName","addRevision","revisionViews","1255558NEQyBL","uiLanguage","select","ck-revision-history-sidebar","map","ck-revision-history-sidebar__timeline"];return(Eo=function(){return t})()}!function(t){const e=Mo,i=t();for(;;)try{if(647998===-parseInt(e(337))/1+parseInt(e(359))/2+-parseInt(e(339))/3+-parseInt(e(351))/4*(parseInt(e(331))/5)+parseInt(e(373))/6+parseInt(e(326))/7*(-parseInt(e(355))/8)+-parseInt(e(374))/9*(-parseInt(e(329))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends It.View{[Vo(366)];[Vo(367)];[Vo(365)];[Vo(354)];constructor(t,e,i,n){const s=Vo;super(t);const r=this[s(343)];this[s(366)]=this[s(328)](),this[s(366)][s(349)](s(361)).to(this),this[s(366)][s(349)](s(324)).to(this),this[s(367)]=e,this[s(365)]=i,this[s(354)]=n,this.on(s(361),(t,e)=>{const i=s;this[i(345)](i(336),e)}),this.on(s(324),(t,e)=>{const i=s;this[i(345)](i(356),e)}),this[s(353)](s(375),!1),this[s(332)]({tag:s(322),attributes:{class:["ck",s(368),s(341),s(362)]},children:[new No(t),{tag:s(322),attributes:{class:["ck",s(364),r.if(s(375),s(350),t=>!t)]},children:this[s(366)]}]})}[Vo(369)](){const t=Vo;super[t(369)]();for(const e of this[t(367)])this[t(327)](e);this[t(367)].on(t(344),(e,i)=>{this[t(327)](i)}),this[t(367)].on(t(330),(e,i)=>{this[t(342)](i)})}get[Vo(358)](){const t=Vo;return this[t(366)][t(363)](e=>e[t(358)][t(363)](t=>t))[t(333)]()}[Vo(371)](t){const e=Vo;for(const i of this[e(358)])t&&t.id===i.id?i[e(361)]():i[e(372)]()}[Vo(325)](t){const e=Vo;for(const i of this[e(358)])t[e(335)](({id:t})=>t===i.id)?i[e(334)]():i[e(323)]()}[Vo(327)](t){const e=Vo,i=go(t[e(370)],this[e(346)][e(360)])[e(348)];let n=this[e(366)][e(347)](0);n&&n[e(348)][e(338)]()===i[e(338)]()||(n=new Io(this[e(346)],i,this[e(365)],this[e(354)]),this[e(366)][e(344)](n)),n[e(357)](t)}[Vo(342)](t){const e=Vo,i=go(t[e(370)],this[e(346)][e(360)])[e(348)];this[e(376)](i)[e(340)](t)}[Vo(376)](t){const e=Vo;return this[e(366)][e(352)](i=>i[e(348)][e(338)]()===t[e(338)]())}}function Co(){const t=["22278vCCphJ","select","revisionHistory","465uoBlsw","24556cpPKDR","_revisionsRepository","name","revisionSelected","map","255039UQoYhc","bind","_createRevisionActions","isPremiumPlugin","_revisionViewer","timePeriodViews","_sidebarView","locale","_handleDiffChange","get","repository","render","config","_handleRevisionSetName","revisionHistory.viewerSidebarContainer","restoreRevision","setName","revisionSetName","string","action","init","remove","getIndex","add","highlightRevisions","change:diff","2790448vZpkYa","element","isVisible","revisionHistory.revisionActions","isOfficialPlugin","editor","isSelected","Name this revision","Compare against selected","data","getRevision","getLaterVisibleRevision","availableRevisionActions","newRevisionId","requires","nameRevision","diff","pluginName","12yHHkvD","compare","destroy","41140vskwfW","isEnabled","defaultRevisionActions","isReady","getEarlierVisibleRevision","fieldView","compareAgainstSelected","333ioyntz","_handleEditorDataReady","selectRevision","2794vcUtVX","revisionHistory.requireRevisionName","plugins","109IhkACs","getRevisionsInDiff","appendChild","RevisionsSidebar","assign","Restore this revision","focus","revisionViews","length","94171LtOXpI","_handleRevisionSelected","204wVZOhR","ready","listenTo","_revisions","restoreRevisionCallback"];return(Co=function(){return t})()}const Fo=jo;function jo(t,e){const i=Co();return(jo=function(t,e){return i[t-=436]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(201994===-parseInt(e(444))/1*(-parseInt(e(441))/2)+-parseInt(e(469))/3*(parseInt(e(513))/4)+-parseInt(e(463))/5*(parseInt(e(460))/6)+parseInt(e(464))/7+parseInt(e(495))/8+-parseInt(e(438))/9*(-parseInt(e(516))/10)+parseInt(e(453))/11*(parseInt(e(455))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Co);class Lo extends G.Plugin{[Fo(473)];[Fo(465)];[Fo(475)];static[Fo(518)]=[Fo(437),Fo(484),Fo(510)];static[Fo(507)]=function(){const t=Fo;return{compareAgainstSelected:{name:t(503),action:({plugins:e},i)=>{const n=t,s=e[n(478)](ce),r=s[n(479)];let o=s[n(511)][n(508)],a=i.id;r[n(491)](o)>r[n(491)](a)&&([o,a]=[a,o]),s[n(514)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(478)](ce);return!(s[n(479)][n(445)](s[n(511)])[n(452)]>2||i[n(501)])}},restoreRevision:{name:t(449),action:(e,{id:i})=>{const n=t;e[n(481)][n(478)](n(462))[n(459)](i)},isVisible:({plugins:e},i)=>!!e[t(478)](ce)[t(479)][t(506)](i.id)},nameRevision:{name:t(502),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(478)](ce),o=r[s(479)][s(520)](i);r[s(514)](i,o),n[s(450)](),n[s(436)][s(461)]()}}}}();static get[Fo(512)](){return Fo(447)}static get[Fo(499)](){return!0}static get[Fo(472)](){return!0}static get[Fo(509)](){return[ce]}constructor(t){const e=Fo;super(t),this[e(473)]=t[e(443)][e(478)](ce),this[e(465)]=this[e(473)][e(479)],this[e(475)]=null}[Fo(489)](){const t=Fo,e=this[t(465)][t(458)],i=this[t(471)](),n=this[t(500)][t(481)][t(478)](t(483));this[t(475)]=new Do(this[t(500)][t(476)],e,i,this[t(500)][t(481)][t(478)](t(442))),this[t(475)].on(t(467),this[t(454)][t(470)](this)),this[t(475)].on(t(486),this[t(482)][t(470)](this)),this[t(475)][t(470)](t(517)).to(this[t(473)]),this[t(475)][t(474)].on(t(492),(e,i)=>{const n=t;i[n(451)].on(n(492),(t,e)=>{const i=n;e[i(470)](i(517),i(519)).to(this[i(473)])})}),this[t(475)][t(480)](),this[t(457)](this[t(500)][t(504)],t(456),this[t(439)][t(470)](this)),this[t(457)](this[t(473)],t(494),this[t(477)][t(470)](this)),n[t(446)](this[t(475)][t(496)])}[Fo(515)](){const t=Fo;this[t(475)][t(496)][t(490)](),this[t(475)][t(515)]()}[Fo(439)](){const t=Fo,e=this[t(465)][t(505)](0);if(e){const i=this[t(465)][t(520)](e.id);this[t(473)][t(514)](e,i)}}[Fo(454)](t,e){const i=Fo,n=this[i(465)][i(505)](e.id),s=this[i(465)][i(520)](n.id);this[i(473)][i(514)](n,s)}[Fo(482)](t,e){const i=Fo;this[i(465)][i(505)](e.id)[i(485)](e[i(466)])}[Fo(477)](t,e,i){const n=Fo,s=this[n(465)][n(445)](i);s[n(452)]>2?(this[n(475)][n(493)](s),this[n(475)][n(440)](null)):(this[n(475)][n(493)]([]),this[n(475)][n(440)](s[0]))}[Fo(471)](){const t=Fo,e=this[t(500)],i=Lo[t(507)],n=e[t(481)][t(478)](t(498))||Lo[t(518)];if(n[t(452)])return n[t(468)](n=>{const s=t,r=s(487)==typeof n?Object[s(448)]({},i[n]):n;return r[s(488)]=r[s(488)][s(470)](this,e),r[s(497)]&&(r[s(497)]=r[s(497)][s(470)](this,e)),r})}}const Po=zo;function zo(t,e){const i=Wo();return(zo=function(t,e){return i[t-=295]})(t,e)}function Wo(){const t=["isActive","756lZvJAZ","attachDomRoot","isFocused","stickyPanel","7407zpOmQe","init","getRoot","render","_view","restore","4161099hXHaCu","limiterElement","ready","5cyywme","46592fKuRqK","1020HhDqAk","7823644dntpep","11150DShnEk","rootName","fillFromConfig","editable","121626CxIFFm","8258984PDdtmN","addToolbar","config","focusTracker","view","viewportOffset","editing","toolbar","detachDomRoot","element","name","replace","106315vLjRSX","viewportTopOffset","_toolbarConfig","fire","destroy","editor","document","get","2XCfwpf","bind","componentFactory","setEditableElement","_initToolbar","_elementReplacer"];return(Wo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(980341===-parseInt(e(341))/1*(-parseInt(e(320))/2)+-parseInt(e(309))/3+parseInt(e(315))/4*(parseInt(e(312))/5)+parseInt(e(299))/6*(-parseInt(e(313))/7)+parseInt(e(321))/8+parseInt(e(303))/9*(parseInt(e(316))/10)+-parseInt(e(333))/11*(parseInt(e(314))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends It.EditorUI{[Po(307)];[Po(335)];[Po(297)];get[Po(325)](){return this[Po(307)]}constructor(e,i){const n=Po;super(e),this[n(307)]=i,this[n(335)]=(0,It.normalizeToolbarConfig)(e[n(323)][n(340)](n(328))),this[n(297)]=new t.ElementReplacer}get[Po(330)](){const t=Po;return this[t(325)][t(330)]}[Po(304)](t){const e=Po,i=this[e(338)],n=this[e(325)],s=i[e(327)][e(325)],r=n[e(319)],o=s[e(339)][e(305)]();r[e(331)]=o[e(317)],n[e(306)]();const a=r[e(330)];this[e(295)](r[e(331)],a),n[e(319)][e(342)](e(301)).to(this[e(324)]),s[e(300)](a),this[e(297)][e(332)](t,this[e(330)]),this[e(296)](),this[e(336)](e(311))}[Po(337)](){const t=Po;super[t(337)]();const e=this[t(325)],i=this[t(338)][t(327)][t(325)];this[t(297)][t(308)](),i[t(329)](e[t(319)][t(331)]),e[t(337)]()}[Po(296)](){const t=Po,e=this[t(325)];e[t(302)][t(342)](t(298)).to(this[t(324)],t(301)),e[t(302)][t(310)]=e[t(330)],e[t(302)][t(342)](t(334)).to(this,t(326),({top:t})=>t),e[t(328)][t(318)](this[t(335)],this[t(343)]),this[t(322)](e[t(328)])}}var Ho=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=Rt().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Et();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var $o=Bo;function qo(){var t=["render","6372268djgZEE","580204WEOGFE","stickyPanel","top","editable","_editable","336tsRMWe","shouldToolbarGroupWhenFull","toolbar","3irtDXZ","5780140ZwFShU","main","33374528qniIEM","2QTGlIq","54XibMrO","38052WAuVCI","add","1002986TBLhwU","content","422945uvodAu"];return(qo=function(){return t})()}function Bo(t,e){var i=qo();return(Bo=function(t,e){return i[t-=152]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(541204===parseInt(e(166))/1*(parseInt(e(170))/2)+-parseInt(e(162))/3*(-parseInt(e(154))/4)+-parseInt(e(172))/5*(-parseInt(e(167))/6)+parseInt(e(153))/7+-parseInt(e(159))/8*(-parseInt(e(168))/9)+parseInt(e(163))/10+-parseInt(e(165))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Yo extends It.BoxedEditorUIView{[$o(158)];[$o(155)];[$o(161)];get[$o(157)](){return this[$o(158)]}constructor(t,e,i={}){var n=$o;super(t),this[n(155)]=new It.StickyPanelView(t),this[n(161)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(160)]}),this[n(158)]=new It.InlineEditableUIView(t,e)}[$o(152)](){var t=$o;super[t(152)](),this[t(155)][t(171)][t(169)](this[t(161)]),this[t(156)][t(169)](this[t(155)]),this[t(164)][t(169)](this[t(157)])}}const Jo=Ko;function Go(){const t=["get","6wzLJAI","document","539204jeVwIq","updateSourceElement","391304SUiVnH","279355puRGVH","view","3051iymjJI","_ui","data","initialData","1288567VfSHDa","initPlugins","createRoot","config","ready","fire","editing","model","12ORmFDr","locale","275090PRIvyw","sourceElement","init","destroy","3465325ShHfsn","create","36350whQHrx"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=405]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(388528===parseInt(e(424))/1+parseInt(e(411))/2*(parseInt(e(409))/3)+-parseInt(e(421))/4+parseInt(e(415))/5+-parseInt(e(419))/6*(-parseInt(e(430))/7)+parseInt(e(423))/8+-parseInt(e(426))/9*(parseInt(e(417))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(427)];get ui(){return this[Jo(427)]}constructor(t,e){const i=Jo;super(e),this[i(412)]=t,this[i(408)][i(420)][i(432)]();const n=new Yo(this[i(410)],this[i(407)][i(425)],{shouldToolbarGroupWhenFull:!0});this[i(427)]=new Uo(this,n)}[Jo(414)](){const t=Jo;return this[t(422)](),this.ui[t(414)](),super[t(414)]()}static async[Jo(416)](t,e){const i=Jo,n=new this(t,e);return await n[i(431)](),await n.ui[i(413)](t),await n[i(428)][i(413)](n[i(433)][i(418)](i(429))||""),n[i(406)](i(405)),n}}const Qo=na;!function(t){const e=na,i=t();for(;;)try{if(782124===parseInt(e(203))/1*(-parseInt(e(298))/2)+-parseInt(e(319))/3+parseInt(e(240))/4+-parseInt(e(333))/5*(parseInt(e(296))/6)+-parseInt(e(236))/7*(-parseInt(e(255))/8)+parseInt(e(334))/9+-parseInt(e(325))/10*(-parseInt(e(266))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ia);const ta=[Qo(315),Qo(243)];class ea extends G.Plugin{[Qo(221)];static get[Qo(224)](){return Qo(313)}static get[Qo(331)](){return!0}static get[Qo(206)](){return!0}constructor(t){const e=Qo;function i(t){const e=na;return t[e(297)](t=>String[e(254)](t))[e(335)]("")}super(t),this[e(221)]=e(226),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=["revision-history-missing-configuration","error","isOfficialPlugin","_closeRevisionViewer","21410oMUWIF","6025662zXiQEW","join","define","commands","destroy","then","roots","catch","addUser","getRevision","RevisionTracker","createdAt","model","_getRevisionViewerEditorConfig","get","RevisionHistoryUtils","_viewerEditor","createRangeIn","uiLanguage","closeRevisionViewerCallback","toVersion","getRevisions","41ofKyfQ","markers","enqueueChange","isPremiumPlugin","Dialog","includes","revisionHistory.editorContainer","isAnonymous","revision-history-viewer-opened","Autosave","repository","loadRevisionData","plugins","fromVersion","isOpen","toLocaleDateString","RevisionViewer","none","result","removeMarker","parse","pluginName","creator","end","_recalculatePageBreaks","enableReadOnlyMode","detachRoot","changesNavigation","hide","lazyRoots","style","getAttributeKeys","save","861JUHdmW","revisionHistory","PaginationLookup","data","337244EHAxDh","push","_enhanceShowRevisionViewerCallback","RestrictedEditingMode","from","setSelection","setAttribute","name","isAttached","bind","isEnabled","view","long","RevisionsRepository","fromCharCode","27200YLsTyb","change","getRevisionRootsAttributes","users","revisionHistory.restoreRevisionCallback","getRoot","revisionHistory.showRevisionViewerCallback","removeSelectionAttribute","toJSON","update","Annotations","403766KQnbPS","DocumentOutlineUI","showRevisionViewerCallback","saveRevision","addRevisionData","rootName","document","adapter","$graveyard","requires","Users","editor","revisionHistory.requireRevisionName","DocumentOutline","addRoot","insert","revisionHistory.viewerContainer","element","_cleanUp","_enhanceCloseRevisionViewerCallback","restrictedEditingException","config","_showRevisionViewer","getUser","revisionHistory.viewerEditorElement","create","isReady","restoreRevision","RevisionHistory","keys","420LMMNfJ","map","41038sKkbWK","has","locale","_update","isReadOnly","exitToEditing","set","getRevisionDocumentData","init","isRevisionViewerOpen","indexOf","toLocaleTimeString","block","toolbar","numeric","RevisionViewerIntegration","refreshPositioning","RevisionHistoryUI","translations","remove","getMarkersGroup","4133502mobeKC","removeAttribute","display","refreshVisibility","selection","disableReadOnlyMode","580zUZxYp","revisionHistory.closeRevisionViewerCallback","_restoreRevision","Restored"];return(ia=function(){return t})()}function na(t,e){const i=ia();return(na=function(t,e){return i[t-=184]})(t,e)}class sa extends G.Plugin{[Qo(197)];static get[Qo(224)](){return Qo(294)}static get[Qo(331)](){return!0}static get[Qo(206)](){return!0}static get[Qo(275)](){return[vt,$t]}constructor(e){const i=Qo;if(super(e),!this[i(277)][i(287)][i(195)](i(237)))throw new t.CKEditorError(i(329),this);this[i(197)]=null,this[i(304)](i(307),!1),this[i(277)][i(287)][i(336)](i(261),t=>this[i(288)]({...t,translations:this[i(277)][i(300)][i(316)]})),this[i(277)][i(287)][i(336)](i(326),t=>this[i(332)](t)),this[i(277)][i(287)][i(336)](i(259),t=>this[i(327)](t)),this[i(277)][i(287)][i(336)](i(278),!1),this[i(242)](),this[i(285)]()}set[Qo(273)](t){const e=Qo;this[e(277)][e(215)][e(195)](e(191))[e(273)]=t}get[Qo(273)](){const t=Qo;return this[t(277)][t(215)][t(195)](t(191))[t(273)]}[Qo(270)](t){const e=Qo;return this[e(277)][e(215)][e(195)](e(191))[e(270)](t)}[Qo(190)](t){const e=Qo;return this[e(277)][e(215)][e(195)](e(253))[e(190)](t)}[Qo(202)](t){const e=Qo;return this[e(277)][e(215)][e(195)](e(253))[e(202)](t||{toJSON:!1})}[Qo(194)](){const e=Qo,i=this[e(277)],n=(0,K.sanitizeEditorConfig)(i,ta),s=i[e(215)][e(195)](e(191)),r=i[e(215)][e(195)](e(276))[e(258)];return n[e(311)]=[e(303),e(293),e(230)],delete n[e(232)],n[e(215)][e(241)](ea,ce,Ne,class extends G.Plugin{static get[e(275)](){return[ce,e(276)]}[e(306)](){const n=e,o=this[n(277)][n(215)][n(195)](n(276));for(const t of r)t[n(210)]||o[n(289)](t.id)||o[n(189)](t);const a=s[n(213)][n(202)]();let c=null;const u=this[n(277)][n(215)][n(195)](n(219));u[n(273)]=s[n(273)],u[n(249)](n(250)).to(s),this[n(277)][n(184)][n(195)](n(293))[n(249)](n(250)).to(i,n(302),t=>!t);for(const e of a){const i=null===e[n(225)];if(i&&e[n(201)]===e[n(216)])continue;const r=e[n(263)]();u[n(270)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(301)](r,o);else if(!o){const e=a[u(263)]();e.id=(0,t.uid)(),s[u(269)](e,a[u(201)])[u(186)](t=>{c=t})}}else e[u(301)](r,o)})}}},Lo),n}[Qo(242)](){const t=Qo,e=this[t(277)][t(287)][t(195)](t(237))[t(268)];this[t(277)][t(287)][t(304)](t(261),async()=>{const i=t;this[i(277)][i(228)](i(211));const n=this[i(277)][i(215)][i(195)](i(191));if(this[i(277)][i(215)][i(299)](i(212))){const t=this[i(277)][i(215)][i(195)](i(212));await t[i(235)]()}else await n[i(264)]();if(this[i(277)][i(215)][i(299)](i(238))&&this[i(277)][i(215)][i(195)](i(238))[i(227)](),this[i(277)][i(215)][i(299)](i(207))){const t=this[i(277)][i(215)][i(195)](i(207));t[i(217)]&&t[i(231)]()}const s=this[i(194)]();return e(s)[i(186)](t=>{const e=i;return this[e(197)]=t,this[e(277)][e(215)][e(299)](e(265))&&this[e(277)][e(215)][e(195)](e(265))[e(322)](),this[e(277)][e(215)][e(299)](e(279))&&(this[e(277)][e(215)][e(195)](e(267))[e(251)][e(283)][e(233)][e(321)]=e(220)),t})[i(188)](t=>(console[i(330)](t),this[i(277)][i(324)](i(211)),null))})}[Qo(285)](){const t=Qo,e=this[t(277)][t(287)][t(195)](t(237))[t(200)];this[t(277)][t(287)][t(304)](t(326),()=>(this[t(277)][t(215)][t(299)](t(238))&&this[t(277)][t(215)][t(195)](t(238))[t(227)](),this[t(277)][t(215)][t(299)](t(279))&&(this[t(277)][t(215)][t(195)](t(267))[t(251)][t(283)][t(233)][t(321)]=""),this[t(197)][t(215)][t(195)](t(219))[t(284)](),e(this[t(197)])[t(186)](()=>{const e=t;if(this[e(277)][e(324)](e(211)),this[e(197)]=null,this[e(277)][e(215)][e(299)](e(265))){const t=this[e(277)][e(215)][e(195)](e(265));t[e(322)](),t[e(314)]()}})))}[Qo(288)](t){const e=Qo,i=this[e(277)][e(287)][e(195)](e(209)),n=this[e(277)][e(287)][e(195)](e(282)),s=this[e(277)][e(287)][e(195)](e(290));return Xo[e(291)](s,t)[e(186)](t=>(n[e(233)][e(321)]=e(310),i[e(233)][e(321)]=e(220),this[e(307)]=!0,t))}[Qo(332)](t){const e=Qo,i=this[e(277)][e(287)][e(195)](e(209));return this[e(277)][e(287)][e(195)](e(282))[e(233)][e(321)]=e(220),i[e(233)][e(321)]="",this[e(307)]=!1,t[e(185)]()}async[Qo(327)](t){const e=Qo,i=this[e(277)],n=this[e(197)][e(215)][e(195)](e(219)),s=i[e(215)][e(195)](e(191)),r=i[e(215)][e(195)](e(196)),o=n[e(213)][e(190)](t);let a,c,u;try{await r[e(214)](o,this[e(273)]),a=r[e(305)](o),c=r[e(257)](o)}catch(t){return void console[e(330)](t)}i[e(193)][e(256)](t=>{const n=e;for(const e of Array[n(244)](i[n(193)][n(204)][n(318)](n(286))))t[n(222)](e)}),n[e(292)]=!1,i[e(193)][e(205)](t=>{const n=e;t[n(245)](null),t[n(262)](i[n(193)][n(272)][n(323)][n(234)]());const s=Object[n(295)](a);for(const e of i[n(193)][n(272)][n(187)])n(274)!=e[n(271)]&&e[n(248)]()&&!s[n(208)](e[n(271)])&&t[n(229)](e);for(const e of s){let s=i[n(193)][n(272)][n(260)](e);s&&s[n(248)]()||(s=t[n(280)](e));const r=c[e],o=Object[n(295)](r),u=a[e];for(const e of s[n(234)]())o[n(208)](e)||t[n(320)](e,s);for(const i of o)t[n(246)](i,c[e][i],s);t[n(317)](t[n(198)](s)),t[n(281)](i[n(239)][n(223)](u,s),s,0)}});const l=at(i[e(300)],e(328));return u=o[e(247)]?-1==o[e(247)][e(308)](l)?l+": "+o[e(247)]:o[e(247)]:l+": "+o[e(192)][e(218)](i[e(300)][e(199)],{month:e(252),day:e(312)})+", "+o[e(192)][e(309)](i[e(300)][e(199)],{hour:e(312),minute:e(312)}),await s[e(269)]({name:u}),n[e(292)]=!0,i[e(287)][e(195)](e(237))[e(200)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=458]})(t,e)}function oa(){var t=["3618648PPEUha","20TcedOd","1216302njJnoE","891276ZbEChd","343686bZAExC","8mSajTh","98294AwJvkq","5393829TnTdCU","926298uOHmEb"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(439971===parseInt(e(466))/1+parseInt(e(464))/2+parseInt(e(459))/3+parseInt(e(463))/4+-parseInt(e(461))/5*(-parseInt(e(462))/6)+-parseInt(e(458))/7+-parseInt(e(465))/8*(parseInt(e(460))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|